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.



13354
13355
13356
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13354

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13322
13323
13324
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13322

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13327
13328
13329
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13327

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment

Corresponds to the JSON property fulfillment



13332
13333
13334
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13332

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13337
13338
13339
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13337

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13342
13343
13344
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13342

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



13347
13348
13349
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13347

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


13352
13353
13354
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13352

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13359
13360
13361
13362
13363
13364
13365
13366
13367
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13359

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