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.



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

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


9482
9483
9484
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9482

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9487
9488
9489
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9487

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment

Corresponds to the JSON property fulfillment



9492
9493
9494
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9492

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9497
9498
9499
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9497

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


9502
9503
9504
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9502

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



9507
9508
9509
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9507

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


9512
9513
9514
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9512

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9519
9520
9521
9522
9523
9524
9525
9526
9527
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9519

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