google-apis-cloudidentity_v1beta1 0.3.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c66deb8da2bf38453e05e46aedd903746cbfb87faf9b59b0b83766d1a7b21c7b
4
- data.tar.gz: 6c829df9935dd4b91c08a33133e0891eaaf20e6c26ad968f0ceea0973f58a717
3
+ metadata.gz: 3d3e625471dce12798c41eedc88ce295f7f019a9e798e2b25ef08966e4dbd60b
4
+ data.tar.gz: 563a4d2f8deb76cb2a216921ea49f06e3fb4ed8bcd2b679c6b3208fd3ffe18ed
5
5
  SHA512:
6
- metadata.gz: f3a030f7a4abae6fe77b1486859ec3fda66efbe6784df7064904d1b4906484a2534ff798db7e937d5b5f7bf1f4c8d4edef29751368f9793658c22916c8f2a4ed
7
- data.tar.gz: a9936f107d63eab00a0812ef7c8c1eb888a0742a8a9a795131ce28cf9e1f06378aac988ee8449da8181a7c463bd19f8c1e46df47324132767b692c7388c4d912
6
+ metadata.gz: c4607d4782b414c9461ac6bbe89f2e706d115e3160f7aea9f3748e3f4f3be5ed04d5f413757c9c136f239f2703f20a2cb64d42e4e96f5906d0446bb1f2a9ce23
7
+ data.tar.gz: 769da31e43d10924dced6a9edd22260e9a67f4fdb4611e08d1bbcf965cd8948edf7dce7160374a0680101eebb4e530e386a72f15dfc12f3d487d18b26ceba88e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-cloudidentity_v1beta1
2
2
 
3
+ ### v0.8.0 (2021-06-18)
4
+
5
+ * Regenerated from discovery document revision 20210614
6
+ * Regenerated using generator version 0.3.0
7
+
8
+ ### v0.7.0 (2021-05-19)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.6.0 (2021-05-08)
13
+
14
+ * Regenerated from discovery document revision 20210428
15
+
16
+ ### v0.5.0 (2021-03-12)
17
+
18
+ * Regenerated from discovery document revision 20210310
19
+ * Regenerated using generator version 0.2.0
20
+
21
+ ### v0.4.0 (2021-03-04)
22
+
23
+ * Unspecified changes
24
+
3
25
  ### v0.3.0 (2021-02-10)
4
26
 
5
27
  * Regenerated from discovery document revision 20210204
@@ -38,7 +38,7 @@ module Google
38
38
  # See any Cloud Identity Groups that you can access, including group members and their emails
39
39
  AUTH_CLOUD_IDENTITY_GROUPS_READONLY = 'https://www.googleapis.com/auth/cloud-identity.groups.readonly'
40
40
 
41
- # View and manage your data across Google Cloud Platform services
41
+ # See, edit, configure, and delete your Google Cloud Platform data
42
42
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
43
43
  end
44
44
  end
@@ -70,22 +70,12 @@ module Google
70
70
  class ApproveDeviceUserRequest
71
71
  include Google::Apis::Core::Hashable
72
72
 
73
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
74
- # of the customer. If you're using this API for your own organization, use `
75
- # customers/my_customer` If you're using this API to manage another organization,
76
- # use `customers/`customer_id``, where customer_id is the customer to whom the
77
- # device belongs.
78
- # Corresponds to the JSON property `customer`
79
- # @return [String]
80
- attr_accessor :customer
81
-
82
73
  def initialize(**args)
83
74
  update!(**args)
84
75
  end
85
76
 
86
77
  # Update properties of this object
87
78
  def update!(**args)
88
- @customer = args[:customer] if args.key?(:customer)
89
79
  end
90
80
  end
91
81
 
@@ -113,22 +103,12 @@ module Google
113
103
  class BlockDeviceUserRequest
114
104
  include Google::Apis::Core::Hashable
115
105
 
116
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
117
- # of the customer. If you're using this API for your own organization, use `
118
- # customers/my_customer` If you're using this API to manage another organization,
119
- # use `customers/`customer_id``, where customer_id is the customer to whom the
120
- # device belongs.
121
- # Corresponds to the JSON property `customer`
122
- # @return [String]
123
- attr_accessor :customer
124
-
125
106
  def initialize(**args)
126
107
  update!(**args)
127
108
  end
128
109
 
129
110
  # Update properties of this object
130
111
  def update!(**args)
131
- @customer = args[:customer] if args.key?(:customer)
132
112
  end
133
113
  end
134
114
 
@@ -152,26 +132,29 @@ module Google
152
132
  end
153
133
  end
154
134
 
135
+ # Request to cancel sent invitation for target email in UserInvitation.
136
+ class CancelUserInvitationRequest
137
+ include Google::Apis::Core::Hashable
138
+
139
+ def initialize(**args)
140
+ update!(**args)
141
+ end
142
+
143
+ # Update properties of this object
144
+ def update!(**args)
145
+ end
146
+ end
147
+
155
148
  # Request message for cancelling an unfinished device wipe.
156
149
  class CancelWipeDeviceRequest
157
150
  include Google::Apis::Core::Hashable
158
151
 
159
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
160
- # of the customer. If you're using this API for your own organization, use `
161
- # customers/my_customer` If you're using this API to manage another organization,
162
- # use `customers/`customer_id``, where customer_id is the customer to whom the
163
- # device belongs.
164
- # Corresponds to the JSON property `customer`
165
- # @return [String]
166
- attr_accessor :customer
167
-
168
152
  def initialize(**args)
169
153
  update!(**args)
170
154
  end
171
155
 
172
156
  # Update properties of this object
173
157
  def update!(**args)
174
- @customer = args[:customer] if args.key?(:customer)
175
158
  end
176
159
  end
