google-apis-cloudidentity_v1beta1 0.69.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74bf9456bfea936529a390e6f1c2eca5f4126eee73b8449ddce4f3541df75027
4
- data.tar.gz: 5484bf80b9461fe7fdc243b2fb59bc82f6c24f0b9dab0909a49970c7aed62aa1
3
+ metadata.gz: dabab2ef319664b760fbcfd07201fd941f80d5d8af2a8f15836fb031992b7134
4
+ data.tar.gz: 85a9171592a7a308274249a49b75b131c2cd7cb4d7d31add68fd02b5575e14e8
5
5
  SHA512:
6
- metadata.gz: 87b4c568009c89b4bd2b4763c76a4048d5b94bcefe08a759586d59c7342dfbbf81bcc9a22a48ce7cb3c63dfab585c3d3ad68750399331df0f0df5748c0d5d363
7
- data.tar.gz: eac97ec421391ffe30ca571e70c7839df2dbe87d31795e863341c75bca28719e34ad657a561e31fde36cbdc82bff97c5c9dbc9ca9ce75af1aaab2d39594a8e87
6
+ metadata.gz: 5dd8a88bfcc64db433377e9e23fcc5bcca31e17537c0f901e1c0a1dec45d6a2df333a364b2737c51bbf6c3ab3e4a5dea67283317de39027f45af2c1a4573e52a
7
+ data.tar.gz: 295e4126cc6d31fe2c07444ad7f20649beb390659bfd02d244ffe32ac57a07cba650a05c1e571519dfbb536466bbcc63b702cf1c35c40c41dfb0ec65966073b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudidentity_v1beta1
2
2
 
3
+ ### v0.71.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260826
6
+
7
+ ### v0.70.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260817
10
+
3
11
  ### v0.69.0 (2026-08-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20260803
@@ -64,6 +64,33 @@ module Google
64
64
  end
65
65
  end
66
66
 
67
+ # This resource object defines a domain that has been designated as allowlisted.
68
+ class AllowlistedDomain
69
+ include Google::Apis::Core::Hashable
70
+
71
+ # Required. Immutable. Name of the domain that is in the allowlist. e.g. "google.
72
+ # com"
73
+ # Corresponds to the JSON property `domain`
74
+ # @return [String]
75
+ attr_accessor :domain
76
+
77
+ # Output only. Identifier. Resource name of the domain in the allowlist e.g. "
78
+ # allowlistedDomains/0184mhaj1smlusv"
79
+ # Corresponds to the JSON property `name`
80
+ # @return [String]
81
+ attr_accessor :name
82
+
83
+ def initialize(**args)
84
+ update!(**args)
85
+ end
86
+
87
+ # Update properties of this object
88
+ def update!(**args)
89
+ @domain = args[:domain] if args.key?(:domain)
90
+ @name = args[:name] if args.key?(:name)
91
+ end
92
+ end
93
+
67
94
  # Resource representing the Android specific attributes of a Device.
68
95
  class AndroidAttributes
69
96
  include Google::Apis::Core::Hashable
@@ -3035,6 +3062,33 @@ module Google
3035
3062
  end
3036
3063
  end
3037
3064
 
3065
+ # Response message for AllowlistedDomainsService.ListAllowlistedDomains.
3066
+ class ListAllowlistedDomainsResponse
3067
+ include Google::Apis::Core::Hashable
3068
+
3069
+ # Contains the list of domains in the allowlist. There is no defined ordering of
3070
+ # domains within a result.
3071
+ # Corresponds to the JSON property `allowlistedDomains`
3072
+ # @return [Array<Google::Apis::CloudidentityV1beta1::AllowlistedDomain>]
3073
+ attr_accessor :allowlisted_domains
3074
+
3075
+ # Contains the next page token if the result is not exhaustive. If there are no
3076
+ # more results, this token is empty.
3077
+ # Corresponds to the JSON property `nextPageToken`
3078
+ # @return [String]
3079
+ attr_accessor :next_page_token
3080
+
3081
+ def initialize(**args)
3082
+ update!(**args)
3083
+ end
3084
+
3085
+ # Update properties of this object
3086
+ def update!(**args)
3087
+ @allowlisted_domains = args[:allowlisted_domains] if args.key?(:allowlisted_domains)
3088
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3089
+ end
3090
+ end
3091
+
3038
3092
  # Response message that is returned in LRO result of ListClientStates Operation.
3039
3093
  class ListClientStatesResponse
3040
3094
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudidentityV1beta1
18
18
  # Version of the google-apis-cloudidentity_v1beta1 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260803"
25
+ REVISION = "20260826"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AllowlistedDomain
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class AndroidAttributes
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -478,6 +484,12 @@ module Google
478
484
  include Google::Apis::Core::JsonObjectSupport
479
485
  end
480
486
 
