class Google::Apis::RedisV1::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>]
Resource ID for the region. For example: “us-east1”. Corresponds to the JSON property `locationId` @return [String]
Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance. Corresponds to the JSON property `metadata` @return [Hash<String,Object>]
Full resource name for the region. For example: “projects/example-project/ locations/us-east1”. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/redis_v1/classes.rb, line 593 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/redis_v1/classes.rb, line 598 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