google-apis-cloudidentity_v1beta1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +129 -81
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +68 -7
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +227 -62
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3200cb760fe3b9ee8cc55ed90a04a0695f747e5e342bedee1d32d91af97a770e
|
4
|
+
data.tar.gz: d9e970fcdcd6f91eca0a3dc770de55233a06527fa6e0aca8e3d03ac4acbf5eb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 316d7a94c94fa377b3619187b75adbc90a06079ca91c68bfeb3fe4a9560cfb93064d28ed555ce9e8123fd02b072e42aea72dd5be7645d979271f431e3e6f3821
|
7
|
+
data.tar.gz: be2fc2be5e490da84986734045dfdb03022e413f4e6616b82c6557015d4fb438e54efd0be1e33a836de0f07a605a39e031a0e3606d98724a4cec3205462f61e3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210428
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210310
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-10)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210204
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-29)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210124
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
@@ -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
|
-
#
|
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
|
-
#
|
651
|
-
#
|
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
|
@@ -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
|
-
#
|
1347
|
-
#
|
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.
|
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`
|
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
|
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`
|
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,18 +2243,52 @@ module Google
|
|
2218
2243
|
end
|
2219
2244
|
end
|
2220
2245
|
|
2221
|
-
#
|
2222
|
-
|
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.
|
2252
|
+
class UserInvitation
|
2223
2253
|
include Google::Apis::Core::Hashable
|
2224
2254
|
|
2225
|
-
#
|
2226
|
-
#
|
2227
|
-
#
|
2228
|
-
|
2229
|
-
|
2230
|
-
#
|
2255
|
+
# Number of invitation emails sent to the user.
|
2256
|
+
# Corresponds to the JSON property `mailsSentCount`
|
2257
|
+
# @return [Fixnum]
|
2258
|
+
attr_accessor :mails_sent_count
|
2259
|
+
|
2260
|
+
# Shall be of the form `customers/`customer`/userinvitations/`user_email_address`
|
2261
|
+
# `.
|
2262
|
+
# Corresponds to the JSON property `name`
|
2231
2263
|
# @return [String]
|
2232
|
-
attr_accessor :
|
2264
|
+
attr_accessor :name
|
2265
|
+
|
2266
|
+
# State of the `UserInvitation`.
|
2267
|
+
# Corresponds to the JSON property `state`
|
2268
|
+
# @return [String]
|
2269
|
+
attr_accessor :state
|
2270
|
+
|
2271
|
+
# Time when the `UserInvitation` was last updated.
|
2272
|
+
# Corresponds to the JSON property `updateTime`
|
2273
|
+
# @return [String]
|
2274
|
+
attr_accessor :update_time
|
2275
|
+
|
2276
|
+
def initialize(**args)
|
2277
|
+
update!(**args)
|
2278
|
+
end
|
2279
|
+
|
2280
|
+
# Update properties of this object
|
2281
|
+
def update!(**args)
|
2282
|
+
@mails_sent_count = args[:mails_sent_count] if args.key?(:mails_sent_count)
|
2283
|
+
@name = args[:name] if args.key?(:name)
|
2284
|
+
@state = args[:state] if args.key?(:state)
|
2285
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2286
|
+
end
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Request message for wiping all data on the device.
|
2290
|
+
class WipeDeviceRequest
|
2291
|
+
include Google::Apis::Core::Hashable
|
2233
2292
|
|
2234
2293
|
def initialize(**args)
|
2235
2294
|
update!(**args)
|
@@ -2237,7 +2296,6 @@ module Google
|
|
2237
2296
|
|
2238
2297
|
# Update properties of this object
|
2239
2298
|
def update!(**args)
|
2240
|
-
@customer = args[:customer] if args.key?(:customer)
|
2241
2299
|
end
|
2242
2300
|
end
|
2243
2301
|
|
@@ -2266,22 +2324,12 @@ module Google
|
|
2266
2324
|
class WipeDeviceUserRequest
|
2267
2325
|
include Google::Apis::Core::Hashable
|
2268
2326
|
|
2269
|
-
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
2270
|
-
# of the customer. If you're using this API for your own organization, use `
|
2271
|
-
# customers/my_customer` If you're using this API to manage another organization,
|
2272
|
-
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
2273
|
-
# device belongs.
|
2274
|
-
# Corresponds to the JSON property `customer`
|
2275
|
-
# @return [String]
|
2276
|
-
attr_accessor :customer
|
2277
|
-
|
2278
2327
|
def initialize(**args)
|
2279
2328
|
update!(**args)
|
2280
2329
|
end
|
2281
2330
|
|
2282
2331
|
# Update properties of this object
|
2283
2332
|
def update!(**args)
|
2284
|
-
@customer = args[:customer] if args.key?(:customer)
|
2285
2333
|
end
|
2286
2334
|
end
|
2287
2335
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210428"
|
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
|
|
@@ -352,6 +376,12 @@ module Google
|
|
352
376
|
include Google::Apis::Core::JsonObjectSupport
|
353
377
|
end
|
354
378
|
|
379
|
+
class UserInvitation
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
355
385
|
class WipeDeviceRequest
|
356
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
387
|
|
@@ -389,7 +419,6 @@ module Google
|
|
389
419
|
class ApproveDeviceUserRequest
|
390
420
|
# @private
|
391
421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
-
property :customer, as: 'customer'
|
393
422
|
end
|
394
423
|
end
|
395
424
|
|
@@ -404,7 +433,6 @@ module Google
|
|
404
433
|
class BlockDeviceUserRequest
|
405
434
|
# @private
|
406
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
-
property :customer, as: 'customer'
|
408
436
|
end
|
409
437
|
end
|
410
438
|
|
@@ -416,10 +444,15 @@ module Google
|
|
416
444
|
end
|
417
445
|
end
|
418
446
|
|
447
|
+
class CancelUserInvitationRequest
|
448
|
+
# @private
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
419
453
|
class CancelWipeDeviceRequest
|
420
454
|
# @private
|
421
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
-
property :customer, as: 'customer'
|
423
456
|
end
|
424
457
|
end
|
425
458
|
|
@@ -434,7 +467,6 @@ module Google
|
|
434
467
|
class CancelWipeDeviceUserRequest
|
435
468
|
# @private
|
436
469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
|
-
property :customer, as: 'customer'
|
438
470
|
end
|
439
471
|
end
|
440
472
|
|
@@ -475,7 +507,6 @@ module Google
|
|
475
507
|
class CreateDeviceRequest
|
476
508
|
# @private
|
477
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
-
property :customer, as: 'customer'
|
479
510
|
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
|
480
511
|
|
481
512
|
end
|
@@ -762,6 +793,13 @@ module Google
|
|
762
793
|
end
|
763
794
|
end
|
764
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
|
+
|
765
803
|
class ListClientStatesResponse
|
766
804
|
# @private
|
767
805
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -807,6 +845,15 @@ module Google
|
|
807
845
|
end
|
808
846
|
end
|
809
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
|
+
|
810
857
|
class LookupGroupNameResponse
|
811
858
|
# @private
|
812
859
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -934,6 +981,12 @@ module Google
|
|
934
981
|
end
|
935
982
|
end
|
936
983
|
|
984
|
+
class SendUserInvitationRequest
|
985
|
+
# @private
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
937
990
|
class Status
|
938
991
|
# @private
|
939
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -959,10 +1012,19 @@ module Google
|
|
959
1012
|
end
|
960
1013
|
end
|
961
1014
|
|
1015
|
+
class UserInvitation
|
1016
|
+
# @private
|
1017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1018
|
+
property :mails_sent_count, :numeric_string => true, as: 'mailsSentCount'
|
1019
|
+
property :name, as: 'name'
|
1020
|
+
property :state, as: 'state'
|
1021
|
+
property :update_time, as: 'updateTime'
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
962
1025
|
class WipeDeviceRequest
|
963
1026
|
# @private
|
964
1027
|
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
-
property :customer, as: 'customer'
|
966
1028
|
end
|
967
1029
|
end
|
968
1030
|
|
@@ -977,7 +1039,6 @@ module Google
|
|
977
1039
|
class WipeDeviceUserRequest
|
978
1040
|
# @private
|
979
1041
|
class Representation < Google::Apis::Core::JsonRepresentation
|
980
|
-
property :customer, as: 'customer'
|
981
1042
|
end
|
982
1043
|
end
|
983
1044
|
|
@@ -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,
|
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,
|
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(
|
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,
|
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,
|
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,
|
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
|
650
|
-
# Device, device_user_id is the unique ID assigned to the User and
|
651
|
-
# identifies the partner storing the data. To get the client state
|
652
|
-
# belonging to your own organization, the `partnerId` is in the
|
653
|
-
# customerId-*anystring*`. Where the `customerId` is your organization'
|
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
|
-
#
|
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
|
-
#
|
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`
|
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`
|
850
|
-
# form `identitysources/`identity_source_id`` for external- identity-
|
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
|
@@ -960,7 +1125,7 @@ module Google
|
|
960
1125
|
execute_or_queue_command(command, &block)
|
961
1126
|
end
|
962
1127
|
|
963
|
-
# Searches for `Group`
|
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
|
@@ -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.
|
1347
|
-
# identified by both a
|
1348
|
-
# requires an additional query input:
|
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.
|
4
|
+
version: 0.6.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-
|
11
|
+
date: 2021-05-18 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.6.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.
|
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.
|
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
|