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.



13125
13126
13127
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13125

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

Instance Attribute Details

#agent_versionString

Corresponds to the JSON property agentVersion

Returns:

  • (String)


13093
13094
13095
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13093

def agent_version
  @agent_version
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13098
13099
13100
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13098

def description
  @description
end

#fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Fulfillment

Corresponds to the JSON property fulfillment



13103
13104
13105
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13103

def fulfillment
  @fulfillment
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13108
13109
13110
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13108

def name
  @name
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13113
13114
13115
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13113

def state
  @state
end

#text_to_speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextToSpeechSettings

Corresponds to the JSON property textToSpeechSettings



13118
13119
13120
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13118

def text_to_speech_settings
  @text_to_speech_settings
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


13123
13124
13125
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13123

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13130
13131
13132
13133
13134
13135
13136
13137
13138
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13130

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