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
Name Description
other Location

Properties

DisplayName

public string DisplayName { get; set; }

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

Property Value
Type Description
string

Labels

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

Cross-service attributes for the location. For example

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

LocationId

public string LocationId { get; set; }

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

Property Value
Type Description
string

Metadata

public Any Metadata { get; set; }

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

Property Value
Type Description
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
Type Description
string