class Google::Apis::DialogflowV3::GoogleCloudLocationLocation

A resource that represents Google Cloud Platform location.

Attributes

display_name[RW]

The friendly name for this location, typically a nearby city name. For example, “Tokyo”. Corresponds to the JSON property `displayName` @return [String]

labels[RW]

Cross-service attributes for the location. For example `“cloud.googleapis.com/ region”: “us-east1”` Corresponds to the JSON property `labels` @return [Hash<String,String>]

location_id[RW]

The canonical id for this location. For example: `“us-east1”`. Corresponds to the JSON property `locationId` @return [String]

metadata[RW]

Service-specific metadata. For example the available capacity at the given location. Corresponds to the JSON property `metadata` @return [Hash<String,Object>]

name[RW]

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

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 14824
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 14829
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