Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReference

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) ⇒ GoogleCloudDialogflowV2ConversationContextReference

Returns a new instance of GoogleCloudDialogflowV2ConversationContextReference.



8352
8353
8354
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8352

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

Instance Attribute Details

#context_contentsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent>

Corresponds to the JSON property contextContents



8335
8336
8337
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8335

def context_contents
  @context_contents
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8340
8341
8342
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8340

def create_time
  @create_time
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


8345
8346
8347
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8345

def language_code
  @language_code
end

#update_modeString

Corresponds to the JSON property updateMode

Returns:

  • (String)


8350
8351
8352
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8350

def update_mode
  @update_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8357
8358
8359
8360
8361
8362
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8357

def update!(**args)
  @context_contents = args[:context_contents] if args.key?(:context_contents)
  @create_time = args[:create_time] if args.key?(:create_time)
  @language_code = args[:language_code] if args.key?(:language_code)
  @update_mode = args[:update_mode] if args.key?(:update_mode)
end