Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class Api.
An API that can be served by one or more Gateways.
Generated from protobuf message google.cloud.apigateway.v1.Api
Namespace
Google \ Cloud \ ApiGateway \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
↳ display_name
string
Optional. Display name.
↳ managed_service
string
Optional. 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.
↳ state
int
Output only. State of the API.
getName
Output only. Resource name of the API.
Format: projects/{project}/locations/global/apis/{api}
string
setName
Output only. Resource name of the API.
Format: projects/{project}/locations/global/apis/{api}
var
string
$this
getCreateTime
Output only. Created time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Created time.
$this
getUpdateTime
Output only. Updated time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Updated time.
$this
getLabels
Optional. Resource labels to represent user-provided metadata.
Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
setLabels
Optional. Resource labels to represent user-provided metadata.
Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
$this
getDisplayName
Optional. Display name.
string
setDisplayName
Optional. Display name.
var
string
$this
getManagedService
Optional. 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.
string
setManagedService
Optional. 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.
var
string
$this
getState
Output only. State of the API.
int
setState
Output only. State of the API.
var
int
$this