177
160
 
@@ -200,22 +183,12 @@ module Google
200
183
  class CancelWipeDeviceUserRequest
201
184
  include Google::Apis::Core::Hashable
202
185
 
203
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
204
- # of the customer. If you're using this API for your own organization, use `
205
- # customers/my_customer` If you're using this API to manage another organization,
206
- # use `customers/`customer_id``, where customer_id is the customer to whom the
207
- # device belongs.
208
- # Corresponds to the JSON property `customer`
209
- # @return [String]
210
- attr_accessor :customer
211
-
212
186
  def initialize(**args)
213
187
  update!(**args)
214
188
  end
215
189
 
216
190
  # Update properties of this object
217
191
  def update!(**args)
218
- @customer = args[:customer] if args.key?(:customer)
219
192
  end
220
193
  end
221
194
 
@@ -359,15 +332,6 @@ module Google
359
332
  class CreateDeviceRequest
360
333
  include Google::Apis::Core::Hashable
361
334
 
362
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
363
- # of the customer. If you're using this API for your own organization, use `
364
- # customers/my_customer` If you're using this API to manage another organization,
365
- # use `customers/`customer_id``, where customer_id is the customer to whom the
366
- # device belongs.
367
- # Corresponds to the JSON property `customer`
368
- # @return [String]
369
- attr_accessor :customer
370
-
371
335
  # A Device within the Cloud Identity Devices API. Represents a Device known to
372
336
  # Google Cloud, independent of the device ownership, type, and whether it is
373
337
  # assigned or in use by a user.
@@ -381,7 +345,6 @@ module Google
381
345
 
382
346
  # Update properties of this object
383
347
  def update!(**args)
384
- @customer = args[:customer] if args.key?(:customer)
385
348
  @device = args[:device] if args.key?(:device)
386
349
  end
387
350
  end
@@ -647,8 +610,8 @@ module Google
647
610
 
648
611
  # Output only. [Resource name](https://cloud.google.com/apis/design/
649
612
  # resource_names) of the DeviceUser in format: `devices/`device_id`/deviceUsers/`
650
- # user_id``, where user_id is the ID of the user associated with the user
651
- # session.
613
+ # device_user_id``, where `device_user_id` uniquely identifies a user's use of a
614
+ # device.
652
615
  # Corresponds to the JSON property `name`
653
616
  # @return [String]
654
617
  attr_accessor :name
@@ -789,7 +752,7 @@ module Google
789
752
  # represents a Google-managed entity such as a Google user or a Google Group. If
790
753
  # specified, the `EntityKey` represents an external-identity-mapped group. The
791
754
  # namespace must correspond to an identity source created in Admin Console and
792
- # must be in the form of `identitysources/`identity_source_id`.
755
+ # must be in the form of `identitysources/`identity_source_id``.
793
756
  # Corresponds to the JSON property `namespace`
794
757
  # @return [String]
795
758
  attr_accessor :namespace
@@ -1343,8 +1306,8 @@ module Google
1343
1306
 
1344
1307
  # Output only. [Resource name](https://cloud.google.com/apis/design/
1345
1308
  # resource_names) of the DeviceUser in format: `devices/`device_id`/deviceUsers/`
1346
- # user_id``, where user_id is the ID of the user associated with the user
1347
- # session.
1309
+ # device_user_id``, where `device_user_id` uniquely identifies a user's use of a
1310
+ # device.
1348
1311
  # Corresponds to the JSON property `name`
1349
1312
  # @return [String]
1350
1313
  attr_accessor :name
@@ -1473,8 +1436,7 @@ module Google
1473
1436
  # the security label cannot be removed once added.** Dynamic groups have a label
1474
1437
  # with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped
1475
1438
  # groups for Cloud Search have a label with a key of `system/groups/external`
1476
- # and an empty value. Examples: `"cloudidentity.googleapis.com/groups.
1477
- # discussion_forum": ""` or `"system/groups/external": ""`.
1439
+ # and an empty value.
1478
1440
  # Corresponds to the JSON property `labels`
1479
1441
  # @return [Hash<String,String>]
1480
1442
  attr_accessor :labels
@@ -1488,7 +1450,8 @@ module Google
1488
1450
  # Required. Immutable. The resource name of the entity under which this `Group`
1489
1451
  # resides in the Cloud Identity resource hierarchy. Must be of the form `
1490
1452
  # identitysources/`identity_source_id`` for external- identity-mapped groups or `
1491
- # customers/`customer_id`` for Google Groups.
1453
+ # customers/`customer_id`` for Google Groups. The `customer_id` must begin with "
1454
+ # C" (for example, 'C046psxkn').
1492
1455
  # Corresponds to the JSON property `parent`
1493
1456
  # @return [String]
1494
1457
  attr_accessor :parent
@@ -1569,6 +1532,26 @@ module Google
1569
1532
  end
1570
1533
  end
1571
1534
 
1535
+ # Response for IsInvitableUser RPC.
1536
+ class IsInvitableUserResponse
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # Returns true if the email address is invitable.
1540
+ # Corresponds to the JSON property `isInvitableUser`
1541
+ # @return [Boolean]
1542
+ attr_accessor :is_invitable_user
1543
+ alias_method :is_invitable_user?, :is_invitable_user
1544
+
1545
+ def initialize(**args)
1546
+ update!(**args)
1547
+ end
1548
+
1549
+ # Update properties of this object
1550
+ def update!(**args)
1551
+ @is_invitable_user = args[:is_invitable_user] if args.key?(:is_invitable_user)
1552
+ end
1553
+ end
1554
+
1572
1555
  # Response message that is returned in LRO result of ListClientStates Operation.
1573
1556
  class ListClientStatesResponse
1574
1557
  include Google::Apis::Core::Hashable
