google-apis-contactcenterinsights_v1 0.70.0 → 0.71.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +426 -0
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +124 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +121 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9770f831ae60da7469a1a1ea51ef461e432063ec68c8c3ee01c55a65b40f20e
|
4
|
+
data.tar.gz: 89cea3f6227b682dabeb2a94c5cd5f0e3a079da9ba43b8b7a679e666fb8d7b64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc223a5f32c9553621d779fccd6c5b4ccba4091aec8dad964da775bbe8cc86482f412198058887e6356aa72871b3f1428e22a75dec68f99ec2a10f0cc44f9522
|
7
|
+
data.tar.gz: db4b86ff639e9f347785c86932f0d82420bb426bfe502e31309aa16a28873f1e6b22fe928b892c7ce9a964cec0dcb89c4b4925ef0c8455844ca44c66b12aa8f4
|
data/CHANGELOG.md
CHANGED
@@ -1900,6 +1900,11 @@ module Google
|
|
1900
1900
|
# @return [Fixnum]
|
1901
1901
|
attr_accessor :customer_satisfaction_rating
|
1902
1902
|
|
1903
|
+
# Input only. The feedback labels associated with the conversation.
|
1904
|
+
# Corresponds to the JSON property `feedbackLabels`
|
1905
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel>]
|
1906
|
+
attr_accessor :feedback_labels
|
1907
|
+
|
1903
1908
|
# An arbitrary string value specifying the menu path the customer took.
|
1904
1909
|
# Corresponds to the JSON property `menuPath`
|
1905
1910
|
# @return [String]
|
@@ -1918,6 +1923,7 @@ module Google
|
|
1918
1923
|
def update!(**args)
|
1919
1924
|
@agent_info = args[:agent_info] if args.key?(:agent_info)
|
1920
1925
|
@customer_satisfaction_rating = args[:customer_satisfaction_rating] if args.key?(:customer_satisfaction_rating)
|
1926
|
+
@feedback_labels = args[:feedback_labels] if args.key?(:feedback_labels)
|
1921
1927
|
@menu_path = args[:menu_path] if args.key?(:menu_path)
|
1922
1928
|
@wait_duration = args[:wait_duration] if args.key?(:wait_duration)
|
1923
1929
|
end
|
@@ -8174,6 +8180,11 @@ module Google
|
|
8174
8180
|
# @return [Fixnum]
|
8175
8181
|
attr_accessor :customer_satisfaction_rating
|
8176
8182
|
|
8183
|
+
# Input only. The feedback labels associated with the conversation.
|
8184
|
+
# Corresponds to the JSON property `feedbackLabels`
|
8185
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel>]
|
8186
|
+
attr_accessor :feedback_labels
|
8187
|
+
|
8177
8188
|
# An arbitrary string value specifying the menu path the customer took.
|
8178
8189
|
# Corresponds to the JSON property `menuPath`
|
8179
8190
|
# @return [String]
|
@@ -8192,6 +8203,7 @@ module Google
|
|
8192
8203
|
def update!(**args)
|
8193
8204
|
@agent_info = args[:agent_info] if args.key?(:agent_info)
|
8194
8205
|
@customer_satisfaction_rating = args[:customer_satisfaction_rating] if args.key?(:customer_satisfaction_rating)
|
8206
|
+
@feedback_labels = args[:feedback_labels] if args.key?(:feedback_labels)
|
8195
8207
|
@menu_path = args[:menu_path] if args.key?(:menu_path)
|
8196
8208
|
@wait_duration = args[:wait_duration] if args.key?(:wait_duration)
|
8197
8209
|
end
|
@@ -11819,6 +11831,366 @@ module Google
|
|
11819
11831
|
end
|
11820
11832
|
end
|
11821
11833
|
|
11834
|
+
# Specifies the audit configuration for a service. The configuration determines
|
11835
|
+
# which permission types are logged, and what identities, if any, are exempted
|
11836
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
11837
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
11838
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
11839
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
11840
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
11841
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
11842
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
11843
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
11844
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
11845
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
11846
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
11847
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
11848
|
+
# from DATA_WRITE logging.
|
11849
|
+
class GoogleIamV1AuditConfig
|
11850
|
+
include Google::Apis::Core::Hashable
|
11851
|
+
|
11852
|
+
# The configuration for logging of each type of permission.
|
11853
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
11854
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig>]
|
11855
|
+
attr_accessor :audit_log_configs
|
11856
|
+
|
11857
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
11858
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
11859
|
+
# value that covers all services.
|
11860
|
+
# Corresponds to the JSON property `service`
|
11861
|
+
# @return [String]
|
11862
|
+
attr_accessor :service
|
11863
|
+
|
11864
|
+
def initialize(**args)
|
11865
|
+
update!(**args)
|
11866
|
+
end
|
11867
|
+
|
11868
|
+
# Update properties of this object
|
11869
|
+
def update!(**args)
|
11870
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
11871
|
+
@service = args[:service] if args.key?(:service)
|
11872
|
+
end
|
11873
|
+
end
|
11874
|
+
|
11875
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
11876
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
11877
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
11878
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
11879
|
+
# DATA_READ logging.
|
11880
|
+
class GoogleIamV1AuditLogConfig
|
11881
|
+
include Google::Apis::Core::Hashable
|
11882
|
+
|
11883
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
11884
|
+
# Follows the same format of Binding.members.
|
11885
|
+
# Corresponds to the JSON property `exemptedMembers`
|
11886
|
+
# @return [Array<String>]
|
11887
|
+
attr_accessor :exempted_members
|
11888
|
+
|
11889
|
+
# The log type that this config enables.
|
11890
|
+
# Corresponds to the JSON property `logType`
|
11891
|
+
# @return [String]
|
11892
|
+
attr_accessor :log_type
|
11893
|
+
|
11894
|
+
def initialize(**args)
|
11895
|
+
update!(**args)
|
11896
|
+
end
|
11897
|
+
|
11898
|
+
# Update properties of this object
|
11899
|
+
def update!(**args)
|
11900
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
11901
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
11902
|
+
end
|
11903
|
+
end
|
11904
|
+
|
11905
|
+
# Associates `members`, or principals, with a `role`.
|
11906
|
+
class GoogleIamV1Binding
|
11907
|
+
include Google::Apis::Core::Hashable
|
11908
|
+
|
11909
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
11910
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
11911
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
11912
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
11913
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
11914
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
11915
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
11916
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
11917
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
11918
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
11919
|
+
# string" description: "Create a notification string with a timestamp."
|
11920
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
11921
|
+
# exact variables and functions that may be referenced within an expression are
|
11922
|
+
# determined by the service that evaluates it. See the service documentation for
|
11923
|
+
# additional information.
|
11924
|
+
# Corresponds to the JSON property `condition`
|
11925
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr]
|
11926
|
+
attr_accessor :condition
|
11927
|
+
|
11928
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
11929
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
11930
|
+
# that represents anyone who is on the internet; with or without a Google
|
11931
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
11932
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
11933
|
+
# not include identities that come from external identity providers (IdPs)
|
11934
|
+
# through identity federation. * `user:`emailid``: An email address that
|
11935
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
11936
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
11937
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
11938
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
11939
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
11940
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
11941
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
11942
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
11943
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
11944
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
11945
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
11946
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
11947
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
11948
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
11949
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
11950
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
11951
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
11952
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
11953
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
11954
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
11955
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
11956
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
11957
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
11958
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
11959
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
11960
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
11961
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
11962
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
11963
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
11964
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
11965
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
11966
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
11967
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
11968
|
+
# address (plus unique identifier) representing a service account that has been
|
11969
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
11970
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
11971
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
11972
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
11973
|
+
# An email address (plus unique identifier) representing a Google group that has
|
11974
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
11975
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
11976
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
11977
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
11978
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
11979
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
11980
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
11981
|
+
# Corresponds to the JSON property `members`
|
11982
|
+
# @return [Array<String>]
|
11983
|
+
attr_accessor :members
|
11984
|
+
|
11985
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
11986
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
11987
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
11988
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
11989
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
11990
|
+
# Corresponds to the JSON property `role`
|
11991
|
+
# @return [String]
|
11992
|
+
attr_accessor :role
|
11993
|
+
|
11994
|
+
def initialize(**args)
|
11995
|
+
update!(**args)
|
11996
|
+
end
|
11997
|
+
|
11998
|
+
# Update properties of this object
|
11999
|
+
def update!(**args)
|
12000
|
+
@condition = args[:condition] if args.key?(:condition)
|
12001
|
+
@members = args[:members] if args.key?(:members)
|
12002
|
+
@role = args[:role] if args.key?(:role)
|
12003
|
+
end
|
12004
|
+
end
|
12005
|
+
|
12006
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
12007
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
12008
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
12009
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
12010
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
12011
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
12012
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
12013
|
+
# logical expression that allows access to a resource only if the expression
|
12014
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
12015
|
+
# the request, the resource, or both. To learn which resources support
|
12016
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
12017
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
12018
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
12019
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
12020
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
12021
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
12022
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
12023
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
12024
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
12025
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
12026
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
12027
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
12028
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
12029
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
12030
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
12031
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
12032
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
12033
|
+
class GoogleIamV1Policy
|
12034
|
+
include Google::Apis::Core::Hashable
|
12035
|
+
|
12036
|
+
# Specifies cloud audit logging configuration for this policy.
|
12037
|
+
# Corresponds to the JSON property `auditConfigs`
|
12038
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig>]
|
12039
|
+
attr_accessor :audit_configs
|
12040
|
+
|
12041
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
12042
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
12043
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
12044
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
12045
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
12046
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
12047
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
12048
|
+
# principals to the `bindings` in the `Policy`.
|
12049
|
+
# Corresponds to the JSON property `bindings`
|
12050
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding>]
|
12051
|
+
attr_accessor :bindings
|
12052
|
+
|
12053
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
12054
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
12055
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
12056
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
12057
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
12058
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
12059
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
12060
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
12061
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
12062
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
12063
|
+
# are lost.
|
12064
|
+
# Corresponds to the JSON property `etag`
|
12065
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
12066
|
+
# @return [String]
|
12067
|
+
attr_accessor :etag
|
12068
|
+
|
12069
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
12070
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
12071
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
12072
|
+
# applies to the following operations: * Getting a policy that includes a
|
12073
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
12074
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
12075
|
+
# with or without a condition, from a policy that includes conditions **
|
12076
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
12077
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
12078
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
12079
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
12080
|
+
# any conditions, operations on that policy may specify any valid version or
|
12081
|
+
# leave the field unset. To learn which resources support conditions in their
|
12082
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
12083
|
+
# conditions/resource-policies).
|
12084
|
+
# Corresponds to the JSON property `version`
|
12085
|
+
# @return [Fixnum]
|
12086
|
+
attr_accessor :version
|
12087
|
+
|
12088
|
+
def initialize(**args)
|
12089
|
+
update!(**args)
|
12090
|
+
end
|
12091
|
+
|
12092
|
+
# Update properties of this object
|
12093
|
+
def update!(**args)
|
12094
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
12095
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
12096
|
+
@etag = args[:etag] if args.key?(:etag)
|
12097
|
+
@version = args[:version] if args.key?(:version)
|
12098
|
+
end
|
12099
|
+
end
|
12100
|
+
|
12101
|
+
# Request message for `SetIamPolicy` method.
|
12102
|
+
class GoogleIamV1SetIamPolicyRequest
|
12103
|
+
include Google::Apis::Core::Hashable
|
12104
|
+
|
12105
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
12106
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
12107
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
12108
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
12109
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
12110
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
12111
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
12112
|
+
# logical expression that allows access to a resource only if the expression
|
12113
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
12114
|
+
# the request, the resource, or both. To learn which resources support
|
12115
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
12116
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
12117
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
12118
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
12119
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
12120
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
12121
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
12122
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
12123
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
12124
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
12125
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
12126
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
12127
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
12128
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
12129
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
12130
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
12131
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
12132
|
+
# Corresponds to the JSON property `policy`
|
12133
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
|
12134
|
+
attr_accessor :policy
|
12135
|
+
|
12136
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
12137
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
12138
|
+
# default mask is used: `paths: "bindings, etag"`
|
12139
|
+
# Corresponds to the JSON property `updateMask`
|
12140
|
+
# @return [String]
|
12141
|
+
attr_accessor :update_mask
|
12142
|
+
|
12143
|
+
def initialize(**args)
|
12144
|
+
update!(**args)
|
12145
|
+
end
|
12146
|
+
|
12147
|
+
# Update properties of this object
|
12148
|
+
def update!(**args)
|
12149
|
+
@policy = args[:policy] if args.key?(:policy)
|
12150
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
12151
|
+
end
|
12152
|
+
end
|
12153
|
+
|
12154
|
+
# Request message for `TestIamPermissions` method.
|
12155
|
+
class GoogleIamV1TestIamPermissionsRequest
|
12156
|
+
include Google::Apis::Core::Hashable
|
12157
|
+
|
12158
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
12159
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
12160
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
12161
|
+
# Corresponds to the JSON property `permissions`
|
12162
|
+
# @return [Array<String>]
|
12163
|
+
attr_accessor :permissions
|
12164
|
+
|
12165
|
+
def initialize(**args)
|
12166
|
+
update!(**args)
|
12167
|
+
end
|
12168
|
+
|
12169
|
+
# Update properties of this object
|
12170
|
+
def update!(**args)
|
12171
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
12172
|
+
end
|
12173
|
+
end
|
12174
|
+
|
12175
|
+
# Response message for `TestIamPermissions` method.
|
12176
|
+
class GoogleIamV1TestIamPermissionsResponse
|
12177
|
+
include Google::Apis::Core::Hashable
|
12178
|
+
|
12179
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
12180
|
+
# Corresponds to the JSON property `permissions`
|
12181
|
+
# @return [Array<String>]
|
12182
|
+
attr_accessor :permissions
|
12183
|
+
|
12184
|
+
def initialize(**args)
|
12185
|
+
update!(**args)
|
12186
|
+
end
|
12187
|
+
|
12188
|
+
# Update properties of this object
|
12189
|
+
def update!(**args)
|
12190
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
12191
|
+
end
|
12192
|
+
end
|
12193
|
+
|
11822
12194
|
# The response message for Operations.ListOperations.
|
11823
12195
|
class GoogleLongrunningListOperationsResponse
|
11824
12196
|
include Google::Apis::Core::Hashable
|
@@ -11961,6 +12333,60 @@ module Google
|
|
11961
12333
|
end
|
11962
12334
|
end
|
11963
12335
|
|
12336
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
12337
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
12338
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
12339
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
12340
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
12341
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
12342
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
12343
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
12344
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
12345
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
12346
|
+
# string" description: "Create a notification string with a timestamp."
|
12347
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
12348
|
+
# exact variables and functions that may be referenced within an expression are
|
12349
|
+
# determined by the service that evaluates it. See the service documentation for
|
12350
|
+
# additional information.
|
12351
|
+
class GoogleTypeExpr
|
12352
|
+
include Google::Apis::Core::Hashable
|
12353
|
+
|
12354
|
+
# Optional. Description of the expression. This is a longer text which describes
|
12355
|
+
# the expression, e.g. when hovered over it in a UI.
|
12356
|
+
# Corresponds to the JSON property `description`
|
12357
|
+
# @return [String]
|
12358
|
+
attr_accessor :description
|
12359
|
+
|
12360
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
12361
|
+
# Corresponds to the JSON property `expression`
|
12362
|
+
# @return [String]
|
12363
|
+
attr_accessor :expression
|
12364
|
+
|
12365
|
+
# Optional. String indicating the location of the expression for error reporting,
|
12366
|
+
# e.g. a file name and a position in the file.
|
12367
|
+
# Corresponds to the JSON property `location`
|
12368
|
+
# @return [String]
|
12369
|
+
attr_accessor :location
|
12370
|
+
|
12371
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
12372
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
12373
|
+
# Corresponds to the JSON property `title`
|
12374
|
+
# @return [String]
|
12375
|
+
attr_accessor :title
|
12376
|
+
|
12377
|
+
def initialize(**args)
|
12378
|
+
update!(**args)
|
12379
|
+
end
|
12380
|
+
|
12381
|
+
# Update properties of this object
|
12382
|
+
def update!(**args)
|
12383
|
+
@description = args[:description] if args.key?(:description)
|
12384
|
+
@expression = args[:expression] if args.key?(:expression)
|
12385
|
+
@location = args[:location] if args.key?(:location)
|
12386
|
+
@title = args[:title] if args.key?(:title)
|
12387
|
+
end
|
12388
|
+
end
|
12389
|
+
|
11964
12390
|
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
11965
12391
|
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
11966
12392
|
# When the start equals the end, the interval is empty (matches no time). When
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContactcenterinsightsV1
|
18
18
|
# Version of the google-apis-contactcenterinsights_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.71.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250811"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2020,6 +2020,48 @@ module Google
|
|
2020
2020
|
include Google::Apis::Core::JsonObjectSupport
|
2021
2021
|
end
|
2022
2022
|
|
2023
|
+
class GoogleIamV1AuditConfig
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2025
|
+
|
2026
|
+
include Google::Apis::Core::JsonObjectSupport
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
class GoogleIamV1AuditLogConfig
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2031
|
+
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
class GoogleIamV1Binding
|
2036
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2037
|
+
|
2038
|
+
include Google::Apis::Core::JsonObjectSupport
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
class GoogleIamV1Policy
|
2042
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2043
|
+
|
2044
|
+
include Google::Apis::Core::JsonObjectSupport
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
class GoogleIamV1SetIamPolicyRequest
|
2048
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2049
|
+
|
2050
|
+
include Google::Apis::Core::JsonObjectSupport
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
class GoogleIamV1TestIamPermissionsRequest
|
2054
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2055
|
+
|
2056
|
+
include Google::Apis::Core::JsonObjectSupport
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
class GoogleIamV1TestIamPermissionsResponse
|
2060
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2061
|
+
|
2062
|
+
include Google::Apis::Core::JsonObjectSupport
|
2063
|
+
end
|
2064
|
+
|
2023
2065
|
class GoogleLongrunningListOperationsResponse
|
2024
2066
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2025
2067
|
|
@@ -2044,6 +2086,12 @@ module Google
|
|
2044
2086
|
include Google::Apis::Core::JsonObjectSupport
|
2045
2087
|
end
|
2046
2088
|
|
2089
|
+
class GoogleTypeExpr
|
2090
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2091
|
+
|
2092
|
+
include Google::Apis::Core::JsonObjectSupport
|
2093
|
+
end
|
2094
|
+
|
2047
2095
|
class GoogleTypeInterval
|
2048
2096
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2049
2097
|
|
@@ -2578,6 +2626,8 @@ module Google
|
|
2578
2626
|
collection :agent_info, as: 'agentInfo', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo::Representation
|
2579
2627
|
|
2580
2628
|
property :customer_satisfaction_rating, as: 'customerSatisfactionRating'
|
2629
|
+
collection :feedback_labels, as: 'feedbackLabels', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2630
|
+
|
2581
2631
|
property :menu_path, as: 'menuPath'
|
2582
2632
|
property :wait_duration, as: 'waitDuration'
|
2583
2633
|
end
|
@@ -4409,6 +4459,8 @@ module Google
|
|
4409
4459
|
collection :agent_info, as: 'agentInfo', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo::Representation
|
4410
4460
|
|
4411
4461
|
property :customer_satisfaction_rating, as: 'customerSatisfactionRating'
|
4462
|
+
collection :feedback_labels, as: 'feedbackLabels', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel::Representation
|
4463
|
+
|
4412
4464
|
property :menu_path, as: 'menuPath'
|
4413
4465
|
property :wait_duration, as: 'waitDuration'
|
4414
4466
|
end
|
@@ -5470,6 +5522,68 @@ module Google
|
|
5470
5522
|
end
|
5471
5523
|
end
|
5472
5524
|
|
5525
|
+
class GoogleIamV1AuditConfig
|
5526
|
+
# @private
|
5527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5528
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig::Representation
|
5529
|
+
|
5530
|
+
property :service, as: 'service'
|
5531
|
+
end
|
5532
|
+
end
|
5533
|
+
|
5534
|
+
class GoogleIamV1AuditLogConfig
|
5535
|
+
# @private
|
5536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5537
|
+
collection :exempted_members, as: 'exemptedMembers'
|
5538
|
+
property :log_type, as: 'logType'
|
5539
|
+
end
|
5540
|
+
end
|
5541
|
+
|
5542
|
+
class GoogleIamV1Binding
|
5543
|
+
# @private
|
5544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5545
|
+
property :condition, as: 'condition', class: Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr, decorator: Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr::Representation
|
5546
|
+
|
5547
|
+
collection :members, as: 'members'
|
5548
|
+
property :role, as: 'role'
|
5549
|
+
end
|
5550
|
+
end
|
5551
|
+
|
5552
|
+
class GoogleIamV1Policy
|
5553
|
+
# @private
|
5554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5555
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig::Representation
|
5556
|
+
|
5557
|
+
collection :bindings, as: 'bindings', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding::Representation
|
5558
|
+
|
5559
|
+
property :etag, :base64 => true, as: 'etag'
|
5560
|
+
property :version, as: 'version'
|
5561
|
+
end
|
5562
|
+
end
|
5563
|
+
|
5564
|
+
class GoogleIamV1SetIamPolicyRequest
|
5565
|
+
# @private
|
5566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5567
|
+
property :policy, as: 'policy', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
|
5568
|
+
|
5569
|
+
property :update_mask, as: 'updateMask'
|
5570
|
+
end
|
5571
|
+
end
|
5572
|
+
|
5573
|
+
class GoogleIamV1TestIamPermissionsRequest
|
5574
|
+
# @private
|
5575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5576
|
+
collection :permissions, as: 'permissions'
|
5577
|
+
end
|
5578
|
+
end
|
5579
|
+
|
5580
|
+
class GoogleIamV1TestIamPermissionsResponse
|
5581
|
+
# @private
|
5582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5583
|
+
collection :permissions, as: 'permissions'
|
5584
|
+
end
|
5585
|
+
end
|
5586
|
+
|
5473
5587
|
class GoogleLongrunningListOperationsResponse
|
5474
5588
|
# @private
|
5475
5589
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5506,6 +5620,16 @@ module Google
|
|
5506
5620
|
end
|
5507
5621
|
end
|
5508
5622
|
|
5623
|
+
class GoogleTypeExpr
|
5624
|
+
# @private
|
5625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5626
|
+
property :description, as: 'description'
|
5627
|
+
property :expression, as: 'expression'
|
5628
|
+
property :location, as: 'location'
|
5629
|
+
property :title, as: 'title'
|
5630
|
+
end
|
5631
|
+
end
|
5632
|
+
|
5509
5633
|
class GoogleTypeInterval
|
5510
5634
|
# @private
|
5511
5635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1016,6 +1016,51 @@ module Google
|
|
1016
1016
|
execute_or_queue_command(command, &block)
|
1017
1017
|
end
|
1018
1018
|
|
1019
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1020
|
+
# resource exists and does not have a policy set.
|
1021
|
+
# @param [String] resource
|
1022
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1023
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1024
|
+
# appropriate value for this field.
|
1025
|
+
# @param [Fixnum] options_requested_policy_version
|
1026
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1027
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1028
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1029
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1030
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1031
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1032
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1033
|
+
# bindings, the response uses version 1. To learn which resources support
|
1034
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1035
|
+
# google.com/iam/help/conditions/resource-policies).
|
1036
|
+
# @param [String] fields
|
1037
|
+
# Selector specifying which fields to include in a partial response.
|
1038
|
+
# @param [String] quota_user
|
1039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1041
|
+
# @param [Google::Apis::RequestOptions] options
|
1042
|
+
# Request-specific options
|
1043
|
+
#
|
1044
|
+
# @yield [result, err] Result & error if block supplied
|
1045
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy] parsed result object
|
1046
|
+
# @yieldparam err [StandardError] error object if request failed
|
1047
|
+
#
|
1048
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
|
1049
|
+
#
|
1050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1053
|
+
def get_project_location_authorized_view_set_authorized_view_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1054
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1055
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
|
1056
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy
|
1057
|
+
command.params['resource'] = resource unless resource.nil?
|
1058
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1059
|
+
command.query['fields'] = fields unless fields.nil?
|
1060
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1061
|
+
execute_or_queue_command(command, &block)
|
1062
|
+
end
|
1063
|
+
|
1019
1064
|
# List AuthorizedViewSets
|
1020
1065
|
# @param [String] parent
|
1021
1066
|
# Required. The parent resource of the AuthorizedViews. If the parent is set to `
|
@@ -1226,6 +1271,82 @@ module Google
|
|
1226
1271
|
execute_or_queue_command(command, &block)
|
1227
1272
|
end
|
1228
1273
|
|
1274
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1275
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1276
|
+
# PERMISSION_DENIED` errors.
|
1277
|
+
# @param [String] resource
|
1278
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1279
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1280
|
+
# appropriate value for this field.
|
1281
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1282
|
+
# @param [String] fields
|
1283
|
+
# Selector specifying which fields to include in a partial response.
|
1284
|
+
# @param [String] quota_user
|
1285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1287
|
+
# @param [Google::Apis::RequestOptions] options
|
1288
|
+
# Request-specific options
|
1289
|
+
#
|
1290
|
+
# @yield [result, err] Result & error if block supplied
|
1291
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy] parsed result object
|
1292
|
+
# @yieldparam err [StandardError] error object if request failed
|
1293
|
+
#
|
1294
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
|
1295
|
+
#
|
1296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1299
|
+
def set_project_location_authorized_view_set_authorized_view_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1300
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1301
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1302
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1303
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
|
1304
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy
|
1305
|
+
command.params['resource'] = resource unless resource.nil?
|
1306
|
+
command.query['fields'] = fields unless fields.nil?
|
1307
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1308
|
+
execute_or_queue_command(command, &block)
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1312
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1313
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1314
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1315
|
+
# This operation may "fail open" without warning.
|
1316
|
+
# @param [String] resource
|
1317
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1318
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1319
|
+
# appropriate value for this field.
|
1320
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1321
|
+
# @param [String] fields
|
1322
|
+
# Selector specifying which fields to include in a partial response.
|
1323
|
+
# @param [String] quota_user
|
1324
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1325
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1326
|
+
# @param [Google::Apis::RequestOptions] options
|
1327
|
+
# Request-specific options
|
1328
|
+
#
|
1329
|
+
# @yield [result, err] Result & error if block supplied
|
1330
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1331
|
+
# @yieldparam err [StandardError] error object if request failed
|
1332
|
+
#
|
1333
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse]
|
1334
|
+
#
|
1335
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1336
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1337
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1338
|
+
def test_project_location_authorized_view_set_authorized_view_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1339
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1340
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1341
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1342
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1343
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse
|
1344
|
+
command.params['resource'] = resource unless resource.nil?
|
1345
|
+
command.query['fields'] = fields unless fields.nil?
|
1346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1347
|
+
execute_or_queue_command(command, &block)
|
1348
|
+
end
|
1349
|
+
|
1229
1350
|
# Analyzes multiple conversations in a single request.
|
1230
1351
|
# @param [String] parent
|
1231
1352
|
# Required. The parent resource to create analyses in.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-contactcenterinsights_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.71.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.71.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|