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.



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

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


9468
9469
9470
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9468

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9473
9474
9475
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9473

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2Fulfillment

Corresponds to the JSON property fulfillment



9478
9479
9480
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9478

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


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

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



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

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9505
9506
9507
9508
9509
9510
9511
9512
9513
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9505

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