@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20240715 → 0.0.20240730

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 (2) hide show
  1. package/index.d.ts +131 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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://contactcenterinsights.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240715
12
+ // Revision: 20240730
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -420,6 +420,12 @@ declare namespace gapi.client {
420
420
  /** Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} */
421
421
  dialogflowConversation?: string;
422
422
  }
423
+ interface GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec {
424
+ /** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
425
+ kmsKey?: string;
426
+ /** Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec */
427
+ name?: string;
428
+ }
423
429
  interface GoogleCloudContactcenterinsightsV1alpha1Entity {
424
430
  /** The representative name for the entity. */
425
431
  displayName?: string;
@@ -593,6 +599,21 @@ declare namespace gapi.client {
593
599
  medium?: string;
594
600
  }
595
601
  interface GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse {}
602
+ interface GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecMetadata {
603
+ /** Output only. The time the operation was created. */
604
+ createTime?: string;
605
+ /** Output only. The time the operation finished running. */
606
+ endTime?: string;
607
+ /** Partial errors during initialising operation that might cause the operation output to be incomplete. */
608
+ partialErrors?: GoogleRpcStatus[];
609
+ /** Output only. The original request for initialization. */
610
+ request?: GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest;
611
+ }
612
+ interface GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecRequest {
613
+ /** Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. */
614
+ encryptionSpec?: GoogleCloudContactcenterinsightsV1alpha1EncryptionSpec;
615
+ }
616
+ interface GoogleCloudContactcenterinsightsV1alpha1InitializeEncryptionSpecResponse {}
596
617
  interface GoogleCloudContactcenterinsightsV1alpha1Intent {
597
618
  /** The human-readable name of the intent. */
598
619
  displayName?: string;
@@ -1210,6 +1231,12 @@ declare namespace gapi.client {
1210
1231
  /** Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation} */
1211
1232
  dialogflowConversation?: string;
1212
1233
  }
1234
+ interface GoogleCloudContactcenterinsightsV1EncryptionSpec {
1235
+ /** Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` */
1236
+ kmsKey?: string;
1237
+ /** Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec */
1238
+ name?: string;
1239
+ }
1213
1240
  interface GoogleCloudContactcenterinsightsV1Entity {
1214
1241
  /** The representative name for the entity. */
1215
1242
  displayName?: string;
@@ -1387,6 +1414,21 @@ declare namespace gapi.client {
1387
1414
  medium?: string;
1388
1415
  }
1389
1416
  interface GoogleCloudContactcenterinsightsV1IngestConversationsResponse {}
1417
+ interface GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecMetadata {
1418
+ /** Output only. The time the operation was created. */
1419
+ createTime?: string;
1420
+ /** Output only. The time the operation finished running. */
1421
+ endTime?: string;
1422
+ /** Partial errors during initialising operation that might cause the operation output to be incomplete. */
1423
+ partialErrors?: GoogleRpcStatus[];
1424
+ /** Output only. The original request for initialization. */
1425
+ request?: GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest;
1426
+ }
1427
+ interface GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest {
1428
+ /** Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. */
1429
+ encryptionSpec?: GoogleCloudContactcenterinsightsV1EncryptionSpec;
1430
+ }
1431
+ interface GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecResponse {}
1390
1432
  interface GoogleCloudContactcenterinsightsV1Intent {
1391
1433
  /** The human-readable name of the intent. */
1392
1434
  displayName?: string;
@@ -2361,6 +2403,66 @@ declare namespace gapi.client {
2361
2403
  ): Request<GoogleLongrunningOperation>;
2362
2404
  analyses: AnalysesResource;
2363
2405
  }
2406
+ interface EncryptionSpecResource {
2407
+ /** Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification. */
2408
+ initialize(request: {
2409
+ /** V1 error format. */
2410
+ '$.xgafv'?: string;
2411
+ /** OAuth access token. */
2412
+ access_token?: string;
2413
+ /** Data format for response. */
2414
+ alt?: string;
2415
+ /** JSONP */
2416
+ callback?: string;
2417
+ /** Selector specifying which fields to include in a partial response. */
2418
+ fields?: string;
2419
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2420
+ key?: string;
2421
+ /** Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec */
2422
+ name: string;
2423
+ /** OAuth 2.0 token for the current user. */
2424
+ oauth_token?: string;
2425
+ /** Returns response with indentations and line breaks. */
2426
+ prettyPrint?: boolean;
2427
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2428
+ quotaUser?: string;
2429
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2430
+ upload_protocol?: string;
2431
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2432
+ uploadType?: string;
2433
+ /** Request body */
2434
+ resource: GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest;
2435
+ }): Request<GoogleLongrunningOperation>;
2436
+ initialize(
2437
+ request: {
2438
+ /** V1 error format. */
2439
+ '$.xgafv'?: string;
2440
+ /** OAuth access token. */
2441
+ access_token?: string;
2442
+ /** Data format for response. */
2443
+ alt?: string;
2444
+ /** JSONP */
2445
+ callback?: string;
2446
+ /** Selector specifying which fields to include in a partial response. */
2447
+ fields?: string;
2448
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2449
+ key?: string;
2450
+ /** Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec */
2451
+ name: string;
2452
+ /** OAuth 2.0 token for the current user. */
2453
+ oauth_token?: string;
2454
+ /** Returns response with indentations and line breaks. */
2455
+ prettyPrint?: boolean;
2456
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2457
+ quotaUser?: string;
2458
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2459
+ upload_protocol?: string;
2460
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2461
+ uploadType?: string;
2462
+ },
2463
+ body: GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest
2464
+ ): Request<GoogleLongrunningOperation>;
2465
+ }
2364
2466
  interface InsightsdataResource {
2365
2467
  /** Export insights data to a destination defined in the request body. */
2366
2468
  export(request: {
@@ -3535,6 +3637,33 @@ declare namespace gapi.client {
3535
3637
  ): Request<GoogleCloudContactcenterinsightsV1View>;
3536
3638
  }
3537
3639
  interface LocationsResource {
3640
+ /** Gets location-level encryption key specification. */
3641
+ getEncryptionSpec(request?: {
3642
+ /** V1 error format. */
3643
+ '$.xgafv'?: string;
3644
+ /** OAuth access token. */
3645
+ access_token?: string;
3646
+ /** Data format for response. */
3647
+ alt?: string;
3648
+ /** JSONP */
3649
+ callback?: string;
3650
+ /** Selector specifying which fields to include in a partial response. */
3651
+ fields?: string;
3652
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3653
+ key?: string;
3654
+ /** Required. The name of the encryption spec resource to get. */
3655
+ name: string;
3656
+ /** OAuth 2.0 token for the current user. */
3657
+ oauth_token?: string;
3658
+ /** Returns response with indentations and line breaks. */
3659
+ prettyPrint?: boolean;
3660
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3661
+ quotaUser?: string;
3662
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3663
+ upload_protocol?: string;
3664
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3665
+ uploadType?: string;
3666
+ }): Request<GoogleCloudContactcenterinsightsV1EncryptionSpec>;
3538
3667
  /** Gets project-level settings. */
3539
3668
  getSettings(request?: {
3540
3669
  /** V1 error format. */
@@ -3625,6 +3754,7 @@ declare namespace gapi.client {
3625
3754
  body: GoogleCloudContactcenterinsightsV1Settings
3626
3755
  ): Request<GoogleCloudContactcenterinsightsV1Settings>;
3627
3756
  conversations: ConversationsResource;
3757
+ encryptionSpec: EncryptionSpecResource;
3628
3758
  insightsdata: InsightsdataResource;
3629
3759
  issueModels: IssueModelsResource;
3630
3760
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.contactcenterinsights-v1",
3
- "version": "0.0.20240715",
3
+ "version": "0.0.20240730",
4
4
  "description": "TypeScript typings for Contact Center AI Insights API v1",
5
5
  "repository": {
6
6
  "type": "git",