487
+ class ListAllowlistedDomainsResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
481
493
  class ListClientStatesResponse
482
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
495
 
@@ -852,6 +864,14 @@ module Google
852
864
  end
853
865
  end
854
866
 
867
+ class AllowlistedDomain
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :domain, as: 'domain'
871
+ property :name, as: 'name'
872
+ end
873
+ end
874
+
855
875
  class AndroidAttributes
856
876
  # @private
857
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1629,6 +1649,15 @@ module Google
1629
1649
  end
1630
1650
  end
1631
1651
 
1652
+ class ListAllowlistedDomainsResponse
1653
+ # @private
1654
+ class Representation < Google::Apis::Core::JsonRepresentation
1655
+ collection :allowlisted_domains, as: 'allowlistedDomains', class: Google::Apis::CloudidentityV1beta1::AllowlistedDomain, decorator: Google::Apis::CloudidentityV1beta1::AllowlistedDomain::Representation
1656
+
1657
+ property :next_page_token, as: 'nextPageToken'
1658
+ end
1659
+ end
1660
+
1632
1661
  class ListClientStatesResponse
1633
1662
  # @private
1634
1663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,138 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Adds a domain to the allowlist.
55
+ # @param [Google::Apis::CloudidentityV1beta1::AllowlistedDomain] allowlisted_domain_object
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def create_allowlisted_domain(allowlisted_domain_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:post, 'v1beta1/allowlistedDomains', options)
75
+ command.request_representation = Google::Apis::CloudidentityV1beta1::AllowlistedDomain::Representation
76
+ command.request_object = allowlisted_domain_object
77
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
78
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
79
+ command.query['fields'] = fields unless fields.nil?
80
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
81
+ execute_or_queue_command(command, &block)
82
+ end
83
+
84
+ # Removes a domain from the allowlist.
85
+ # @param [String] name
86
+ # Required. Specifies the [resource name](https://google.aip.dev/122) of the
87
+ # domain to delete.
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
90
+ # @param [String] quota_user
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93
+ # @param [Google::Apis::RequestOptions] options
94
+ # Request-specific options
95
+ #
96
+ # @yield [result, err] Result & error if block supplied
97
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
98
+ # @yieldparam err [StandardError] error object if request failed
99
+ #
100
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
101
+ #
102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105
+ def delete_allowlisted_domain(name, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
107
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
108
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
109
+ command.params['name'] = name unless name.nil?
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
115
+ # Retrieves a specific domain from the allowlist.
116
+ # @param [String] name
117
+ # Required. Specifies the [resource name](https://google.aip.dev/122) of the
118
+ # domain to retrieve.
119
+ # @param [String] fields
120
+ # Selector specifying which fields to include in a partial response.
121
+ # @param [String] quota_user
122
+ # Available to use for quota purposes for server-side applications. Can be any
123
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
124
+ # @param [Google::Apis::RequestOptions] options
125
+ # Request-specific options
126
+ #
127
+ # @yield [result, err] Result & error if block supplied
128
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::AllowlistedDomain] parsed result object
129
+ # @yieldparam err [StandardError] error object if request failed
130
+ #
131
+ # @return [Google::Apis::CloudidentityV1beta1::AllowlistedDomain]
132
+ #
133
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
134
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
135
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
136
+ def get_allowlisted_domain(name, fields: nil, quota_user: nil, options: nil, &block)
137
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
138
+ command.response_representation = Google::Apis::CloudidentityV1beta1::AllowlistedDomain::Representation
139
+ command.response_class = Google::Apis::CloudidentityV1beta1::AllowlistedDomain
140
+ command.params['name'] = name unless name.nil?
141
+ command.query['fields'] = fields unless fields.nil?
142
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
143
+ execute_or_queue_command(command, &block)
144
+ end
145
+
146
+ # Lists the domains in the allowlist.
147
+ # @param [String] filter
148
+ # Optional. Provides an optional filter for list results. Currently, only exact
149
+ # matches on the domain are supported, such as "domain = 'google.com'", with no
150
+ # composite conditions.
151
+ # @param [Fixnum] page_size
152
+ # Optional. Specifies the requested page size. If unspecified, the service
153
+ # returns at most 5000 domains. The maximum value is 5000; values above 5000
154
+ # coerce to 5000. The limits can change over time.
155
+ # @param [String] page_token
156
+ # Optional. Identifies a token from a previous page of results, if any.
157
+ # @param [String] fields
158
+ # Selector specifying which fields to include in a partial response.
159
+ # @param [String] quota_user
160
+ # Available to use for quota purposes for server-side applications. Can be any
161
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
162
+ # @param [Google::Apis::RequestOptions] options
163
+ # Request-specific options
164
+ #
165
+ # @yield [result, err] Result & error if block supplied
166
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::ListAllowlistedDomainsResponse] parsed result object
167
+ # @yieldparam err [StandardError] error object if request failed
168
+ #
169
+ # @return [Google::Apis::CloudidentityV1beta1::ListAllowlistedDomainsResponse]
170
+ #
171
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
172
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
173
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
174
+ def list_allowlisted_domains(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
175
+ command = make_simple_command(:get, 'v1beta1/allowlistedDomains', options)
176
+ command.response_representation = Google::Apis::CloudidentityV1beta1::ListAllowlistedDomainsResponse::Representation
177
+ command.response_class = Google::Apis::CloudidentityV1beta1::ListAllowlistedDomainsResponse
178
+ command.query['filter'] = filter unless filter.nil?
179
+ command.query['pageSize'] = page_size unless page_size.nil?
180
+ command.query['pageToken'] = page_token unless page_token.nil?
181
+ command.query['fields'] = fields unless fields.nil?
182
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
183
+ execute_or_queue_command(command, &block)
184
+ end
185
+
54
186
  # Cancels a UserInvitation that was already sent.
55
187
  # @param [String] name
56
188
  # Required. `UserInvitation` name in the format `customers/`customer`/
@@ -1230,18 +1362,25 @@ module Google
1230
1362
  # The `next_page_token` value returned from a previous search request, if any.
1231
1363
  # @param [String] query
1232
1364
  # Required. The search query. * Must be specified in [Common Expression Language]
1233
- # (https://opensource.google/projects/cel). * Must contain equality operators on
1234
- # the parent, e.g. `parent == 'customers/`customer_id`'`. The `customer_id` must
1235
- # begin with "C" (for example, 'C046psxkn'). [Find your customer ID.] (https://
1236
- # support.google.com/cloudidentity/answer/10070793) * Can contain optional
1237
- # inclusion operators on `labels` such as `'cloudidentity.googleapis.com/groups.
1238
- # discussion_forum' in labels`). * Can contain an optional equality operator on `
1239
- # domain_name`. e.g. `domain_name == 'examplepetstore.com'` * Can contain
1240
- # optional `startsWith/contains/equality` operators on `group_key`, e.g. `
1241
- # group_key.startsWith('dev')`, `group_key.contains('dev'), group_key == 'dev@
1242
- # examplepetstore.com'` * Can contain optional `startsWith/contains/equality`
1243
- # operators on `display_name`, such as `display_name.startsWith('dev')` , `
1244
- # display_name.contains('dev')`, `display_name == 'dev'`
1365
+ # (https://opensource.google/projects/cel). See [CEL Introduction](https://
1366
+ # github.com/google/cel-spec/blob/master/doc/intro.md) for CEL syntax usage and
1367
+ # examples. * Must contain equality operators on the parent, e.g. `parent == '
1368
+ # customers/`customer_id`'`. The `customer_id` must begin with "C" (for example,
1369
+ # 'C046psxkn'). [Find your customer ID.] (https://support.google.com/
1370
+ # cloudidentity/answer/10070793) * Can contain optional inclusion operators on `
1371
+ # labels` such as `'cloudidentity.googleapis.com/groups.discussion_forum' in
1372
+ # labels`). * Can contain an optional equality operator on `domain_name`. e.g. `
1373
+ # domain_name == 'examplepetstore.com'` * Can contain optional `startsWith/
1374
+ # contains/equality` operators on `group_key`, e.g. `group_key.startsWith('dev')`
1375
+ # , `group_key.contains('dev'), group_key == 'dev@examplepetstore.com'` * Can
1376
+ # contain optional `startsWith/contains/equality` operators on `display_name`,
1377
+ # such as `display_name.startsWith('dev')` , `display_name.contains('dev')`, `
1378
+ # display_name == 'dev'` Examples: * Search for all discussion forums under a
1379
+ # customer: `parent == 'customers/C046psxkn' && 'cloudidentity.googleapis.com/
1380
+ # groups.discussion_forum' in labels` * Search for groups with key starting with
1381
+ # 'sales': `parent == 'customers/C046psxkn' && group_key.startsWith('sales')` *
1382
+ # Search for groups with display name containing 'test': `parent == 'customers/
1383
+ # C046psxkn' && display_name.contains('test')`
1245
1384
  # @param [String] view
1246
1385
  # The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
1247
1386
  # @param [String] fields
@@ -29,6 +29,12 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
+ # See and edit allowlisted domains in your Cloud Identity Organization
33
+ AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains'
34
+
35
+ # See allowlisted domains in your Cloud Identity Organization
36
+ AUTH_CLOUD_IDENTITY_ALLOWLISTEDDOMAINS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.allowlisteddomains.readonly'
37
+
32
38
  # Private Service: https://www.googleapis.com/auth/cloud-identity.devices
33
39
  AUTH_CLOUD_IDENTITY_DEVICES = 'https://www.googleapis.com/auth/cloud-identity.devices'
34
40
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.69.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.71.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: