Google.Cloud.Location - Class Location (2.2.0)

public sealed class Location : IMessage<Location>, IEquatable<Location>, IDeepCloneable<Location>, IBufferMessage, IMessage

Reference documentation and code samples for the Google.Cloud.Location class Location.

A resource that represents Google Cloud Platform location.

Inheritance

object > Location

Namespace

Google.Cloud.Location

Assembly

Google.Cloud.Location.dll

Constructors

Location()

public Location()

Location(Location)

public Location(Location other)
Parameter
NameDescription
otherLocation

Properties

DisplayName

public string DisplayName { get; set; }

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

Cross-service attributes for the location. For example

{"cloud.googleapis.com/region": "us-east1"}
Property Value
TypeDescription
MapFieldstringstring

LocationId

public string LocationId { get; set; }

The canonical id for this location. For example: "us-east1".

Property Value
TypeDescription
string

Metadata

public Any Metadata { get; set; }

Service-specific metadata. For example the available capacity at the given location.

Property Value
TypeDescription
Any

Name

public string Name { get; set; }

Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"

Property Value
TypeDescription
string