Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent

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

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent.



12375
12376
12377
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12375

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

Instance Attribute Details

#answer_recordString

Corresponds to the JSON property answerRecord

Returns:

  • (String)


12358
12359
12360
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12358

def answer_record
  @answer_record
end

#contentString

Corresponds to the JSON property content

Returns:

  • (String)


12363
12364
12365
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12363

def content
  @content
end

#content_formatString

Corresponds to the JSON property contentFormat

Returns:

  • (String)


12368
12369
12370
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12368

def content_format
  @content_format
end

#ingestion_timeString

Corresponds to the JSON property ingestionTime

Returns:

  • (String)


12373
12374
12375
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12373

def ingestion_time
  @ingestion_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12380
12381
12382
12383
12384
12385
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12380

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