Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Environment

Returns a new instance of GoogleCloudDialogflowV2Environment.



9532
9533
9534
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9532

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


9500
9501
9502
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9500

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9505
9506
9507
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9505

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment

Corresponds to the JSON property fulfillment



9510
9511
9512
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9510

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9515
9516
9517
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9515

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


9520
9521
9522
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9520

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



9525
9526
9527
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9525

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


9530
9531
9532
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9530

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9537
9538
9539
9540
9541
9542
9543
9544
9545
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9537

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