Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata

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

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.



9317
9318
9319
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9317

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)


9298
9299
9300
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9298

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)


9304
9305
9306
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9304

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)


9310
9311
9312
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9310

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


9315
9316
9317
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9315

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9322
9323
9324
9325
9326
9327
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9322

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