Location class final

A resource that represents Google Cloud Platform location.

Inheritance
  • Object
  • ProtoMessage
  • Location

Constructors

Location({String name = '', String locationId = '', String displayName = '', Map<String, String> labels = const {}, Any? metadata})
Location.fromJson(Object? j)
factory

Properties

displayName String
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
final
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>
Cross-service attributes for the location. For example
final
locationId String
The canonical id for this location. For example: "us-east1".
final
metadata → Any?
Service-specific metadata. For example the available capacity at the given location.
final
name String
Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String