@@ -1648,7 +1631,7 @@ module Google
1648
1631
  class ListGroupsResponse
1649
1632
  include Google::Apis::Core::Hashable
1650
1633
 
1651
- # The `Group`s under the specified `parent`.
1634
+ # The `Group` resources under the specified `parent`.
1652
1635
  # Corresponds to the JSON property `groups`
1653
1636
  # @return [Array<Google::Apis::CloudidentityV1beta1::Group>]
1654
1637
  attr_accessor :groups
@@ -1696,6 +1679,34 @@ module Google
1696
1679
  end
1697
1680
  end
1698
1681
 
1682
+ # Response message for UserInvitation listing request.
1683
+ class ListUserInvitationsResponse
1684
+ include Google::Apis::Core::Hashable
1685
+
1686
+ # The token for the next page. If not empty, indicates that there may be more `
1687
+ # UserInvitation` resources that match the listing request; this value can be
1688
+ # used in a subsequent ListUserInvitationsRequest to get continued results with
1689
+ # the current list call.
1690
+ # Corresponds to the JSON property `nextPageToken`
1691
+ # @return [String]
1692
+ attr_accessor :next_page_token
1693
+
1694
+ # The list of UserInvitation resources.
1695
+ # Corresponds to the JSON property `userInvitations`
1696
+ # @return [Array<Google::Apis::CloudidentityV1beta1::UserInvitation>]
1697
+ attr_accessor :user_invitations
1698
+
1699
+ def initialize(**args)
1700
+ update!(**args)
1701
+ end
1702
+
1703
+ # Update properties of this object
1704
+ def update!(**args)
1705
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1706
+ @user_invitations = args[:user_invitations] if args.key?(:user_invitations)
1707
+ end
1708
+ end
1709
+
1699
1710
  # The response message for GroupsService.LookupGroupName.
1700
1711
  class LookupGroupNameResponse
1701
1712
  include Google::Apis::Core::Hashable
@@ -1777,7 +1788,7 @@ module Google
1777
1788
  class MemberRelation
1778
1789
  include Google::Apis::Core::Hashable
1779
1790
 
1780
- # Resource name for this member if member is a GROUP, otherwise it is empty.
1791
+ # Resource name for this member.
1781
1792
  # Corresponds to the JSON property `member`
1782
1793
  # @return [String]
1783
1794
  attr_accessor :member
@@ -2058,7 +2069,7 @@ module Google
2058
2069
  class SearchGroupsResponse
2059
2070
  include Google::Apis::Core::Hashable
2060
2071
 
2061
- # The `Group`s that match the search query.
2072
+ # The `Group` resources that match the search query.
2062
2073
  # Corresponds to the JSON property `groups`
2063
2074
  # @return [Array<Google::Apis::CloudidentityV1beta1::Group>]
2064
2075
  attr_accessor :groups
@@ -2132,6 +2143,20 @@ module Google
2132
2143
  end
2133
2144
  end
2134
2145
 
2146
+ # A request to send email for inviting target user corresponding to the
2147
+ # UserInvitation.
2148
+ class SendUserInvitationRequest
2149
+ include Google::Apis::Core::Hashable
2150
+
2151
+ def initialize(**args)
2152
+ update!(**args)
2153
+ end
2154
+
2155
+ # Update properties of this object
2156
+ def update!(**args)
2157
+ end
2158
+ end
2159
+
2135
2160
  # The `Status` type defines a logical error model that is suitable for different
2136
2161
  # programming environments, including REST APIs and RPC APIs. It is used by [
2137
2162
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2196,7 +2221,7 @@ module Google
2196
2221
  include Google::Apis::Core::Hashable
2197
2222
 
2198
2223
  # The fully-qualified names of fields to update. May only contain the field `
2199
- # expiry_detail`.
2224
+ # expiry_detail.expire_time`.
2200
2225
  # Corresponds to the JSON property `fieldMask`
2201
2226
  # @return [String]
2202
2227
  attr_accessor :field_mask
@@ -2218,11 +2243,12 @@ module Google
2218
2243
  end
2219
2244
  end
2220
2245
 
2221
- # The `UserInvitation` resource represents an email sent to an unmanaged user
2222
- # account (an email address that shares the domain of the Google Workspace
2223
- # customer but is not managed by it yet), inviting them to join the customer’s
2224
- # domain. If the user accepts the `UserInvitation`, the account will become a
2225
- # managed account.
2246
+ # The `UserInvitation` resource represents an email that can be sent to an
2247
+ # unmanaged user account inviting them to join the customer’s Google Workspace
2248
+ # or Cloud Identity account. An unmanaged account shares an email address domain
2249
+ # with the Google Workspace or Cloud Identity account but is not managed by it
2250
+ # yet. If the user accepts the `UserInvitation`, the user account will become
2251
+ # managed.
2226
2252
  class UserInvitation
2227
2253
  include Google::Apis::Core::Hashable
2228
2254
 
@@ -2264,14 +2290,15 @@ module Google
2264
2290
  class WipeDeviceRequest
2265
2291
  include Google::Apis::Core::Hashable
2266
2292
 
2267
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
2268
- # of the customer. If you're using this API for your own organization, use `
2269
- # customers/my_customer` If you're using this API to manage another organization,
2270
- # use `customers/`customer_id``, where customer_id is the customer to whom the
2271
- # device belongs.
2272
- # Corresponds to the JSON property `customer`
2273
- # @return [String]
2274
- attr_accessor :customer
2293
+ # Optional. Specifies if a user is able to factory reset a device after a Device
2294
+ # Wipe. On iOS, this is called "Activation Lock", while on Android, this is
2295
+ # known as "Factory Reset Protection". If true, this protection will be removed
2296
+ # from the device, so that a user can successfully factory reset. If false, the
2297
+ # setting is untouched on the device.
2298
+ # Corresponds to the JSON property `removeResetLock`
2299
+ # @return [Boolean]
2300
+ attr_accessor :remove_reset_lock
2301
+ alias_method :remove_reset_lock?, :remove_reset_lock
2275
2302
 
