Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata

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

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.



13150
13151
13152
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13150

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)


13131
13132
13133
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13131

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)


13137
13138
13139
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13137

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)


13143
13144
13145
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13143

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


13148
13149
13150
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13148

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13155
13156
13157
13158
13159
13160
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13155

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