Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
- 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.CreateConversationModel operation.
Instance Attribute Summary collapse
-
#conversation_model ⇒ String
The resource name of the conversation model.
-
#create_time ⇒ String
Timestamp when the request to create conversation model is submitted.
-
#done_time ⇒ String
The time when the operation finished.
-
#state ⇒ String
State of CreateConversationModel operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
constructor
A new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.
10330 10331 10332 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_model ⇒ String
The resource name of the conversation model. Format: projects//
conversationModels/
Corresponds to the JSON property conversationModel
10312 10313 10314 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10312 def conversation_model @conversation_model end |
#create_time ⇒ String
Timestamp when the request to create conversation model is submitted. The time
is measured on server side.
Corresponds to the JSON property createTime
10318 10319 10320 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10318 def create_time @create_time end |
#done_time ⇒ String
The time when the operation finished.
Corresponds to the JSON property doneTime
10323 10324 10325 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10323 def done_time @done_time end |
#state ⇒ String
State of CreateConversationModel operation.
Corresponds to the JSON property state
10328 10329 10330 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10328 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10335 10336 10337 10338 10339 10340 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10335 def update!(**args) @conversation_model = args[:conversation_model] if args.key?(:conversation_model) @create_time = args[:create_time] if args.key?(:create_time) @done_time = args[:done_time] if args.key?(:done_time) @state = args[:state] if args.key?(:state) end |