Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection

Returns a new instance of GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection.



21279
21280
21281
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21279

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

Instance Attribute Details

#sectionString

Corresponds to the JSON property section

Returns:

  • (String)


21272
21273
21274
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21272

def section
  @section
end

#summaryString

Corresponds to the JSON property summary

Returns:

  • (String)


21277
21278
21279
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21277

def summary
  @summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21284
21285
21286
21287
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21284

def update!(**args)
  @section = args[:section] if args.key?(:section)
  @summary = args[:summary] if args.key?(:summary)
end