Skip to main content

apis

Overview

Nameapis
TypeResource
Idgoogle.apigateway.apis

Fields

NameDatatypeDescription
namestringOutput only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}
updateTimestringOutput only. Updated time.
createTimestringOutput only. Created time.
displayNamestringOptional. Display name.
labelsobjectOptional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
managedServicestringOptional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.
statestringOutput only. State of the API.

Methods

NameAccessible byRequired ParamsDescription
getSELECTapisId, locationsId, projectsIdGets details of a single Api.
listSELECTlocationsId, projectsIdLists Apis in a given project and location.
createINSERTlocationsId, projectsIdCreates a new Api in a given project and location.
deleteDELETEapisId, locationsId, projectsIdDeletes a single Api.
_listEXEClocationsId, projectsIdLists Apis in a given project and location.
patchEXECapisId, locationsId, projectsIdUpdates the parameters of a single Api.