lib/google/cloud/dialogflow/v2/document_pb.rb in google-cloud-dialogflow-v2-0.14.0 vs lib/google/cloud/dialogflow/v2/document_pb.rb in google-cloud-dialogflow-v2-0.15.0
- old
+ new
@@ -20,10 +20,11 @@
optional :mime_type, :string, 3
repeated :knowledge_types, :enum, 4, "google.cloud.dialogflow.v2.Document.KnowledgeType"
optional :enable_auto_reload, :bool, 11
optional :latest_reload_status, :message, 12, "google.cloud.dialogflow.v2.Document.ReloadStatus"
map :metadata, :string, :string, 7
+ optional :state, :enum, 13, "google.cloud.dialogflow.v2.Document.State"
oneof :source do
optional :content_uri, :string, 5
optional :raw_content, :bytes, 9
end
end
@@ -34,11 +35,20 @@
add_enum "google.cloud.dialogflow.v2.Document.KnowledgeType" do
value :KNOWLEDGE_TYPE_UNSPECIFIED, 0
value :FAQ, 1
value :EXTRACTIVE_QA, 2
value :ARTICLE_SUGGESTION, 3
+ value :AGENT_FACING_SMART_REPLY, 4
end
+ add_enum "google.cloud.dialogflow.v2.Document.State" do
+ value :STATE_UNSPECIFIED, 0
+ value :CREATING, 1
+ value :ACTIVE, 2
+ value :UPDATING, 3
+ value :RELOADING, 4
+ value :DELETING, 5
+ end
add_message "google.cloud.dialogflow.v2.GetDocumentRequest" do
optional :name, :string, 1
end
add_message "google.cloud.dialogflow.v2.ListDocumentsRequest" do
optional :parent, :string, 1
@@ -91,13 +101,19 @@
optional :smart_messaging_partial_update, :bool, 5
oneof :destination do
optional :gcs_destination, :message, 2, "google.cloud.dialogflow.v2.GcsDestination"
end
end
+ add_message "google.cloud.dialogflow.v2.ExportOperationMetadata" do
+ optional :exported_gcs_destination, :message, 1, "google.cloud.dialogflow.v2.GcsDestination"
+ end
add_message "google.cloud.dialogflow.v2.KnowledgeOperationMetadata" do
optional :state, :enum, 1, "google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State"
optional :knowledge_base, :string, 3
+ oneof :operation_metadata do
+ optional :export_operation_metadata, :message, 4, "google.cloud.dialogflow.v2.ExportOperationMetadata"
+ end
end
add_enum "google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State" do
value :STATE_UNSPECIFIED, 0
value :PENDING, 1
value :RUNNING, 2
@@ -111,10 +127,11 @@
module Dialogflow
module V2
Document = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Document").msgclass
Document::ReloadStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Document.ReloadStatus").msgclass
Document::KnowledgeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Document.KnowledgeType").enummodule
+ Document::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.Document.State").enummodule
GetDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GetDocumentRequest").msgclass
ListDocumentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListDocumentsRequest").msgclass
ListDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListDocumentsResponse").msgclass
CreateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CreateDocumentRequest").msgclass
ImportDocumentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ImportDocumentsRequest").msgclass
@@ -122,9 +139,10 @@
ImportDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ImportDocumentsResponse").msgclass
DeleteDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.DeleteDocumentRequest").msgclass
UpdateDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.UpdateDocumentRequest").msgclass
ReloadDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ReloadDocumentRequest").msgclass
ExportDocumentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ExportDocumentRequest").msgclass
+ ExportOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ExportOperationMetadata").msgclass
KnowledgeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeOperationMetadata").msgclass
KnowledgeOperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeOperationMetadata.State").enummodule
end
end
end