Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeOperationMetadata

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) ⇒ GoogleCloudDialogflowV2KnowledgeOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2KnowledgeOperationMetadata.



13640
13641
13642
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13640

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

Instance Attribute Details

#done_timeString

Corresponds to the JSON property doneTime

Returns:

  • (String)


13623
13624
13625
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13623

def done_time
  @done_time
end

#export_operation_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata

Corresponds to the JSON property exportOperationMetadata



13628
13629
13630
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13628

def 
  @export_operation_metadata
end

#knowledge_baseString

Corresponds to the JSON property knowledgeBase

Returns:

  • (String)


13633
13634
13635
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13633

def knowledge_base
  @knowledge_base
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13638
13639
13640
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13638

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13645
13646
13647
13648
13649
13650
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13645

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