Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ConversationModel
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ConversationModel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Represents a conversation model.
Instance Attribute Summary collapse
-
#article_suggestion_model_metadata ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
Metadata for article suggestion models.
-
#create_time ⇒ String
Output only.
-
#datasets ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InputDataset>
Required.
-
#display_name ⇒ String
Required.
-
#language_code ⇒ String
Language code for the conversation model.
-
#name ⇒ String
ConversationModel resource name.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
-
#smart_reply_model_metadata ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata
Metadata for smart reply models.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModel
constructor
A new instance of GoogleCloudDialogflowV2ConversationModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModel
Returns a new instance of GoogleCloudDialogflowV2ConversationModel.
17110 17111 17112 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#article_suggestion_model_metadata ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
Metadata for article suggestion models.
Corresponds to the JSON property articleSuggestionModelMetadata
17055 17056 17057 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17055 def end |
#create_time ⇒ String
Output only. Creation time of this model.
Corresponds to the JSON property createTime
17060 17061 17062 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17060 def create_time @create_time end |
#datasets ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InputDataset>
Required. Datasets used to create model.
Corresponds to the JSON property datasets
17065 17066 17067 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17065 def datasets @datasets end |
#display_name ⇒ String
Required. The display name of the model. At most 64 bytes long.
Corresponds to the JSON property displayName
17070 17071 17072 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17070 def display_name @display_name end |
#language_code ⇒ String
Language code for the conversation model. If not specified, the language is en-
US. Language at ConversationModel should be set for all non en-us languages.
This should be a BCP-47
language tag. Example: "en-US".
Corresponds to the JSON property languageCode
17078 17079 17080 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17078 def language_code @language_code end |
#name ⇒ String
ConversationModel resource name. Format: projects//conversationModels/
Corresponds to the JSON property name
17083 17084 17085 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17083 def name @name end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. A read only boolean field reflecting Zone Isolation status of the
model.
Corresponds to the JSON property satisfiesPzi
17089 17090 17091 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17089 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. A read only boolean field reflecting Zone Separation status of
the model.
Corresponds to the JSON property satisfiesPzs
17096 17097 17098 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17096 def satisfies_pzs @satisfies_pzs end |
#smart_reply_model_metadata ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyModelMetadata
Metadata for smart reply models.
Corresponds to the JSON property smartReplyModelMetadata
17102 17103 17104 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17102 def end |
#state ⇒ String
Output only. State of the model. A model can only serve prediction requests
after it gets deployed.
Corresponds to the JSON property state
17108 17109 17110 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17108 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17115 def update!(**args) = 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) = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata) @state = args[:state] if args.key?(:state) end |