@maxim_mazurok/gapi.client.dialogflow-v2 0.0.20250121 → 0.0.20250128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +134 -134
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20250121
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Dialogflow API v2 */
18
18
  function load(
19
- urlOrObject: 'https://dialogflow.googleapis.com/$discovery/rest?version=v2'
19
+ urlOrObject: 'https://dialogflow.googleapis.com/$discovery/rest?version=v2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'dialogflow', version: 'v2'): Promise<void>;
@@ -4767,7 +4767,7 @@ declare namespace gapi.client {
4767
4767
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4768
4768
  uploadType?: string;
4769
4769
  },
4770
- body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest
4770
+ body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
4771
4771
  ): Request<GoogleLongrunningOperation>;
4772
4772
  /** Deletes entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
4773
4773
  batchDelete(request: {
@@ -4825,7 +4825,7 @@ declare namespace gapi.client {
4825
4825
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4826
4826
  uploadType?: string;
4827
4827
  },
4828
- body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
4828
+ body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
4829
4829
  ): Request<GoogleLongrunningOperation>;
4830
4830
  /** Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
4831
4831
  batchUpdate(request: {
@@ -4883,7 +4883,7 @@ declare namespace gapi.client {
4883
4883
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4884
4884
  uploadType?: string;
4885
4885
  },
4886
- body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
4886
+ body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
4887
4887
  ): Request<GoogleLongrunningOperation>;
4888
4888
  }
4889
4889
  interface EntityTypesResource {
@@ -4943,7 +4943,7 @@ declare namespace gapi.client {
4943
4943
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4944
4944
  uploadType?: string;
4945
4945
  },
4946
- body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest
4946
+ body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
4947
4947
  ): Request<GoogleLongrunningOperation>;
4948
4948
  /** Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
4949
4949
  batchUpdate(request: {
@@ -5001,7 +5001,7 @@ declare namespace gapi.client {
5001
5001
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5002
5002
  uploadType?: string;
5003
5003
  },
5004
- body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest
5004
+ body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
5005
5005
  ): Request<GoogleLongrunningOperation>;
5006
5006
  /** Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
5007
5007
  create(request: {
@@ -5063,7 +5063,7 @@ declare namespace gapi.client {
5063
5063
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5064
5064
  uploadType?: string;
5065
5065
  },
5066
- body: GoogleCloudDialogflowV2EntityType
5066
+ body: GoogleCloudDialogflowV2EntityType,
5067
5067
  ): Request<GoogleCloudDialogflowV2EntityType>;
5068
5068
  /** Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
5069
5069
  delete(request?: {
@@ -5218,7 +5218,7 @@ declare namespace gapi.client {
5218
5218
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5219
5219
  uploadType?: string;
5220
5220
  },
5221
- body: GoogleCloudDialogflowV2EntityType
5221
+ body: GoogleCloudDialogflowV2EntityType,
5222
5222
  ): Request<GoogleCloudDialogflowV2EntityType>;
5223
5223
  entities: EntitiesResource;
5224
5224
  }
@@ -5316,7 +5316,7 @@ declare namespace gapi.client {
5316
5316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5317
5317
  uploadType?: string;
5318
5318
  },
5319
- body: GoogleCloudDialogflowV2Context
5319
+ body: GoogleCloudDialogflowV2Context,
5320
5320
  ): Request<GoogleCloudDialogflowV2Context>;
5321
5321
  /** Deletes the specified context. */
5322
5322
  delete(request?: {
@@ -5463,7 +5463,7 @@ declare namespace gapi.client {
5463
5463
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5464
5464
  uploadType?: string;
5465
5465
  },
5466
- body: GoogleCloudDialogflowV2Context
5466
+ body: GoogleCloudDialogflowV2Context,
5467
5467
  ): Request<GoogleCloudDialogflowV2Context>;
5468
5468
  }
