google-apis-cloudidentity_v1beta1 0.4.0 → 0.9.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 +141 -86
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +70 -7
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +230 -65
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bce4a386c00eeba26c4e37dedc542ffa3d23f649b66b863354eb4351b8dae57
|
4
|
+
data.tar.gz: 6c13e8dfc4e63597ce47fc50576f59f4531ee7fba726809aa2722e9f36822e61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b180dca8059a16151a6bc1503ce889c041927597e0597bb0f11f0f8a38525230e69a698397d949a3c1b6715da8f57674fa579f4433ac1f22889280794008e5
|
7
|
+
data.tar.gz: 7a6e4c1b31f3f968511db0fba114d5b402909c5637ffecbb1a43b6885f92b90a796d82da6a6e4c55afb02a0c284c0b02edadc4b6500b9546d9a9583d0ae03ce8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210623
|
6
|
+
|
7
|
+
### v0.8.0 (2021-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210614
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.6.0 (2021-05-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210428
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210310
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.4.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Unspecified changes
|
@@ -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
|
@@ -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
|
-
#
|
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,11 +1450,17 @@ 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
|
1495
1458
|
|
1459
|
+
# Optional. The POSIX groups associated with the `Group`.
|
1460
|
+
# Corresponds to the JSON property `posixGroups`
|
1461
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::PosixGroup>]
|
1462
|
+
attr_accessor :posix_groups
|
1463
|
+
|
1496
1464
|
# Output only. The time when the `Group` was last updated.
|
1497
1465
|
# Corresponds to the JSON property `updateTime`
|
1498
1466
|
# @return [String]
|
@@ -1513,6 +1481,7 @@ module Google
|
|
1513
1481
|
@labels = args[:labels] if args.key?(:labels)
|
1514
1482
|
@name = args[:name] if args.key?(:name)
|
1515
1483
|
@parent = args[:parent] if args.key?(:parent)
|
1484
|
+
@posix_groups = args[:posix_groups] if args.key?(:posix_groups)
|
1516
1485
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1517
1486
|
end
|
1518
1487
|
end
|
@@ -1569,6 +1538,26 @@ module Google
|
|
1569
1538
|
end
|
1570
1539
|
end
|
1571
1540
|
|
1541
|
+
# Response for IsInvitableUser RPC.
|
1542
|
+
class IsInvitableUserResponse
|
1543
|
+
include Google::Apis::Core::Hashable
|
1544
|
+
|
1545
|
+
# Returns true if the email address is invitable.
|
1546
|
+
# Corresponds to the JSON property `isInvitableUser`
|
1547
|
+
# @return [Boolean]
|
1548
|
+
attr_accessor :is_invitable_user
|
1549
|
+
alias_method :is_invitable_user?, :is_invitable_user
|
1550
|
+
|
1551
|
+
def initialize(**args)
|
1552
|
+
update!(**args)
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
# Update properties of this object
|
1556
|
+
def update!(**args)
|
1557
|
+
@is_invitable_user = args[:is_invitable_user] if args.key?(:is_invitable_user)
|
1558
|
+
end
|
1559
|
+
end
|
1560
|
+
|
1572
1561
|
# Response message that is returned in LRO result of ListClientStates Operation.
|
1573
1562
|
class ListClientStatesResponse
|
1574
1563
|
include Google::Apis::Core::Hashable
|
@@ -1648,7 +1637,7 @@ module Google
|
|
1648
1637
|
class ListGroupsResponse
|
1649
1638
|
include Google::Apis::Core::Hashable
|
1650
1639
|
|
1651
|
-
# The `Group`
|
1640
|
+
# The `Group` resources under the specified `parent`.
|
1652
1641
|
# Corresponds to the JSON property `groups`
|
1653
1642
|
# @return [Array<Google::Apis::CloudidentityV1beta1::Group>]
|
1654
1643
|
attr_accessor :groups
|
@@ -1696,6 +1685,34 @@ module Google
|
|
1696
1685
|
end
|
1697
1686
|
end
|
1698
1687
|
|
1688
|
+
# Response message for UserInvitation listing request.
|
1689
|
+
class ListUserInvitationsResponse
|
1690
|
+
include Google::Apis::Core::Hashable
|
1691
|
+
|
1692
|
+
# The token for the next page. If not empty, indicates that there may be more `
|
1693
|
+
# UserInvitation` resources that match the listing request; this value can be
|
1694
|
+
# used in a subsequent ListUserInvitationsRequest to get continued results with
|
1695
|
+
# the current list call.
|
1696
|
+
# Corresponds to the JSON property `nextPageToken`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :next_page_token
|
1699
|
+
|
1700
|
+
# The list of UserInvitation resources.
|
1701
|
+
# Corresponds to the JSON property `userInvitations`
|
1702
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::UserInvitation>]
|
1703
|
+
attr_accessor :user_invitations
|
1704
|
+
|
1705
|
+
def initialize(**args)
|
1706
|
+
update!(**args)
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# Update properties of this object
|
1710
|
+
def update!(**args)
|
1711
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1712
|
+
@user_invitations = args[:user_invitations] if args.key?(:user_invitations)
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1699
1716
|
# The response message for GroupsService.LookupGroupName.
|
1700
1717
|
class LookupGroupNameResponse
|
1701
1718
|
include Google::Apis::Core::Hashable
|
@@ -1777,7 +1794,7 @@ module Google
|
|
1777
1794
|
class MemberRelation
|
1778
1795
|
include Google::Apis::Core::Hashable
|
1779
1796
|
|
1780
|
-
# Resource name for this member
|
1797
|
+
# Resource name for this member.
|
1781
1798
|
# Corresponds to the JSON property `member`
|
1782
1799
|
# @return [String]
|
1783
1800
|
attr_accessor :member
|
@@ -2054,11 +2071,43 @@ module Google
|
|
2054
2071
|
end
|
2055
2072
|
end
|
2056
2073
|
|
2074
|
+
# POSIX Group definition to represent a group in a POSIX compliant system.
|
2075
|
+
class PosixGroup
|
2076
|
+
include Google::Apis::Core::Hashable
|
2077
|
+
|
2078
|
+
# GID of the POSIX group.
|
2079
|
+
# Corresponds to the JSON property `gid`
|
2080
|
+
# @return [Fixnum]
|
2081
|
+
attr_accessor :gid
|
2082
|
+
|
2083
|
+
# Name of the POSIX group.
|
2084
|
+
# Corresponds to the JSON property `name`
|
2085
|
+
# @return [String]
|
2086
|
+
attr_accessor :name
|
2087
|
+
|
2088
|
+
# System identifier for which group name and gid apply to. If not specified it
|
2089
|
+
# will default to empty value.
|
2090
|
+
# Corresponds to the JSON property `systemId`
|
2091
|
+
# @return [String]
|
2092
|
+
attr_accessor :system_id
|
2093
|
+
|
2094
|
+
def initialize(**args)
|
2095
|
+
update!(**args)
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
# Update properties of this object
|
2099
|
+
def update!(**args)
|
2100
|
+
@gid = args[:gid] if args.key?(:gid)
|
2101
|
+
@name = args[:name] if args.key?(:name)
|
2102
|
+
@system_id = args[:system_id] if args.key?(:system_id)
|
2103
|
+
end
|
2104
|
+
end
|
2105
|
+
|
2057
2106
|
# The response message for GroupsService.SearchGroups.
|
2058
2107
|
class SearchGroupsResponse
|
2059
2108
|
include Google::Apis::Core::Hashable
|
2060
2109
|
|
2061
|
-
# The `Group`
|
2110
|
+
# The `Group` resources that match the search query.
|
2062
2111
|
# Corresponds to the JSON property `groups`
|
2063
2112
|
# @return [Array<Google::Apis::CloudidentityV1beta1::Group>]
|
2064
2113
|
attr_accessor :groups
|
@@ -2132,6 +2181,20 @@ module Google
|
|
2132
2181
|
end
|
2133
2182
|
end
|
2134
2183
|
|
2184
|
+
# A request to send email for inviting target user corresponding to the
|
2185
|
+
# UserInvitation.
|
2186
|
+
class SendUserInvitationRequest
|
2187
|
+
include Google::Apis::Core::Hashable
|
2188
|
+
|
2189
|
+
def initialize(**args)
|
2190
|
+
update!(**args)
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# Update properties of this object
|
2194
|
+
def update!(**args)
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
|
2135
2198
|
# The `Status` type defines a logical error model that is suitable for different
|
2136
2199
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2137
2200
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2196,7 +2259,7 @@ module Google
|
|
2196
2259
|
include Google::Apis::Core::Hashable
|
2197
2260
|
|
2198
2261
|
# The fully-qualified names of fields to update. May only contain the field `
|
2199
|
-
# expiry_detail`.
|
2262
|
+
# expiry_detail.expire_time`.
|
2200
2263
|
# Corresponds to the JSON property `fieldMask`
|
2201
2264
|
# @return [String]
|
2202
2265
|
attr_accessor :field_mask
|
@@ -2218,11 +2281,12 @@ module Google
|
|
2218
2281
|
end
|
2219
2282
|
end
|
2220
2283
|
|
2221
|
-
# The `UserInvitation` resource represents an email sent to an
|
2222
|
-
# account
|
2223
|
-
#
|
2224
|
-
#
|
2225
|
-
#
|
2284
|
+
# The `UserInvitation` resource represents an email that can be sent to an
|
2285
|
+
# unmanaged user account inviting them to join the customer’s Google Workspace
|
2286
|
+
# or Cloud Identity account. An unmanaged account shares an email address domain
|
2287
|
+
# with the Google Workspace or Cloud Identity account but is not managed by it
|
2288
|
+
# yet. If the user accepts the `UserInvitation`, the user account will become
|
2289
|
+
# managed.
|
2226
2290
|
class UserInvitation
|
2227
2291
|
include Google::Apis::Core::Hashable
|
2228
2292
|
|
@@ -2264,14 +2328,15 @@ module Google
|
|
2264
2328
|
class WipeDeviceRequest
|
2265
2329
|
include Google::Apis::Core::Hashable
|
2266
2330
|
|
2267
|
-
#
|
2268
|
-
#
|
2269
|
-
#
|
2270
|
-
#
|
2271
|
-
# device
|
2272
|
-
# Corresponds to the JSON property `
|
2273
|
-
# @return [
|
2274
|
-
attr_accessor :
|
2331
|
+
# Optional. Specifies if a user is able to factory reset a device after a Device
|
2332
|
+
# Wipe. On iOS, this is called "Activation Lock", while on Android, this is
|
2333
|
+
# known as "Factory Reset Protection". If true, this protection will be removed
|
2334
|
+
# from the device, so that a user can successfully factory reset. If false, the
|
2335
|
+
# setting is untouched on the device.
|
2336
|
+
# Corresponds to the JSON property `removeResetLock`
|
2337
|
+
# @return [Boolean]
|
2338
|
+
attr_accessor :remove_reset_lock
|
2339
|
+
alias_method :remove_reset_lock?, :remove_reset_lock
|
2275
2340
|
|
2276
2341
|
def initialize(**args)
|
2277
2342
|
update!(**args)
|
@@ -2279,7 +2344,7 @@ module Google
|
|
2279
2344
|
|
2280
2345
|
# Update properties of this object
|
2281
2346
|
def update!(**args)
|
2282
|
-
@
|
2347
|
+
@remove_reset_lock = args[:remove_reset_lock] if args.key?(:remove_reset_lock)
|
2283
2348
|
end
|
2284
2349
|
end
|
2285
2350
|
|
@@ -2308,22 +2373,12 @@ module Google
|
|
2308
2373
|
class WipeDeviceUserRequest
|
2309
2374
|
include Google::Apis::Core::Hashable
|
2310
2375
|
|
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
2376
|
def initialize(**args)
|
2321
2377
|
update!(**args)
|
2322
2378
|
end
|
2323
2379
|
|
2324
2380
|
# Update properties of this object
|
2325
2381
|
def update!(**args)
|
2326
|
-
@customer = args[:customer] if args.key?(:customer)
|
2327
2382
|
end
|
2328
2383
|
end
|
2329
2384
|
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210623"
|
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
|
|
@@ -316,6 +334,12 @@ module Google
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
317
335
|
end
|
318
336
|
|
337
|
+
class PosixGroup
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
319
343
|
class SearchGroupsResponse
|
320
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
345
|
|
@@ -334,6 +358,12 @@ module Google
|
|
334
358
|
include Google::Apis::Core::JsonObjectSupport
|
335
359
|
end
|
336
360
|
|
361
|
+
class SendUserInvitationRequest
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
337
367
|
class Status
|
338
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
369
|
|
@@ -395,7 +425,6 @@ module Google
|
|
395
425
|
class ApproveDeviceUserRequest
|
396
426
|
# @private
|
397
427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
-
property :customer, as: 'customer'
|
399
428
|
end
|
400
429
|
end
|
401
430
|
|
@@ -410,7 +439,6 @@ module Google
|
|
410
439
|
class BlockDeviceUserRequest
|
411
440
|
# @private
|
412
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
413
|
-
property :customer, as: 'customer'
|
414
442
|
end
|
415
443
|
end
|
416
444
|
|
@@ -422,10 +450,15 @@ module Google
|
|
422
450
|
end
|
423
451
|
end
|
424
452
|
|
453
|
+
class CancelUserInvitationRequest
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
425
459
|
class CancelWipeDeviceRequest
|
426
460
|
# @private
|
427
461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
428
|
-
property :customer, as: 'customer'
|
429
462
|
end
|
430
463
|
end
|
431
464
|
|
@@ -440,7 +473,6 @@ module Google
|
|
440
473
|
class CancelWipeDeviceUserRequest
|
441
474
|
# @private
|
442
475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
443
|
-
property :customer, as: 'customer'
|
444
476
|
end
|
445
477
|
end
|
446
478
|
|
@@ -481,7 +513,6 @@ module Google
|
|
481
513
|
class CreateDeviceRequest
|
482
514
|
# @private
|
483
515
|
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
-
property :customer, as: 'customer'
|
485
516
|
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::Device, decorator: Google::Apis::CloudidentityV1beta1::Device::Representation
|
486
517
|
|
487
518
|
end
|
@@ -750,6 +781,8 @@ module Google
|
|
750
781
|
hash :labels, as: 'labels'
|
751
782
|
property :name, as: 'name'
|
752
783
|
property :parent, as: 'parent'
|
784
|
+
collection :posix_groups, as: 'posixGroups', class: Google::Apis::CloudidentityV1beta1::PosixGroup, decorator: Google::Apis::CloudidentityV1beta1::PosixGroup::Representation
|
785
|
+
|
753
786
|
property :update_time, as: 'updateTime'
|
754
787
|
end
|
755
788
|
end
|
@@ -768,6 +801,13 @@ module Google
|
|
768
801
|
end
|
769
802
|
end
|
770
803
|
|
804
|
+
class IsInvitableUserResponse
|
805
|
+
# @private
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
807
|
+
property :is_invitable_user, as: 'isInvitableUser'
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
771
811
|
class ListClientStatesResponse
|
772
812
|
# @private
|
773
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -813,6 +853,15 @@ module Google
|
|
813
853
|
end
|
814
854
|
end
|
815
855
|
|
856
|
+
class ListUserInvitationsResponse
|
857
|
+
# @private
|
858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
859
|
+
property :next_page_token, as: 'nextPageToken'
|
860
|
+
collection :user_invitations, as: 'userInvitations', class: Google::Apis::CloudidentityV1beta1::UserInvitation, decorator: Google::Apis::CloudidentityV1beta1::UserInvitation::Representation
|
861
|
+
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
816
865
|
class LookupGroupNameResponse
|
817
866
|
# @private
|
818
867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -913,6 +962,15 @@ module Google
|
|
913
962
|
end
|
914
963
|
end
|
915
964
|
|
965
|
+
class PosixGroup
|
966
|
+
# @private
|
967
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
968
|
+
property :gid, :numeric_string => true, as: 'gid'
|
969
|
+
property :name, as: 'name'
|
970
|
+
property :system_id, as: 'systemId'
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
916
974
|
class SearchGroupsResponse
|
917
975
|
# @private
|
918
976
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -940,6 +998,12 @@ module Google
|
|
940
998
|
end
|
941
999
|
end
|
942
1000
|
|
1001
|
+
class SendUserInvitationRequest
|
1002
|
+
# @private
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
943
1007
|
class Status
|
944
1008
|
# @private
|
945
1009
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -978,7 +1042,7 @@ module Google
|
|
978
1042
|
class WipeDeviceRequest
|
979
1043
|
# @private
|
980
1044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
981
|
-
property :
|
1045
|
+
property :remove_reset_lock, as: 'removeResetLock'
|
982
1046
|
end
|
983
1047
|
end
|
984
1048
|
|
@@ -993,7 +1057,6 @@ module Google
|
|
993
1057
|
class WipeDeviceUserRequest
|
994
1058
|
# @private
|
995
1059
|
class Representation < Google::Apis::Core::JsonRepresentation
|
996
|
-
property :customer, as: 'customer'
|
997
1060
|
end
|
998
1061
|
end
|
999
1062
|
|
@@ -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
|
@@ -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`
|
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.
|
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,29 +1,35 @@
|
|
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.9.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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Identity API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Identity API V1beta1
|