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.



13683
13684
13685
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13683

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

Instance Attribute Details

#done_timeString

Corresponds to the JSON property doneTime

Returns:

  • (String)


13666
13667
13668
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13666

def done_time
  @done_time
end

#export_operation_metadataGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportOperationMetadata

Corresponds to the JSON property exportOperationMetadata



13671
13672
13673
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13671

def 
  @export_operation_metadata
end

#knowledge_baseString

Corresponds to the JSON property knowledgeBase

Returns:

  • (String)


13676
13677
13678
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13676

def knowledge_base
  @knowledge_base
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


13681
13682
13683
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13681

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13688
13689
13690
13691
13692
13693
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13688

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