5469
5469
  interface EntityTypesResource {
@@ -5523,7 +5523,7 @@ declare namespace gapi.client {
5523
5523
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5524
5524
  uploadType?: string;
5525
5525
  },
5526
- body: GoogleCloudDialogflowV2SessionEntityType
5526
+ body: GoogleCloudDialogflowV2SessionEntityType,
5527
5527
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
5528
5528
  /** Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. */
5529
5529
  delete(request?: {
@@ -5670,7 +5670,7 @@ declare namespace gapi.client {
5670
5670
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5671
5671
  uploadType?: string;
5672
5672
  },
5673
- body: GoogleCloudDialogflowV2SessionEntityType
5673
+ body: GoogleCloudDialogflowV2SessionEntityType,
5674
5674
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
5675
5675
  }
5676
5676
  interface SessionsResource {
@@ -5757,7 +5757,7 @@ declare namespace gapi.client {
5757
5757
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5758
5758
  uploadType?: string;
5759
5759
  },
5760
- body: GoogleCloudDialogflowV2DetectIntentRequest
5760
+ body: GoogleCloudDialogflowV2DetectIntentRequest,
5761
5761
  ): Request<GoogleCloudDialogflowV2DetectIntentResponse>;
5762
5762
  contexts: ContextsResource;
5763
5763
  entityTypes: EntityTypesResource;
@@ -5826,7 +5826,7 @@ declare namespace gapi.client {
5826
5826
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5827
5827
  uploadType?: string;
5828
5828
  },
5829
- body: GoogleCloudDialogflowV2Environment
5829
+ body: GoogleCloudDialogflowV2Environment,
5830
5830
  ): Request<GoogleCloudDialogflowV2Environment>;
5831
5831
  /** Deletes the specified agent environment. */
5832
5832
  delete(request?: {
@@ -6008,7 +6008,7 @@ declare namespace gapi.client {
6008
6008
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6009
6009
  uploadType?: string;
6010
6010
  },
6011
- body: GoogleCloudDialogflowV2Environment
6011
+ body: GoogleCloudDialogflowV2Environment,
6012
6012
  ): Request<GoogleCloudDialogflowV2Environment>;
6013
6013
  intents: IntentsResource;
6014
6014
  users: UsersResource;
@@ -6070,7 +6070,7 @@ declare namespace gapi.client {
6070
6070
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6071
6071
  uploadType?: string;
6072
6072
  },
6073
- body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest
6073
+ body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
6074
6074
  ): Request<GoogleLongrunningOperation>;
6075
6075
  /** Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
6076
6076
  batchUpdate(request: {
@@ -6128,7 +6128,7 @@ declare namespace gapi.client {
6128
6128
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6129
6129
  uploadType?: string;
6130
6130
  },
6131
- body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest
6131
+ body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
6132
6132
  ): Request<GoogleLongrunningOperation>;
6133
6133
  /** Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
6134
6134
  create(request: {
@@ -6194,7 +6194,7 @@ declare namespace gapi.client {
6194
6194
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6195
6195
  uploadType?: string;
6196
6196
  },
6197
- body: GoogleCloudDialogflowV2Intent
6197
+ body: GoogleCloudDialogflowV2Intent,
6198
6198
  ): Request<GoogleCloudDialogflowV2Intent>;
6199
6199
  /** Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
6200
6200
  delete(request?: {
@@ -6357,7 +6357,7 @@ declare namespace gapi.client {
6357
6357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6358
6358
  uploadType?: string;
6359
6359
  },
6360
- body: GoogleCloudDialogflowV2Intent
6360
+ body: GoogleCloudDialogflowV2Intent,
6361
6361
  ): Request<GoogleCloudDialogflowV2Intent>;
6362
6362
  }
6363
6363
  interface DocumentsResource {
@@ -6417,7 +6417,7 @@ declare namespace gapi.client {
6417
6417
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6418
6418
  uploadType?: string;
6419
6419
  },
6420
- body: GoogleCloudDialogflowV2Document
6420
+ body: GoogleCloudDialogflowV2Document,
6421
6421
  ): Request<GoogleLongrunningOperation>;
6422
6422
  /** Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
6423
6423
  delete(request?: {
@@ -6566,7 +6566,7 @@ declare namespace gapi.client {
6566
6566
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6567
6567
  uploadType?: string;
6568
6568
  },
6569
- body: GoogleCloudDialogflowV2Document
6569
+ body: GoogleCloudDialogflowV2Document,
6570
6570
  ): Request<GoogleLongrunningOperation>;
6571
6571
  /** Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. */
6572
6572
  reload(request: {
@@ -6624,7 +6624,7 @@ declare namespace gapi.client {
6624
6624
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6625
6625
  uploadType?: string;
6626
6626
  },
6627
- body: GoogleCloudDialogflowV2ReloadDocumentRequest
6627
+ body: GoogleCloudDialogflowV2ReloadDocumentRequest,
6628
6628
  ): Request<GoogleLongrunningOperation>;
6629
6629
  }
6630
6630
  interface KnowledgeBasesResource {
@@ -6684,7 +6684,7 @@ declare namespace gapi.client {
6684
6684
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6685
6685
  uploadType?: string;
6686
6686
  },
6687
- body: GoogleCloudDialogflowV2KnowledgeBase
6687
+ body: GoogleCloudDialogflowV2KnowledgeBase,
6688
6688
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
6689
6689
  /** Deletes the specified knowledge base. */
6690
6690
  delete(request?: {
@@ -6835,7 +6835,7 @@ declare namespace gapi.client {
6835
6835
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6836
6836
  uploadType?: string;
6837
6837
  },
6838
- body: GoogleCloudDialogflowV2KnowledgeBase
6838
+ body: GoogleCloudDialogflowV2KnowledgeBase,
6839
6839
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
6840
6840
  documents: DocumentsResource;
6841
6841
  }
@@ -6896,7 +6896,7 @@ declare namespace gapi.client {
6896
6896
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6897
6897
  uploadType?: string;
6898
6898
  },
6899
- body: GoogleCloudDialogflowV2Context
6899
+ body: GoogleCloudDialogflowV2Context,
6900
6900
  ): Request<GoogleCloudDialogflowV2Context>;
6901
6901
  /** Deletes the specified context. */
6902
6902
  delete(request?: {
@@ -7043,7 +7043,7 @@ declare namespace gapi.client {
7043
7043
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7044
7044
  uploadType?: string;
7045
7045
  },
7046
- body: GoogleCloudDialogflowV2Context
7046
+ body: GoogleCloudDialogflowV2Context,
7047
7047
  ): Request<GoogleCloudDialogflowV2Context>;
7048
7048
  }
7049
7049
  interface EntityTypesResource {
@@ -7103,7 +7103,7 @@ declare namespace gapi.client {
7103
7103
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7104
7104
  uploadType?: string;
7105
7105
  },
7106
- body: GoogleCloudDialogflowV2SessionEntityType
7106
+ body: GoogleCloudDialogflowV2SessionEntityType,
7107
7107
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
7108
7108
  /** Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. */
7109
7109
  delete(request?: {
@@ -7250,7 +7250,7 @@ declare namespace gapi.client {
7250
7250
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7251
7251
  uploadType?: string;
7252
7252
  },
7253
- body: GoogleCloudDialogflowV2SessionEntityType
7253
+ body: GoogleCloudDialogflowV2SessionEntityType,
7254
7254
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
7255
7255
  }
7256
7256
  interface SessionsResource {
@@ -7337,7 +7337,7 @@ declare namespace gapi.client {
7337
7337
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7338
7338
  uploadType?: string;
7339
7339
  },
7340
- body: GoogleCloudDialogflowV2DetectIntentRequest
7340
+ body: GoogleCloudDialogflowV2DetectIntentRequest,
7341
7341
  ): Request<GoogleCloudDialogflowV2DetectIntentResponse>;
7342
7342
  contexts: ContextsResource;
7343
7343
  entityTypes: EntityTypesResource;
@@ -7399,7 +7399,7 @@ declare namespace gapi.client {
7399
7399
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7400
7400
  uploadType?: string;
7401
7401
  },
7402
- body: GoogleCloudDialogflowV2Version
7402
+ body: GoogleCloudDialogflowV2Version,
7403
7403
  ): Request<GoogleCloudDialogflowV2Version>;
7404
7404
  /** Delete the specified agent version. */
7405
7405
  delete(request?: {
@@ -7546,7 +7546,7 @@ declare namespace gapi.client {
7546
7546
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7547
7547
  uploadType?: string;
7548
7548
  },
7549
- body: GoogleCloudDialogflowV2Version
7549
+ body: GoogleCloudDialogflowV2Version,
7550
7550
  ): Request<GoogleCloudDialogflowV2Version>;
7551
7551
  }
7552
7552
  interface AgentResource {
@@ -7606,7 +7606,7 @@ declare namespace gapi.client {
7606
7606
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7607
7607
  uploadType?: string;
7608
7608
  },
7609
- body: GoogleCloudDialogflowV2ExportAgentRequest
7609
+ body: GoogleCloudDialogflowV2ExportAgentRequest,
7610
7610
  ): Request<GoogleLongrunningOperation>;
7611
7611
  /** Retrieves the fulfillment. */
7612
7612
  getFulfillment(request?: {
@@ -7720,7 +7720,7 @@ declare namespace gapi.client {
7720
7720
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7721
7721
  uploadType?: string;
7722
7722
  },
7723
- body: GoogleCloudDialogflowV2ImportAgentRequest
7723
+ body: GoogleCloudDialogflowV2ImportAgentRequest,
7724
7724
  ): Request<GoogleLongrunningOperation>;
7725
7725
  /** Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
7726
7726
  restore(request: {
@@ -7778,7 +7778,7 @@ declare namespace gapi.client {
7778
7778
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7779
7779
  uploadType?: string;
7780
7780
  },
7781
- body: GoogleCloudDialogflowV2RestoreAgentRequest
7781
+ body: GoogleCloudDialogflowV2RestoreAgentRequest,
7782
7782
  ): Request<GoogleLongrunningOperation>;
7783
7783
  /** Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). */
7784
7784
  search(request?: {
@@ -7867,7 +7867,7 @@ declare namespace gapi.client {
7867
7867
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7868
7868
  uploadType?: string;
7869
7869
  },
7870
- body: GoogleCloudDialogflowV2TrainAgentRequest
7870
+ body: GoogleCloudDialogflowV2TrainAgentRequest,
7871
7871
  ): Request<GoogleLongrunningOperation>;
7872
7872
  /** Updates the fulfillment. */
7873
7873
  updateFulfillment(request: {
@@ -7929,7 +7929,7 @@ declare namespace gapi.client {
7929
7929
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7930
7930
  uploadType?: string;
7931
7931
  },
7932
- body: GoogleCloudDialogflowV2Fulfillment
7932
+ body: GoogleCloudDialogflowV2Fulfillment,
7933
7933
  ): Request<GoogleCloudDialogflowV2Fulfillment>;
7934
7934
  entityTypes: EntityTypesResource;
7935
7935
  environments: EnvironmentsResource;
@@ -8032,7 +8032,7 @@ declare namespace gapi.client {
8032
8032
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8033
8033
  uploadType?: string;
8034
8034
  },
8035
- body: GoogleCloudDialogflowV2AnswerRecord
8035
+ body: GoogleCloudDialogflowV2AnswerRecord,
8036
8036
  ): Request<GoogleCloudDialogflowV2AnswerRecord>;
8037
8037
  }
8038
8038
  interface ConversationDatasetsResource {
@@ -8119,7 +8119,7 @@ declare namespace gapi.client {
8119
8119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8120
8120
  uploadType?: string;
8121
8121
  },
8122
- body: GoogleCloudDialogflowV2ImportConversationDataRequest
8122
+ body: GoogleCloudDialogflowV2ImportConversationDataRequest,
8123
8123
  ): Request<GoogleLongrunningOperation>;
8124
8124
  /** Returns the list of all conversation datasets in the specified project and location. */
8125
8125
  list(request?: {
@@ -8270,7 +8270,7 @@ declare namespace gapi.client {
8270
8270
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8271
8271
  uploadType?: string;
8272
8272
  },
8273
- body: GoogleCloudDialogflowV2ConversationModel
8273
+ body: GoogleCloudDialogflowV2ConversationModel,
8274
8274
  ): Request<GoogleLongrunningOperation>;
8275
8275
  /** Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
8276
8276
  delete(request?: {
@@ -8355,7 +8355,7 @@ declare namespace gapi.client {
8355
8355
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8356
8356
  uploadType?: string;
8357
8357
  },
8358
- body: GoogleCloudDialogflowV2DeployConversationModelRequest
8358
+ body: GoogleCloudDialogflowV2DeployConversationModelRequest,
8359
8359
  ): Request<GoogleLongrunningOperation>;
8360
8360
  /** Gets conversation model. */
8361
8361
  get(request?: {
@@ -8471,7 +8471,7 @@ declare namespace gapi.client {
8471
8471
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8472
8472
  uploadType?: string;
8473
8473
  },
8474
- body: GoogleCloudDialogflowV2UndeployConversationModelRequest
8474
+ body: GoogleCloudDialogflowV2UndeployConversationModelRequest,
8475
8475
  ): Request<GoogleLongrunningOperation>;
8476
8476
  evaluations: EvaluationsResource;
8477
8477
  }
@@ -8532,7 +8532,7 @@ declare namespace gapi.client {
8532
8532
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8533
8533
  uploadType?: string;
8534
8534
  },
8535
- body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest
8535
+ body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest,
8536
8536
  ): Request<GoogleLongrunningOperation>;
8537
8537
  /** Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API. */
8538
8538
  create(request: {
@@ -8590,7 +8590,7 @@ declare namespace gapi.client {
8590
8590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8591
8591
  uploadType?: string;
8592
8592
  },
8593
- body: GoogleCloudDialogflowV2ConversationProfile
8593
+ body: GoogleCloudDialogflowV2ConversationProfile,
8594
8594
  ): Request<GoogleCloudDialogflowV2ConversationProfile>;
8595
8595
  /** Deletes the specified conversation profile. */
8596
8596
  delete(request?: {
@@ -8737,7 +8737,7 @@ declare namespace gapi.client {
8737
8737
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8738
8738
  uploadType?: string;
8739
8739
  },
8740
- body: GoogleCloudDialogflowV2ConversationProfile
8740
+ body: GoogleCloudDialogflowV2ConversationProfile,
8741
8741
  ): Request<GoogleCloudDialogflowV2ConversationProfile>;
8742
8742
  /** Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected. */
8743
8743
  setSuggestionFeatureConfig(request: {
@@ -8795,7 +8795,7 @@ declare namespace gapi.client {
8795
8795
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8796
8796
  uploadType?: string;
8797
8797
  },
8798
- body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
8798
+ body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest,
8799
8799
  ): Request<GoogleLongrunningOperation>;
8800
8800
  }
8801
8801
  interface MessagesResource {
@@ -8890,7 +8890,7 @@ declare namespace gapi.client {
8890
8890
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8891
8891
  uploadType?: string;
8892
8892
  },
8893
- body: GoogleCloudDialogflowV2SuggestArticlesRequest
8893
+ body: GoogleCloudDialogflowV2SuggestArticlesRequest,
8894
8894
  ): Request<GoogleCloudDialogflowV2SuggestArticlesResponse>;
8895
8895
  /** Gets suggested faq answers for a participant based on specific historical messages. */
8896
8896
  suggestFaqAnswers(request: {
@@ -8948,7 +8948,7 @@ declare namespace gapi.client {
8948
8948
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8949
8949
  uploadType?: string;
8950
8950
  },
8951
- body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest
8951
+ body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
8952
8952
  ): Request<GoogleCloudDialogflowV2SuggestFaqAnswersResponse>;
8953
8953
  /** Gets knowledge assist suggestions based on historical messages. */
8954
8954
  suggestKnowledgeAssist(request: {
@@ -9006,7 +9006,7 @@ declare namespace gapi.client {
9006
9006
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9007
9007
  uploadType?: string;
9008
9008
  },
9009
- body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
9009
+ body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest,
9010
9010
  ): Request<GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse>;
9011
9011
  /** Gets smart replies for a participant based on specific historical messages. */
9012
9012
  suggestSmartReplies(request: {
@@ -9064,7 +9064,7 @@ declare namespace gapi.client {
9064
9064
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9065
9065
  uploadType?: string;
9066
9066
  },
9067
- body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest
9067
+ body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest,
9068
9068
  ): Request<GoogleCloudDialogflowV2SuggestSmartRepliesResponse>;
9069
9069
  }
9070
9070
  interface ParticipantsResource {
@@ -9124,7 +9124,7 @@ declare namespace gapi.client {
9124
9124
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9125
9125
  uploadType?: string;
9126
9126
  },
9127
- body: GoogleCloudDialogflowV2AnalyzeContentRequest
9127
+ body: GoogleCloudDialogflowV2AnalyzeContentRequest,
9128
9128
  ): Request<GoogleCloudDialogflowV2AnalyzeContentResponse>;
9129
9129
  /** Creates a new participant in a conversation. */
9130
9130
  create(request: {
@@ -9182,7 +9182,7 @@ declare namespace gapi.client {
9182
9182
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9183
9183
  uploadType?: string;
9184
9184
  },
9185
- body: GoogleCloudDialogflowV2Participant
9185
+ body: GoogleCloudDialogflowV2Participant,
9186
9186
  ): Request<GoogleCloudDialogflowV2Participant>;
9187
9187
  /** Retrieves a conversation participant. */
9188
9188
  get(request?: {
@@ -9302,7 +9302,7 @@ declare namespace gapi.client {
9302
9302
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9303
9303
  uploadType?: string;
9304
9304
  },
9305
- body: GoogleCloudDialogflowV2Participant
9305
+ body: GoogleCloudDialogflowV2Participant,
9306
9306
  ): Request<GoogleCloudDialogflowV2Participant>;
9307
9307
  suggestions: SuggestionsResource;
9308
9308
  }
@@ -9363,7 +9363,7 @@ declare namespace gapi.client {
9363
9363
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9364
9364
  uploadType?: string;
9365
9365
  },
9366
- body: GoogleCloudDialogflowV2SearchKnowledgeRequest
9366
+ body: GoogleCloudDialogflowV2SearchKnowledgeRequest,
9367
9367
  ): Request<GoogleCloudDialogflowV2SearchKnowledgeResponse>;
9368
9368
  /** Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request. */
9369
9369
  suggestConversationSummary(request: {
@@ -9421,7 +9421,7 @@ declare namespace gapi.client {
9421
9421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9422
9422
  uploadType?: string;
9423
9423
  },
9424
- body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest
9424
+ body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest,
9425
9425
  ): Request<GoogleCloudDialogflowV2SuggestConversationSummaryResponse>;
9426
9426
  }
9427
9427
  interface ConversationsResource {
@@ -9481,7 +9481,7 @@ declare namespace gapi.client {
9481
9481
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9482
9482
  uploadType?: string;
9483
9483
  },
9484
- body: GoogleCloudDialogflowV2CompleteConversationRequest
9484
+ body: GoogleCloudDialogflowV2CompleteConversationRequest,
9485
9485
  ): Request<GoogleCloudDialogflowV2Conversation>;
9486
9486
  /** Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage. */
9487
9487
  create(request: {
@@ -9543,7 +9543,7 @@ declare namespace gapi.client {
9543
9543
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9544
9544
  uploadType?: string;
9545
9545
  },
9546
- body: GoogleCloudDialogflowV2Conversation
9546
+ body: GoogleCloudDialogflowV2Conversation,
9547
9547
  ): Request<GoogleCloudDialogflowV2Conversation>;
9548
9548
  /** Retrieves the specific conversation. */
9549
9549
  get(request?: {
@@ -9670,7 +9670,7 @@ declare namespace gapi.client {
9670
9670
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9671
9671
  uploadType?: string;
9672
9672
  },
9673
- body: GoogleCloudDialogflowV2Generator
9673
+ body: GoogleCloudDialogflowV2Generator,
9674
9674
  ): Request<GoogleCloudDialogflowV2Generator>;
9675
9675
  /** Lists generators. */
9676
9676
  list(request?: {
@@ -9761,7 +9761,7 @@ declare namespace gapi.client {
9761
9761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9762
9762
  uploadType?: string;
9763
9763
  },
9764
- body: GoogleCloudDialogflowV2Document
9764
+ body: GoogleCloudDialogflowV2Document,
9765
9765
  ): Request<GoogleLongrunningOperation>;
9766
9766
  /** Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
9767
9767
  delete(request?: {
@@ -9846,7 +9846,7 @@ declare namespace gapi.client {
9846
9846
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9847
9847
  uploadType?: string;
9848
9848
  },
9849
- body: GoogleCloudDialogflowV2ExportDocumentRequest
9849
+ body: GoogleCloudDialogflowV2ExportDocumentRequest,
9850
9850
  ): Request<GoogleLongrunningOperation>;
9851
9851
  /** Retrieves the specified document. */
9852
9852
  get(request?: {
@@ -9931,7 +9931,7 @@ declare namespace gapi.client {
9931
9931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9932
9932
  uploadType?: string;
9933
9933
  },
9934
- body: GoogleCloudDialogflowV2ImportDocumentsRequest
9934
+ body: GoogleCloudDialogflowV2ImportDocumentsRequest,
9935
9935
  ): Request<GoogleLongrunningOperation>;
9936
9936
  /** Returns the list of all documents of the knowledge base. */
9937
9937
  list(request?: {
@@ -10026,7 +10026,7 @@ declare namespace gapi.client {
10026
10026
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10027
10027
  uploadType?: string;
10028
10028
  },
10029
- body: GoogleCloudDialogflowV2Document
10029
+ body: GoogleCloudDialogflowV2Document,
10030
10030
  ): Request<GoogleLongrunningOperation>;
10031
10031
  /** Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. */
10032
10032
  reload(request: {
@@ -10084,7 +10084,7 @@ declare namespace gapi.client {
10084
10084
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10085
10085
  uploadType?: string;
10086
10086
  },
10087
- body: GoogleCloudDialogflowV2ReloadDocumentRequest
10087
+ body: GoogleCloudDialogflowV2ReloadDocumentRequest,
10088
10088
  ): Request<GoogleLongrunningOperation>;
10089
10089
  }
10090
10090
  interface KnowledgeBasesResource {
@@ -10144,7 +10144,7 @@ declare namespace gapi.client {
10144
10144
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10145
10145
  uploadType?: string;
10146
10146
  },
10147
- body: GoogleCloudDialogflowV2KnowledgeBase
10147
+ body: GoogleCloudDialogflowV2KnowledgeBase,
10148
10148
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
10149
10149
  /** Deletes the specified knowledge base. */
10150
10150
  delete(request?: {
@@ -10295,7 +10295,7 @@ declare namespace gapi.client {
10295
10295
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10296
10296
  uploadType?: string;
10297
10297
  },
10298
- body: GoogleCloudDialogflowV2KnowledgeBase
10298
+ body: GoogleCloudDialogflowV2KnowledgeBase,
10299
10299
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
10300
10300
  documents: DocumentsResource;
10301
10301
  }
@@ -10356,7 +10356,7 @@ declare namespace gapi.client {
10356
10356
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10357
10357
  uploadType?: string;
10358
10358
  },
10359
- body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest
10359
+ body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest,
10360
10360
  ): Request<GoogleLongrunningOperation>;
10361
10361
  /** Deletes entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
10362
10362
  batchDelete(request: {
@@ -10414,7 +10414,7 @@ declare namespace gapi.client {
10414
10414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10415
10415
  uploadType?: string;
10416
10416
  },
10417
- body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
10417
+ body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest,
10418
10418
  ): Request<GoogleLongrunningOperation>;
10419
10419
  /** Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
10420
10420
  batchUpdate(request: {
@@ -10472,7 +10472,7 @@ declare namespace gapi.client {
10472
10472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10473
10473
  uploadType?: string;
10474
10474
  },
10475
- body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
10475
+ body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest,
10476
10476
  ): Request<GoogleLongrunningOperation>;
10477
10477
  }
10478
10478
  interface EntityTypesResource {
@@ -10532,7 +10532,7 @@ declare namespace gapi.client {
10532
10532
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10533
10533
  uploadType?: string;
10534
10534
  },
10535
- body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest
10535
+ body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest,
10536
10536
  ): Request<GoogleLongrunningOperation>;
10537
10537
  /** Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
10538
10538
  batchUpdate(request: {
@@ -10590,7 +10590,7 @@ declare namespace gapi.client {
10590
10590
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10591
10591
  uploadType?: string;
10592
10592
  },
10593
- body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest
10593
+ body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest,
10594
10594
  ): Request<GoogleLongrunningOperation>;
10595
10595
  /** Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
10596
10596
  create(request: {
@@ -10652,7 +10652,7 @@ declare namespace gapi.client {
10652
10652
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10653
10653
  uploadType?: string;
10654
10654
  },
10655
- body: GoogleCloudDialogflowV2EntityType
10655
+ body: GoogleCloudDialogflowV2EntityType,
10656
10656
  ): Request<GoogleCloudDialogflowV2EntityType>;
10657
10657
  /** Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
10658
10658
  delete(request?: {
@@ -10807,7 +10807,7 @@ declare namespace gapi.client {
10807
10807
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10808
10808
  uploadType?: string;
10809
10809
  },
10810
- body: GoogleCloudDialogflowV2EntityType
10810
+ body: GoogleCloudDialogflowV2EntityType,
10811
10811
  ): Request<GoogleCloudDialogflowV2EntityType>;
10812
10812
  entities: EntitiesResource;
10813
10813
  }
@@ -10905,7 +10905,7 @@ declare namespace gapi.client {
10905
10905
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10906
10906
  uploadType?: string;
10907
10907
  },
10908
- body: GoogleCloudDialogflowV2Context
10908
+ body: GoogleCloudDialogflowV2Context,
10909
10909
  ): Request<GoogleCloudDialogflowV2Context>;
10910
10910
  /** Deletes the specified context. */
10911
10911
  delete(request?: {
@@ -11052,7 +11052,7 @@ declare namespace gapi.client {
11052
11052
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11053
11053
  uploadType?: string;
11054
11054
  },
11055
- body: GoogleCloudDialogflowV2Context
11055
+ body: GoogleCloudDialogflowV2Context,
11056
11056
  ): Request<GoogleCloudDialogflowV2Context>;
11057
11057
  }
11058
11058
  interface EntityTypesResource {
@@ -11112,7 +11112,7 @@ declare namespace gapi.client {
11112
11112
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11113
11113
  uploadType?: string;
11114
11114
  },
11115
- body: GoogleCloudDialogflowV2SessionEntityType
11115
+ body: GoogleCloudDialogflowV2SessionEntityType,
11116
11116
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
11117
11117
  /** Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. */
11118
11118
  delete(request?: {
@@ -11259,7 +11259,7 @@ declare namespace gapi.client {
11259
11259
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11260
11260
  uploadType?: string;
11261
11261
  },
11262
- body: GoogleCloudDialogflowV2SessionEntityType
11262
+ body: GoogleCloudDialogflowV2SessionEntityType,
11263
11263
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
11264
11264
  }
11265
11265
  interface SessionsResource {
@@ -11346,7 +11346,7 @@ declare namespace gapi.client {
11346
11346
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11347
11347
  uploadType?: string;
11348
11348
  },
11349
- body: GoogleCloudDialogflowV2DetectIntentRequest
11349
+ body: GoogleCloudDialogflowV2DetectIntentRequest,
11350
11350
  ): Request<GoogleCloudDialogflowV2DetectIntentResponse>;
11351
11351
  contexts: ContextsResource;
11352
11352
  entityTypes: EntityTypesResource;
@@ -11415,7 +11415,7 @@ declare namespace gapi.client {
11415
11415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11416
11416
  uploadType?: string;
11417
11417
  },
11418
- body: GoogleCloudDialogflowV2Environment
11418
+ body: GoogleCloudDialogflowV2Environment,
11419
11419
  ): Request<GoogleCloudDialogflowV2Environment>;
11420
11420
  /** Deletes the specified agent environment. */
11421
11421
  delete(request?: {
@@ -11597,7 +11597,7 @@ declare namespace gapi.client {
11597
11597
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11598
11598
  uploadType?: string;
11599
11599
  },
11600
- body: GoogleCloudDialogflowV2Environment
11600
+ body: GoogleCloudDialogflowV2Environment,
11601
11601
  ): Request<GoogleCloudDialogflowV2Environment>;
11602
11602
  intents: IntentsResource;
11603
11603
  users: UsersResource;
@@ -11659,7 +11659,7 @@ declare namespace gapi.client {
11659
11659
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11660
11660
  uploadType?: string;
11661
11661
  },
11662
- body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest
11662
+ body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest,
11663
11663
  ): Request<GoogleLongrunningOperation>;
11664
11664
  /** Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
11665
11665
  batchUpdate(request: {
@@ -11717,7 +11717,7 @@ declare namespace gapi.client {
11717
11717
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11718
11718
  uploadType?: string;
11719
11719
  },
11720
- body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest
11720
+ body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest,
11721
11721
  ): Request<GoogleLongrunningOperation>;
11722
11722
  /** Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
11723
11723
  create(request: {
@@ -11783,7 +11783,7 @@ declare namespace gapi.client {
11783
11783
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11784
11784
  uploadType?: string;
11785
11785
  },
11786
- body: GoogleCloudDialogflowV2Intent
11786
+ body: GoogleCloudDialogflowV2Intent,
11787
11787
  ): Request<GoogleCloudDialogflowV2Intent>;
11788
11788
  /** Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
11789
11789
  delete(request?: {
@@ -11946,7 +11946,7 @@ declare namespace gapi.client {
11946
11946
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11947
11947
  uploadType?: string;
11948
11948
  },
11949
- body: GoogleCloudDialogflowV2Intent
11949
+ body: GoogleCloudDialogflowV2Intent,
11950
11950
  ): Request<GoogleCloudDialogflowV2Intent>;
11951
11951
  }
11952
11952
  interface ContextsResource {
@@ -12006,7 +12006,7 @@ declare namespace gapi.client {
12006
12006
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12007
12007
  uploadType?: string;
12008
12008
  },
12009
- body: GoogleCloudDialogflowV2Context
12009
+ body: GoogleCloudDialogflowV2Context,
12010
12010
  ): Request<GoogleCloudDialogflowV2Context>;
12011
12011
  /** Deletes the specified context. */
12012
12012
  delete(request?: {
@@ -12153,7 +12153,7 @@ declare namespace gapi.client {
12153
12153
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12154
12154
  uploadType?: string;
12155
12155
  },
12156
- body: GoogleCloudDialogflowV2Context
12156
+ body: GoogleCloudDialogflowV2Context,
12157
12157
  ): Request<GoogleCloudDialogflowV2Context>;
12158
12158
  }
12159
12159
  interface EntityTypesResource {
@@ -12213,7 +12213,7 @@ declare namespace gapi.client {
12213
12213
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12214
12214
  uploadType?: string;
12215
12215
  },
12216
- body: GoogleCloudDialogflowV2SessionEntityType
12216
+ body: GoogleCloudDialogflowV2SessionEntityType,
12217
12217
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
12218
12218
  /** Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration. */
12219
12219
  delete(request?: {
@@ -12360,7 +12360,7 @@ declare namespace gapi.client {
12360
12360
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12361
12361
  uploadType?: string;
12362
12362
  },
12363
- body: GoogleCloudDialogflowV2SessionEntityType
12363
+ body: GoogleCloudDialogflowV2SessionEntityType,
12364
12364
  ): Request<GoogleCloudDialogflowV2SessionEntityType>;
12365
12365
  }
12366
12366
  interface SessionsResource {
@@ -12447,7 +12447,7 @@ declare namespace gapi.client {
12447
12447
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12448
12448
  uploadType?: string;
12449
12449
  },
12450
- body: GoogleCloudDialogflowV2DetectIntentRequest
12450
+ body: GoogleCloudDialogflowV2DetectIntentRequest,
12451
12451
  ): Request<GoogleCloudDialogflowV2DetectIntentResponse>;
12452
12452
  contexts: ContextsResource;
12453
12453
  entityTypes: EntityTypesResource;
@@ -12509,7 +12509,7 @@ declare namespace gapi.client {
12509
12509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12510
12510
  uploadType?: string;
12511
12511
  },
12512
- body: GoogleCloudDialogflowV2Version
12512
+ body: GoogleCloudDialogflowV2Version,
12513
12513
  ): Request<GoogleCloudDialogflowV2Version>;
12514
12514
  /** Delete the specified agent version. */
12515
12515
  delete(request?: {
@@ -12656,7 +12656,7 @@ declare namespace gapi.client {
12656
12656
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12657
12657
  uploadType?: string;
12658
12658
  },
12659
- body: GoogleCloudDialogflowV2Version
12659
+ body: GoogleCloudDialogflowV2Version,
12660
12660
  ): Request<GoogleCloudDialogflowV2Version>;
12661
12661
  }
12662
12662
  interface AgentResource {
@@ -12716,7 +12716,7 @@ declare namespace gapi.client {
12716
12716
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12717
12717
  uploadType?: string;
12718
12718
  },
12719
- body: GoogleCloudDialogflowV2ExportAgentRequest
12719
+ body: GoogleCloudDialogflowV2ExportAgentRequest,
12720
12720
  ): Request<GoogleLongrunningOperation>;
12721
12721
  /** Retrieves the fulfillment. */
12722
12722
  getFulfillment(request?: {
@@ -12830,7 +12830,7 @@ declare namespace gapi.client {
12830
12830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12831
12831
  uploadType?: string;
12832
12832
  },
12833
- body: GoogleCloudDialogflowV2ImportAgentRequest
12833
+ body: GoogleCloudDialogflowV2ImportAgentRequest,
12834
12834
  ): Request<GoogleLongrunningOperation>;
12835
12835
  /** Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). */
12836
12836
  restore(request: {
@@ -12888,7 +12888,7 @@ declare namespace gapi.client {
12888
12888
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12889
12889
  uploadType?: string;
12890
12890
  },
12891
- body: GoogleCloudDialogflowV2RestoreAgentRequest
12891
+ body: GoogleCloudDialogflowV2RestoreAgentRequest,
12892
12892
  ): Request<GoogleLongrunningOperation>;
12893
12893
  /** Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). */
12894
12894
  search(request?: {
@@ -12977,7 +12977,7 @@ declare namespace gapi.client {
12977
12977
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
12978
12978
  uploadType?: string;
12979
12979
  },
12980
- body: GoogleCloudDialogflowV2TrainAgentRequest
12980
+ body: GoogleCloudDialogflowV2TrainAgentRequest,
12981
12981
  ): Request<GoogleLongrunningOperation>;
12982
12982
  /** Updates the fulfillment. */
12983
12983
  updateFulfillment(request: {
@@ -13039,7 +13039,7 @@ declare namespace gapi.client {
13039
13039
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13040
13040
  uploadType?: string;
13041
13041
  },
13042
- body: GoogleCloudDialogflowV2Fulfillment
13042
+ body: GoogleCloudDialogflowV2Fulfillment,
13043
13043
  ): Request<GoogleCloudDialogflowV2Fulfillment>;
13044
13044
  entityTypes: EntityTypesResource;
13045
13045
  environments: EnvironmentsResource;
@@ -13141,7 +13141,7 @@ declare namespace gapi.client {
13141
13141
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13142
13142
  uploadType?: string;
13143
13143
  },
13144
- body: GoogleCloudDialogflowV2AnswerRecord
13144
+ body: GoogleCloudDialogflowV2AnswerRecord,
13145
13145
  ): Request<GoogleCloudDialogflowV2AnswerRecord>;
13146
13146
  }
13147
13147
  interface ConversationDatasetsResource {
@@ -13201,7 +13201,7 @@ declare namespace gapi.client {
13201
13201
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13202
13202
  uploadType?: string;
13203
13203
  },
13204
- body: GoogleCloudDialogflowV2ConversationDataset
13204
+ body: GoogleCloudDialogflowV2ConversationDataset,
13205
13205
  ): Request<GoogleLongrunningOperation>;
13206
13206
  /** Deletes the specified conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationDatasetOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
13207
13207
  delete(request?: {
@@ -13313,7 +13313,7 @@ declare namespace gapi.client {
13313
13313
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13314
13314
  uploadType?: string;
13315
13315
  },
13316
- body: GoogleCloudDialogflowV2ImportConversationDataRequest
13316
+ body: GoogleCloudDialogflowV2ImportConversationDataRequest,
13317
13317
  ): Request<GoogleLongrunningOperation>;
13318
13318
  /** Returns the list of all conversation datasets in the specified project and location. */
13319
13319
  list(request?: {
@@ -13404,7 +13404,7 @@ declare namespace gapi.client {
13404
13404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13405
13405
  uploadType?: string;
13406
13406
  },
13407
- body: GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest
13407
+ body: GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest,
13408
13408
  ): Request<GoogleLongrunningOperation>;
13409
13409
  /** Gets an evaluation of conversation model. */
13410
13410
  get(request?: {
@@ -13522,7 +13522,7 @@ declare namespace gapi.client {
13522
13522
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13523
13523
  uploadType?: string;
13524
13524
  },
13525
- body: GoogleCloudDialogflowV2ConversationModel
13525
+ body: GoogleCloudDialogflowV2ConversationModel,
13526
13526
  ): Request<GoogleLongrunningOperation>;
13527
13527
  /** Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: DeleteConversationModelOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
13528
13528
  delete(request?: {
@@ -13607,7 +13607,7 @@ declare namespace gapi.client {
13607
13607
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13608
13608
  uploadType?: string;
13609
13609
  },
13610
- body: GoogleCloudDialogflowV2DeployConversationModelRequest
13610
+ body: GoogleCloudDialogflowV2DeployConversationModelRequest,
13611
13611
  ): Request<GoogleLongrunningOperation>;
13612
13612
  /** Gets conversation model. */
13613
13613
  get(request?: {
@@ -13723,7 +13723,7 @@ declare namespace gapi.client {
13723
13723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13724
13724
  uploadType?: string;
13725
13725
  },
13726
- body: GoogleCloudDialogflowV2UndeployConversationModelRequest
13726
+ body: GoogleCloudDialogflowV2UndeployConversationModelRequest,
13727
13727
  ): Request<GoogleLongrunningOperation>;
13728
13728
  evaluations: EvaluationsResource;
13729
13729
  }
@@ -13784,7 +13784,7 @@ declare namespace gapi.client {
13784
13784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13785
13785
  uploadType?: string;
13786
13786
  },
13787
- body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest
13787
+ body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest,
13788
13788
  ): Request<GoogleLongrunningOperation>;
13789
13789
  /** Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API. */
13790
13790
  create(request: {
@@ -13842,7 +13842,7 @@ declare namespace gapi.client {
13842
13842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13843
13843
  uploadType?: string;
13844
13844
  },
13845
- body: GoogleCloudDialogflowV2ConversationProfile
13845
+ body: GoogleCloudDialogflowV2ConversationProfile,
13846
13846
  ): Request<GoogleCloudDialogflowV2ConversationProfile>;
13847
13847
  /** Deletes the specified conversation profile. */
13848
13848
  delete(request?: {
@@ -13989,7 +13989,7 @@ declare namespace gapi.client {
13989
13989
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13990
13990
  uploadType?: string;
13991
13991
  },
13992
- body: GoogleCloudDialogflowV2ConversationProfile
13992
+ body: GoogleCloudDialogflowV2ConversationProfile,
13993
13993
  ): Request<GoogleCloudDialogflowV2ConversationProfile>;
13994
13994
  /** Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected. */
13995
13995
  setSuggestionFeatureConfig(request: {
@@ -14047,7 +14047,7 @@ declare namespace gapi.client {
14047
14047
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14048
14048
  uploadType?: string;
14049
14049
  },
14050
- body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest
14050
+ body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest,
14051
14051
  ): Request<GoogleLongrunningOperation>;
14052
14052
  }
14053
14053
  interface MessagesResource {
@@ -14142,7 +14142,7 @@ declare namespace gapi.client {
14142
14142
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14143
14143
  uploadType?: string;
14144
14144
  },
14145
- body: GoogleCloudDialogflowV2SuggestArticlesRequest
14145
+ body: GoogleCloudDialogflowV2SuggestArticlesRequest,
14146
14146
  ): Request<GoogleCloudDialogflowV2SuggestArticlesResponse>;
14147
14147
  /** Gets suggested faq answers for a participant based on specific historical messages. */
14148
14148
  suggestFaqAnswers(request: {
@@ -14200,7 +14200,7 @@ declare namespace gapi.client {
14200
14200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14201
14201
  uploadType?: string;
14202
14202
  },
14203
- body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest
14203
+ body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest,
14204
14204
  ): Request<GoogleCloudDialogflowV2SuggestFaqAnswersResponse>;
14205
14205
  /** Gets knowledge assist suggestions based on historical messages. */
14206
14206
  suggestKnowledgeAssist(request: {
@@ -14258,7 +14258,7 @@ declare namespace gapi.client {
14258
14258
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14259
14259
  uploadType?: string;
14260
14260
  },
14261
- body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
14261
+ body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest,
14262
14262
  ): Request<GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse>;
14263
14263
  /** Gets smart replies for a participant based on specific historical messages. */
14264
14264
  suggestSmartReplies(request: {
@@ -14316,7 +14316,7 @@ declare namespace gapi.client {
14316
14316
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14317
14317
  uploadType?: string;
14318
14318
  },
14319
- body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest
14319
+ body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest,
14320
14320
  ): Request<GoogleCloudDialogflowV2SuggestSmartRepliesResponse>;
14321
14321
  }
14322
14322
  interface ParticipantsResource {
@@ -14376,7 +14376,7 @@ declare namespace gapi.client {
14376
14376
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14377
14377
  uploadType?: string;
14378
14378
  },
14379
- body: GoogleCloudDialogflowV2AnalyzeContentRequest
14379
+ body: GoogleCloudDialogflowV2AnalyzeContentRequest,
14380
14380
  ): Request<GoogleCloudDialogflowV2AnalyzeContentResponse>;
14381
14381
  /** Creates a new participant in a conversation. */
14382
14382
  create(request: {
@@ -14434,7 +14434,7 @@ declare namespace gapi.client {
14434
14434
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14435
14435
  uploadType?: string;
14436
14436
  },
14437
- body: GoogleCloudDialogflowV2Participant
14437
+ body: GoogleCloudDialogflowV2Participant,
14438
14438
  ): Request<GoogleCloudDialogflowV2Participant>;
14439
14439
  /** Retrieves a conversation participant. */
14440
14440
  get(request?: {
@@ -14554,7 +14554,7 @@ declare namespace gapi.client {
14554
14554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14555
14555
  uploadType?: string;
14556
14556
  },
14557
- body: GoogleCloudDialogflowV2Participant
14557
+ body: GoogleCloudDialogflowV2Participant,
14558
14558
  ): Request<GoogleCloudDialogflowV2Participant>;
14559
14559
  suggestions: SuggestionsResource;
14560
14560
  }
@@ -14615,7 +14615,7 @@ declare namespace gapi.client {
14615
14615
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14616
14616
  uploadType?: string;
14617
14617
  },
14618
- body: GoogleCloudDialogflowV2SearchKnowledgeRequest
14618
+ body: GoogleCloudDialogflowV2SearchKnowledgeRequest,
14619
14619
  ): Request<GoogleCloudDialogflowV2SearchKnowledgeResponse>;
14620
14620
  /** Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request. */
14621
14621
  suggestConversationSummary(request: {
@@ -14673,7 +14673,7 @@ declare namespace gapi.client {
14673
14673
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14674
14674
  uploadType?: string;
14675
14675
  },
14676
- body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest
14676
+ body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest,
14677
14677
  ): Request<GoogleCloudDialogflowV2SuggestConversationSummaryResponse>;
14678
14678
  }
14679
14679
  interface ConversationsResource {
@@ -14733,7 +14733,7 @@ declare namespace gapi.client {
14733
14733
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14734
14734
  uploadType?: string;
14735
14735
  },
14736
- body: GoogleCloudDialogflowV2CompleteConversationRequest
14736
+ body: GoogleCloudDialogflowV2CompleteConversationRequest,
14737
14737
  ): Request<GoogleCloudDialogflowV2Conversation>;
14738
14738
  /** Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage. */
14739
14739
  create(request: {
@@ -14795,7 +14795,7 @@ declare namespace gapi.client {
14795
14795
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14796
14796
  uploadType?: string;
14797
14797
  },
14798
- body: GoogleCloudDialogflowV2Conversation
14798
+ body: GoogleCloudDialogflowV2Conversation,
14799
14799
  ): Request<GoogleCloudDialogflowV2Conversation>;
14800
14800
  /** Retrieves the specific conversation. */
14801
14801
  get(request?: {
@@ -14918,7 +14918,7 @@ declare namespace gapi.client {
14918
14918
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14919
14919
  uploadType?: string;
14920
14920
  },
14921
- body: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
14921
+ body: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest,
14922
14922
  ): Request<GoogleLongrunningOperation>;
14923
14923
  }
14924
14924
  interface GeneratorsResource {
@@ -14982,7 +14982,7 @@ declare namespace gapi.client {
14982
14982
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
14983
14983
  uploadType?: string;
14984
14984
  },
14985
- body: GoogleCloudDialogflowV2Generator
14985
+ body: GoogleCloudDialogflowV2Generator,
14986
14986
  ): Request<GoogleCloudDialogflowV2Generator>;
14987
14987
  /** Deletes a generator. */
14988
14988
  delete(request?: {
@@ -15129,7 +15129,7 @@ declare namespace gapi.client {
15129
15129
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15130
15130
  uploadType?: string;
15131
15131
  },
15132
- body: GoogleCloudDialogflowV2Generator
15132
+ body: GoogleCloudDialogflowV2Generator,
15133
15133
  ): Request<GoogleCloudDialogflowV2Generator>;
15134
15134
  }
15135
15135
  interface DocumentsResource {
@@ -15189,7 +15189,7 @@ declare namespace gapi.client {
15189
15189
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15190
15190
  uploadType?: string;
15191
15191
  },
15192
- body: GoogleCloudDialogflowV2Document
15192
+ body: GoogleCloudDialogflowV2Document,
15193
15193
  ): Request<GoogleLongrunningOperation>;
15194
15194
  /** Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) */
15195
15195
  delete(request?: {
@@ -15274,7 +15274,7 @@ declare namespace gapi.client {
15274
15274
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15275
15275
  uploadType?: string;
15276
15276
  },
15277
- body: GoogleCloudDialogflowV2ExportDocumentRequest
15277
+ body: GoogleCloudDialogflowV2ExportDocumentRequest,
15278
15278
  ): Request<GoogleLongrunningOperation>;
15279
15279
  /** Retrieves the specified document. */
15280
15280
  get(request?: {
@@ -15359,7 +15359,7 @@ declare namespace gapi.client {
15359
15359
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15360
15360
  uploadType?: string;
15361
15361
  },
15362
- body: GoogleCloudDialogflowV2ImportDocumentsRequest
15362
+ body: GoogleCloudDialogflowV2ImportDocumentsRequest,
15363
15363
  ): Request<GoogleLongrunningOperation>;
15364
15364
  /** Returns the list of all documents of the knowledge base. */
15365
15365
  list(request?: {
@@ -15454,7 +15454,7 @@ declare namespace gapi.client {
15454
15454
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15455
15455
  uploadType?: string;
15456
15456
  },
15457
- body: GoogleCloudDialogflowV2Document
15457
+ body: GoogleCloudDialogflowV2Document,
15458
15458
  ): Request<GoogleLongrunningOperation>;
15459
15459
  /** Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`. */
15460
15460
  reload(request: {
@@ -15512,7 +15512,7 @@ declare namespace gapi.client {
15512
15512
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15513
15513
  uploadType?: string;
15514
15514
  },
15515
- body: GoogleCloudDialogflowV2ReloadDocumentRequest
15515
+ body: GoogleCloudDialogflowV2ReloadDocumentRequest,
15516
15516
  ): Request<GoogleLongrunningOperation>;
15517
15517
  }
15518
15518
  interface KnowledgeBasesResource {
@@ -15572,7 +15572,7 @@ declare namespace gapi.client {
15572
15572
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15573
15573
  uploadType?: string;
15574
15574
  },
15575
- body: GoogleCloudDialogflowV2KnowledgeBase
15575
+ body: GoogleCloudDialogflowV2KnowledgeBase,
15576
15576
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
15577
15577
  /** Deletes the specified knowledge base. */
15578
15578
  delete(request?: {
@@ -15723,7 +15723,7 @@ declare namespace gapi.client {
15723
15723
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15724
15724
  uploadType?: string;
15725
15725
  },
15726
- body: GoogleCloudDialogflowV2KnowledgeBase
15726
+ body: GoogleCloudDialogflowV2KnowledgeBase,
15727
15727
  ): Request<GoogleCloudDialogflowV2KnowledgeBase>;
15728
15728
  documents: DocumentsResource;
15729
15729
  }
@@ -15873,7 +15873,7 @@ declare namespace gapi.client {
15873
15873
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15874
15874
  uploadType?: string;
15875
15875
  },
15876
- body: GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
15876
+ body: GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest,
15877
15877
  ): Request<GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse>;
15878
15878
  }
15879
15879
  interface SuggestionsResource {
@@ -15933,7 +15933,7 @@ declare namespace gapi.client {
15933
15933
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15934
15934
  uploadType?: string;
15935
15935
  },
15936
- body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
15936
+ body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest,
15937
15937
  ): Request<GoogleCloudDialogflowV2GenerateStatelessSummaryResponse>;
15938
15938
  /** Get answers for the given query based on knowledge documents. */
15939
15939
  searchKnowledge(request: {
@@ -15991,7 +15991,7 @@ declare namespace gapi.client {
15991
15991
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
15992
15992
  uploadType?: string;
15993
15993
  },
15994
- body: GoogleCloudDialogflowV2SearchKnowledgeRequest
15994
+ body: GoogleCloudDialogflowV2SearchKnowledgeRequest,
15995
15995
  ): Request<GoogleCloudDialogflowV2SearchKnowledgeResponse>;
15996
15996
  }
15997
15997
  interface LocationsResource {
@@ -16196,7 +16196,7 @@ declare namespace gapi.client {
16196
16196
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16197
16197
  uploadType?: string;
16198
16198
  },
16199
- body: GoogleCloudDialogflowV2Agent
16199
+ body: GoogleCloudDialogflowV2Agent,
16200
16200
  ): Request<GoogleCloudDialogflowV2Agent>;
16201
16201
  agent: AgentResource;
16202
16202
  answerRecords: AnswerRecordsResource;
@@ -16357,7 +16357,7 @@ declare namespace gapi.client {
16357
16357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16358
16358
  uploadType?: string;
16359
16359
  },
16360
- body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
16360
+ body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest,
16361
16361
  ): Request<GoogleCloudDialogflowV2GenerateStatelessSummaryResponse>;
16362
16362
  /** Get answers for the given query based on knowledge documents. */
16363
16363
  searchKnowledge(request: {
@@ -16415,7 +16415,7 @@ declare namespace gapi.client {
16415
16415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16416
16416
  uploadType?: string;
16417
16417
  },
16418
- body: GoogleCloudDialogflowV2SearchKnowledgeRequest
16418
+ body: GoogleCloudDialogflowV2SearchKnowledgeRequest,
16419
16419
  ): Request<GoogleCloudDialogflowV2SearchKnowledgeResponse>;
16420
16420
  }
16421
16421
  interface ProjectsResource {
@@ -16533,7 +16533,7 @@ declare namespace gapi.client {
16533
16533
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16534
16534
  uploadType?: string;
16535
16535
  },
16536
- body: GoogleCloudDialogflowV2Agent
16536
+ body: GoogleCloudDialogflowV2Agent,
16537
16537
  ): Request<GoogleCloudDialogflowV2Agent>;
16538
16538
  agent: AgentResource;
16539
16539
  answerRecords: AnswerRecordsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dialogflow-v2",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Dialogflow API v2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.dialogflow
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71