Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Environment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Environment

Returns a new instance of GoogleCloudDialogflowV2beta1Environment.



13254
13255
13256
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13254

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13222
13223
13224
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13222

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13227
13228
13229
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13227

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment

Corresponds to the JSON property fulfillment



13232
13233
13234
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13232

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13237
13238
13239
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13237

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13242
13243
13244
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13242

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



13247
13248
13249
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13247

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


13252
13253
13254
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13252

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13259
13260
13261
13262
13263
13264
13265
13266
13267
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13259

def update!(**args)
  @agent_version = args[:agent_version] if args.key?(:agent_version)
  @description = args[:description] if args.key?(:description)
  @fulfillment = args[:fulfillment] if args.key?(:fulfillment)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @text_to_speech_settings = args[:text_to_speech_settings] if args.key?(:text_to_speech_settings)
  @update_time = args[:update_time] if args.key?(:update_time)
end