Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContextReferenceContextContent

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

Returns a new instance of GoogleCloudDialogflowV2ConversationContextReferenceContextContent.



8389
8390
8391
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8389

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

Instance Attribute Details

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


8372
8373
8374
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8372

def answer_record
  @answer_record
end

#contentString

Corresponds to the JSON property content

Returns:

  • (String)


8377
8378
8379
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8377

def content
  @content
end

#content_formatString

Corresponds to the JSON property contentFormat

Returns:

  • (String)


8382
8383
8384
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8382

def content_format
  @content_format
end

#ingestion_timeString

Corresponds to the JSON property ingestionTime

Returns:

  • (String)


8387
8388
8389
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8387

def ingestion_time
  @ingestion_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8394
8395
8396
8397
8398
8399
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8394

def update!(**args)
  @answer_record = args[:answer_record] if args.key?(:answer_record)
  @content = args[:content] if args.key?(:content)
  @content_format = args[:content_format] if args.key?(:content_format)
  @ingestion_time = args[:ingestion_time] if args.key?(:ingestion_time)
end