Reference documentation and code samples for the Google API Common Protos Client class Location.
A resource that represents Google Cloud Platform location.
Generated from protobuf message google.cloud.location.Location
Namespace
Google \ Cloud \ LocationMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
↳ location_id
string
The canonical id for this location. For example: "us-east1"
.
↳ display_name
string
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
↳ labels
array| Google\Protobuf\Internal\MapField
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
↳ metadata
Google\Protobuf\Any
Service-specific metadata. For example the available capacity at the given location.
getName
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
string
setName
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
var
string
$this
getLocationId
The canonical id for this location. For example: "us-east1"
.
string
setLocationId
The canonical id for this location. For example: "us-east1"
.
var
string
$this
getDisplayName
The friendly name for this location, typically a nearby city name.
For example, "Tokyo".
string
setDisplayName
The friendly name for this location, typically a nearby city name.
For example, "Tokyo".
var
string
$this
getLabels
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
setLabels
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
$this
getMetadata
Service-specific metadata. For example the available capacity at the given location.
hasMetadata
clearMetadata
setMetadata
Service-specific metadata. For example the available capacity at the given location.
$this