Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Example

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Example

Returns a new instance of GoogleCloudDialogflowCxV3beta1Example.



6300
6301
6302
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6300

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action>

Corresponds to the JSON property actions



6248
6249
6250
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6248

def actions
  @actions
end

#conversation_stateString

Corresponds to the JSON property conversationState

Returns:

  • (String)


6253
6254
6255
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6253

def conversation_state
  @conversation_state
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


6258
6259
6260
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6258

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


6263
6264
6265
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6263

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


6268
6269
6270
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6268

def display_name
  @display_name
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


6273
6274
6275
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6273

def language_code
  @language_code
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6278
6279
6280
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6278

def name
  @name
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Corresponds to the JSON property playbookInput



6283
6284
6285
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6283

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Corresponds to the JSON property playbookOutput



6288
6289
6290
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6288

def playbook_output
  @playbook_output
end

#token_countFixnum

Corresponds to the JSON property tokenCount

Returns:

  • (Fixnum)


6293
6294
6295
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6293

def token_count
  @token_count
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


6298
6299
6300
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6298

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6305

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @conversation_state = args[:conversation_state] if args.key?(:conversation_state)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @language_code = args[:language_code] if args.key?(:language_code)
  @name = args[:name] if args.key?(:name)
  @playbook_input = args[:playbook_input] if args.key?(:playbook_input)
  @playbook_output = args[:playbook_output] if args.key?(:playbook_output)
  @token_count = args[:token_count] if args.key?(:token_count)
  @update_time = args[:update_time] if args.key?(:update_time)
end