@maxim_mazurok/gapi.client.contactcenterinsights-v1 0.0.20250804 → 0.0.20250818
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.
- package/index.d.ts +149 -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:
|
|
12
|
+
// Revision: 20250818
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -916,6 +916,8 @@ declare namespace gapi.client {
|
|
|
916
916
|
potentialScore?: number;
|
|
917
917
|
/** Output only. Numerical score of the answer. */
|
|
918
918
|
score?: number;
|
|
919
|
+
/** Output only. A value of "Skip". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated. */
|
|
920
|
+
skipValue?: boolean;
|
|
919
921
|
/** String value. */
|
|
920
922
|
strValue?: string;
|
|
921
923
|
}
|
|
@@ -2441,6 +2443,8 @@ declare namespace gapi.client {
|
|
|
2441
2443
|
potentialScore?: number;
|
|
2442
2444
|
/** Output only. Numerical score of the answer. */
|
|
2443
2445
|
score?: number;
|
|
2446
|
+
/** Output only. A value of "Skip". If provided, this field may only be set to `true`. If a question receives this answer, it will be excluded from any score calculations. This would mean that the question was not evaluated. */
|
|
2447
|
+
skipValue?: boolean;
|
|
2444
2448
|
/** String value. */
|
|
2445
2449
|
strValue?: string;
|
|
2446
2450
|
}
|
|
@@ -2907,6 +2911,50 @@ declare namespace gapi.client {
|
|
|
2907
2911
|
/** A filter to reduce conversation results to a specific subset. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details. */
|
|
2908
2912
|
value?: string;
|
|
2909
2913
|
}
|
|
2914
|
+
interface GoogleIamV1AuditConfig {
|
|
2915
|
+
/** The configuration for logging of each type of permission. */
|
|
2916
|
+
auditLogConfigs?: GoogleIamV1AuditLogConfig[];
|
|
2917
|
+
/** Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */
|
|
2918
|
+
service?: string;
|
|
2919
|
+
}
|
|
2920
|
+
interface GoogleIamV1AuditLogConfig {
|
|
2921
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
2922
|
+
exemptedMembers?: string[];
|
|
2923
|
+
/** The log type that this config enables. */
|
|
2924
|
+
logType?: string;
|
|
2925
|
+
}
|
|
2926
|
+
interface GoogleIamV1Binding {
|
|
2927
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2928
|
+
condition?: GoogleTypeExpr;
|
|
2929
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. */
|
|
2930
|
+
members?: string[];
|
|
2931
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). */
|
|
2932
|
+
role?: string;
|
|
2933
|
+
}
|
|
2934
|
+
interface GoogleIamV1Policy {
|
|
2935
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
2936
|
+
auditConfigs?: GoogleIamV1AuditConfig[];
|
|
2937
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
2938
|
+
bindings?: GoogleIamV1Binding[];
|
|
2939
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
2940
|
+
etag?: string;
|
|
2941
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
2942
|
+
version?: number;
|
|
2943
|
+
}
|
|
2944
|
+
interface GoogleIamV1SetIamPolicyRequest {
|
|
2945
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
2946
|
+
policy?: GoogleIamV1Policy;
|
|
2947
|
+
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
|
|
2948
|
+
updateMask?: string;
|
|
2949
|
+
}
|
|
2950
|
+
interface GoogleIamV1TestIamPermissionsRequest {
|
|
2951
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
2952
|
+
permissions?: string[];
|
|
2953
|
+
}
|
|
2954
|
+
interface GoogleIamV1TestIamPermissionsResponse {
|
|
2955
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
2956
|
+
permissions?: string[];
|
|
2957
|
+
}
|
|
2910
2958
|
interface GoogleLongrunningListOperationsResponse {
|
|
2911
2959
|
/** The standard List next-page token. */
|
|
2912
2960
|
nextPageToken?: string;
|
|
@@ -2934,6 +2982,16 @@ declare namespace gapi.client {
|
|
|
2934
2982
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
2935
2983
|
message?: string;
|
|
2936
2984
|
}
|
|
2985
|
+
interface GoogleTypeExpr {
|
|
2986
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
2987
|
+
description?: string;
|
|
2988
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
2989
|
+
expression?: string;
|
|
2990
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
2991
|
+
location?: string;
|
|
2992
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
2993
|
+
title?: string;
|
|
2994
|
+
}
|
|
2937
2995
|
interface GoogleTypeInterval {
|
|
2938
2996
|
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
2939
2997
|
endTime?: string;
|
|
@@ -4615,6 +4673,35 @@ declare namespace gapi.client {
|
|
|
4615
4673
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4616
4674
|
uploadType?: string;
|
|
4617
4675
|
}): Request<GoogleCloudContactcenterinsightsV1AuthorizedView>;
|
|
4676
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
4677
|
+
getIamPolicy(request?: {
|
|
4678
|
+
/** V1 error format. */
|
|
4679
|
+
'$.xgafv'?: string;
|
|
4680
|
+
/** OAuth access token. */
|
|
4681
|
+
access_token?: string;
|
|
4682
|
+
/** Data format for response. */
|
|
4683
|
+
alt?: string;
|
|
4684
|
+
/** JSONP */
|
|
4685
|
+
callback?: string;
|
|
4686
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4687
|
+
fields?: string;
|
|
4688
|
+
/** 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. */
|
|
4689
|
+
key?: string;
|
|
4690
|
+
/** OAuth 2.0 token for the current user. */
|
|
4691
|
+
oauth_token?: string;
|
|
4692
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
4693
|
+
'options.requestedPolicyVersion'?: number;
|
|
4694
|
+
/** Returns response with indentations and line breaks. */
|
|
4695
|
+
prettyPrint?: boolean;
|
|
4696
|
+
/** 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. */
|
|
4697
|
+
quotaUser?: string;
|
|
4698
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
4699
|
+
resource: string;
|
|
4700
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4701
|
+
upload_protocol?: string;
|
|
4702
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4703
|
+
uploadType?: string;
|
|
4704
|
+
}): Request<GoogleIamV1Policy>;
|
|
4618
4705
|
/** List AuthorizedViewSets */
|
|
4619
4706
|
list(request?: {
|
|
4620
4707
|
/** V1 error format. */
|
|
@@ -4863,6 +4950,66 @@ declare namespace gapi.client {
|
|
|
4863
4950
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4864
4951
|
uploadType?: string;
|
|
4865
4952
|
}): Request<GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse>;
|
|
4953
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
4954
|
+
setIamPolicy(
|
|
4955
|
+
request: {
|
|
4956
|
+
/** V1 error format. */
|
|
4957
|
+
'$.xgafv'?: string;
|
|
4958
|
+
/** OAuth access token. */
|
|
4959
|
+
access_token?: string;
|
|
4960
|
+
/** Data format for response. */
|
|
4961
|
+
alt?: string;
|
|
4962
|
+
/** JSONP */
|
|
4963
|
+
callback?: string;
|
|
4964
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4965
|
+
fields?: string;
|
|
4966
|
+
/** 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. */
|
|
4967
|
+
key?: string;
|
|
4968
|
+
/** OAuth 2.0 token for the current user. */
|
|
4969
|
+
oauth_token?: string;
|
|
4970
|
+
/** Returns response with indentations and line breaks. */
|
|
4971
|
+
prettyPrint?: boolean;
|
|
4972
|
+
/** 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. */
|
|
4973
|
+
quotaUser?: string;
|
|
4974
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
4975
|
+
resource: string;
|
|
4976
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4977
|
+
upload_protocol?: string;
|
|
4978
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4979
|
+
uploadType?: string;
|
|
4980
|
+
},
|
|
4981
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
4982
|
+
): Request<GoogleIamV1Policy>;
|
|
4983
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
4984
|
+
testIamPermissions(
|
|
4985
|
+
request: {
|
|
4986
|
+
/** V1 error format. */
|
|
4987
|
+
'$.xgafv'?: string;
|
|
4988
|
+
/** OAuth access token. */
|
|
4989
|
+
access_token?: string;
|
|
4990
|
+
/** Data format for response. */
|
|
4991
|
+
alt?: string;
|
|
4992
|
+
/** JSONP */
|
|
4993
|
+
callback?: string;
|
|
4994
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
4995
|
+
fields?: string;
|
|
4996
|
+
/** 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. */
|
|
4997
|
+
key?: string;
|
|
4998
|
+
/** OAuth 2.0 token for the current user. */
|
|
4999
|
+
oauth_token?: string;
|
|
5000
|
+
/** Returns response with indentations and line breaks. */
|
|
5001
|
+
prettyPrint?: boolean;
|
|
5002
|
+
/** 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. */
|
|
5003
|
+
quotaUser?: string;
|
|
5004
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
5005
|
+
resource: string;
|
|
5006
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5007
|
+
upload_protocol?: string;
|
|
5008
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5009
|
+
uploadType?: string;
|
|
5010
|
+
},
|
|
5011
|
+
body: GoogleIamV1TestIamPermissionsRequest,
|
|
5012
|
+
): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
4866
5013
|
conversations: ConversationsResource;
|
|
4867
5014
|
operations: OperationsResource;
|
|
4868
5015
|
}
|
|
@@ -8612,7 +8759,7 @@ declare namespace gapi.client {
|
|
|
8612
8759
|
callback?: string;
|
|
8613
8760
|
/** Selector specifying which fields to include in a partial response. */
|
|
8614
8761
|
fields?: string;
|
|
8615
|
-
/** Optional. A filter to reduce results to a specific subset. Supports
|
|
8762
|
+
/** Optional. A filter to reduce results to a specific subset. Supports conjunctions (ie. AND operators). Supported fields include the following: * `project_id` - id of the project to list tags for * `qa_scorecard_id` - id of the scorecard to list tags for * `revision_id` - id of the scorecard revision to list tags for` * `qa_question_id - id of the question to list tags for` */
|
|
8616
8763
|
filter?: string;
|
|
8617
8764
|
/** 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. */
|
|
8618
8765
|
key?: string;
|