Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata

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

Overview

Metadata for a ConversationModels.CreateConversationModelEvaluation operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata.



8227
8228
8229
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8227

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

Instance Attribute Details

#conversation_modelString

The resource name of the conversation model. Format: projects//locations// conversationModels/ Corresponds to the JSON property conversationModel

Returns:

  • (String)


8208
8209
8210
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8208

def conversation_model
  @conversation_model
end

#conversation_model_evaluationString

The resource name of the conversation model. Format: projects//locations// conversationModels//evaluations/ Corresponds to the JSON property conversationModelEvaluation

Returns:

  • (String)


8214
8215
8216
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8214

def conversation_model_evaluation
  @conversation_model_evaluation
end

#create_timeString

Timestamp when the request to create conversation model was submitted. The time is measured on server side. Corresponds to the JSON property createTime

Returns:

  • (String)


8220
8221
8222
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8220

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


8225
8226
8227
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8225

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8232
8233
8234
8235
8236
8237
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8232

def update!(**args)
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
  @conversation_model_evaluation = args[:conversation_model_evaluation] if args.key?(:conversation_model_evaluation)
  @create_time = args[:create_time] if args.key?(:create_time)
  @state = args[:state] if args.key?(:state)
end