Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata

Inherits:
Object
  • Object
show all
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 CreateDocument operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata

Returns a new instance of GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata.



513
514
515
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 513

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generic_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata

Metadata in google::longrunning::Operation for Knowledge operations. Corresponds to the JSON property genericMetadata



511
512
513
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 511

def 
  @generic_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



518
519
520
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 518

def update!(**args)
  @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
end