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.



13305
13306
13307
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13305

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13273
13274
13275
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13273

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13278
13279
13280
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13278

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment

Corresponds to the JSON property fulfillment



13283
13284
13285
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13283

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13288
13289
13290
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13288

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13293
13294
13295
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13293

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



13298
13299
13300
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13298

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


13303
13304
13305
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13303

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13310
13311
13312
13313
13314
13315
13316
13317
13318
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13310

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