Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit aac888c

Browse files
docs: clarified wording for restore APIs and query input (#48)
PiperOrigin-RevId: 336725904 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon Oct 12 13:01:55 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 6ae1443d1eb0c17bcdbeaa1890960cbcd3b70010 Source-Link: googleapis/googleapis@6ae1443
1 parent 7678a11 commit aac888c

File tree

8 files changed

+130
-117
lines changed

8 files changed

+130
-117
lines changed

google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsClient.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ public final UnaryCallable<DeleteAgentRequest, Empty> deleteAgentCallable() {
654654

655655
// AUTO-GENERATED DOCUMENTATION AND METHOD
656656
/**
657-
* Exports the specified agent to a ZIP file.
657+
* Exports the specified agent to a binary file.
658658
*
659659
* <p>Sample code:
660660
*
@@ -680,7 +680,7 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
680680

681681
// AUTO-GENERATED DOCUMENTATION AND METHOD
682682
/**
683-
* Exports the specified agent to a ZIP file.
683+
* Exports the specified agent to a binary file.
684684
*
685685
* <p>Sample code:
686686
*
@@ -704,7 +704,7 @@ public final OperationFuture<ExportAgentResponse, Struct> exportAgentAsync(
704704

705705
// AUTO-GENERATED DOCUMENTATION AND METHOD
706706
/**
707-
* Exports the specified agent to a ZIP file.
707+
* Exports the specified agent to a binary file.
708708
*
709709
* <p>Sample code:
710710
*
@@ -726,10 +726,10 @@ public final UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable()
726726

727727
// AUTO-GENERATED DOCUMENTATION AND METHOD
728728
/**
729-
* Restores the specified agent from a ZIP file.
729+
* Restores the specified agent from a binary file.
730730
*
731-
* <p>Note that all existing intents, intent routes, entity types, pages and webhooks in the agent
732-
* will be deleted.
731+
* <p>Replaces the current agent with a new one. Note that all existing resources in agent (e.g.
732+
* intents, entity types, flows) will be removed.
733733
*
734734
* <p>Sample code:
735735
*
@@ -754,10 +754,10 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
754754

755755
// AUTO-GENERATED DOCUMENTATION AND METHOD
756756
/**
757-
* Restores the specified agent from a ZIP file.
757+
* Restores the specified agent from a binary file.
758758
*
759-
* <p>Note that all existing intents, intent routes, entity types, pages and webhooks in the agent
760-
* will be deleted.
759+
* <p>Replaces the current agent with a new one. Note that all existing resources in agent (e.g.
760+
* intents, entity types, flows) will be removed.
761761
*
762762
* <p>Sample code:
763763
*
@@ -781,10 +781,10 @@ public final OperationFuture<Empty, Struct> restoreAgentAsync(RestoreAgentReques
781781

782782
// AUTO-GENERATED DOCUMENTATION AND METHOD
783783
/**
784-
* Restores the specified agent from a ZIP file.
784+
* Restores the specified agent from a binary file.
785785
*
786-
* <p>Note that all existing intents, intent routes, entity types, pages and webhooks in the agent
787-
* will be deleted.
786+
* <p>Replaces the current agent with a new one. Note that all existing resources in agent (e.g.
787+
* intents, entity types, flows) will be removed.
788788
*
789789
* <p>Sample code:
790790
*

grpc-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentsGrpc.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public void deleteAgent(
474474
*
475475
*
476476
* <pre>
477-
* Exports the specified agent to a ZIP file.
477+
* Exports the specified agent to a binary file.
478478
* </pre>
479479
*/
480480
public void exportAgent(
@@ -487,9 +487,9 @@ public void exportAgent(
487487
*
488488
*
489489
* <pre>
490-
* Restores the specified agent from a ZIP file.
491-
* Note that all existing intents, intent routes, entity types, pages and
492-
* webhooks in the agent will be deleted.
490+
* Restores the specified agent from a binary file.
491+
* Replaces the current agent with a new one. Note that all existing resources
492+
* in agent (e.g. intents, entity types, flows) will be removed.
493493
* </pre>
494494
*/
495495
public void restoreAgent(
@@ -649,7 +649,7 @@ public void deleteAgent(
649649
*
650650
*
651651
* <pre>
652-
* Exports the specified agent to a ZIP file.
652+
* Exports the specified agent to a binary file.
653653
* </pre>
654654
*/
655655
public void exportAgent(
@@ -665,9 +665,9 @@ public void exportAgent(
665665
*
666666
*
667667
* <pre>
668-
* Restores the specified agent from a ZIP file.
669-
* Note that all existing intents, intent routes, entity types, pages and
670-
* webhooks in the agent will be deleted.
668+
* Restores the specified agent from a binary file.
669+
* Replaces the current agent with a new one. Note that all existing resources
670+
* in agent (e.g. intents, entity types, flows) will be removed.
671671
* </pre>
672672
*/
673673
public void restoreAgent(
@@ -762,7 +762,7 @@ public com.google.protobuf.Empty deleteAgent(
762762
*
763763
*
764764
* <pre>
765-
* Exports the specified agent to a ZIP file.
765+
* Exports the specified agent to a binary file.
766766
* </pre>
767767
*/
768768
public com.google.longrunning.Operation exportAgent(
@@ -774,9 +774,9 @@ public com.google.longrunning.Operation exportAgent(
774774
*
775775
*
776776
* <pre>
777-
* Restores the specified agent from a ZIP file.
778-
* Note that all existing intents, intent routes, entity types, pages and
779-
* webhooks in the agent will be deleted.
777+
* Restores the specified agent from a binary file.
778+
* Replaces the current agent with a new one. Note that all existing resources
779+
* in agent (e.g. intents, entity types, flows) will be removed.
780780
* </pre>
781781
*/
782782
public com.google.longrunning.Operation restoreAgent(
@@ -875,7 +875,7 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
875875
*
876876
*
877877
* <pre>
878-
* Exports the specified agent to a ZIP file.
878+
* Exports the specified agent to a binary file.
879879
* </pre>
880880
*/
881881
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
@@ -888,9 +888,9 @@ protected AgentsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
888888
*
889889
*
890890
* <pre>
891-
* Restores the specified agent from a ZIP file.
892-
* Note that all existing intents, intent routes, entity types, pages and
893-
* webhooks in the agent will be deleted.
891+
* Restores the specified agent from a binary file.
892+
* Replaces the current agent with a new one. Note that all existing resources
893+
* in agent (e.g. intents, entity types, flows) will be removed.
894894
* </pre>
895895
*/
896896
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>

proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowProto.java

Lines changed: 83 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -80,86 +80,87 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
8080
+ "google/cloud/dialogflow/cx/v3beta1/page."
8181
+ "proto\032#google/longrunning/operations.pro"
8282
+ "to\032\033google/protobuf/empty.proto\032 google/"
83-
+ "protobuf/field_mask.proto\"\266\003\n\013NluSetting"
84-
+ "s\022M\n\nmodel_type\030\001 \001(\01629.google.cloud.dia"
85-
+ "logflow.cx.v3beta1.NluSettings.ModelType"
86-
+ "\022 \n\030classification_threshold\030\003 \001(\002\022^\n\023mo"
87-
+ "del_training_mode\030\004 \001(\0162A.google.cloud.d"
88-
+ "ialogflow.cx.v3beta1.NluSettings.ModelTr"
89-
+ "ainingMode\"Y\n\tModelType\022\032\n\026MODEL_TYPE_UN"
90-
+ "SPECIFIED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001\022\027\n\023"
91-
+ "MODEL_TYPE_ADVANCED\020\003\"{\n\021ModelTrainingMo"
92-
+ "de\022#\n\037MODEL_TRAINING_MODE_UNSPECIFIED\020\000\022"
93-
+ "!\n\035MODEL_TRAINING_MODE_AUTOMATIC\020\001\022\036\n\032MO"
94-
+ "DEL_TRAINING_MODE_MANUAL\020\002\"\217\003\n\004Flow\022\014\n\004n"
95-
+ "ame\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013"
96-
+ "description\030\003 \001(\t\022N\n\021transition_routes\030\004"
97-
+ " \003(\01323.google.cloud.dialogflow.cx.v3beta"
98-
+ "1.TransitionRoute\022H\n\016event_handlers\030\n \003("
99-
+ "\01320.google.cloud.dialogflow.cx.v3beta1.E"
100-
+ "ventHandler\022E\n\014nlu_settings\030\013 \001(\0132/.goog"
101-
+ "le.cloud.dialogflow.cx.v3beta1.NluSettin"
102-
+ "gs:h\352Ae\n\036dialogflow.googleapis.com/Flow\022"
103-
+ "Cprojects/{project}/locations/{location}"
104-
+ "/agents/{agent}/flows/{flow}\"\237\001\n\021CreateF"
105-
+ "lowRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dial"
106-
+ "ogflow.googleapis.com/Flow\022;\n\004flow\030\002 \001(\013"
107-
+ "2(.google.cloud.dialogflow.cx.v3beta1.Fl"
108-
+ "owB\003\340A\002\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021Delete"
109-
+ "FlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialo"
110-
+ "gflow.googleapis.com/Flow\022\r\n\005force\030\002 \001(\010"
111-
+ "\"\210\001\n\020ListFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340"
112-
+ "A\002\372A \022\036dialogflow.googleapis.com/Flow\022\021\n"
113-
+ "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\r"
114-
+ "language_code\030\004 \001(\t\"e\n\021ListFlowsResponse"
115-
+ "\0227\n\005flows\030\001 \003(\0132(.google.cloud.dialogflo"
116-
+ "w.cx.v3beta1.Flow\022\027\n\017next_page_token\030\002 \001"
117-
+ "(\t\"]\n\016GetFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372"
118-
+ "A \n\036dialogflow.googleapis.com/Flow\022\025\n\rla"
119-
+ "nguage_code\030\002 \001(\t\"\235\001\n\021UpdateFlowRequest\022"
120-
+ ";\n\004flow\030\001 \001(\0132(.google.cloud.dialogflow."
121-
+ "cx.v3beta1.FlowB\003\340A\002\0224\n\013update_mask\030\002 \001("
122-
+ "\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\025\n\rla"
123-
+ "nguage_code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n"
124-
+ "\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.googleap"
125-
+ "is.com/Flow2\231\n\n\005Flows\022\302\001\n\nCreateFlow\0225.g"
126-
+ "oogle.cloud.dialogflow.cx.v3beta1.Create"
127-
+ "FlowRequest\032(.google.cloud.dialogflow.cx"
128-
+ ".v3beta1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{parent="
129-
+ "projects/*/locations/*/agents/*}/flows:\004"
130-
+ "flow\332A\013parent,flow\022\243\001\n\nDeleteFlow\0225.goog"
131-
+ "le.cloud.dialogflow.cx.v3beta1.DeleteFlo"
132-
+ "wRequest\032\026.google.protobuf.Empty\"F\202\323\344\223\0029"
133-
+ "*7/v3beta1/{name=projects/*/locations/*/"
134-
+ "agents/*/flows/*}\332A\004name\022\302\001\n\tListFlows\0224"
135-
+ ".google.cloud.dialogflow.cx.v3beta1.List"
136-
+ "FlowsRequest\0325.google.cloud.dialogflow.c"
137-
+ "x.v3beta1.ListFlowsResponse\"H\202\323\344\223\0029\0227/v3"
138-
+ "beta1/{parent=projects/*/locations/*/age"
139-
+ "nts/*}/flows\332A\006parent\022\257\001\n\007GetFlow\0222.goog"
140-
+ "le.cloud.dialogflow.cx.v3beta1.GetFlowRe"
141-
+ "quest\032(.google.cloud.dialogflow.cx.v3bet"
142-
+ "a1.Flow\"F\202\323\344\223\0029\0227/v3beta1/{name=projects"
143-
+ "/*/locations/*/agents/*/flows/*}\332A\004name\022"
144-
+ "\314\001\n\nUpdateFlow\0225.google.cloud.dialogflow"
145-
+ ".cx.v3beta1.UpdateFlowRequest\032(.google.c"
146-
+ "loud.dialogflow.cx.v3beta1.Flow\"]\202\323\344\223\002D2"
147-
+ "</v3beta1/{flow.name=projects/*/location"
148-
+ "s/*/agents/*/flows/*}:\004flow\332A\020flow,updat"
149-
+ "e_mask\022\344\001\n\tTrainFlow\0224.google.cloud.dial"
150-
+ "ogflow.cx.v3beta1.TrainFlowRequest\032\035.goo"
151-
+ "gle.longrunning.Operation\"\201\001\202\323\344\223\002B\"=/v3b"
152-
+ "eta1/{name=projects/*/locations/*/agents"
153-
+ "/*/flows/*}:train:\001*\332A\004name\312A/\n\025google.p"
154-
+ "rotobuf.Empty\022\026google.protobuf.Struct\032x\312"
155-
+ "A\031dialogflow.googleapis.com\322AYhttps://ww"
156-
+ "w.googleapis.com/auth/cloud-platform,htt"
157-
+ "ps://www.googleapis.com/auth/dialogflowB"
158-
+ "\250\001\n&com.google.cloud.dialogflow.cx.v3bet"
159-
+ "a1B\tFlowProtoP\001ZDgoogle.golang.org/genpr"
160-
+ "oto/googleapis/cloud/dialogflow/cx/v3bet"
161-
+ "a1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow."
162-
+ "Cx.V3Beta1b\006proto3"
83+
+ "protobuf/field_mask.proto\032\037google/protob"
84+
+ "uf/timestamp.proto\"\266\003\n\013NluSettings\022M\n\nmo"
85+
+ "del_type\030\001 \001(\01629.google.cloud.dialogflow"
86+
+ ".cx.v3beta1.NluSettings.ModelType\022 \n\030cla"
87+
+ "ssification_threshold\030\003 \001(\002\022^\n\023model_tra"
88+
+ "ining_mode\030\004 \001(\0162A.google.cloud.dialogfl"
89+
+ "ow.cx.v3beta1.NluSettings.ModelTrainingM"
90+
+ "ode\"Y\n\tModelType\022\032\n\026MODEL_TYPE_UNSPECIFI"
91+
+ "ED\020\000\022\027\n\023MODEL_TYPE_STANDARD\020\001\022\027\n\023MODEL_T"
92+
+ "YPE_ADVANCED\020\003\"{\n\021ModelTrainingMode\022#\n\037M"
93+
+ "ODEL_TRAINING_MODE_UNSPECIFIED\020\000\022!\n\035MODE"
94+
+ "L_TRAINING_MODE_AUTOMATIC\020\001\022\036\n\032MODEL_TRA"
95+
+ "INING_MODE_MANUAL\020\002\"\217\003\n\004Flow\022\014\n\004name\030\001 \001"
96+
+ "(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\023\n\013descrip"
97+
+ "tion\030\003 \001(\t\022N\n\021transition_routes\030\004 \003(\01323."
98+
+ "google.cloud.dialogflow.cx.v3beta1.Trans"
99+
+ "itionRoute\022H\n\016event_handlers\030\n \003(\01320.goo"
100+
+ "gle.cloud.dialogflow.cx.v3beta1.EventHan"
101+
+ "dler\022E\n\014nlu_settings\030\013 \001(\0132/.google.clou"
102+
+ "d.dialogflow.cx.v3beta1.NluSettings:h\352Ae"
103+
+ "\n\036dialogflow.googleapis.com/Flow\022Cprojec"
104+
+ "ts/{project}/locations/{location}/agents"
105+
+ "/{agent}/flows/{flow}\"\237\001\n\021CreateFlowRequ"
106+
+ "est\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036dialogflow."
107+
+ "googleapis.com/Flow\022;\n\004flow\030\002 \001(\0132(.goog"
108+
+ "le.cloud.dialogflow.cx.v3beta1.FlowB\003\340A\002"
109+
+ "\022\025\n\rlanguage_code\030\003 \001(\t\"X\n\021DeleteFlowReq"
110+
+ "uest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dialogflow.g"
111+
+ "oogleapis.com/Flow\022\r\n\005force\030\002 \001(\010\"\210\001\n\020Li"
112+
+ "stFlowsRequest\0226\n\006parent\030\001 \001(\tB&\340A\002\372A \022\036"
113+
+ "dialogflow.googleapis.com/Flow\022\021\n\tpage_s"
114+
+ "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\025\n\rlanguag"
115+
+ "e_code\030\004 \001(\t\"e\n\021ListFlowsResponse\0227\n\005flo"
116+
+ "ws\030\001 \003(\0132(.google.cloud.dialogflow.cx.v3"
117+
+ "beta1.Flow\022\027\n\017next_page_token\030\002 \001(\t\"]\n\016G"
118+
+ "etFlowRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036dia"
119+
+ "logflow.googleapis.com/Flow\022\025\n\rlanguage_"
120+
+ "code\030\002 \001(\t\"\235\001\n\021UpdateFlowRequest\022;\n\004flow"
121+
+ "\030\001 \001(\0132(.google.cloud.dialogflow.cx.v3be"
122+
+ "ta1.FlowB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goo"
123+
+ "gle.protobuf.FieldMaskB\003\340A\002\022\025\n\rlanguage_"
124+
+ "code\030\003 \001(\t\"H\n\020TrainFlowRequest\0224\n\004name\030\001"
125+
+ " \001(\tB&\340A\002\372A \n\036dialogflow.googleapis.com/"
126+
+ "Flow2\231\n\n\005Flows\022\302\001\n\nCreateFlow\0225.google.c"
127+
+ "loud.dialogflow.cx.v3beta1.CreateFlowReq"
128+
+ "uest\032(.google.cloud.dialogflow.cx.v3beta"
129+
+ "1.Flow\"S\202\323\344\223\002?\"7/v3beta1/{parent=project"
130+
+ "s/*/locations/*/agents/*}/flows:\004flow\332A\013"
131+
+ "parent,flow\022\243\001\n\nDeleteFlow\0225.google.clou"
132+
+ "d.dialogflow.cx.v3beta1.DeleteFlowReques"
133+
+ "t\032\026.google.protobuf.Empty\"F\202\323\344\223\0029*7/v3be"
134+
+ "ta1/{name=projects/*/locations/*/agents/"
135+
+ "*/flows/*}\332A\004name\022\302\001\n\tListFlows\0224.google"
136+
+ ".cloud.dialogflow.cx.v3beta1.ListFlowsRe"
137+
+ "quest\0325.google.cloud.dialogflow.cx.v3bet"
138+
+ "a1.ListFlowsResponse\"H\202\323\344\223\0029\0227/v3beta1/{"
139+
+ "parent=projects/*/locations/*/agents/*}/"
140+
+ "flows\332A\006parent\022\257\001\n\007GetFlow\0222.google.clou"
141+
+ "d.dialogflow.cx.v3beta1.GetFlowRequest\032("
142+
+ ".google.cloud.dialogflow.cx.v3beta1.Flow"
143+
+ "\"F\202\323\344\223\0029\0227/v3beta1/{name=projects/*/loca"
144+
+ "tions/*/agents/*/flows/*}\332A\004name\022\314\001\n\nUpd"
145+
+ "ateFlow\0225.google.cloud.dialogflow.cx.v3b"
146+
+ "eta1.UpdateFlowRequest\032(.google.cloud.di"
147+
+ "alogflow.cx.v3beta1.Flow\"]\202\323\344\223\002D2</v3bet"
148+
+ "a1/{flow.name=projects/*/locations/*/age"
149+
+ "nts/*/flows/*}:\004flow\332A\020flow,update_mask\022"
150+
+ "\344\001\n\tTrainFlow\0224.google.cloud.dialogflow."
151+
+ "cx.v3beta1.TrainFlowRequest\032\035.google.lon"
152+
+ "grunning.Operation\"\201\001\202\323\344\223\002B\"=/v3beta1/{n"
153+
+ "ame=projects/*/locations/*/agents/*/flow"
154+
+ "s/*}:train:\001*\332A\004name\312A/\n\025google.protobuf"
155+
+ ".Empty\022\026google.protobuf.Struct\032x\312A\031dialo"
156+
+ "gflow.googleapis.com\322AYhttps://www.googl"
157+
+ "eapis.com/auth/cloud-platform,https://ww"
158+
+ "w.googleapis.com/auth/dialogflowB\250\001\n&com"
159+
+ ".google.cloud.dialogflow.cx.v3beta1B\tFlo"
160+
+ "wProtoP\001ZDgoogle.golang.org/genproto/goo"
161+
+ "gleapis/cloud/dialogflow/cx/v3beta1;cx\370\001"
162+
+ "\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Be"
163+
+ "ta1b\006proto3"
163164
};
164165
descriptor =
165166
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -173,6 +174,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
173174
com.google.longrunning.OperationsProto.getDescriptor(),
174175
com.google.protobuf.EmptyProto.getDescriptor(),
175176
com.google.protobuf.FieldMaskProto.getDescriptor(),
177+
com.google.protobuf.TimestampProto.getDescriptor(),
176178
});
177179
internal_static_google_cloud_dialogflow_cx_v3beta1_NluSettings_descriptor =
178180
getDescriptor().getMessageTypes().get(0);
@@ -271,6 +273,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
271273
com.google.longrunning.OperationsProto.getDescriptor();
272274
com.google.protobuf.EmptyProto.getDescriptor();
273275
com.google.protobuf.FieldMaskProto.getDescriptor();
276+
com.google.protobuf.TimestampProto.getDescriptor();
274277
}
275278

276279
// @@protoc_insertion_point(outer_class_scope)

proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryInput.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
*
2323
*
2424
* <pre>
25-
* Represents the query input. It can contain either:
25+
* Represents the query input. It can contain one of:
2626
* 1. A conversational query in the form of text.
2727
* 2. An intent query that specifies which intent to trigger.
28+
* 3. Natural language speech audio to be processed.
29+
* 4. An event to be triggered.
2830
* </pre>
2931
*
3032
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.QueryInput}
@@ -728,9 +730,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
728730
*
729731
*
730732
* <pre>
731-
* Represents the query input. It can contain either:
733+
* Represents the query input. It can contain one of:
732734
* 1. A conversational query in the form of text.
733735
* 2. An intent query that specifies which intent to trigger.
736+
* 3. Natural language speech audio to be processed.
737+
* 4. An event to be triggered.
734738
* </pre>
735739
*
736740
* Protobuf type {@code google.cloud.dialogflow.cx.v3beta1.QueryInput}

proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ service Agents {
8282
option (google.api.method_signature) = "name";
8383
}
8484

85-
// Exports the specified agent to a ZIP file.
85+
// Exports the specified agent to a binary file.
8686
rpc ExportAgent(ExportAgentRequest) returns (google.longrunning.Operation) {
8787
option (google.api.http) = {
8888
post: "/v3beta1/{name=projects/*/locations/*/agents/*}:export"
@@ -94,10 +94,10 @@ service Agents {
9494
};
9595
}
9696

97-
// Restores the specified agent from a ZIP file.
97+
// Restores the specified agent from a binary file.
9898
//
99-
// Note that all existing intents, intent routes, entity types, pages and
100-
// webhooks in the agent will be deleted.
99+
// Replaces the current agent with a new one. Note that all existing resources
100+
// in agent (e.g. intents, entity types, flows) will be removed.
101101
rpc RestoreAgent(RestoreAgentRequest) returns (google.longrunning.Operation) {
102102
option (google.api.http) = {
103103
post: "/v3beta1/{name=projects/*/locations/*/agents/*}:restore"

0 commit comments

Comments
 (0)