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.



6306
6307
6308
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6306

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

Instance Attribute Details

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

Corresponds to the JSON property actions



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

def actions
  @actions
end

#conversation_stateString

Corresponds to the JSON property conversationState

Returns:

  • (String)


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

def conversation_state
  @conversation_state
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


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

def create_time
  @create_time
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


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

def language_code
  @language_code
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#playbook_inputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInput

Corresponds to the JSON property playbookInput



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

def playbook_input
  @playbook_input
end

#playbook_outputGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookOutput

Corresponds to the JSON property playbookOutput



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

def playbook_output
  @playbook_output
end

#token_countFixnum

Corresponds to the JSON property tokenCount

Returns:

  • (Fixnum)


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

def token_count
  @token_count
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


6304
6305
6306
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6304

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6311

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