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.



13452
13453
13454
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13452

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13420
13421
13422
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13420

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13425
13426
13427
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13425

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment

Corresponds to the JSON property fulfillment



13430
13431
13432
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13430

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13435
13436
13437
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13435

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13440
13441
13442
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13440

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



13445
13446
13447
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13445

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


13450
13451
13452
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13450

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13457
13458
13459
13460
13461
13462
13463
13464
13465
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13457

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