Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- 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 in google::longrunning::Operation for Knowledge operations.
Instance Attribute Summary collapse
-
#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.
10839 10840 10841 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#knowledge_base ⇒ String
The name of the knowledge base interacted with during the operation.
Corresponds to the JSON property knowledgeBase
10832 10833 10834 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10832 def knowledge_base @knowledge_base end |
#state ⇒ String
Output only. The current state of this operation.
Corresponds to the JSON property state
10837 10838 10839 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10837 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10844 10845 10846 10847 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10844 def update!(**args) @knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base) @state = args[:state] if args.key?(:state) end |