Class Location (2.0.0)

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

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
MapField<String, String>

LocationId

public string LocationId { get; set; }

The canonical id for this location. For example: &quot;us-east1&quot;.

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: &quot;projects/example-project/locations/us-east1&quot;

Property Value
TypeDescription
String