Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeOperationMetadata
- 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
Instance Attribute Summary collapse
-
#done_time ⇒ String
Corresponds to the JSON property
doneTime. -
#export_operation_metadata ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata
Corresponds to the JSON property
exportOperationMetadata. -
#knowledge_base ⇒ String
Corresponds to the JSON property
knowledgeBase. -
#state ⇒ String
Corresponds to the JSON property
state.
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.
13522 13523 13524 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done_time ⇒ String
Corresponds to the JSON property doneTime
13505 13506 13507 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13505 def done_time @done_time end |
#export_operation_metadata ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata
Corresponds to the JSON property exportOperationMetadata
13510 13511 13512 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13510 def @export_operation_metadata end |
#knowledge_base ⇒ String
Corresponds to the JSON property knowledgeBase
13515 13516 13517 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13515 def knowledge_base @knowledge_base end |
#state ⇒ String
Corresponds to the JSON property state
13520 13521 13522 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13520 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13527 13528 13529 13530 13531 13532 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13527 def update!(**args) @done_time = args[:done_time] if args.key?(:done_time) @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 |