google-apis-contactcenterinsights_v1 0.53.0 → 0.55.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 +56 -448
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +6 -122
- data/lib/google/apis/contactcenterinsights_v1/service.rb +2 -811
- metadata +4 -4
@@ -1255,7 +1255,7 @@ module Google
|
|
1255
1255
|
# @return [String]
|
1256
1256
|
attr_accessor :expire_time
|
1257
1257
|
|
1258
|
-
# A map for the user to specify any custom fields. A maximum of
|
1258
|
+
# A map for the user to specify any custom fields. A maximum of 100 labels per
|
1259
1259
|
# conversation is allowed, with a maximum of 256 characters per entry.
|
1260
1260
|
# Corresponds to the JSON property `labels`
|
1261
1261
|
# @return [Hash<String,String>]
|
@@ -1559,6 +1559,11 @@ module Google
|
|
1559
1559
|
# @return [String]
|
1560
1560
|
attr_accessor :agent_id
|
1561
1561
|
|
1562
|
+
# The agent type, e.g. HUMAN_AGENT.
|
1563
|
+
# Corresponds to the JSON property `agentType`
|
1564
|
+
# @return [String]
|
1565
|
+
attr_accessor :agent_type
|
1566
|
+
|
1562
1567
|
# The agent's name.
|
1563
1568
|
# Corresponds to the JSON property `displayName`
|
1564
1569
|
# @return [String]
|
@@ -1570,11 +1575,22 @@ module Google
|
|
1570
1575
|
# @return [String]
|
1571
1576
|
attr_accessor :disposition_code
|
1572
1577
|
|
1573
|
-
#
|
1578
|
+
# The agent's location.
|
1579
|
+
# Corresponds to the JSON property `location`
|
1580
|
+
# @return [String]
|
1581
|
+
attr_accessor :location
|
1582
|
+
|
1583
|
+
# A user-specified string representing the agent's team. Deprecated in favor of
|
1584
|
+
# the `teams` field.
|
1574
1585
|
# Corresponds to the JSON property `team`
|
1575
1586
|
# @return [String]
|
1576
1587
|
attr_accessor :team
|
1577
1588
|
|
1589
|
+
# User-specified strings representing the agent's teams.
|
1590
|
+
# Corresponds to the JSON property `teams`
|
1591
|
+
# @return [Array<String>]
|
1592
|
+
attr_accessor :teams
|
1593
|
+
|
1578
1594
|
def initialize(**args)
|
1579
1595
|
update!(**args)
|
1580
1596
|
end
|
@@ -1582,9 +1598,12 @@ module Google
|
|
1582
1598
|
# Update properties of this object
|
1583
1599
|
def update!(**args)
|
1584
1600
|
@agent_id = args[:agent_id] if args.key?(:agent_id)
|
1601
|
+
@agent_type = args[:agent_type] if args.key?(:agent_type)
|
1585
1602
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1586
1603
|
@disposition_code = args[:disposition_code] if args.key?(:disposition_code)
|
1604
|
+
@location = args[:location] if args.key?(:location)
|
1587
1605
|
@team = args[:team] if args.key?(:team)
|
1606
|
+
@teams = args[:teams] if args.key?(:teams)
|
1588
1607
|
end
|
1589
1608
|
end
|
1590
1609
|
|
@@ -2698,7 +2717,7 @@ module Google
|
|
2698
2717
|
# @return [String]
|
2699
2718
|
attr_accessor :name
|
2700
2719
|
|
2701
|
-
# Message for holding the value of
|
2720
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
2702
2721
|
# the possible answer values for a question.
|
2703
2722
|
# Corresponds to the JSON property `qaAnswerLabel`
|
2704
2723
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue]
|
@@ -3062,7 +3081,7 @@ module Google
|
|
3062
3081
|
|
3063
3082
|
# Optional. Custom keys to extract as conversation labels from metadata files in
|
3064
3083
|
# `metadata_bucket_uri`. Keys not included in this field will be ignored. Note
|
3065
|
-
# that there is a limit of
|
3084
|
+
# that there is a limit of 100 labels per conversation.
|
3066
3085
|
# Corresponds to the JSON property `customMetadataKeys`
|
3067
3086
|
# @return [Array<String>]
|
3068
3087
|
attr_accessor :custom_metadata_keys
|
@@ -4053,7 +4072,7 @@ module Google
|
|
4053
4072
|
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource>]
|
4054
4073
|
attr_accessor :answer_sources
|
4055
4074
|
|
4056
|
-
# Message for holding the value of
|
4075
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
4057
4076
|
# the possible answer values for a question.
|
4058
4077
|
# Corresponds to the JSON property `answerValue`
|
4059
4078
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue]
|
@@ -4064,13 +4083,6 @@ module Google
|
|
4064
4083
|
# @return [String]
|
4065
4084
|
attr_accessor :conversation
|
4066
4085
|
|
4067
|
-
# The maximum potential score of the question. If the question was answered
|
4068
|
-
# using `na_value`, this field will be zero. Deprecated: Use AnswerValue.
|
4069
|
-
# potential_score instead.
|
4070
|
-
# Corresponds to the JSON property `potentialScore`
|
4071
|
-
# @return [Float]
|
4072
|
-
attr_accessor :potential_score
|
4073
|
-
|
4074
4086
|
# The QaQuestion answered by this answer.
|
4075
4087
|
# Corresponds to the JSON property `qaQuestion`
|
4076
4088
|
# @return [String]
|
@@ -4097,7 +4109,6 @@ module Google
|
|
4097
4109
|
@answer_sources = args[:answer_sources] if args.key?(:answer_sources)
|
4098
4110
|
@answer_value = args[:answer_value] if args.key?(:answer_value)
|
4099
4111
|
@conversation = args[:conversation] if args.key?(:conversation)
|
4100
|
-
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
4101
4112
|
@qa_question = args[:qa_question] if args.key?(:qa_question)
|
4102
4113
|
@question_body = args[:question_body] if args.key?(:question_body)
|
4103
4114
|
@tags = args[:tags] if args.key?(:tags)
|
@@ -4110,7 +4121,7 @@ module Google
|
|
4110
4121
|
class GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource
|
4111
4122
|
include Google::Apis::Core::Hashable
|
4112
4123
|
|
4113
|
-
# Message for holding the value of
|
4124
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
4114
4125
|
# the possible answer values for a question.
|
4115
4126
|
# Corresponds to the JSON property `answerValue`
|
4116
4127
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue]
|
@@ -4132,7 +4143,7 @@ module Google
|
|
4132
4143
|
end
|
4133
4144
|
end
|
4134
4145
|
|
4135
|
-
# Message for holding the value of
|
4146
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
4136
4147
|
# the possible answer values for a question.
|
4137
4148
|
class GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue
|
4138
4149
|
include Google::Apis::Core::Hashable
|
@@ -4149,14 +4160,14 @@ module Google
|
|
4149
4160
|
# @return [String]
|
4150
4161
|
attr_accessor :key
|
4151
4162
|
|
4152
|
-
# A value of "Not Applicable (N/A)".
|
4163
|
+
# A value of "Not Applicable (N/A)". Should only ever be `true`.
|
4153
4164
|
# Corresponds to the JSON property `naValue`
|
4154
4165
|
# @return [Boolean]
|
4155
4166
|
attr_accessor :na_value
|
4156
4167
|
alias_method :na_value?, :na_value
|
4157
4168
|
|
4158
4169
|
# Output only. Normalized score of the questions. Calculated as score /
|
4159
|
-
# potential_score
|
4170
|
+
# potential_score.
|
4160
4171
|
# Corresponds to the JSON property `normalizedScore`
|
4161
4172
|
# @return [Float]
|
4162
4173
|
attr_accessor :normalized_score
|
@@ -6383,7 +6394,7 @@ module Google
|
|
6383
6394
|
# @return [String]
|
6384
6395
|
attr_accessor :expire_time
|
6385
6396
|
|
6386
|
-
# A map for the user to specify any custom fields. A maximum of
|
6397
|
+
# A map for the user to specify any custom fields. A maximum of 100 labels per
|
6387
6398
|
# conversation is allowed, with a maximum of 256 characters per entry.
|
6388
6399
|
# Corresponds to the JSON property `labels`
|
6389
6400
|
# @return [Hash<String,String>]
|
@@ -6687,6 +6698,11 @@ module Google
|
|
6687
6698
|
# @return [String]
|
6688
6699
|
attr_accessor :agent_id
|
6689
6700
|
|
6701
|
+
# The agent type, e.g. HUMAN_AGENT.
|
6702
|
+
# Corresponds to the JSON property `agentType`
|
6703
|
+
# @return [String]
|
6704
|
+
attr_accessor :agent_type
|
6705
|
+
|
6690
6706
|
# The agent's name.
|
6691
6707
|
# Corresponds to the JSON property `displayName`
|
6692
6708
|
# @return [String]
|
@@ -6698,11 +6714,22 @@ module Google
|
|
6698
6714
|
# @return [String]
|
6699
6715
|
attr_accessor :disposition_code
|
6700
6716
|
|
6701
|
-
#
|
6717
|
+
# The agent's location.
|
6718
|
+
# Corresponds to the JSON property `location`
|
6719
|
+
# @return [String]
|
6720
|
+
attr_accessor :location
|
6721
|
+
|
6722
|
+
# A user-specified string representing the agent's team. Deprecated in favor of
|
6723
|
+
# the `teams` field.
|
6702
6724
|
# Corresponds to the JSON property `team`
|
6703
6725
|
# @return [String]
|
6704
6726
|
attr_accessor :team
|
6705
6727
|
|
6728
|
+
# User-specified strings representing the agent's teams.
|
6729
|
+
# Corresponds to the JSON property `teams`
|
6730
|
+
# @return [Array<String>]
|
6731
|
+
attr_accessor :teams
|
6732
|
+
|
6706
6733
|
def initialize(**args)
|
6707
6734
|
update!(**args)
|
6708
6735
|
end
|
@@ -6710,9 +6737,12 @@ module Google
|
|
6710
6737
|
# Update properties of this object
|
6711
6738
|
def update!(**args)
|
6712
6739
|
@agent_id = args[:agent_id] if args.key?(:agent_id)
|
6740
|
+
@agent_type = args[:agent_type] if args.key?(:agent_type)
|
6713
6741
|
@display_name = args[:display_name] if args.key?(:display_name)
|
6714
6742
|
@disposition_code = args[:disposition_code] if args.key?(:disposition_code)
|
6743
|
+
@location = args[:location] if args.key?(:location)
|
6715
6744
|
@team = args[:team] if args.key?(:team)
|
6745
|
+
@teams = args[:teams] if args.key?(:teams)
|
6716
6746
|
end
|
6717
6747
|
end
|
6718
6748
|
|
@@ -7793,7 +7823,7 @@ module Google
|
|
7793
7823
|
# @return [String]
|
7794
7824
|
attr_accessor :name
|
7795
7825
|
|
7796
|
-
# Message for holding the value of
|
7826
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
7797
7827
|
# the possible answer values for a question.
|
7798
7828
|
# Corresponds to the JSON property `qaAnswerLabel`
|
7799
7829
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue]
|
@@ -8157,7 +8187,7 @@ module Google
|
|
8157
8187
|
|
8158
8188
|
# Optional. Custom keys to extract as conversation labels from metadata files in
|
8159
8189
|
# `metadata_bucket_uri`. Keys not included in this field will be ignored. Note
|
8160
|
-
# that there is a limit of
|
8190
|
+
# that there is a limit of 100 labels per conversation.
|
8161
8191
|
# Corresponds to the JSON property `customMetadataKeys`
|
8162
8192
|
# @return [Array<String>]
|
8163
8193
|
attr_accessor :custom_metadata_keys
|
@@ -8685,7 +8715,7 @@ module Google
|
|
8685
8715
|
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource>]
|
8686
8716
|
attr_accessor :answer_sources
|
8687
8717
|
|
8688
|
-
# Message for holding the value of
|
8718
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
8689
8719
|
# the possible answer values for a question.
|
8690
8720
|
# Corresponds to the JSON property `answerValue`
|
8691
8721
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue]
|
@@ -8696,13 +8726,6 @@ module Google
|
|
8696
8726
|
# @return [String]
|
8697
8727
|
attr_accessor :conversation
|
8698
8728
|
|
8699
|
-
# The maximum potential score of the question. If the question was answered
|
8700
|
-
# using `na_value`, this field will be zero. Deprecated: Use AnswerValue.
|
8701
|
-
# potential_score instead.
|
8702
|
-
# Corresponds to the JSON property `potentialScore`
|
8703
|
-
# @return [Float]
|
8704
|
-
attr_accessor :potential_score
|
8705
|
-
|
8706
8729
|
# The QaQuestion answered by this answer.
|
8707
8730
|
# Corresponds to the JSON property `qaQuestion`
|
8708
8731
|
# @return [String]
|
@@ -8729,7 +8752,6 @@ module Google
|
|
8729
8752
|
@answer_sources = args[:answer_sources] if args.key?(:answer_sources)
|
8730
8753
|
@answer_value = args[:answer_value] if args.key?(:answer_value)
|
8731
8754
|
@conversation = args[:conversation] if args.key?(:conversation)
|
8732
|
-
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
8733
8755
|
@qa_question = args[:qa_question] if args.key?(:qa_question)
|
8734
8756
|
@question_body = args[:question_body] if args.key?(:question_body)
|
8735
8757
|
@tags = args[:tags] if args.key?(:tags)
|
@@ -8742,7 +8764,7 @@ module Google
|
|
8742
8764
|
class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource
|
8743
8765
|
include Google::Apis::Core::Hashable
|
8744
8766
|
|
8745
|
-
# Message for holding the value of
|
8767
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
8746
8768
|
# the possible answer values for a question.
|
8747
8769
|
# Corresponds to the JSON property `answerValue`
|
8748
8770
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue]
|
@@ -8764,7 +8786,7 @@ module Google
|
|
8764
8786
|
end
|
8765
8787
|
end
|
8766
8788
|
|
8767
|
-
# Message for holding the value of
|
8789
|
+
# Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
|
8768
8790
|
# the possible answer values for a question.
|
8769
8791
|
class GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue
|
8770
8792
|
include Google::Apis::Core::Hashable
|
@@ -8781,14 +8803,14 @@ module Google
|
|
8781
8803
|
# @return [String]
|
8782
8804
|
attr_accessor :key
|
8783
8805
|
|
8784
|
-
# A value of "Not Applicable (N/A)".
|
8806
|
+
# A value of "Not Applicable (N/A)". Should only ever be `true`.
|
8785
8807
|
# Corresponds to the JSON property `naValue`
|
8786
8808
|
# @return [Boolean]
|
8787
8809
|
attr_accessor :na_value
|
8788
8810
|
alias_method :na_value?, :na_value
|
8789
8811
|
|
8790
8812
|
# Output only. Normalized score of the questions. Calculated as score /
|
8791
|
-
# potential_score
|
8813
|
+
# potential_score.
|
8792
8814
|
# Corresponds to the JSON property `normalizedScore`
|
8793
8815
|
# @return [Float]
|
8794
8816
|
attr_accessor :normalized_score
|
@@ -9704,366 +9726,6 @@ module Google
|
|
9704
9726
|
end
|
9705
9727
|
end
|
9706
9728
|
|
9707
|
-
# Specifies the audit configuration for a service. The configuration determines
|
9708
|
-
# which permission types are logged, and what identities, if any, are exempted
|
9709
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
9710
|
-
# are AuditConfigs for both `allServices` and a specific service, the union of
|
9711
|
-
# the two AuditConfigs is used for that service: the log_types specified in each
|
9712
|
-
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
9713
|
-
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
9714
|
-
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
9715
|
-
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
9716
|
-
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
9717
|
-
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
9718
|
-
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
9719
|
-
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
9720
|
-
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
9721
|
-
# from DATA_WRITE logging.
|
9722
|
-
class GoogleIamV1AuditConfig
|
9723
|
-
include Google::Apis::Core::Hashable
|
9724
|
-
|
9725
|
-
# The configuration for logging of each type of permission.
|
9726
|
-
# Corresponds to the JSON property `auditLogConfigs`
|
9727
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditLogConfig>]
|
9728
|
-
attr_accessor :audit_log_configs
|
9729
|
-
|
9730
|
-
# Specifies a service that will be enabled for audit logging. For example, `
|
9731
|
-
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
9732
|
-
# value that covers all services.
|
9733
|
-
# Corresponds to the JSON property `service`
|
9734
|
-
# @return [String]
|
9735
|
-
attr_accessor :service
|
9736
|
-
|
9737
|
-
def initialize(**args)
|
9738
|
-
update!(**args)
|
9739
|
-
end
|
9740
|
-
|
9741
|
-
# Update properties of this object
|
9742
|
-
def update!(**args)
|
9743
|
-
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
9744
|
-
@service = args[:service] if args.key?(:service)
|
9745
|
-
end
|
9746
|
-
end
|
9747
|
-
|
9748
|
-
# Provides the configuration for logging a type of permissions. Example: ` "
|
9749
|
-
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
9750
|
-
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
9751
|
-
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
9752
|
-
# DATA_READ logging.
|
9753
|
-
class GoogleIamV1AuditLogConfig
|
9754
|
-
include Google::Apis::Core::Hashable
|
9755
|
-
|
9756
|
-
# Specifies the identities that do not cause logging for this type of permission.
|
9757
|
-
# Follows the same format of Binding.members.
|
9758
|
-
# Corresponds to the JSON property `exemptedMembers`
|
9759
|
-
# @return [Array<String>]
|
9760
|
-
attr_accessor :exempted_members
|
9761
|
-
|
9762
|
-
# The log type that this config enables.
|
9763
|
-
# Corresponds to the JSON property `logType`
|
9764
|
-
# @return [String]
|
9765
|
-
attr_accessor :log_type
|
9766
|
-
|
9767
|
-
def initialize(**args)
|
9768
|
-
update!(**args)
|
9769
|
-
end
|
9770
|
-
|
9771
|
-
# Update properties of this object
|
9772
|
-
def update!(**args)
|
9773
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
9774
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
9775
|
-
end
|
9776
|
-
end
|
9777
|
-
|
9778
|
-
# Associates `members`, or principals, with a `role`.
|
9779
|
-
class GoogleIamV1Binding
|
9780
|
-
include Google::Apis::Core::Hashable
|
9781
|
-
|
9782
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
9783
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
9784
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
9785
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
9786
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
9787
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
9788
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
9789
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
9790
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
9791
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
9792
|
-
# string" description: "Create a notification string with a timestamp."
|
9793
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
9794
|
-
# exact variables and functions that may be referenced within an expression are
|
9795
|
-
# determined by the service that evaluates it. See the service documentation for
|
9796
|
-
# additional information.
|
9797
|
-
# Corresponds to the JSON property `condition`
|
9798
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleTypeExpr]
|
9799
|
-
attr_accessor :condition
|
9800
|
-
|
9801
|
-
# Specifies the principals requesting access for a Google Cloud resource. `
|
9802
|
-
# members` can have the following values: * `allUsers`: A special identifier
|
9803
|
-
# that represents anyone who is on the internet; with or without a Google
|
9804
|
-
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
9805
|
-
# anyone who is authenticated with a Google account or a service account. Does
|
9806
|
-
# not include identities that come from external identity providers (IdPs)
|
9807
|
-
# through identity federation. * `user:`emailid``: An email address that
|
9808
|
-
# represents a specific Google account. For example, `alice@example.com` . * `
|
9809
|
-
# serviceAccount:`emailid``: An email address that represents a Google service
|
9810
|
-
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
9811
|
-
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
9812
|
-
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
9813
|
-
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
9814
|
-
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
9815
|
-
# email address that represents a Google group. For example, `admins@example.com`
|
9816
|
-
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
9817
|
-
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
9818
|
-
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
9819
|
-
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
9820
|
-
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
9821
|
-
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
9822
|
-
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
9823
|
-
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
9824
|
-
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
9825
|
-
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
9826
|
-
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
9827
|
-
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
9828
|
-
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
9829
|
-
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
9830
|
-
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
9831
|
-
# googleapis.com/projects/`project_number`/locations/global/
|
9832
|
-
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
9833
|
-
# All identities in a workload identity pool with a certain attribute. * `
|
9834
|
-
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
9835
|
-
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
9836
|
-
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
9837
|
-
# identifier) representing a user that has been recently deleted. For example, `
|
9838
|
-
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
9839
|
-
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
9840
|
-
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
9841
|
-
# address (plus unique identifier) representing a service account that has been
|
9842
|
-
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
9843
|
-
# 123456789012345678901`. If the service account is undeleted, this value
|
9844
|
-
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
9845
|
-
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
9846
|
-
# An email address (plus unique identifier) representing a Google group that has
|
9847
|
-
# been recently deleted. For example, `admins@example.com?uid=
|
9848
|
-
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
9849
|
-
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
9850
|
-
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
9851
|
-
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
9852
|
-
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
9853
|
-
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
9854
|
-
# Corresponds to the JSON property `members`
|
9855
|
-
# @return [Array<String>]
|
9856
|
-
attr_accessor :members
|
9857
|
-
|
9858
|
-
# Role that is assigned to the list of `members`, or principals. For example, `
|
9859
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
9860
|
-
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
9861
|
-
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
9862
|
-
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
9863
|
-
# Corresponds to the JSON property `role`
|
9864
|
-
# @return [String]
|
9865
|
-
attr_accessor :role
|
9866
|
-
|
9867
|
-
def initialize(**args)
|
9868
|
-
update!(**args)
|
9869
|
-
end
|
9870
|
-
|
9871
|
-
# Update properties of this object
|
9872
|
-
def update!(**args)
|
9873
|
-
@condition = args[:condition] if args.key?(:condition)
|
9874
|
-
@members = args[:members] if args.key?(:members)
|
9875
|
-
@role = args[:role] if args.key?(:role)
|
9876
|
-
end
|
9877
|
-
end
|
9878
|
-
|
9879
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
9880
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
9881
|
-
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
9882
|
-
# Principals can be user accounts, service accounts, Google groups, and domains (
|
9883
|
-
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
9884
|
-
# an IAM predefined role or a user-created custom role. For some types of Google
|
9885
|
-
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
9886
|
-
# logical expression that allows access to a resource only if the expression
|
9887
|
-
# evaluates to `true`. A condition can add constraints based on attributes of
|
9888
|
-
# the request, the resource, or both. To learn which resources support
|
9889
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
9890
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
9891
|
-
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
9892
|
-
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
9893
|
-
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
9894
|
-
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
9895
|
-
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
9896
|
-
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
9897
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
9898
|
-
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
9899
|
-
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
9900
|
-
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
9901
|
-
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
9902
|
-
# title: expirable access description: Does not grant access after Sep 2020
|
9903
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
9904
|
-
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
9905
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
9906
|
-
class GoogleIamV1Policy
|
9907
|
-
include Google::Apis::Core::Hashable
|
9908
|
-
|
9909
|
-
# Specifies cloud audit logging configuration for this policy.
|
9910
|
-
# Corresponds to the JSON property `auditConfigs`
|
9911
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1AuditConfig>]
|
9912
|
-
attr_accessor :audit_configs
|
9913
|
-
|
9914
|
-
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
9915
|
-
# specify a `condition` that determines how and when the `bindings` are applied.
|
9916
|
-
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
9917
|
-
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
9918
|
-
# can be Google groups. Each occurrence of a principal counts towards these
|
9919
|
-
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
9920
|
-
# example.com`, and not to any other principal, then you can add another 1,450
|
9921
|
-
# principals to the `bindings` in the `Policy`.
|
9922
|
-
# Corresponds to the JSON property `bindings`
|
9923
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleIamV1Binding>]
|
9924
|
-
attr_accessor :bindings
|
9925
|
-
|
9926
|
-
# `etag` is used for optimistic concurrency control as a way to help prevent
|
9927
|
-
# simultaneous updates of a policy from overwriting each other. It is strongly
|
9928
|
-
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
9929
|
-
# to perform policy updates in order to avoid race conditions: An `etag` is
|
9930
|
-
# returned in the response to `getIamPolicy`, and systems are expected to put
|
9931
|
-
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
9932
|
-
# applied to the same version of the policy. **Important:** If you use IAM
|
9933
|
-
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
9934
|
-
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
9935
|
-
# with a version `1` policy, and all of the conditions in the version `3` policy
|
9936
|
-
# are lost.
|
9937
|
-
# Corresponds to the JSON property `etag`
|
9938
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9939
|
-
# @return [String]
|
9940
|
-
attr_accessor :etag
|
9941
|
-
|
9942
|
-
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
9943
|
-
# Requests that specify an invalid value are rejected. Any operation that
|
9944
|
-
# affects conditional role bindings must specify version `3`. This requirement
|
9945
|
-
# applies to the following operations: * Getting a policy that includes a
|
9946
|
-
# conditional role binding * Adding a conditional role binding to a policy *
|
9947
|
-
# Changing a conditional role binding in a policy * Removing any role binding,
|
9948
|
-
# with or without a condition, from a policy that includes conditions **
|
9949
|
-
# Important:** If you use IAM Conditions, you must include the `etag` field
|
9950
|
-
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
9951
|
-
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
9952
|
-
# conditions in the version `3` policy are lost. If a policy does not include
|
9953
|
-
# any conditions, operations on that policy may specify any valid version or
|
9954
|
-
# leave the field unset. To learn which resources support conditions in their
|
9955
|
-
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
9956
|
-
# conditions/resource-policies).
|
9957
|
-
# Corresponds to the JSON property `version`
|
9958
|
-
# @return [Fixnum]
|
9959
|
-
attr_accessor :version
|
9960
|
-
|
9961
|
-
def initialize(**args)
|
9962
|
-
update!(**args)
|
9963
|
-
end
|
9964
|
-
|
9965
|
-
# Update properties of this object
|
9966
|
-
def update!(**args)
|
9967
|
-
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
9968
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
9969
|
-
@etag = args[:etag] if args.key?(:etag)
|
9970
|
-
@version = args[:version] if args.key?(:version)
|
9971
|
-
end
|
9972
|
-
end
|
9973
|
-
|
9974
|
-
# Request message for `SetIamPolicy` method.
|
9975
|
-
class GoogleIamV1SetIamPolicyRequest
|
9976
|
-
include Google::Apis::Core::Hashable
|
9977
|
-
|
9978
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
9979
|
-
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
9980
|
-
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
9981
|
-
# Principals can be user accounts, service accounts, Google groups, and domains (
|
9982
|
-
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
9983
|
-
# an IAM predefined role or a user-created custom role. For some types of Google
|
9984
|
-
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
9985
|
-
# logical expression that allows access to a resource only if the expression
|
9986
|
-
# evaluates to `true`. A condition can add constraints based on attributes of
|
9987
|
-
# the request, the resource, or both. To learn which resources support
|
9988
|
-
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
9989
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
9990
|
-
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
9991
|
-
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
9992
|
-
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
9993
|
-
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
9994
|
-
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
9995
|
-
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
9996
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
9997
|
-
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
9998
|
-
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
9999
|
-
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
10000
|
-
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
10001
|
-
# title: expirable access description: Does not grant access after Sep 2020
|
10002
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
10003
|
-
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
10004
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
10005
|
-
# Corresponds to the JSON property `policy`
|
10006
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
|
10007
|
-
attr_accessor :policy
|
10008
|
-
|
10009
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
10010
|
-
# the fields in the mask will be modified. If no mask is provided, the following
|
10011
|
-
# default mask is used: `paths: "bindings, etag"`
|
10012
|
-
# Corresponds to the JSON property `updateMask`
|
10013
|
-
# @return [String]
|
10014
|
-
attr_accessor :update_mask
|
10015
|
-
|
10016
|
-
def initialize(**args)
|
10017
|
-
update!(**args)
|
10018
|
-
end
|
10019
|
-
|
10020
|
-
# Update properties of this object
|
10021
|
-
def update!(**args)
|
10022
|
-
@policy = args[:policy] if args.key?(:policy)
|
10023
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
10024
|
-
end
|
10025
|
-
end
|
10026
|
-
|
10027
|
-
# Request message for `TestIamPermissions` method.
|
10028
|
-
class GoogleIamV1TestIamPermissionsRequest
|
10029
|
-
include Google::Apis::Core::Hashable
|
10030
|
-
|
10031
|
-
# The set of permissions to check for the `resource`. Permissions with wildcards
|
10032
|
-
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
10033
|
-
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
10034
|
-
# Corresponds to the JSON property `permissions`
|
10035
|
-
# @return [Array<String>]
|
10036
|
-
attr_accessor :permissions
|
10037
|
-
|
10038
|
-
def initialize(**args)
|
10039
|
-
update!(**args)
|
10040
|
-
end
|
10041
|
-
|
10042
|
-
# Update properties of this object
|
10043
|
-
def update!(**args)
|
10044
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
10045
|
-
end
|
10046
|
-
end
|
10047
|
-
|
10048
|
-
# Response message for `TestIamPermissions` method.
|
10049
|
-
class GoogleIamV1TestIamPermissionsResponse
|
10050
|
-
include Google::Apis::Core::Hashable
|
10051
|
-
|
10052
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
10053
|
-
# Corresponds to the JSON property `permissions`
|
10054
|
-
# @return [Array<String>]
|
10055
|
-
attr_accessor :permissions
|
10056
|
-
|
10057
|
-
def initialize(**args)
|
10058
|
-
update!(**args)
|
10059
|
-
end
|
10060
|
-
|
10061
|
-
# Update properties of this object
|
10062
|
-
def update!(**args)
|
10063
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
10064
|
-
end
|
10065
|
-
end
|
10066
|
-
|
10067
9729
|
# The response message for Operations.ListOperations.
|
10068
9730
|
class GoogleLongrunningListOperationsResponse
|
10069
9731
|
include Google::Apis::Core::Hashable
|
@@ -10206,60 +9868,6 @@ module Google
|
|
10206
9868
|
end
|
10207
9869
|
end
|
10208
9870
|
|
10209
|
-
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
10210
|
-
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
10211
|
-
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
10212
|
-
# "Summary size limit" description: "Determines if a summary is less than 100
|
10213
|
-
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
10214
|
-
# Requestor is owner" description: "Determines if requestor is the document
|
10215
|
-
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
10216
|
-
# Logic): title: "Public documents" description: "Determine whether the document
|
10217
|
-
# should be publicly visible" expression: "document.type != 'private' &&
|
10218
|
-
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
10219
|
-
# string" description: "Create a notification string with a timestamp."
|
10220
|
-
# expression: "'New message received at ' + string(document.create_time)" The
|
10221
|
-
# exact variables and functions that may be referenced within an expression are
|
10222
|
-
# determined by the service that evaluates it. See the service documentation for
|
10223
|
-
# additional information.
|
10224
|
-
class GoogleTypeExpr
|
10225
|
-
include Google::Apis::Core::Hashable
|
10226
|
-
|
10227
|
-
# Optional. Description of the expression. This is a longer text which describes
|
10228
|
-
# the expression, e.g. when hovered over it in a UI.
|
10229
|
-
# Corresponds to the JSON property `description`
|
10230
|
-
# @return [String]
|
10231
|
-
attr_accessor :description
|
10232
|
-
|
10233
|
-
# Textual representation of an expression in Common Expression Language syntax.
|
10234
|
-
# Corresponds to the JSON property `expression`
|
10235
|
-
# @return [String]
|
10236
|
-
attr_accessor :expression
|
10237
|
-
|
10238
|
-
# Optional. String indicating the location of the expression for error reporting,
|
10239
|
-
# e.g. a file name and a position in the file.
|
10240
|
-
# Corresponds to the JSON property `location`
|
10241
|
-
# @return [String]
|
10242
|
-
attr_accessor :location
|
10243
|
-
|
10244
|
-
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
10245
|
-
# This can be used e.g. in UIs which allow to enter the expression.
|
10246
|
-
# Corresponds to the JSON property `title`
|
10247
|
-
# @return [String]
|
10248
|
-
attr_accessor :title
|
10249
|
-
|
10250
|
-
def initialize(**args)
|
10251
|
-
update!(**args)
|
10252
|
-
end
|
10253
|
-
|
10254
|
-
# Update properties of this object
|
10255
|
-
def update!(**args)
|
10256
|
-
@description = args[:description] if args.key?(:description)
|
10257
|
-
@expression = args[:expression] if args.key?(:expression)
|
10258
|
-
@location = args[:location] if args.key?(:location)
|
10259
|
-
@title = args[:title] if args.key?(:title)
|
10260
|
-
end
|
10261
|
-
end
|
10262
|
-
|
10263
9871
|
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
10264
9872
|
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
10265
9873
|
# When the start equals the end, the interval is empty (matches no time). When
|