Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- 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 in google::longrunning::Operation for Knowledge operations.
Instance Attribute Summary collapse
-
#export_operation_metadata ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata
Metadata related to the Export Data Operations (e.g. ExportDocument).
-
#knowledge_base ⇒ String
The name of the knowledge base interacted with during the operation.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeOperationMetadata
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeOperationMetadata
Returns a new instance of GoogleCloudDialogflowV2KnowledgeOperationMetadata.
10147 10148 10149 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_operation_metadata ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ExportOperationMetadata
Metadata related to the Export Data Operations (e.g. ExportDocument).
Corresponds to the JSON property exportOperationMetadata
10135 10136 10137 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10135 def @export_operation_metadata end |
#knowledge_base ⇒ String
The name of the knowledge base interacted with during the operation.
Corresponds to the JSON property knowledgeBase
10140 10141 10142 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10140 def knowledge_base @knowledge_base end |
#state ⇒ String
Output only. The current state of this operation.
Corresponds to the JSON property state
10145 10146 10147 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10145 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10152 10153 10154 10155 10156 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10152 def update!(**args) @export_operation_metadata = args[:export_operation_metadata] if args.key?(:export_operation_metadata) @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base) @state = args[:state] if args.key?(:state) end |