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.
-
#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.
7666 7667 7668 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7666 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
7653 7654 7655 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7653 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
7659 7660 7661 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7659 def create_time @create_time end |
#state ⇒ String
State of CreateConversationModel operation.
Corresponds to the JSON property state
7664 7665 7666 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7664 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7671 7672 7673 7674 7675 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7671 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 |