google-apis-cloudidentity_v1 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_v1.rb +1 -1
- data/lib/google/apis/cloudidentity_v1/classes.rb +205 -13
- data/lib/google/apis/cloudidentity_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1/representations.rb +94 -0
- data/lib/google/apis/cloudidentity_v1/service.rb +31 -27
- 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: 4ba69609121711a0470a16bf1b7760cafb55e453a30c755d10c82da9ee4ddf90
|
4
|
+
data.tar.gz: 52aa778b61f83f92f07bc7d60226da3796a5bea1ad173c8da39909411e68cbae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c0d6283c9bcc1265d00d811b41953af6302429d0c71de5393f2639849a323a0e76126fd910d56c4ea0027f4b1972213dfe33820303e32b3ee66b0435ea03d6a
|
7
|
+
data.tar.gz: ef7f0494bc21bdf7ece5d8e16d24f71786a0aa8fa96aa07c395514cbd16b05fd48f095e021bdc174dc323a77d05eab3ee9bc3443c1f204071b2d1a4513e66006
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1
|
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
|
@@ -45,6 +45,89 @@ module Google
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# Dynamic group metadata like queries and status.
|
49
|
+
class DynamicGroupMetadata
|
50
|
+
include Google::Apis::Core::Hashable
|
51
|
+
|
52
|
+
# Memberships will be the union of all queries. Only one entry with USER
|
53
|
+
# resource is currently supported. Customers can create up to 100 dynamic groups.
|
54
|
+
# Corresponds to the JSON property `queries`
|
55
|
+
# @return [Array<Google::Apis::CloudidentityV1::DynamicGroupQuery>]
|
56
|
+
attr_accessor :queries
|
57
|
+
|
58
|
+
# The current status of a dynamic group along with timestamp.
|
59
|
+
# Corresponds to the JSON property `status`
|
60
|
+
# @return [Google::Apis::CloudidentityV1::DynamicGroupStatus]
|
61
|
+
attr_accessor :status
|
62
|
+
|
63
|
+
def initialize(**args)
|
64
|
+
update!(**args)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Update properties of this object
|
68
|
+
def update!(**args)
|
69
|
+
@queries = args[:queries] if args.key?(:queries)
|
70
|
+
@status = args[:status] if args.key?(:status)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# Defines a query on a resource.
|
75
|
+
class DynamicGroupQuery
|
76
|
+
include Google::Apis::Core::Hashable
|
77
|
+
|
78
|
+
# Query that determines the memberships of the dynamic group. Examples: All
|
79
|
+
# users with at least one `organizations.department` of engineering. `user.
|
80
|
+
# organizations.exists(org, org.department=='engineering')` All users with at
|
81
|
+
# least one location that has `area` of `foo` and `building_id` of `bar`. `user.
|
82
|
+
# locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')`
|
83
|
+
# Corresponds to the JSON property `query`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :query
|
86
|
+
|
87
|
+
# Resource type for the Dynamic Group Query
|
88
|
+
# Corresponds to the JSON property `resourceType`
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :resource_type
|
91
|
+
|
92
|
+
def initialize(**args)
|
93
|
+
update!(**args)
|
94
|
+
end
|
95
|
+
|
96
|
+
# Update properties of this object
|
97
|
+
def update!(**args)
|
98
|
+
@query = args[:query] if args.key?(:query)
|
99
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
# The current status of a dynamic group along with timestamp.
|
104
|
+
class DynamicGroupStatus
|
105
|
+
include Google::Apis::Core::Hashable
|
106
|
+
|
107
|
+
# Status of the dynamic group.
|
108
|
+
# Corresponds to the JSON property `status`
|
109
|
+
# @return [String]
|
110
|
+
attr_accessor :status
|
111
|
+
|
112
|
+
# The latest time at which the dynamic group is guaranteed to be in the given
|
113
|
+
# status. If status is `UP_TO_DATE`, the latest time at which the dynamic group
|
114
|
+
# was confirmed to be up-to-date. If status is `UPDATING_MEMBERSHIPS`, the time
|
115
|
+
# at which dynamic group was created.
|
116
|
+
# Corresponds to the JSON property `statusTime`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :status_time
|
119
|
+
|
120
|
+
def initialize(**args)
|
121
|
+
update!(**args)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Update properties of this object
|
125
|
+
def update!(**args)
|
126
|
+
@status = args[:status] if args.key?(:status)
|
127
|
+
@status_time = args[:status_time] if args.key?(:status_time)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
48
131
|
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
49
132
|
# can represent either a group with an optional `namespace` or a user without a `
|
50
133
|
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
@@ -80,6 +163,25 @@ module Google
|
|
80
163
|
end
|
81
164
|
end
|
82
165
|
|
166
|
+
# The `MembershipRole` expiry details.
|
167
|
+
class ExpiryDetail
|
168
|
+
include Google::Apis::Core::Hashable
|
169
|
+
|
170
|
+
# The time at which the `MembershipRole` will expire.
|
171
|
+
# Corresponds to the JSON property `expireTime`
|
172
|
+
# @return [String]
|
173
|
+
attr_accessor :expire_time
|
174
|
+
|
175
|
+
def initialize(**args)
|
176
|
+
update!(**args)
|
177
|
+
end
|
178
|
+
|
179
|
+
# Update properties of this object
|
180
|
+
def update!(**args)
|
181
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
83
185
|
# The response message for MembershipsService.GetMembershipGraph.
|
84
186
|
class GetMembershipGraphResponse
|
85
187
|
include Google::Apis::Core::Hashable
|
@@ -155,7 +257,7 @@ module Google
|
|
155
257
|
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
|
156
258
|
include Google::Apis::Core::Hashable
|
157
259
|
|
158
|
-
#
|
260
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
159
261
|
# of the customer. If you're using this API for your own organization, use `
|
160
262
|
# customers/my_customer` If you're using this API to manage another organization,
|
161
263
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -198,7 +300,7 @@ module Google
|
|
198
300
|
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
|
199
301
|
include Google::Apis::Core::Hashable
|
200
302
|
|
201
|
-
#
|
303
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
202
304
|
# of the customer. If you're using this API for your own organization, use `
|
203
305
|
# customers/my_customer` If you're using this API to manage another organization,
|
204
306
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -241,7 +343,7 @@ module Google
|
|
241
343
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
|
242
344
|
include Google::Apis::Core::Hashable
|
243
345
|
|
244
|
-
#
|
346
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
245
347
|
# of the customer. If you're using this API for your own organization, use `
|
246
348
|
# customers/my_customer` If you're using this API to manage another organization,
|
247
349
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -285,7 +387,7 @@ module Google
|
|
285
387
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
|
286
388
|
include Google::Apis::Core::Hashable
|
287
389
|
|
288
|
-
#
|
390
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
289
391
|
# of the customer. If you're using this API for your own organization, use `
|
290
392
|
# customers/my_customer` If you're using this API to manage another organization,
|
291
393
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -691,8 +793,8 @@ module Google
|
|
691
793
|
|
692
794
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
693
795
|
# resource_names) of the DeviceUser in format: `devices/`device_id`/deviceUsers/`
|
694
|
-
#
|
695
|
-
#
|
796
|
+
# device_user_id``, where `device_user_id` uniquely identifies a user's use of a
|
797
|
+
# device.
|
696
798
|
# Corresponds to the JSON property `name`
|
697
799
|
# @return [String]
|
698
800
|
attr_accessor :name
|
@@ -846,7 +948,7 @@ module Google
|
|
846
948
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
|
847
949
|
include Google::Apis::Core::Hashable
|
848
950
|
|
849
|
-
#
|
951
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
850
952
|
# of the customer. If you're using this API for your own organization, use `
|
851
953
|
# customers/my_customer` If you're using this API to manage another organization,
|
852
954
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -890,7 +992,7 @@ module Google
|
|
890
992
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
|
891
993
|
include Google::Apis::Core::Hashable
|
892
994
|
|
893
|
-
#
|
995
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
894
996
|
# of the customer. If you're using this API for your own organization, use `
|
895
997
|
# customers/my_customer` If you're using this API to manage another organization,
|
896
998
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -951,6 +1053,11 @@ module Google
|
|
951
1053
|
# @return [String]
|
952
1054
|
attr_accessor :display_name
|
953
1055
|
|
1056
|
+
# Dynamic group metadata like queries and status.
|
1057
|
+
# Corresponds to the JSON property `dynamicGroupMetadata`
|
1058
|
+
# @return [Google::Apis::CloudidentityV1::DynamicGroupMetadata]
|
1059
|
+
attr_accessor :dynamic_group_metadata
|
1060
|
+
|
954
1061
|
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
955
1062
|
# can represent either a group with an optional `namespace` or a user without a `
|
956
1063
|
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
@@ -968,8 +1075,7 @@ module Google
|
|
968
1075
|
# the security label cannot be removed once added.** Dynamic groups have a label
|
969
1076
|
# with a key of `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped
|
970
1077
|
# groups for Cloud Search have a label with a key of `system/groups/external`
|
971
|
-
# and an empty value.
|
972
|
-
# discussion_forum": ""` or `"system/groups/external": ""`.
|
1078
|
+
# and an empty value.
|
973
1079
|
# Corresponds to the JSON property `labels`
|
974
1080
|
# @return [Hash<String,String>]
|
975
1081
|
attr_accessor :labels
|
@@ -983,7 +1089,8 @@ module Google
|
|
983
1089
|
# Required. Immutable. The resource name of the entity under which this `Group`
|
984
1090
|
# resides in the Cloud Identity resource hierarchy. Must be of the form `
|
985
1091
|
# identitysources/`identity_source_id`` for external- identity-mapped groups or `
|
986
|
-
# customers/`customer_id`` for Google Groups.
|
1092
|
+
# customers/`customer_id`` for Google Groups. The `customer_id` must begin with "
|
1093
|
+
# C" (for example, 'C046psxkn').
|
987
1094
|
# Corresponds to the JSON property `parent`
|
988
1095
|
# @return [String]
|
989
1096
|
attr_accessor :parent
|
@@ -1002,6 +1109,7 @@ module Google
|
|
1002
1109
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1003
1110
|
@description = args[:description] if args.key?(:description)
|
1004
1111
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1112
|
+
@dynamic_group_metadata = args[:dynamic_group_metadata] if args.key?(:dynamic_group_metadata)
|
1005
1113
|
@group_key = args[:group_key] if args.key?(:group_key)
|
1006
1114
|
@labels = args[:labels] if args.key?(:labels)
|
1007
1115
|
@name = args[:name] if args.key?(:name)
|
@@ -1159,7 +1267,7 @@ module Google
|
|
1159
1267
|
class MemberRelation
|
1160
1268
|
include Google::Apis::Core::Hashable
|
1161
1269
|
|
1162
|
-
# Resource name for this member
|
1270
|
+
# Resource name for this member.
|
1163
1271
|
# Corresponds to the JSON property `member`
|
1164
1272
|
# @return [String]
|
1165
1273
|
attr_accessor :member
|
@@ -1284,6 +1392,11 @@ module Google
|
|
1284
1392
|
class MembershipRole
|
1285
1393
|
include Google::Apis::Core::Hashable
|
1286
1394
|
|
1395
|
+
# The `MembershipRole` expiry details.
|
1396
|
+
# Corresponds to the JSON property `expiryDetail`
|
1397
|
+
# @return [Google::Apis::CloudidentityV1::ExpiryDetail]
|
1398
|
+
attr_accessor :expiry_detail
|
1399
|
+
|
1287
1400
|
# The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`.
|
1288
1401
|
# Corresponds to the JSON property `name`
|
1289
1402
|
# @return [String]
|
@@ -1295,6 +1408,7 @@ module Google
|
|
1295
1408
|
|
1296
1409
|
# Update properties of this object
|
1297
1410
|
def update!(**args)
|
1411
|
+
@expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
|
1298
1412
|
@name = args[:name] if args.key?(:name)
|
1299
1413
|
end
|
1300
1414
|
end
|
@@ -1319,6 +1433,13 @@ module Google
|
|
1319
1433
|
# @return [Array<String>]
|
1320
1434
|
attr_accessor :remove_roles
|
1321
1435
|
|
1436
|
+
# The `MembershipRole`s to be updated. Updating roles in the same request as
|
1437
|
+
# adding or removing roles is not supported. Must not be set if either `
|
1438
|
+
# add_roles` or `remove_roles` is set.
|
1439
|
+
# Corresponds to the JSON property `updateRolesParams`
|
1440
|
+
# @return [Array<Google::Apis::CloudidentityV1::UpdateMembershipRolesParams>]
|
1441
|
+
attr_accessor :update_roles_params
|
1442
|
+
|
1322
1443
|
def initialize(**args)
|
1323
1444
|
update!(**args)
|
1324
1445
|
end
|
@@ -1327,6 +1448,7 @@ module Google
|
|
1327
1448
|
def update!(**args)
|
1328
1449
|
@add_roles = args[:add_roles] if args.key?(:add_roles)
|
1329
1450
|
@remove_roles = args[:remove_roles] if args.key?(:remove_roles)
|
1451
|
+
@update_roles_params = args[:update_roles_params] if args.key?(:update_roles_params)
|
1330
1452
|
end
|
1331
1453
|
end
|
1332
1454
|
|
@@ -1417,7 +1539,7 @@ module Google
|
|
1417
1539
|
class SearchGroupsResponse
|
1418
1540
|
include Google::Apis::Core::Hashable
|
1419
1541
|
|
1420
|
-
# The `Group`
|
1542
|
+
# The `Group` resources that match the search query.
|
1421
1543
|
# Corresponds to the JSON property `groups`
|
1422
1544
|
# @return [Array<Google::Apis::CloudidentityV1::Group>]
|
1423
1545
|
attr_accessor :groups
|
@@ -1549,6 +1671,76 @@ module Google
|
|
1549
1671
|
@role = args[:role] if args.key?(:role)
|
1550
1672
|
end
|
1551
1673
|
end
|
1674
|
+
|
1675
|
+
# The details of an update to a `MembershipRole`.
|
1676
|
+
class UpdateMembershipRolesParams
|
1677
|
+
include Google::Apis::Core::Hashable
|
1678
|
+
|
1679
|
+
# The fully-qualified names of fields to update. May only contain the field `
|
1680
|
+
# expiry_detail.expire_time`.
|
1681
|
+
# Corresponds to the JSON property `fieldMask`
|
1682
|
+
# @return [String]
|
1683
|
+
attr_accessor :field_mask
|
1684
|
+
|
1685
|
+
# A membership role within the Cloud Identity Groups API. A `MembershipRole`
|
1686
|
+
# defines the privileges granted to a `Membership`.
|
1687
|
+
# Corresponds to the JSON property `membershipRole`
|
1688
|
+
# @return [Google::Apis::CloudidentityV1::MembershipRole]
|
1689
|
+
attr_accessor :membership_role
|
1690
|
+
|
1691
|
+
def initialize(**args)
|
1692
|
+
update!(**args)
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# Update properties of this object
|
1696
|
+
def update!(**args)
|
1697
|
+
@field_mask = args[:field_mask] if args.key?(:field_mask)
|
1698
|
+
@membership_role = args[:membership_role] if args.key?(:membership_role)
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
# The `UserInvitation` resource represents an email that can be sent to an
|
1703
|
+
# unmanaged user account inviting them to join the customer’s Google Workspace
|
1704
|
+
# or Cloud Identity account. An unmanaged account shares an email address domain
|
1705
|
+
# with the Google Workspace or Cloud Identity account but is not managed by it
|
1706
|
+
# yet. If the user accepts the `UserInvitation`, the user account will become
|
1707
|
+
# managed.
|
1708
|
+
class UserInvitation
|
1709
|
+
include Google::Apis::Core::Hashable
|
1710
|
+
|
1711
|
+
# Number of invitation emails sent to the user.
|
1712
|
+
# Corresponds to the JSON property `mailsSentCount`
|
1713
|
+
# @return [Fixnum]
|
1714
|
+
attr_accessor :mails_sent_count
|
1715
|
+
|
1716
|
+
# Shall be of the form `customers/`customer`/userinvitations/`user_email_address`
|
1717
|
+
# `.
|
1718
|
+
# Corresponds to the JSON property `name`
|
1719
|
+
# @return [String]
|
1720
|
+
attr_accessor :name
|
1721
|
+
|
1722
|
+
# State of the `UserInvitation`.
|
1723
|
+
# Corresponds to the JSON property `state`
|
1724
|
+
# @return [String]
|
1725
|
+
attr_accessor :state
|
1726
|
+
|
1727
|
+
# Time when the `UserInvitation` was last updated.
|
1728
|
+
# Corresponds to the JSON property `updateTime`
|
1729
|
+
# @return [String]
|
1730
|
+
attr_accessor :update_time
|
1731
|
+
|
1732
|
+
def initialize(**args)
|
1733
|
+
update!(**args)
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# Update properties of this object
|
1737
|
+
def update!(**args)
|
1738
|
+
@mails_sent_count = args[:mails_sent_count] if args.key?(:mails_sent_count)
|
1739
|
+
@name = args[:name] if args.key?(:name)
|
1740
|
+
@state = args[:state] if args.key?(:state)
|
1741
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1742
|
+
end
|
1743
|
+
end
|
1552
1744
|
end
|
1553
1745
|
end
|
1554
1746
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudidentityV1
|
18
18
|
# Version of the google-apis-cloudidentity_v1 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
|
@@ -28,12 +28,36 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class DynamicGroupMetadata
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class DynamicGroupQuery
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class DynamicGroupStatus
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
31
49
|
class EntityKey
|
32
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
51
|
|
34
52
|
include Google::Apis::Core::JsonObjectSupport
|
35
53
|
end
|
36
54
|
|
55
|
+
class ExpiryDetail
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
37
61
|
class GetMembershipGraphResponse
|
38
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
63
|
|
@@ -274,6 +298,18 @@ module Google
|
|
274
298
|
include Google::Apis::Core::JsonObjectSupport
|
275
299
|
end
|
276
300
|
|
301
|
+
class UpdateMembershipRolesParams
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class UserInvitation
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
277
313
|
class CheckTransitiveMembershipResponse
|
278
314
|
# @private
|
279
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -281,6 +317,32 @@ module Google
|
|
281
317
|
end
|
282
318
|
end
|
283
319
|
|
320
|
+
class DynamicGroupMetadata
|
321
|
+
# @private
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
+
collection :queries, as: 'queries', class: Google::Apis::CloudidentityV1::DynamicGroupQuery, decorator: Google::Apis::CloudidentityV1::DynamicGroupQuery::Representation
|
324
|
+
|
325
|
+
property :status, as: 'status', class: Google::Apis::CloudidentityV1::DynamicGroupStatus, decorator: Google::Apis::CloudidentityV1::DynamicGroupStatus::Representation
|
326
|
+
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
class DynamicGroupQuery
|
331
|
+
# @private
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
+
property :query, as: 'query'
|
334
|
+
property :resource_type, as: 'resourceType'
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
class DynamicGroupStatus
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
property :status, as: 'status'
|
342
|
+
property :status_time, as: 'statusTime'
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
284
346
|
class EntityKey
|
285
347
|
# @private
|
286
348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -289,6 +351,13 @@ module Google
|
|
289
351
|
end
|
290
352
|
end
|
291
353
|
|
354
|
+
class ExpiryDetail
|
355
|
+
# @private
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
357
|
+
property :expire_time, as: 'expireTime'
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
292
361
|
class GetMembershipGraphResponse
|
293
362
|
# @private
|
294
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -520,6 +589,8 @@ module Google
|
|
520
589
|
property :create_time, as: 'createTime'
|
521
590
|
property :description, as: 'description'
|
522
591
|
property :display_name, as: 'displayName'
|
592
|
+
property :dynamic_group_metadata, as: 'dynamicGroupMetadata', class: Google::Apis::CloudidentityV1::DynamicGroupMetadata, decorator: Google::Apis::CloudidentityV1::DynamicGroupMetadata::Representation
|
593
|
+
|
523
594
|
property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
524
595
|
|
525
596
|
hash :labels, as: 'labels'
|
@@ -613,6 +684,8 @@ module Google
|
|
613
684
|
class MembershipRole
|
614
685
|
# @private
|
615
686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
687
|
+
property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1::ExpiryDetail::Representation
|
688
|
+
|
616
689
|
property :name, as: 'name'
|
617
690
|
end
|
618
691
|
end
|
@@ -623,6 +696,8 @@ module Google
|
|
623
696
|
collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
|
624
697
|
|
625
698
|
collection :remove_roles, as: 'removeRoles'
|
699
|
+
collection :update_roles_params, as: 'updateRolesParams', class: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams, decorator: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams::Representation
|
700
|
+
|
626
701
|
end
|
627
702
|
end
|
628
703
|
|
@@ -688,6 +763,25 @@ module Google
|
|
688
763
|
property :role, as: 'role'
|
689
764
|
end
|
690
765
|
end
|
766
|
+
|
767
|
+
class UpdateMembershipRolesParams
|
768
|
+
# @private
|
769
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
770
|
+
property :field_mask, as: 'fieldMask'
|
771
|
+
property :membership_role, as: 'membershipRole', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
|
772
|
+
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
class UserInvitation
|
777
|
+
# @private
|
778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
779
|
+
property :mails_sent_count, :numeric_string => true, as: 'mailsSentCount'
|
780
|
+
property :name, as: 'name'
|
781
|
+
property :state, as: 'state'
|
782
|
+
property :update_time, as: 'updateTime'
|
783
|
+
end
|
784
|
+
end
|
691
785
|
end
|
692
786
|
end
|
693
787
|
end
|
@@ -95,7 +95,7 @@ module Google
|
|
95
95
|
# Identity Premium
|
96
96
|
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] google_apps_cloudidentity_devices_v1_device_object
|
97
97
|
# @param [String] customer
|
98
|
-
#
|
98
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
99
99
|
# of the customer. If you're using this API for your own organization, use `
|
100
100
|
# customers/my_customer` If you're using this API to manage another organization,
|
101
101
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
# of the Device in format: `devices/`device_id``, where device_id is the unique
|
136
136
|
# ID assigned to the Device.
|
137
137
|
# @param [String] customer
|
138
|
-
#
|
138
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
139
139
|
# of the customer. If you're using this API for your own organization, use `
|
140
140
|
# customers/my_customer` If you're using this API to manage another organization,
|
141
141
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
# of the Device in the format: `devices/`device_id``, where device_id is the
|
175
175
|
# unique ID assigned to the Device.
|
176
176
|
# @param [String] customer
|
177
|
-
#
|
177
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
178
178
|
# of the Customer in the format: `customers/`customer_id``, where customer_id is
|
179
179
|
# the customer to whom the device belongs. If you're using this API for your own
|
180
180
|
# organization, use `customers/my_customer`. If you're using this API to manage
|
@@ -210,7 +210,7 @@ module Google
|
|
210
210
|
|
211
211
|
# Lists/Searches devices.
|
212
212
|
# @param [String] customer
|
213
|
-
#
|
213
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
214
214
|
# of the customer in the format: `customers/`customer_id``, where customer_id is
|
215
215
|
# the customer to whom the device belongs. If you're using this API for your own
|
216
216
|
# organization, use `customers/my_customer`. If you're using this API to manage
|
@@ -423,7 +423,7 @@ module Google
|
|
423
423
|
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
424
424
|
# the unique ID assigned to the User.
|
425
425
|
# @param [String] customer
|
426
|
-
#
|
426
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
427
427
|
# of the customer. If you're using this API for your own organization, use `
|
428
428
|
# customers/my_customer` If you're using this API to manage another organization,
|
429
429
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -463,7 +463,7 @@ module Google
|
|
463
463
|
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
464
464
|
# the unique ID assigned to the User.
|
465
465
|
# @param [String] customer
|
466
|
-
#
|
466
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
467
467
|
# of the customer. If you're using this API for your own organization, use `
|
468
468
|
# customers/my_customer` If you're using this API to manage another organization,
|
469
469
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -502,7 +502,7 @@ module Google
|
|
502
502
|
# DeviceUsers owned by a device, set this to the resource name of the device.
|
503
503
|
# Format: devices/`device`
|
504
504
|
# @param [String] customer
|
505
|
-
#
|
505
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
506
506
|
# of the customer. If you're using this API for your own organization, use `
|
507
507
|
# customers/my_customer` If you're using this API to manage another organization,
|
508
508
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -669,16 +669,19 @@ module Google
|
|
669
669
|
# @param [String] name
|
670
670
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
671
671
|
# of the ClientState in format: `devices/`device_id`/deviceUsers/`device_user_id`
|
672
|
-
# /clientStates/`partner_id``, where device_id is the unique ID assigned to
|
673
|
-
# Device, device_user_id is the unique ID assigned to the User and
|
674
|
-
# identifies the partner storing the data. To get the client state
|
675
|
-
# belonging to your own organization, the `partnerId` is in the
|
676
|
-
# customerId-*anystring*`. Where the `customerId` is your organization'
|
677
|
-
# customer ID and `anystring` is any suffix. This suffix is used in setting up
|
672
|
+
# /clientStates/`partner_id``, where `device_id` is the unique ID assigned to
|
673
|
+
# the Device, `device_user_id` is the unique ID assigned to the User and `
|
674
|
+
# partner_id` identifies the partner storing the data. To get the client state
|
675
|
+
# for devices belonging to your own organization, the `partnerId` is in the
|
676
|
+
# format: `customerId-*anystring*`. Where the `customerId` is your organization'
|
677
|
+
# s customer ID and `anystring` is any suffix. This suffix is used in setting up
|
678
678
|
# Custom Access Levels in Context-Aware Access. You may use `my_customer`
|
679
|
-
# instead of the customer ID for devices managed by your own organization.
|
679
|
+
# instead of the customer ID for devices managed by your own organization. You
|
680
|
+
# may specify `-` in place of the ``device_id``, so the ClientState resource
|
681
|
+
# name can be: `devices/-/deviceUsers/`device_user_resource_id`/clientStates/`
|
682
|
+
# partner_id``.
|
680
683
|
# @param [String] customer
|
681
|
-
#
|
684
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
682
685
|
# of the customer. If you're using this API for your own organization, use `
|
683
686
|
# customers/my_customer` If you're using this API to manage another organization,
|
684
687
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -717,7 +720,7 @@ module Google
|
|
717
720
|
# list all ClientStates owned by a DeviceUser, set this to the resource name of
|
718
721
|
# the DeviceUser. Format: devices/`device`/deviceUsers/`deviceUser`
|
719
722
|
# @param [String] customer
|
720
|
-
#
|
723
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
721
724
|
# of the customer. If you're using this API for your own organization, use `
|
722
725
|
# customers/my_customer` If you're using this API to manage another organization,
|
723
726
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -783,7 +786,7 @@ module Google
|
|
783
786
|
# not including 'C')
|
784
787
|
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState] google_apps_cloudidentity_devices_v1_client_state_object
|
785
788
|
# @param [String] customer
|
786
|
-
#
|
789
|
+
# Optional. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
787
790
|
# of the customer. If you're using this API for your own organization, use `
|
788
791
|
# customers/my_customer` If you're using this API to manage another organization,
|
789
792
|
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
@@ -919,7 +922,7 @@ module Google
|
|
919
922
|
execute_or_queue_command(command, &block)
|
920
923
|
end
|
921
924
|
|
922
|
-
# Lists the `Group`
|
925
|
+
# Lists the `Group` resources under a customer or namespace.
|
923
926
|
# @param [Fixnum] page_size
|
924
927
|
# The maximum number of results to return. Note that the number of results
|
925
928
|
# returned may be less than this value even if there are more available results.
|
@@ -930,9 +933,10 @@ module Google
|
|
930
933
|
# @param [String] page_token
|
931
934
|
# The `next_page_token` value returned from a previous list request, if any.
|
932
935
|
# @param [String] parent
|
933
|
-
# Required. The parent resource under which to list all `Group`
|
934
|
-
# form `identitysources/`identity_source_id`` for external- identity-
|
935
|
-
# groups or `customers/`customer_id`` for Google Groups.
|
936
|
+
# Required. The parent resource under which to list all `Group` resources. Must
|
937
|
+
# be of the form `identitysources/`identity_source_id`` for external- identity-
|
938
|
+
# mapped groups or `customers/`customer_id`` for Google Groups. The `customer_id`
|
939
|
+
# must begin with "C" (for example, 'C046psxkn').
|
936
940
|
# @param [String] view
|
937
941
|
# The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
|
938
942
|
# @param [String] fields
|
@@ -1044,7 +1048,7 @@ module Google
|
|
1044
1048
|
execute_or_queue_command(command, &block)
|
1045
1049
|
end
|
1046
1050
|
|
1047
|
-
# Searches for `Group`
|
1051
|
+
# Searches for `Group` resources matching a specified query.
|
1048
1052
|
# @param [Fixnum] page_size
|
1049
1053
|
# The maximum number of results to return. Note that the number of results
|
1050
1054
|
# returned may be less than this value even if there are more available results.
|
@@ -1059,7 +1063,7 @@ module Google
|
|
1059
1063
|
# https://opensource.google/projects/cel). May only contain equality operators
|
1060
1064
|
# on the parent and inclusion operators on labels (e.g., `parent == 'customers/`
|
1061
1065
|
# customer_id`' && 'cloudidentity.googleapis.com/groups.discussion_forum' in
|
1062
|
-
# labels`).
|
1066
|
+
# labels`). The `customer_id` must begin with "C" (for example, 'C046psxkn').
|
1063
1067
|
# @param [String] view
|
1064
1068
|
# The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
|
1065
1069
|
# @param [String] fields
|
@@ -1432,10 +1436,10 @@ module Google
|
|
1432
1436
|
# @param [String] query
|
1433
1437
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
1434
1438
|
# This is a `required` field. Users can search on label attributes of groups.
|
1435
|
-
# CONTAINS match ('in') is supported on labels.
|
1436
|
-
# identified by both a
|
1437
|
-
# requires an additional query input:
|
1438
|
-
# member_key_id == 'member_key_id_value' && in labels`
|
1439
|
+
# CONTAINS match ('in') is supported on labels. Identity-mapped groups are
|
1440
|
+
# uniquely identified by both a `member_key_id` and a `member_key_namespace`,
|
1441
|
+
# which requires an additional query input: `member_key_namespace`. Example
|
1442
|
+
# query: `member_key_id == 'member_key_id_value' && in labels`
|
1439
1443
|
# @param [String] fields
|
1440
1444
|
# Selector specifying which fields to include in a partial response.
|
1441
1445
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudidentity_v1
|
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_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1
|
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 V1
|