Location
class Location extends Message
A resource that represents Google Cloud Platform location.
Generated from protobuf message google.cloud.location.Location
Properties
protected | $name | Resource name for the location, which may vary between implementations. | |
protected | $location_id | The canonical id for this location. For example: "us-east1" . |
|
protected | $display_name | The friendly name for this location, typically a nearby city name. | |
protected | $metadata | Service-specific metadata. For example the available capacity at the given location. |
Methods
Constructor.
Resource name for the location, which may vary between implementations.
Resource name for the location, which may vary between implementations.
The canonical id for this location. For example: "us-east1"
.
The canonical id for this location. For example: "us-east1"
.
The friendly name for this location, typically a nearby city name.
The friendly name for this location, typically a nearby city name.
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
Service-specific metadata. For example the available capacity at the given location.
No description
No description
Service-specific metadata. For example the available capacity at the given location.
Details
at line 75
__construct(array $data = NULL)
Constructor.
at line 87
string
getName()
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
Generated from protobuf field string name = 1;
at line 100
$this
setName(string $var)
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
Generated from protobuf field string name = 1;
at line 114
string
getLocationId()
The canonical id for this location. For example: "us-east1"
.
Generated from protobuf field string location_id = 4;
at line 126
$this
setLocationId(string $var)
The canonical id for this location. For example: "us-east1"
.
Generated from protobuf field string location_id = 4;
at line 141
string
getDisplayName()
The friendly name for this location, typically a nearby city name.
For example, "Tokyo".
Generated from protobuf field string display_name = 5;
at line 154
$this
setDisplayName(string $var)
The friendly name for this location, typically a nearby city name.
For example, "Tokyo".
Generated from protobuf field string display_name = 5;
at line 169
MapField
getLabels()
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
Generated from protobuf field map<string, string> labels = 2;
at line 182
$this
setLabels(array|MapField $var)
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
Generated from protobuf field map<string, string> labels = 2;
at line 197
Any|null
getMetadata()
Service-specific metadata. For example the available capacity at the given location.
Generated from protobuf field .google.protobuf.Any metadata = 3;
at line 202
hasMetadata()
at line 207
clearMetadata()
at line 220
$this
setMetadata(Any $var)
Service-specific metadata. For example the available capacity at the given location.
Generated from protobuf field .google.protobuf.Any metadata = 3;