@@ -31,17 +31,15 @@ option java_outer_classname = "EntityTypeProto";
3131option java_package = "com.google.cloud.dialogflow.cx.v3beta1" ;
3232option objc_class_prefix = "DF" ;
3333
34- // Service for managing
35- // [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
34+ // Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityType].
3635service EntityTypes {
3736 option (google.api.default_host ) = "dialogflow.googleapis.com" ;
3837 option (google.api.oauth_scopes ) =
3938 "https://www.googleapis.com/auth/cloud-platform,"
4039 "https://www.googleapis.com/auth/dialogflow" ;
4140
4241 // Returns the list of all entity types in the specified agent.
43- rpc ListEntityTypes (ListEntityTypesRequest )
44- returns (ListEntityTypesResponse ) {
42+ rpc ListEntityTypes (ListEntityTypesRequest ) returns (ListEntityTypesResponse ) {
4543 option (google.api.http ) = {
4644 get : "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes"
4745 };
@@ -75,8 +73,7 @@ service EntityTypes {
7573 }
7674
7775 // Deletes the specified entity type.
78- rpc DeleteEntityType (DeleteEntityTypeRequest )
79- returns (google .protobuf .Empty ) {
76+ rpc DeleteEntityType (DeleteEntityTypeRequest ) returns (google .protobuf .Empty ) {
8077 option (google.api.http ) = {
8178 delete : "/v3beta1/{name=projects/*/locations/*/agents/*/entityTypes/*}"
8279 };
@@ -107,9 +104,7 @@ service EntityTypes {
107104//
108105// * **User** - entities that are built for an individual user such as
109106// favorites, preferences, playlists, and so on. A user entity is
110- // represented by the
111- // [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType]
112- // type.
107+ // represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type.
113108//
114109// For more information about entity types, see the [Dialogflow
115110// documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
@@ -184,14 +179,12 @@ message EntityType {
184179 }
185180
186181 // The unique identifier of the entity type.
187- // Required for
188- // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
182+ // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
189183 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
190184 // ID>/entityTypes/<Entity Type ID>`.
191185 string name = 1 ;
192186
193- // Required. The human-readable name of the entity type, unique within the
194- // agent.
187+ // Required. The human-readable name of the entity type, unique within the agent.
195188 string display_name = 2 [(google.api.field_behavior ) = REQUIRED ];
196189
197190 // Required. Indicates the kind of entity type.
@@ -214,8 +207,7 @@ message EntityType {
214207 bool enable_fuzzy_extraction = 7 ;
215208}
216209
217- // The request message for
218- // [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
210+ // The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
219211message ListEntityTypesRequest {
220212 // Required. The agent to list all entity types for.
221213 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
@@ -248,8 +240,7 @@ message ListEntityTypesRequest {
248240 string page_token = 4 ;
249241}
250242
251- // The response message for
252- // [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
243+ // The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes].
253244message ListEntityTypesResponse {
254245 // The list of entity types. There will be a maximum number of items returned
255246 // based on the page_size field in the request.
@@ -260,8 +251,7 @@ message ListEntityTypesResponse {
260251 string next_page_token = 2 ;
261252}
262253
263- // The request message for
264- // [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
254+ // The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType].
265255message GetEntityTypeRequest {
266256 // Required. The name of the entity type.
267257 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
@@ -288,8 +278,7 @@ message GetEntityTypeRequest {
288278 string language_code = 2 ;
289279}
290280
291- // The request message for
292- // [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
281+ // The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
293282message CreateEntityTypeRequest {
294283 // Required. The agent to create a entity type for.
295284 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
@@ -317,8 +306,7 @@ message CreateEntityTypeRequest {
317306 string language_code = 3 ;
318307}
319308
320- // The request message for
321- // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
309+ // The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType].
322310message UpdateEntityTypeRequest {
323311 // Required. The entity type to update.
324312 EntityType entity_type = 1 [(google.api.field_behavior ) = REQUIRED ];
@@ -340,8 +328,7 @@ message UpdateEntityTypeRequest {
340328 google.protobuf.FieldMask update_mask = 3 ;
341329}
342330
343- // The request message for
344- // [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
331+ // The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
345332message DeleteEntityTypeRequest {
346333 // Required. The name of the entity type to delete.
347334 // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
@@ -360,10 +347,8 @@ message DeleteEntityTypeRequest {
360347 // indicating the referencing resources.
361348 // * If `force` is set to true, Dialogflow will remove the entity type, as
362349 // well as any references to the entity type (i.e. Page
363- // [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the
364- // entity type will be changed to
365- // '@sys.any' and intent
366- // [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the
367- // entity type will be removed).
350+ // [parameter][google.cloud.dialogflow.cx.v3beta1.Form.Parameter] of the entity type will be changed to
351+ // '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3beta1.Intent.Parameter] of the entity type
352+ // will be removed).
368353 bool force = 2 ;
369354}
0 commit comments