2276
2303
  def initialize(**args)
2277
2304
  update!(**args)
@@ -2279,7 +2306,7 @@ module Google
2279
2306
 
2280
2307
  # Update properties of this object
2281
2308
  def update!(**args)
2282
- @customer = args[:customer] if args.key?(:customer)
2309
+ @remove_reset_lock = args[:remove_reset_lock] if args.key?(:remove_reset_lock)
2283
2310
  end
2284
2311
  end
2285
2312
 
@@ -2308,22 +2335,12 @@ module Google
2308
2335
  class WipeDeviceUserRequest
2309
2336
  include Google::Apis::Core::Hashable
2310
2337
 
2311
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
2312
- # of the customer. If you're using this API for your own organization, use `
2313
- # customers/my_customer` If you're using this API to manage another organization,
2314
- # use `customers/`customer_id``, where customer_id is the customer to whom the
2315
- # device belongs.
2316
- # Corresponds to the JSON property `customer`
2317
- # @return [String]
2318
- attr_accessor :customer
2319
-
2320
2338
  def initialize(**args)
2321
2339
  update!(**args)
2322
2340
  end
2323
2341
 
2324
2342
  # Update properties of this object
2325
2343
  def update!(**args)
2326
- @customer = args[:customer] if args.key?(:customer)
2327
2344
  end
2328
2345
  end
2329
2346
 
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210204"
25
+ REVISION = "20210614"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CancelUserInvitationRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class CancelWipeDeviceRequest
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class IsInvitableUserResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class ListClientStatesResponse
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -256,6 +268,12 @@ module Google
256
268
  include Google::Apis::Core::JsonObjectSupport
257
269
  end
258
270
 
271
+ class ListUserInvitationsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
259
277
  class LookupGroupNameResponse
260
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
279
 
@@ -334,6 +352,12 @@ module Google
334
352
  include Google::Apis::Core::JsonObjectSupport
335
353
  end
336
354
 
355
+ class SendUserInvitationRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
337
361
  class Status
338
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
363
 
@@ -395,7 +419,6 @@ module Google
395
419
  class ApproveDeviceUserRequest
396
420
  # @private
397
421
  class Representation < Google::Apis::Core::JsonRepresentation
398
- property :customer, as: 'customer'
399
422
  end
400
423
  end
401
424
 
@@ -410,7 +433,6 @@ module Google
410
433
  class BlockDeviceUserRequest
411
434
  # @private
412
435
  class Representation < Google::Apis::Core::JsonRepresentation
413
- property :customer, as: 'customer'
414
436
  end
415
437
  end
416
438
 
@@ -422,10 +444,15 @@ module Google
422
444
  end
423
445
  end
424
446
 
447
+ class CancelUserInvitationRequest
448
+ # @private
449
+ class Representation < Google::Apis::Core::JsonRepresentation
450
+ end
451
+ end
452
+
425
453
  class CancelWipeDeviceRequest
426
454
  # @private
427
455
  class Representation < Google::Apis::Core::JsonRepresentation
428
- property :customer, as: 'customer'
429
456
  end
430
457
  end
431
458
 
@@ -440,7 +467,6 @@ module Google
440
467
  class CancelWipeDeviceUserRequest
441
468
  # @private
442
469
  class Representation < Google::Apis::Core::JsonRepresentation
443
- property :customer, as: 'customer'
444
470
  end
445
471
  end
446
472
 
@@ -481,7 +507,6 @@ module Google
481
507
  class CreateDeviceRequest
482
508
  # @private
483
509
  class Representation < Google::Apis::Core::JsonRepresentation
484
- property :customer, as: 'customer'
485
510
  property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
486
511
 
487
512
  end
@@ -768,6 +793,13 @@ module Google
768
793
  end
769
794
  end
770
795
 
796
+ class IsInvitableUserResponse
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :is_invitable_user, as: 'isInvitableUser'
800
+ end
801
+ end
802
+
771
803
  class ListClientStatesResponse
772
804
  # @private
773
805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -813,6 +845,15 @@ module Google
813
845
  end
814
846
  end
815
847
 
848
+ class ListUserInvitationsResponse
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :next_page_token, as: 'nextPageToken'
852
+ collection :user_invitations, as: 'userInvitations', class: Google::Apis::CloudidentityV1beta1::UserInvitation, decorator: Google::Apis::CloudidentityV1beta1::UserInvitation::Representation
853
+
854
+ end
855
+ end
856
+
816
857
  class LookupGroupNameResponse
817
858
  # @private
818
859
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -940,6 +981,12 @@ module Google
940
981
  end
941
982
  end
942
983
 
984
+ class SendUserInvitationRequest
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ end
988
+ end
989
+
943
990
  class Status
944
991
  # @private
945
992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -978,7 +1025,7 @@ module Google
978
1025
  class WipeDeviceRequest
979
1026
  # @private
980
1027
  class Representation < Google::Apis::Core::JsonRepresentation
981
- property :customer, as: 'customer'
1028
+ property :remove_reset_lock, as: 'removeResetLock'
982
1029
  end
983
1030
  end
984
1031
 
@@ -993,7 +1040,6 @@ module Google
993
1040
  class WipeDeviceUserRequest
994
1041
  # @private
995
1042
  class Representation < Google::Apis::Core::JsonRepresentation
996
- property :customer, as: 'customer'
997
1043
  end
998
1044
  end
999
1045
 
