Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ConversationModel

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

Overview

Represents a conversation model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModel

Returns a new instance of GoogleCloudDialogflowV2ConversationModel.



13128
13129
13130
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13128

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

Instance Attribute Details

#article_suggestion_model_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleSuggestionModelMetadata

Metadata for article suggestion models. Corresponds to the JSON property articleSuggestionModelMetadata



13073
13074
13075
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13073

def 
  @article_suggestion_model_metadata
end

#create_timeString

Output only. Creation time of this model. Corresponds to the JSON property createTime

Returns:

  • (String)


13078
13079
13080
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13078

def create_time
  @create_time
end

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

Required. Datasets used to create model. Corresponds to the JSON property datasets



13083
13084
13085
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13083

def datasets
  @datasets
end

#display_nameString

Required. The display name of the model. At most 64 bytes long. Corresponds to the JSON property displayName

Returns:

  • (String)


13088
13089
13090
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13088

def display_name
  @display_name
end

#language_codeString

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

Returns:

  • (String)


13096
13097
13098
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13096

def language_code
  @language_code
end

#nameString

ConversationModel resource name. Format: projects//conversationModels/ Corresponds to the JSON property name

Returns:

  • (String)


13101
13102
13103
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13101

def name
  @name
end

#satisfies_pziBoolean 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

Returns:

  • (Boolean)


13107
13108
13109
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13107

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean 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

Returns:

  • (Boolean)


13114
13115
13116
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13114

def satisfies_pzs
  @satisfies_pzs
end

#smart_reply_model_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2SmartReplyModelMetadata

Metadata for smart reply models. Corresponds to the JSON property smartReplyModelMetadata



13120
13121
13122
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13120

def 
  @smart_reply_model_metadata
end

#stateString

Output only. State of the model. A model can only serve prediction requests after it gets deployed. Corresponds to the JSON property state

Returns:

  • (String)


13126
13127
13128
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13126

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13133

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