Class Location (1.0.0)

public sealed class Location : Protobuf.IMessage<Location>, Protobuf.IBufferMessage

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 Protobuf.Collections.MapField<string, string> Labels { get; }

Cross-service attributes for the location. For example

{"cloud.googleapis.com/region": "us-east1"}

Property Value
TypeDescription
Protobuf.Collections.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 Protobuf.WellKnownTypes.Any Metadata { get; set; }

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

Property Value
TypeDescription
Protobuf.WellKnownTypes.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