@@ -49,6 +49,204 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Cancels a UserInvitation that was already sent.
53
+ # @param [String] name
54
+ # Required. `UserInvitation` name in the format `customers/`customer`/
55
+ # userinvitations/`user_email_address``
56
+ # @param [Google::Apis::CloudidentityV1beta1::CancelUserInvitationRequest] cancel_user_invitation_request_object
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def cancel_userinvitation_user_invitation(name, cancel_user_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
76
+ command.request_representation = Google::Apis::CloudidentityV1beta1::CancelUserInvitationRequest::Representation
77
+ command.request_object = cancel_user_invitation_request_object
78
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
79
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
80
+ command.params['name'] = name unless name.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
86
+ # Retrieves a UserInvitation resource. **Note:** New consumer accounts with the
87
+ # customer's verified domain created within the previous 48 hours will not
88
+ # appear in the result. This delay also applies to newly-verified domains.
89
+ # @param [String] name
90
+ # Required. `UserInvitation` name in the format `customers/`customer`/
91
+ # userinvitations/`user_email_address``
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::UserInvitation] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::CloudidentityV1beta1::UserInvitation]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def get_customer_userinvitation(name, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
111
+ command.response_representation = Google::Apis::CloudidentityV1beta1::UserInvitation::Representation
112
+ command.response_class = Google::Apis::CloudidentityV1beta1::UserInvitation
113
+ command.params['name'] = name unless name.nil?
114
+ command.query['fields'] = fields unless fields.nil?
115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
116
+ execute_or_queue_command(command, &block)
117
+ end
118
+
119
+ # Verifies whether a user account is eligible to receive a UserInvitation (is an
120
+ # unmanaged account). Eligibility is based on the following criteria: * the
121
+ # email address is a consumer account and it's the primary email address of the
122
+ # account, and * the domain of the email address matches an existing verified
123
+ # Google Workspace or Cloud Identity domain If both conditions are met, the user
124
+ # is eligible. **Note:** This method is not supported for Workspace Essentials
125
+ # customers.
126
+ # @param [String] name
127
+ # Required. `UserInvitation` name in the format `customers/`customer`/
128
+ # userinvitations/`user_email_address``
129
+ # @param [String] fields
130
+ # Selector specifying which fields to include in a partial response.
131
+ # @param [String] quota_user
132
+ # Available to use for quota purposes for server-side applications. Can be any
133
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [Google::Apis::RequestOptions] options
135
+ # Request-specific options
136
+ #
137
+ # @yield [result, err] Result & error if block supplied
138
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::IsInvitableUserResponse] parsed result object
139
+ # @yieldparam err [StandardError] error object if request failed
140
+ #
141
+ # @return [Google::Apis::CloudidentityV1beta1::IsInvitableUserResponse]
142
+ #
143
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
146
+ def is_customer_userinvitation_invitable_user(name, fields: nil, quota_user: nil, options: nil, &block)
147
+ command = make_simple_command(:get, 'v1beta1/{+name}:isInvitableUser', options)
148
+ command.response_representation = Google::Apis::CloudidentityV1beta1::IsInvitableUserResponse::Representation
149
+ command.response_class = Google::Apis::CloudidentityV1beta1::IsInvitableUserResponse
150
+ command.params['name'] = name unless name.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
156
+ # Retrieves a list of UserInvitation resources. **Note:** New consumer accounts
157
+ # with the customer's verified domain created within the previous 48 hours will
158
+ # not appear in the result. This delay also applies to newly-verified domains.
159
+ # @param [String] parent
160
+ # Required. The customer ID of the Google Workspace or Cloud Identity account
161
+ # the UserInvitation resources are associated with.
162
+ # @param [String] filter
163
+ # Optional. A query string for filtering `UserInvitation` results by their
164
+ # current state, in the format: `"state=='invited'"`.
165
+ # @param [String] order_by
166
+ # Optional. The sort order of the list results. You can sort the results in
167
+ # descending order based on either email or last update timestamp but not both,
168
+ # using `order_by="email desc"`. Currently, sorting is supported for `
169
+ # update_time asc`, `update_time desc`, `email asc`, and `email desc`. If not
170
+ # specified, results will be returned based on `email asc` order.
171
+ # @param [Fixnum] page_size
172
+ # Optional. The maximum number of UserInvitation resources to return. If
173
+ # unspecified, at most 100 resources will be returned. The maximum value is 200;
174
+ # values above 200 will be set to 200.
175
+ # @param [String] page_token
176
+ # Optional. A page token, received from a previous `ListUserInvitations` call.
177
+ # Provide this to retrieve the subsequent page. When paginating, all other
178
+ # parameters provided to `ListBooks` must match the call that provided the page
179
+ # token.
180
+ # @param [String] fields
181
+ # Selector specifying which fields to include in a partial response.
182
+ # @param [String] quota_user
183
+ # Available to use for quota purposes for server-side applications. Can be any
184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
185
+ # @param [Google::Apis::RequestOptions] options
186
+ # Request-specific options
187
+ #
188
+ # @yield [result, err] Result & error if block supplied
189
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::ListUserInvitationsResponse] parsed result object
190
+ # @yieldparam err [StandardError] error object if request failed
191
+ #
192
+ # @return [Google::Apis::CloudidentityV1beta1::ListUserInvitationsResponse]
193
+ #
194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
197
+ def list_customer_userinvitations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
198
+ command = make_simple_command(:get, 'v1beta1/{+parent}/userinvitations', options)
199
+ command.response_representation = Google::Apis::CloudidentityV1beta1::ListUserInvitationsResponse::Representation
200
+ command.response_class = Google::Apis::CloudidentityV1beta1::ListUserInvitationsResponse
201
+ command.params['parent'] = parent unless parent.nil?
202
+ command.query['filter'] = filter unless filter.nil?
203
+ command.query['orderBy'] = order_by unless order_by.nil?
204
+ command.query['pageSize'] = page_size unless page_size.nil?
205
+ command.query['pageToken'] = page_token unless page_token.nil?
206
+ command.query['fields'] = fields unless fields.nil?
207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
208
+ execute_or_queue_command(command, &block)
209
+ end
210
+
211
+ # Sends a UserInvitation to email. If the `UserInvitation` does not exist for
212
+ # this request and it is a valid request, the request creates a `UserInvitation`.
213
+ # **Note:** The `get` and `list` methods have a 48-hour delay where newly-
214
+ # created consumer accounts will not appear in the results. You can still send a
215
+ # `UserInvitation` to those accounts if you know the unmanaged email address and
216
+ # IsInvitableUser==True.
217
+ # @param [String] name
218
+ # Required. `UserInvitation` name in the format `customers/`customer`/
219
+ # userinvitations/`user_email_address``
220
+ # @param [Google::Apis::CloudidentityV1beta1::SendUserInvitationRequest] send_user_invitation_request_object
221
+ # @param [String] fields
222
+ # Selector specifying which fields to include in a partial response.
223
+ # @param [String] quota_user
224
+ # Available to use for quota purposes for server-side applications. Can be any
225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
226
+ # @param [Google::Apis::RequestOptions] options
227
+ # Request-specific options
228
+ #
229
+ # @yield [result, err] Result & error if block supplied
230
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
231
+ # @yieldparam err [StandardError] error object if request failed
232
+ #
233
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
234
+ #
235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
238
+ def send_userinvitation_user_invitation(name, send_user_invitation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ command = make_simple_command(:post, 'v1beta1/{+name}:send', options)
240
+ command.request_representation = Google::Apis::CloudidentityV1beta1::SendUserInvitationRequest::Representation
241
+ command.request_object = send_user_invitation_request_object
242
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
243
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
244
+ command.params['name'] = name unless name.nil?
245
+ command.query['fields'] = fields unless fields.nil?
246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
247
+ execute_or_queue_command(command, &block)
248
+ end
249
+
52
250
  # Cancels an unfinished device wipe. This operation can be used to cancel device
53
251
  # wipe in the gap between the wipe operation returning success and the device
54
252
  # being wiped.
@@ -124,12 +322,6 @@ module Google
124
322
  # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
125
323
  # of the Device in format: `devices/`device_id``, where device_id is the unique
126
324
  # ID assigned to the Device.
127
- # @param [String] customer
128
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
129
- # of the customer. If you're using this API for your own organization, use `
130
- # customers/my_customer` If you're using this API to manage another organization,
131
- # use `customers/`customer_id``, where customer_id is the customer to whom the
132
- # device belongs.
133
325
  # @param [String] fields
134
326
  # Selector specifying which fields to include in a partial response.
135
327
  # @param [String] quota_user
@@ -147,12 +339,11 @@ module Google
147
339
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
340
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
341
  # @raise [Google::Apis::AuthorizationError] Authorization is required
150
- def delete_device(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
342
+ def delete_device(name, fields: nil, quota_user: nil, options: nil, &block)
151
343
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
152
344
  command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
153
345
  command.response_class = Google::Apis::CloudidentityV1beta1::Operation
154
346
  command.params['name'] = name unless name.nil?
155
- command.query['customer'] = customer unless customer.nil?
156
347
  command.query['fields'] = fields unless fields.nil?
157
348
  command.query['quotaUser'] = quota_user unless quota_user.nil?
158
349
  execute_or_queue_command(command, &block)
@@ -163,10 +354,6 @@ module Google
163
354
  # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
164
355
  # of the Device in format: `devices/`device_id``, where device_id is the unique
165
356
  # ID assigned to the Device.
166
- # @param [String] customer
167
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
168
- # of the Customer in format: `customers/`customer_id``, where customer_id is the
169
- # customer to whom the device belongs.
170
357
  # @param [String] fields
171
358
  # Selector specifying which fields to include in a partial response.
172
359
  # @param [String] quota_user
@@ -184,21 +371,17 @@ module Google
184
371
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
372
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
373
  # @raise [Google::Apis::AuthorizationError] Authorization is required
187
- def get_device(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
374
+ def get_device(name, fields: nil, quota_user: nil, options: nil, &block)
188
375
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
189
376
  command.response_representation = Google::Apis::CloudidentityV1beta1::Device::Representation
190
377
  command.response_class = Google::Apis::CloudidentityV1beta1::Device
191
378
  command.params['name'] = name unless name.nil?
192
- command.query['customer'] = customer unless customer.nil?
193
379
  command.query['fields'] = fields unless fields.nil?
194
380
  command.query['quotaUser'] = quota_user unless quota_user.nil?
195
381
  execute_or_queue_command(command, &block)
196
382
  end
197
383
 
198
384
  # Lists/Searches devices.
199
- # @param [String] customer
200
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
201
- # of the customer.
202
385
  # @param [String] filter
203
386
  # Optional. Additional restrictions when fetching list of devices. For a list of
204
387
  # search fields, refer to [Mobile device search fields](https://developers.
@@ -237,11 +420,10 @@ module Google
237
420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
238
421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
239
422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
240
- def list_devices(customer: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
423
+ def list_devices(filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
241
424
  command = make_simple_command(:get, 'v1beta1/devices', options)
242
425
  command.response_representation = Google::Apis::CloudidentityV1beta1::ListDevicesResponse::Representation
243
426
  command.response_class = Google::Apis::CloudidentityV1beta1::ListDevicesResponse
244
- command.query['customer'] = customer unless customer.nil?
245
427
  command.query['filter'] = filter unless filter.nil?
246
428
  command.query['orderBy'] = order_by unless order_by.nil?
247
429
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -405,12 +587,6 @@ module Google
405
587
  # of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
406
588
  # where device_id is the unique ID assigned to the Device, and device_user_id is
407
589
  # the unique ID assigned to the User.
408
- # @param [String] customer
409
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
410
- # of the customer. If you're using this API for your own organization, use `
411
- # customers/my_customer` If you're using this API to manage another organization,
412
- # use `customers/`customer_id``, where customer_id is the customer to whom the
413
- # device belongs.
414
590
  # @param [String] fields
415
591
  # Selector specifying which fields to include in a partial response.
416
592
  # @param [String] quota_user
@@ -428,12 +604,11 @@ module Google
428
604
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
429
605
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
430
606
  # @raise [Google::Apis::AuthorizationError] Authorization is required
431
- def delete_device_device_user(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
607
+ def delete_device_device_user(name, fields: nil, quota_user: nil, options: nil, &block)
432
608
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
433
609
  command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
434
610
  command.response_class = Google::Apis::CloudidentityV1beta1::Operation
435
611
  command.params['name'] = name unless name.nil?
436
- command.query['customer'] = customer unless customer.nil?
437
612
  command.query['fields'] = fields unless fields.nil?
438
613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
439
614
  execute_or_queue_command(command, &block)
@@ -445,12 +620,6 @@ module Google
445
620
  # of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
446
621
  # where device_id is the unique ID assigned to the Device, and device_user_id is
447
622
  # the unique ID assigned to the User.
448
- # @param [String] customer
449
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
450
- # of the customer. If you're using this API for your own organization, use `
451
- # customers/my_customer` If you're using this API to manage another organization,
452
- # use `customers/`customer_id``, where customer_id is the customer to whom the
453
- # device belongs.
454
623
  # @param [String] fields
455
624
  # Selector specifying which fields to include in a partial response.
456
625
  # @param [String] quota_user
@@ -468,12 +637,11 @@ module Google
468
637
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
469
638
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
470
639
  # @raise [Google::Apis::AuthorizationError] Authorization is required
471
- def get_device_device_user(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
640
+ def get_device_device_user(name, fields: nil, quota_user: nil, options: nil, &block)
472
641
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
473
642
  command.response_representation = Google::Apis::CloudidentityV1beta1::DeviceUser::Representation
474
643
  command.response_class = Google::Apis::CloudidentityV1beta1::DeviceUser
475
644
  command.params['name'] = name unless name.nil?
476
- command.query['customer'] = customer unless customer.nil?
477
645
  command.query['fields'] = fields unless fields.nil?
478
646
  command.query['quotaUser'] = quota_user unless quota_user.nil?
479
647
  execute_or_queue_command(command, &block)
@@ -484,12 +652,6 @@ module Google
484
652
  # Required. To list all DeviceUsers, set this to "devices/-". To list all
485
653
  # DeviceUsers owned by a device, set this to the resource name of the device.
486
654
  # Format: devices/`device`
487
- # @param [String] customer
488
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
489
- # of the customer. If you're using this API for your own organization, use `
490
- # customers/my_customer` If you're using this API to manage another organization,
491
- # use `customers/`customer_id``, where customer_id is the customer to whom the
492
- # device belongs.
493
655
  # @param [String] filter
494
656
  # Optional. Additional restrictions when fetching list of devices. For a list of
495
657
  # search fields, refer to [Mobile device search fields](https://developers.
@@ -523,12 +685,11 @@ module Google
523
685
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
524
686
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
525
687
  # @raise [Google::Apis::AuthorizationError] Authorization is required
526
- def list_device_device_users(parent, customer: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
688
+ def list_device_device_users(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
527
689
  command = make_simple_command(:get, 'v1beta1/{+parent}/deviceUsers', options)
528
690
  command.response_representation = Google::Apis::CloudidentityV1beta1::ListDeviceUsersResponse::Representation
529
691
  command.response_class = Google::Apis::CloudidentityV1beta1::ListDeviceUsersResponse
530
692
  command.params['parent'] = parent unless parent.nil?
531
- command.query['customer'] = customer unless customer.nil?
532
693
  command.query['filter'] = filter unless filter.nil?
533
694
  command.query['orderBy'] = order_by unless order_by.nil?
534
695
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -646,16 +807,19 @@ module Google
646
807
  # @param [String] name
647
808
  # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
648
809
  # of the ClientState in format: `devices/`device_id`/deviceUsers/`device_user_id`
649
- # /clientStates/`partner_id``, where device_id is the unique ID assigned to the
650
- # Device, device_user_id is the unique ID assigned to the User and partner_id
651
- # identifies the partner storing the data. To get the client state for devices
652
- # belonging to your own organization, the `partnerId` is in the format: `
653
- # customerId-*anystring*`. Where the `customerId` is your organization's
654
- # customer ID and `anystring` is any suffix. This suffix is used in setting up
810
+ # /clientStates/`partner_id``, where `device_id` is the unique ID assigned to
811
+ # the Device, `device_user_id` is the unique ID assigned to the User and `
812
+ # partner_id` identifies the partner storing the data. To get the client state
813
+ # for devices belonging to your own organization, the `partnerId` is in the
814
+ # format: `customerId-*anystring*`. Where the `customerId` is your organization'
815
+ # s customer ID and `anystring` is any suffix. This suffix is used in setting up
655
816
  # Custom Access Levels in Context-Aware Access. You may use `my_customer`
656
- # instead of the customer ID for devices managed by your own organization.
817
+ # instead of the customer ID for devices managed by your own organization. You
818
+ # may specify `-` in place of the ``device_id``, so the ClientState resource
819
+ # name can be: `devices/-/deviceUsers/`device_user_resource_id`/clientStates/`
820
+ # partner_id``.
657
821
  # @param [String] customer
658
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
822
+ # Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
659
823
  # of the customer. If you're using this API for your own organization, use `
660
824
  # customers/my_customer` If you're using this API to manage another organization,
661
825
  # use `customers/`customer_id``, where customer_id is the customer to whom the
@@ -699,7 +863,7 @@ module Google
699
863
  # the partner storing the data.
700
864
  # @param [Google::Apis::CloudidentityV1beta1::ClientState] client_state_object
701
865
  # @param [String] customer
702
- # Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
866
+ # Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
703
867
  # of the customer. If you're using this API for your own organization, use `
704
868
  # customers/my_customer` If you're using this API to manage another organization,
705
869
  # use `customers/`customer_id``, where customer_id is the customer to whom the
@@ -835,7 +999,7 @@ module Google
835
999
  execute_or_queue_command(command, &block)
836
1000
  end
837
1001
 
838
- # Lists the `Group`s under a customer or namespace.
1002
+ # Lists the `Group` resources under a customer or namespace.
839
1003
  # @param [Fixnum] page_size
840
1004
  # The maximum number of results to return. Note that the number of results
841
1005
  # returned may be less than this value even if there are more available results.
@@ -846,9 +1010,10 @@ module Google
846
1010
  # @param [String] page_token
847
1011
  # The `next_page_token` value returned from a previous list request, if any.
848
1012
  # @param [String] parent
849
- # Required. The parent resource under which to list all `Group`s. Must be of the
850
- # form `identitysources/`identity_source_id`` for external- identity-mapped
851
- # groups or `customers/`customer_id`` for Google Groups.
1013
+ # Required. The parent resource under which to list all `Group` resources. Must
1014
+ # be of the form `identitysources/`identity_source_id`` for external- identity-
1015
+ # mapped groups or `customers/`customer_id`` for Google Groups. The `customer_id`
1016
+ # must begin with "C" (for example, 'C046psxkn').
852
1017
  # @param [String] view
853
1018
  # The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
854
1019
  # @param [String] fields
@@ -893,7 +1058,7 @@ module Google
893
1058
  # represents a Google-managed entity such as a Google user or a Google Group. If
894
1059
  # specified, the `EntityKey` represents an external-identity-mapped group. The
895
1060
  # namespace must correspond to an identity source created in Admin Console and
896
- # must be in the form of `identitysources/`identity_source_id`.
1061
+ # must be in the form of `identitysources/`identity_source_id``.
897
1062
  # @param [String] fields
898
1063
  # Selector specifying which fields to include in a partial response.
899
1064
  # @param [String] quota_user
@@ -929,7 +1094,7 @@ module Google
929
1094
  # @param [Google::Apis::CloudidentityV1beta1::Group] group_object
930
1095
  # @param [String] update_mask
931
1096
  # Required. The fully-qualified names of fields to update. May only contain the
932
- # following fields: `display_name`, `description`.
1097
+ # following fields: `display_name`, `description`, `labels`.
933
1098
  # @param [String] fields
934
1099
  # Selector specifying which fields to include in a partial response.
935
1100
  # @param [String] quota_user
@@ -960,7 +1125,7 @@ module Google
960
1125
  execute_or_queue_command(command, &block)
961
1126
  end
962
1127
 
963
- # Searches for `Group`s matching a specified query.
1128
+ # Searches for `Group` resources matching a specified query.
964
1129
  # @param [Fixnum] page_size
965
1130
  # The maximum number of results to return. Note that the number of results
966
1131
  # returned may be less than this value even if there are more available results.
@@ -975,7 +1140,7 @@ module Google
975
1140
  # https://opensource.google/projects/cel). May only contain equality operators
976
1141
  # on the parent and inclusion operators on labels (e.g., `parent == 'customers/`
977
1142
  # customer_id`' && 'cloudidentity.googleapis.com/groups.discussion_forum' in
978
- # labels`).
1143
+ # labels`). The `customer_id` must begin with "C" (for example, 'C046psxkn').
979
1144
  # @param [String] view
980
1145
  # The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
981
1146
  # @param [String] fields
@@ -1261,7 +1426,7 @@ module Google
1261
1426
  # represents a Google-managed entity such as a Google user or a Google Group. If
1262
1427
  # specified, the `EntityKey` represents an external-identity-mapped group. The
1263
1428
  # namespace must correspond to an identity source created in Admin Console and
1264
- # must be in the form of `identitysources/`identity_source_id`.
1429
+ # must be in the form of `identitysources/`identity_source_id``.
1265
1430
  # @param [String] fields
1266
1431
  # Selector specifying which fields to include in a partial response.
1267
1432
  # @param [String] quota_user
@@ -1343,10 +1508,10 @@ module Google
1343
1508
  # @param [String] query
1344
1509
  # Required. A CEL expression that MUST include member specification AND label(s).
1345
1510
  # This is a `required` field. Users can search on label attributes of groups.
1346
- # CONTAINS match ('in') is supported on labels. Certain groups are uniquely
1347
- # identified by both a 'member_key_id' and a 'member_key_namespace', which
1348
- # requires an additional query input: 'member_key_namespace'. Example query: `
1349
- # member_key_id == 'member_key_id_value' && in labels`
1511
+ # CONTAINS match ('in') is supported on labels. Identity-mapped groups are
1512
+ # uniquely identified by both a `member_key_id` and a `member_key_namespace`,
1513
+ # which requires an additional query input: `member_key_namespace`. Example
1514
+ # query: `member_key_id == 'member_key_id_value' && in labels`
1350
1515
  # @param [String] fields
1351
1516
  # Selector specifying which fields to include in a partial response.
1352
1517
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-15 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Identity API V1beta1