Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata.



20903
20904
20905
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20903

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

Instance Attribute Details

#done_timeString

Corresponds to the JSON property doneTime

Returns:

  • (String)


20886
20887
20888
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20886

def done_time
  @done_time
end

#export_operation_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ExportOperationMetadata

Corresponds to the JSON property exportOperationMetadata



20891
20892
20893
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20891

def 
  @export_operation_metadata
end

#knowledge_baseString

Corresponds to the JSON property knowledgeBase

Returns:

  • (String)


20896
20897
20898
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20896

def knowledge_base
  @knowledge_base
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


20901
20902
20903
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20901

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20908
20909
20910
20911
20912
20913
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20908

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