Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModel

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

Returns a new instance of GoogleCloudDialogflowV2ConversationModel.



8582
8583
8584
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8582

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

Instance Attribute Details

#article_suggestion_model_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata

Corresponds to the JSON property articleSuggestionModelMetadata



8533
8534
8535
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8533

def 
  @article_suggestion_model_metadata
end

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8538
8539
8540
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8538

def create_time
  @create_time
end

#datasetsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputDataset>

Corresponds to the JSON property datasets



8543
8544
8545
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8543

def datasets
  @datasets
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8548
8549
8550
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8548

def display_name
  @display_name
end

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


8553
8554
8555
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8553

def language_code
  @language_code
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8558
8559
8560
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8558

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


8563
8564
8565
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8563

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


8569
8570
8571
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8569

def satisfies_pzs
  @satisfies_pzs
end

#smart_reply_model_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyModelMetadata

Corresponds to the JSON property smartReplyModelMetadata



8575
8576
8577
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8575

def 
  @smart_reply_model_metadata
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


8580
8581
8582
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8580

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8587

def update!(**args)
  @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
  @create_time = args[:create_time] if args.key?(:create_time)
  @datasets = args[:datasets] if args.key?(:datasets)
  @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)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
  @state = args[:state] if args.key?(:state)
end