class Google::Apis::ArtifactregistryV1beta1::Location
A resource that represents Google
Cloud Platform location.
Attributes
The friendly name for this location, typically a nearby city name. For example, “Tokyo”. Corresponds to the JSON property `displayName` @return [String]
Cross-service attributes for the location. For example `“cloud.googleapis.com/ region”: “us-east1”` Corresponds to the JSON property `labels` @return [Hash<String,String>]
The canonical id for this location. For example: `“us-east1”`. Corresponds to the JSON property `locationId` @return [String]
Service-specific metadata. For example the available capacity at the given location. Corresponds to the JSON property `metadata` @return [Hash<String,Object>]
Resource name for the location, which may vary between implementations. For example: `“projects/example-project/locations/us-east1”` Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/artifactregistry_v1beta1/classes.rb, line 646 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/artifactregistry_v1beta1/classes.rb, line 651 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @location_id = args[:location_id] if args.key?(:location_id) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) end