google-apis-contactcenterinsights_v1 0.70.0 → 0.72.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 +8 -0
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +450 -0
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +127 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +138 -6
- 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: 8d20c13d1b92a4f4144c422b682cd73e7776b3ab75f35ccd3844d7f021ab17d3
|
4
|
+
data.tar.gz: 5230b6d9c744b34278c2cbcc0418c4da251a148ceaeca9fb3b0ae036fa8eb19c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21d80a2d31fbfd20cdc68d90f30b997dd3bbab3004f347516e0e19af01c22aef40f4c4ac6ca1f2ddab3c545573e9c7c6bf1d7ad0ddd226d410e616fd42735e5b
|
7
|
+
data.tar.gz: 80596f767c5cd026ee4f4087cd6eae66d038aa720e7bdb39484e83c1e3e30b9167714acc9083b0c12a24b0d9fd14c233e3d09c08fb5d0634d655588802bf77f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-contactcenterinsights_v1
|
2
2
|
|
3
|
+
### v0.72.0 (2025-08-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250821
|
6
|
+
|
7
|
+
### v0.71.0 (2025-08-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250811
|
10
|
+
|
3
11
|
### v0.70.0 (2025-08-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250729
|
@@ -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
|
@@ -5085,6 +5091,14 @@ module Google
|
|
5085
5091
|
# @return [Float]
|
5086
5092
|
attr_accessor :score
|
5087
5093
|
|
5094
|
+
# Output only. A value of "Skip". If provided, this field may only be set to `
|
5095
|
+
# true`. If a question receives this answer, it will be excluded from any score
|
5096
|
+
# calculations. This would mean that the question was not evaluated.
|
5097
|
+
# Corresponds to the JSON property `skipValue`
|
5098
|
+
# @return [Boolean]
|
5099
|
+
attr_accessor :skip_value
|
5100
|
+
alias_method :skip_value?, :skip_value
|
5101
|
+
|
5088
5102
|
# String value.
|
5089
5103
|
# Corresponds to the JSON property `strValue`
|
5090
5104
|
# @return [String]
|
@@ -5103,6 +5117,7 @@ module Google
|
|
5103
5117
|
@num_value = args[:num_value] if args.key?(:num_value)
|
5104
5118
|
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
5105
5119
|
@score = args[:score] if args.key?(:score)
|
5120
|
+
@skip_value = args[:skip_value] if args.key?(:skip_value)
|
5106
5121
|
@str_value = args[:str_value] if args.key?(:str_value)
|
5107
5122
|
end
|
5108
5123
|
end
|
@@ -5422,6 +5437,11 @@ module Google
|
|
5422
5437
|
# @return [String]
|
5423
5438
|
attr_accessor :name
|
5424
5439
|
|
5440
|
+
# Output only. The source of the scorecard.
|
5441
|
+
# Corresponds to the JSON property `source`
|
5442
|
+
# @return [String]
|
5443
|
+
attr_accessor :source
|
5444
|
+
|
5425
5445
|
# Output only. The most recent time at which the scorecard was updated.
|
5426
5446
|
# Corresponds to the JSON property `updateTime`
|
5427
5447
|
# @return [String]
|
@@ -5438,6 +5458,7 @@ module Google
|
|
5438
5458
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5439
5459
|
@is_default = args[:is_default] if args.key?(:is_default)
|
5440
5460
|
@name = args[:name] if args.key?(:name)
|
5461
|
+
@source = args[:source] if args.key?(:source)
|
5441
5462
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5442
5463
|
end
|
5443
5464
|
end
|
@@ -8174,6 +8195,11 @@ module Google
|
|
8174
8195
|
# @return [Fixnum]
|
8175
8196
|
attr_accessor :customer_satisfaction_rating
|
8176
8197
|
|
8198
|
+
# Input only. The feedback labels associated with the conversation.
|
8199
|
+
# Corresponds to the JSON property `feedbackLabels`
|
8200
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel>]
|
8201
|
+
attr_accessor :feedback_labels
|
8202
|
+
|
8177
8203
|
# An arbitrary string value specifying the menu path the customer took.
|
8178
8204
|
# Corresponds to the JSON property `menuPath`
|
8179
8205
|
# @return [String]
|
@@ -8192,6 +8218,7 @@ module Google
|
|
8192
8218
|
def update!(**args)
|
8193
8219
|
@agent_info = args[:agent_info] if args.key?(:agent_info)
|
8194
8220
|
@customer_satisfaction_rating = args[:customer_satisfaction_rating] if args.key?(:customer_satisfaction_rating)
|
8221
|
+
@feedback_labels = args[:feedback_labels] if args.key?(:feedback_labels)
|
8195
8222
|
@menu_path = args[:menu_path] if args.key?(:menu_path)
|
8196
8223
|
@wait_duration = args[:wait_duration] if args.key?(:wait_duration)
|
8197
8224
|
end
|
@@ -10615,6 +10642,14 @@ module Google
|
|
10615
10642
|
# @return [Float]
|
10616
10643
|
attr_accessor :score
|
10617
10644
|
|
10645
|
+
# Output only. A value of "Skip". If provided, this field may only be set to `
|
10646
|
+
# true`. If a question receives this answer, it will be excluded from any score
|
10647
|
+
# calculations. This would mean that the question was not evaluated.
|
10648
|
+
# Corresponds to the JSON property `skipValue`
|
10649
|
+
# @return [Boolean]
|
10650
|
+
attr_accessor :skip_value
|
10651
|
+
alias_method :skip_value?, :skip_value
|
10652
|
+
|
10618
10653
|
# String value.
|
10619
10654
|
# Corresponds to the JSON property `strValue`
|
10620
10655
|
# @return [String]
|
@@ -10633,6 +10668,7 @@ module Google
|
|
10633
10668
|
@num_value = args[:num_value] if args.key?(:num_value)
|
10634
10669
|
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
10635
10670
|
@score = args[:score] if args.key?(:score)
|
10671
|
+
@skip_value = args[:skip_value] if args.key?(:skip_value)
|
10636
10672
|
@str_value = args[:str_value] if args.key?(:str_value)
|
10637
10673
|
end
|
10638
10674
|
end
|
@@ -11819,6 +11855,366 @@ module Google
|
|
11819
11855
|
end
|
11820
11856
|
end
|
11821
11857
|
|
11858
|
+
# Specifies the audit configuration for a service. The configuration determines
|
11859
|
+
# which permission types are logged, and what identities, if any, are exempted
|
11860
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
11861
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
11862
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
11863
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
11864
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
11865
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
11866
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
11867
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
11868
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
11869
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
11870
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
11871
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
11872
|
+
# from DATA_WRITE logging.
|
11873
|
+
class GoogleIamV1AuditConfig
|
11874
|
+
include Google::Apis::Core::Hashable
|
11875
|
+
|
11876
|
+
# The configuration for logging of each type of permission.
|
11877
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
11878
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig>]
|
11879
|
+
attr_accessor :audit_log_configs
|
11880
|
+
|
11881
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
11882
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
11883
|
+
# value that covers all services.
|
11884
|
+
# Corresponds to the JSON property `service`
|
11885
|
+
# @return [String]
|
11886
|
+
attr_accessor :service
|
11887
|
+
|
11888
|
+
def initialize(**args)
|
11889
|
+
update!(**args)
|
11890
|
+
end
|
11891
|
+
|
11892
|
+
# Update properties of this object
|
11893
|
+
def update!(**args)
|
11894
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
11895
|
+
@service = args[:service] if args.key?(:service)
|
11896
|
+
end
|
11897
|
+
end
|
11898
|
+
|
11899
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
11900
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
11901
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
11902
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
11903
|
+
# DATA_READ logging.
|
11904
|
+
class GoogleIamV1AuditLogConfig
|
11905
|
+
include Google::Apis::Core::Hashable
|
11906
|
+
|
11907
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
11908
|
+
# Follows the same format of Binding.members.
|
11909
|
+
# Corresponds to the JSON property `exemptedMembers`
|
11910
|
+
# @return [Array<String>]
|
11911
|
+
attr_accessor :exempted_members
|
11912
|
+
|
11913
|
+
# The log type that this config enables.
|
11914
|
+
# Corresponds to the JSON property `logType`
|
11915
|
+
# @return [String]
|
11916
|
+
attr_accessor :log_type
|
11917
|
+
|
11918
|
+
def initialize(**args)
|
11919
|
+
update!(**args)
|
11920
|
+
end
|
11921
|
+
|
11922
|
+
# Update properties of this object
|
11923
|
+
def update!(**args)
|
11924
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
11925
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
11926
|
+
end
|
11927
|
+
end
|
11928
|
+
|
11929
|
+
# Associates `members`, or principals, with a `role`.
|
11930
|
+
class GoogleIamV1Binding
|
11931
|
+
include Google::Apis::Core::Hashable
|
11932
|
+
|
11933
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
11934
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
11935
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
11936
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
11937
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
11938
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
11939
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
11940
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
11941
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
11942
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
11943
|
+
# string" description: "Create a notification string with a timestamp."
|
11944
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
11945
|
+
# exact variables and functions that may be referenced within an expression are
|
11946
|
+
# determined by the service that evaluates it. See the service documentation for
|
11947
|
+
# additional information.
|
11948
|
+
# Corresponds to the JSON property `condition`
|
11949
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr]
|
11950
|
+
attr_accessor :condition
|
11951
|
+
|
11952
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
11953
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
11954
|
+
# that represents anyone who is on the internet; with or without a Google
|
11955
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
11956
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
11957
|
+
# not include identities that come from external identity providers (IdPs)
|
11958
|
+
# through identity federation. * `user:`emailid``: An email address that
|
11959
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
11960
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
11961
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
11962
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
11963
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
11964
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
11965
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
11966
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
11967
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
11968
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
11969
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
11970
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
11971
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
11972
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
11973
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
11974
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
11975
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
11976
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
11977
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
11978
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
11979
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
11980
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
11981
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
11982
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
11983
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
11984
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
11985
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
11986
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
11987
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
11988
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
11989
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
11990
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
11991
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
11992
|
+
# address (plus unique identifier) representing a service account that has been
|
11993
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
11994
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
11995
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
11996
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
11997
|
+
# An email address (plus unique identifier) representing a Google group that has
|
11998
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
11999
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
12000
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
12001
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
12002
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
12003
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
12004
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
12005
|
+
# Corresponds to the JSON property `members`
|
12006
|
+
# @return [Array<String>]
|
12007
|
+
attr_accessor :members
|
12008
|
+
|
12009
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
12010
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
12011
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
12012
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
12013
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
12014
|
+
# Corresponds to the JSON property `role`
|
12015
|
+
# @return [String]
|
12016
|
+
attr_accessor :role
|
12017
|
+
|
12018
|
+
def initialize(**args)
|
12019
|
+
update!(**args)
|
12020
|
+
end
|
12021
|
+
|
12022
|
+
# Update properties of this object
|
12023
|
+
def update!(**args)
|
12024
|
+
@condition = args[:condition] if args.key?(:condition)
|
12025
|
+
@members = args[:members] if args.key?(:members)
|
12026
|
+
@role = args[:role] if args.key?(:role)
|
12027
|
+
end
|
12028
|
+
end
|
12029
|
+
|
12030
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
12031
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
12032
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
12033
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
12034
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
12035
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
12036
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
12037
|
+
# logical expression that allows access to a resource only if the expression
|
12038
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
12039
|
+
# the request, the resource, or both. To learn which resources support
|
12040
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
12041
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
12042
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
12043
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
12044
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
12045
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
12046
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
12047
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
12048
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
12049
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
12050
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
12051
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
12052
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
12053
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
12054
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
12055
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
12056
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
12057
|
+
class GoogleIamV1Policy
|
12058
|
+
include Google::Apis::Core::Hashable
|
12059
|
+
|
12060
|
+
# Specifies cloud audit logging configuration for this policy.
|
12061
|
+
# Corresponds to the JSON property `auditConfigs`
|
12062
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig>]
|
12063
|
+
attr_accessor :audit_configs
|
12064
|
+
|
12065
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
12066
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
12067
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
12068
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
12069
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
12070
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
12071
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
12072
|
+
# principals to the `bindings` in the `Policy`.
|
12073
|
+
# Corresponds to the JSON property `bindings`
|
12074
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding>]
|
12075
|
+
attr_accessor :bindings
|
12076
|
+
|
12077
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
12078
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
12079
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
12080
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
12081
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
12082
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
12083
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
12084
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
12085
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
12086
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
12087
|
+
# are lost.
|
12088
|
+
# Corresponds to the JSON property `etag`
|
12089
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
12090
|
+
# @return [String]
|
12091
|
+
attr_accessor :etag
|
12092
|
+
|
12093
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
12094
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
12095
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
12096
|
+
# applies to the following operations: * Getting a policy that includes a
|
12097
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
12098
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
12099
|
+
# with or without a condition, from a policy that includes conditions **
|
12100
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
12101
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
12102
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
12103
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
12104
|
+
# any conditions, operations on that policy may specify any valid version or
|
12105
|
+
# leave the field unset. To learn which resources support conditions in their
|
12106
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
12107
|
+
# conditions/resource-policies).
|
12108
|
+
# Corresponds to the JSON property `version`
|
12109
|
+
# @return [Fixnum]
|
12110
|
+
attr_accessor :version
|
12111
|
+
|
12112
|
+
def initialize(**args)
|
12113
|
+
update!(**args)
|
12114
|
+
end
|
12115
|
+
|
12116
|
+
# Update properties of this object
|
12117
|
+
def update!(**args)
|
12118
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
12119
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
12120
|
+
@etag = args[:etag] if args.key?(:etag)
|
12121
|
+
@version = args[:version] if args.key?(:version)
|
12122
|
+
end
|
12123
|
+
end
|
12124
|
+
|
12125
|
+
# Request message for `SetIamPolicy` method.
|
12126
|
+
class GoogleIamV1SetIamPolicyRequest
|
12127
|
+
include Google::Apis::Core::Hashable
|
12128
|
+
|
12129
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
12130
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
12131
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
12132
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
12133
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
12134
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
12135
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
12136
|
+
# logical expression that allows access to a resource only if the expression
|
12137
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
12138
|
+
# the request, the resource, or both. To learn which resources support
|
12139
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
12140
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
12141
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
12142
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
12143
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
12144
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
12145
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
12146
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
12147
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
12148
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
12149
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
12150
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
12151
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
12152
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
12153
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
12154
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
12155
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
12156
|
+
# Corresponds to the JSON property `policy`
|
12157
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
|
12158
|
+
attr_accessor :policy
|
12159
|
+
|
12160
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
12161
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
12162
|
+
# default mask is used: `paths: "bindings, etag"`
|
12163
|
+
# Corresponds to the JSON property `updateMask`
|
12164
|
+
# @return [String]
|
12165
|
+
attr_accessor :update_mask
|
12166
|
+
|
12167
|
+
def initialize(**args)
|
12168
|
+
update!(**args)
|
12169
|
+
end
|
12170
|
+
|
12171
|
+
# Update properties of this object
|
12172
|
+
def update!(**args)
|
12173
|
+
@policy = args[:policy] if args.key?(:policy)
|
12174
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
12175
|
+
end
|
12176
|
+
end
|
12177
|
+
|
12178
|
+
# Request message for `TestIamPermissions` method.
|
12179
|
+
class GoogleIamV1TestIamPermissionsRequest
|
12180
|
+
include Google::Apis::Core::Hashable
|
12181
|
+
|
12182
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
12183
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
12184
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
12185
|
+
# Corresponds to the JSON property `permissions`
|
12186
|
+
# @return [Array<String>]
|
12187
|
+
attr_accessor :permissions
|
12188
|
+
|
12189
|
+
def initialize(**args)
|
12190
|
+
update!(**args)
|
12191
|
+
end
|
12192
|
+
|
12193
|
+
# Update properties of this object
|
12194
|
+
def update!(**args)
|
12195
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
12196
|
+
end
|
12197
|
+
end
|
12198
|
+
|
12199
|
+
# Response message for `TestIamPermissions` method.
|
12200
|
+
class GoogleIamV1TestIamPermissionsResponse
|
12201
|
+
include Google::Apis::Core::Hashable
|
12202
|
+
|
12203
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
12204
|
+
# Corresponds to the JSON property `permissions`
|
12205
|
+
# @return [Array<String>]
|
12206
|
+
attr_accessor :permissions
|
12207
|
+
|
12208
|
+
def initialize(**args)
|
12209
|
+
update!(**args)
|
12210
|
+
end
|
12211
|
+
|
12212
|
+
# Update properties of this object
|
12213
|
+
def update!(**args)
|
12214
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
12215
|
+
end
|
12216
|
+
end
|
12217
|
+
|
11822
12218
|
# The response message for Operations.ListOperations.
|
11823
12219
|
class GoogleLongrunningListOperationsResponse
|
11824
12220
|
include Google::Apis::Core::Hashable
|
@@ -11961,6 +12357,60 @@ module Google
|
|
11961
12357
|
end
|
11962
12358
|
end
|
11963
12359
|
|
12360
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
12361
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
12362
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
12363
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
12364
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
12365
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
12366
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
12367
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
12368
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
12369
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
12370
|
+
# string" description: "Create a notification string with a timestamp."
|
12371
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
12372
|
+
# exact variables and functions that may be referenced within an expression are
|
12373
|
+
# determined by the service that evaluates it. See the service documentation for
|
12374
|
+
# additional information.
|
12375
|
+
class GoogleTypeExpr
|
12376
|
+
include Google::Apis::Core::Hashable
|
12377
|
+
|
12378
|
+
# Optional. Description of the expression. This is a longer text which describes
|
12379
|
+
# the expression, e.g. when hovered over it in a UI.
|
12380
|
+
# Corresponds to the JSON property `description`
|
12381
|
+
# @return [String]
|
12382
|
+
attr_accessor :description
|
12383
|
+
|
12384
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
12385
|
+
# Corresponds to the JSON property `expression`
|
12386
|
+
# @return [String]
|
12387
|
+
attr_accessor :expression
|
12388
|
+
|
12389
|
+
# Optional. String indicating the location of the expression for error reporting,
|
12390
|
+
# e.g. a file name and a position in the file.
|
12391
|
+
# Corresponds to the JSON property `location`
|
12392
|
+
# @return [String]
|
12393
|
+
attr_accessor :location
|
12394
|
+
|
12395
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
12396
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
12397
|
+
# Corresponds to the JSON property `title`
|
12398
|
+
# @return [String]
|
12399
|
+
attr_accessor :title
|
12400
|
+
|
12401
|
+
def initialize(**args)
|
12402
|
+
update!(**args)
|
12403
|
+
end
|
12404
|
+
|
12405
|
+
# Update properties of this object
|
12406
|
+
def update!(**args)
|
12407
|
+
@description = args[:description] if args.key?(:description)
|
12408
|
+
@expression = args[:expression] if args.key?(:expression)
|
12409
|
+
@location = args[:location] if args.key?(:location)
|
12410
|
+
@title = args[:title] if args.key?(:title)
|
12411
|
+
end
|
12412
|
+
end
|
12413
|
+
|
11964
12414
|
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
11965
12415
|
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
11966
12416
|
# 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.72.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 = "20250821"
|
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
|
@@ -3541,6 +3591,7 @@ module Google
|
|
3541
3591
|
property :num_value, as: 'numValue'
|
3542
3592
|
property :potential_score, as: 'potentialScore'
|
3543
3593
|
property :score, as: 'score'
|
3594
|
+
property :skip_value, as: 'skipValue'
|
3544
3595
|
property :str_value, as: 'strValue'
|
3545
3596
|
end
|
3546
3597
|
end
|
@@ -3622,6 +3673,7 @@ module Google
|
|
3622
3673
|
property :display_name, as: 'displayName'
|
3623
3674
|
property :is_default, as: 'isDefault'
|
3624
3675
|
property :name, as: 'name'
|
3676
|
+
property :source, as: 'source'
|
3625
3677
|
property :update_time, as: 'updateTime'
|
3626
3678
|
end
|
3627
3679
|
end
|
@@ -4409,6 +4461,8 @@ module Google
|
|
4409
4461
|
collection :agent_info, as: 'agentInfo', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo::Representation
|
4410
4462
|
|
4411
4463
|
property :customer_satisfaction_rating, as: 'customerSatisfactionRating'
|
4464
|
+
collection :feedback_labels, as: 'feedbackLabels', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel::Representation
|
4465
|
+
|
4412
4466
|
property :menu_path, as: 'menuPath'
|
4413
4467
|
property :wait_duration, as: 'waitDuration'
|
4414
4468
|
end
|
@@ -5122,6 +5176,7 @@ module Google
|
|
5122
5176
|
property :num_value, as: 'numValue'
|
5123
5177
|
property :potential_score, as: 'potentialScore'
|
5124
5178
|
property :score, as: 'score'
|
5179
|
+
property :skip_value, as: 'skipValue'
|
5125
5180
|
property :str_value, as: 'strValue'
|
5126
5181
|
end
|
5127
5182
|
end
|
@@ -5470,6 +5525,68 @@ module Google
|
|
5470
5525
|
end
|
5471
5526
|
end
|
5472
5527
|
|
5528
|
+
class GoogleIamV1AuditConfig
|
5529
|
+
# @private
|
5530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5531
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig::Representation
|
5532
|
+
|
5533
|
+
property :service, as: 'service'
|
5534
|
+
end
|
5535
|
+
end
|
5536
|
+
|
5537
|
+
class GoogleIamV1AuditLogConfig
|
5538
|
+
# @private
|
5539
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5540
|
+
collection :exempted_members, as: 'exemptedMembers'
|
5541
|
+
property :log_type, as: 'logType'
|
5542
|
+
end
|
5543
|
+
end
|
5544
|
+
|
5545
|
+
class GoogleIamV1Binding
|
5546
|
+
# @private
|
5547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5548
|
+
property :condition, as: 'condition', class: Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr, decorator: Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr::Representation
|
5549
|
+
|
5550
|
+
collection :members, as: 'members'
|
5551
|
+
property :role, as: 'role'
|
5552
|
+
end
|
5553
|
+
end
|
5554
|
+
|
5555
|
+
class GoogleIamV1Policy
|
5556
|
+
# @private
|
5557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5558
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig::Representation
|
5559
|
+
|
5560
|
+
collection :bindings, as: 'bindings', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding::Representation
|
5561
|
+
|
5562
|
+
property :etag, :base64 => true, as: 'etag'
|
5563
|
+
property :version, as: 'version'
|
5564
|
+
end
|
5565
|
+
end
|
5566
|
+
|
5567
|
+
class GoogleIamV1SetIamPolicyRequest
|
5568
|
+
# @private
|
5569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5570
|
+
property :policy, as: 'policy', class: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy, decorator: Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
|
5571
|
+
|
5572
|
+
property :update_mask, as: 'updateMask'
|
5573
|
+
end
|
5574
|
+
end
|
5575
|
+
|
5576
|
+
class GoogleIamV1TestIamPermissionsRequest
|
5577
|
+
# @private
|
5578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5579
|
+
collection :permissions, as: 'permissions'
|
5580
|
+
end
|
5581
|
+
end
|
5582
|
+
|
5583
|
+
class GoogleIamV1TestIamPermissionsResponse
|
5584
|
+
# @private
|
5585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5586
|
+
collection :permissions, as: 'permissions'
|
5587
|
+
end
|
5588
|
+
end
|
5589
|
+
|
5473
5590
|
class GoogleLongrunningListOperationsResponse
|
5474
5591
|
# @private
|
5475
5592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5506,6 +5623,16 @@ module Google
|
|
5506
5623
|
end
|
5507
5624
|
end
|
5508
5625
|
|
5626
|
+
class GoogleTypeExpr
|
5627
|
+
# @private
|
5628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5629
|
+
property :description, as: 'description'
|
5630
|
+
property :expression, as: 'expression'
|
5631
|
+
property :location, as: 'location'
|
5632
|
+
property :title, as: 'title'
|
5633
|
+
end
|
5634
|
+
end
|
5635
|
+
|
5509
5636
|
class GoogleTypeInterval
|
5510
5637
|
# @private
|
5511
5638
|
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.
|
@@ -5027,10 +5148,10 @@ module Google
|
|
5027
5148
|
# Required. The parent resource of the QaQuestionTags.
|
5028
5149
|
# @param [String] filter
|
5029
5150
|
# Optional. A filter to reduce results to a specific subset. Supports
|
5030
|
-
#
|
5031
|
-
#
|
5032
|
-
#
|
5033
|
-
# qa_question_id - id of the question to list tags for`
|
5151
|
+
# conjunctions (ie. AND operators). Supported fields include the following: * `
|
5152
|
+
# project_id` - id of the project to list tags for * `qa_scorecard_id` - id of
|
5153
|
+
# the scorecard to list tags for * `revision_id` - id of the scorecard revision
|
5154
|
+
# to list tags for` * `qa_question_id - id of the question to list tags for`
|
5034
5155
|
# @param [String] fields
|
5035
5156
|
# Selector specifying which fields to include in a partial response.
|
5036
5157
|
# @param [String] quota_user
|
@@ -5216,6 +5337,10 @@ module Google
|
|
5216
5337
|
# Optional. The value returned by the last `ListQaScorecardsResponse`. This
|
5217
5338
|
# value indicates that this is a continuation of a prior `ListQaScorecards` call
|
5218
5339
|
# and that the system should return the next page of data.
|
5340
|
+
# @param [Array<String>, String] qa_scorecard_sources
|
5341
|
+
# Optional. The source of scorecards are based on how those Scorecards were
|
5342
|
+
# created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This
|
5343
|
+
# field is used to retrieve Scorecards of one or more sources.
|
5219
5344
|
# @param [String] fields
|
5220
5345
|
# Selector specifying which fields to include in a partial response.
|
5221
5346
|
# @param [String] quota_user
|
@@ -5233,13 +5358,14 @@ module Google
|
|
5233
5358
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5234
5359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5235
5360
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5236
|
-
def list_project_location_qa_scorecards(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5361
|
+
def list_project_location_qa_scorecards(parent, page_size: nil, page_token: nil, qa_scorecard_sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5237
5362
|
command = make_simple_command(:get, 'v1/{+parent}/qaScorecards', options)
|
5238
5363
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse::Representation
|
5239
5364
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse
|
5240
5365
|
command.params['parent'] = parent unless parent.nil?
|
5241
5366
|
command.query['pageSize'] = page_size unless page_size.nil?
|
5242
5367
|
command.query['pageToken'] = page_token unless page_token.nil?
|
5368
|
+
command.query['qaScorecardSources'] = qa_scorecard_sources unless qa_scorecard_sources.nil?
|
5243
5369
|
command.query['fields'] = fields unless fields.nil?
|
5244
5370
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5245
5371
|
execute_or_queue_command(command, &block)
|
@@ -5439,6 +5565,11 @@ module Google
|
|
5439
5565
|
# This value indicates that this is a continuation of a prior `
|
5440
5566
|
# ListQaScorecardRevisions` call and that the system should return the next page
|
5441
5567
|
# of data.
|
5568
|
+
# @param [Array<String>, String] qa_scorecard_sources
|
5569
|
+
# Optional. The source of scorecards are based on how those Scorecards were
|
5570
|
+
# created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This
|
5571
|
+
# field is used to retrieve Scorecards Revisions from Scorecards of one or more
|
5572
|
+
# sources.
|
5442
5573
|
# @param [String] fields
|
5443
5574
|
# Selector specifying which fields to include in a partial response.
|
5444
5575
|
# @param [String] quota_user
|
@@ -5456,7 +5587,7 @@ module Google
|
|
5456
5587
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5457
5588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5458
5589
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5459
|
-
def list_project_location_qa_scorecard_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5590
|
+
def list_project_location_qa_scorecard_revisions(parent, filter: nil, page_size: nil, page_token: nil, qa_scorecard_sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5460
5591
|
command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
|
5461
5592
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse::Representation
|
5462
5593
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse
|
@@ -5464,6 +5595,7 @@ module Google
|
|
5464
5595
|
command.query['filter'] = filter unless filter.nil?
|
5465
5596
|
command.query['pageSize'] = page_size unless page_size.nil?
|
5466
5597
|
command.query['pageToken'] = page_token unless page_token.nil?
|
5598
|
+
command.query['qaScorecardSources'] = qa_scorecard_sources unless qa_scorecard_sources.nil?
|
5467
5599
|
command.query['fields'] = fields unless fields.nil?
|
5468
5600
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5469
5601
|
execute_or_queue_command(command, &block)
|
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.72.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.72.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:
|