Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
- 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.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.
-
#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.
8126 8127 8128 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8126 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
8113 8114 8115 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8113 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
8119 8120 8121 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8119 def create_time @create_time end |
#state ⇒ String
State of CreateConversationModel operation.
Corresponds to the JSON property state
8124 8125 8126 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8124 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8131 8132 8133 8134 8135 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8131 def update!(**args) @conversation_model = args[:conversation_model] if args.key?(:conversation_model) @create_time = args[:create_time] if args.key?(:create_time) @state = args[:state] if args.key?(:state) end |