google-apis-cloudidentity_v1beta1 0.11.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c614ee81d9eda9dfe59e4d75f66b77c7222be266e3881c819cd0a939e930e0bd
4
- data.tar.gz: 11dbb19841bafbf4a4d49763e2f25378e35fc320344c7dde49de4b9521f407bf
3
+ metadata.gz: 216be1760e71174e3fb09566f95a27e20287de15f06485d3f3df3f1320fbd421
4
+ data.tar.gz: 2fac8d974e9ddbef7ccab2e72ddb2b83d48f5e0d0dc39b7ef23e2d9d18782d58
5
5
  SHA512:
6
- metadata.gz: d3fef13171efe51c5f09899f8afbc3b669a31262380d4ca35e92926b1a27ebd72dbfc7d7d45ff94d44255e63d40f78bfba97afec3b75d4348c9b03f0f1764b3b
7
- data.tar.gz: 28d82701880222c76605ed5b486f4a3f487bb7487c19b2a3fc15eb32550ae8b890e485d07e0b7c57f75fcf446387ba9d60cba2c4bd90824b4463e442259df3b2
6
+ metadata.gz: 4dee61002c6e6191f4d76f45850ec33bd12b63847a4f2a8cf701cb2b78e0195277ae93e34b403cc658e32af2f7405fcb4c7a6693a8c7b4d2ad26fc80472a599d
7
+ data.tar.gz: 6c612bc61c64a9b6c3d6b70cc4d5751ba8a8a19c1a2e5f1e9290436cfaea0040cdd5ebb7dda9ef625db92d38f8059e60854c2c8fecb9ae74e6e0e8d63a2a1127
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudidentity_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-09-29)
4
+
5
+ * Regenerated from discovery document revision 20210928
6
+
7
+ ### v0.14.0 (2021-09-22)
8
+
9
+ * Regenerated from discovery document revision 20210920
10
+
11
+ ### v0.13.0 (2021-09-08)
12
+
13
+ * Regenerated from discovery document revision 20210906
14
+
15
+ ### v0.12.0 (2021-08-25)
16
+
17
+ * Regenerated from discovery document revision 20210824
18
+
3
19
  ### v0.11.0 (2021-07-14)
4
20
 
5
21
  * Regenerated from discovery document revision 20210713
@@ -684,7 +684,10 @@ module Google
684
684
  # users with at least one `organizations.department` of engineering. `user.
685
685
  # organizations.exists(org, org.department=='engineering')` All users with at
686
686
  # least one location that has `area` of `foo` and `building_id` of `bar`. `user.
687
- # locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')`
687
+ # locations.exists(loc, loc.area=='foo' && loc.building_id=='bar')` All users
688
+ # with any variation of the name John Doe (case-insensitive queries add `
689
+ # equalsIgnoreCase()` to the value being queried). `user.name.value.
690
+ # equalsIgnoreCase('jOhn DoE')`
688
691
  # Corresponds to the JSON property `query`
689
692
  # @return [String]
690
693
  attr_accessor :query
@@ -858,6 +861,19 @@ module Google
858
861
  end
859
862
  end
860
863
 
864
+ # Metadata for ApproveDeviceUser LRO.
865
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata
866
+ include Google::Apis::Core::Hashable
867
+
868
+ def initialize(**args)
869
+ update!(**args)
870
+ end
871
+
872
+ # Update properties of this object
873
+ def update!(**args)
874
+ end
875
+ end
876
+
861
877
  # Response message for approving the device to access user data.
862
878
  class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
863
879
  include Google::Apis::Core::Hashable
@@ -878,6 +894,19 @@ module Google
878
894
  end
879
895
  end
880
896
 
897
+ # Metadata for BlockDeviceUser LRO.
898
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata
899
+ include Google::Apis::Core::Hashable
900
+
901
+ def initialize(**args)
902
+ update!(**args)
903
+ end
904
+
905
+ # Update properties of this object
906
+ def update!(**args)
907
+ end
908
+ end
909
+
881
910
  # Response message for blocking the device from accessing user data.
882
911
  class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
883
912
  include Google::Apis::Core::Hashable
@@ -898,6 +927,19 @@ module Google
898
927
  end
899
928
  end
900
929
 
930
+ # Metadata for CancelWipeDevice LRO.
931
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata
932
+ include Google::Apis::Core::Hashable
933
+
934
+ def initialize(**args)
935
+ update!(**args)
936
+ end
937
+
938
+ # Update properties of this object
939
+ def update!(**args)
940
+ end
941
+ end
942
+
901
943
  # Response message for cancelling an unfinished device wipe.
902
944
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
903
945
  include Google::Apis::Core::Hashable
@@ -919,6 +961,19 @@ module Google
919
961
  end
920
962
  end
921
963
 
964
+ # Metadata for CancelWipeDeviceUser LRO.
965
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata
966
+ include Google::Apis::Core::Hashable
967
+
968
+ def initialize(**args)
969
+ update!(**args)
970
+ end
971
+
972
+ # Update properties of this object
973
+ def update!(**args)
974
+ end
975
+ end
976
+
922
977
  # Response message for cancelling an unfinished user account wipe.
923
978
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
924
979
  include Google::Apis::Core::Hashable
@@ -997,19 +1052,18 @@ module Google
997
1052
  attr_accessor :managed
998
1053
 
999
1054
  # Output only. [Resource name](https://cloud.google.com/apis/design/
1000
- # resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
1001
- # `device_user_id`/clientState/`partner_id``, where partner_id corresponds to
1002
- # the partner storing the data. For partners belonging to the "BeyondCorp
1003
- # Alliance", this is the partner ID specified to you by Google. For all other
1004
- # callers, this is a string of the form: ``customer_id`-suffix`, where `
1005
- # customer_id` is your customer ID. The *suffix* is any string the caller
1006
- # specifies. This string will be displayed verbatim in the administration
1007
- # console. This suffix is used in setting up Custom Access Levels in Context-
1008
- # Aware Access. Your organization's customer ID can be obtained from the URL: `
1009
- # GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `
1010
- # id` field in the response contains the customer ID starting with the letter 'C'
1011
- # . The customer ID to be used in this API is the string after the letter 'C' (
1012
- # not including 'C')
1055
+ # resource_names) of the ClientState in format: `devices/`device`/deviceUsers/`
1056
+ # device_user`/clientState/`partner``, where partner corresponds to the partner
1057
+ # storing the data. For partners belonging to the "BeyondCorp Alliance", this is
1058
+ # the partner ID specified to you by Google. For all other callers, this is a
1059
+ # string of the form: ``customer`-suffix`, where `customer` is your customer ID.
1060
+ # The *suffix* is any string the caller specifies. This string will be displayed
1061
+ # verbatim in the administration console. This suffix is used in setting up
1062
+ # Custom Access Levels in Context-Aware Access. Your organization's customer ID
1063
+ # can be obtained from the URL: `GET https://www.googleapis.com/admin/directory/
1064
+ # v1/customers/my_customer` The `id` field in the response contains the customer
1065
+ # ID starting with the letter 'C'. The customer ID to be used in this API is the
1066
+ # string after the letter 'C' (not including 'C')
1013
1067
  # Corresponds to the JSON property `name`
1014
1068
  # @return [String]
1015
1069
  attr_accessor :name
@@ -1045,6 +1099,19 @@ module Google
1045
1099
  end
1046
1100
  end
1047
1101
 
1102
+ # Metadata for CreateDevice LRO.
1103
+ class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata
1104
+ include Google::Apis::Core::Hashable
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ end
1113
+ end
1114
+
1048
1115
  # Additional custom attribute values may be one of these types
1049
1116
  class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
1050
1117
  include Google::Apis::Core::Hashable
@@ -1077,6 +1144,32 @@ module Google
1077
1144
  end
1078
1145
  end
1079
1146
 
1147
+ # Metadata for DeleteDevice LRO.
1148
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata
1149
+ include Google::Apis::Core::Hashable
1150
+
1151
+ def initialize(**args)
1152
+ update!(**args)
1153
+ end
1154
+
1155
+ # Update properties of this object
1156
+ def update!(**args)
1157
+ end
1158
+ end
1159
+
1160
+ # Metadata for DeleteDeviceUser LRO.
1161
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata
1162
+ include Google::Apis::Core::Hashable
1163
+
1164
+ def initialize(**args)
1165
+ update!(**args)
1166
+ end
1167
+
1168
+ # Update properties of this object
1169
+ def update!(**args)
1170
+ end
1171
+ end
1172
+
1080
1173
  # A Device within the Cloud Identity Devices API. Represents a Device known to
1081
1174
  # Google Cloud, independent of the device ownership, type, and whether it is
1082
1175
  # assigned or in use by a user.
@@ -1182,8 +1275,8 @@ module Google
1182
1275
  attr_accessor :model
1183
1276
 
1184
1277
  # Output only. [Resource name](https://cloud.google.com/apis/design/
1185
- # resource_names) of the Device in format: `devices/`device_id``, where
1186
- # device_id is the unique id assigned to the Device.
1278
+ # resource_names) of the Device in format: `devices/`device``, where device is
1279
+ # the unique id assigned to the Device.
1187
1280
  # Corresponds to the JSON property `name`
1188
1281
  # @return [String]
1189
1282
  attr_accessor :name
@@ -1305,8 +1398,8 @@ module Google
1305
1398
  attr_accessor :management_state
1306
1399
 
1307
1400
  # Output only. [Resource name](https://cloud.google.com/apis/design/
1308
- # resource_names) of the DeviceUser in format: `devices/`device_id`/deviceUsers/`
1309
- # device_user_id``, where `device_user_id` uniquely identifies a user's use of a
1401
+ # resource_names) of the DeviceUser in format: `devices/`device`/deviceUsers/`
1402
+ # device_user``, where `device_user` uniquely identifies a user's use of a
1310
1403
  # device.
1311
1404
  # Corresponds to the JSON property `name`
1312
1405
  # @return [String]
@@ -1346,6 +1439,71 @@ module Google
1346
1439
  end
1347
1440
  end
1348
1441
 
1442
+ # Metadata for ListEndpointApps LRO.
1443
+ class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata
1444
+ include Google::Apis::Core::Hashable
1445
+
1446
+ def initialize(**args)
1447
+ update!(**args)
1448
+ end
1449
+
1450
+ # Update properties of this object
1451
+ def update!(**args)
1452
+ end
1453
+ end
1454
+
1455
+ # Metadata for SignoutDeviceUser LRO.
1456
+ class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata
1457
+ include Google::Apis::Core::Hashable
1458
+
1459
+ def initialize(**args)
1460
+ update!(**args)
1461
+ end
1462
+
1463
+ # Update properties of this object
1464
+ def update!(**args)
1465
+ end
1466
+ end
1467
+
1468
+ # Metadata for UpdateClientState LRO.
1469
+ class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata
1470
+ include Google::Apis::Core::Hashable
1471
+
1472
+ def initialize(**args)
1473
+ update!(**args)
1474
+ end
1475
+
1476
+ # Update properties of this object
1477
+ def update!(**args)
1478
+ end
1479
+ end
1480
+
1481
+ # Metadata for UpdateDevice LRO.
1482
+ class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata
1483
+ include Google::Apis::Core::Hashable
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ end
1492
+ end
1493
+
1494
+ # Metadata for WipeDevice LRO.
1495
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata
1496
+ include Google::Apis::Core::Hashable
1497
+
1498
+ def initialize(**args)
1499
+ update!(**args)
1500
+ end
1501
+
1502
+ # Update properties of this object
1503
+ def update!(**args)
1504
+ end
1505
+ end
1506
+
1349
1507
  # Response message for wiping all data on the device.
1350
1508
  class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
1351
1509
  include Google::Apis::Core::Hashable
@@ -1367,6 +1525,19 @@ module Google
1367
1525
  end
1368
1526
  end
1369
1527
 
1528
+ # Metadata for WipeDeviceUser LRO.
1529
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata
1530
+ include Google::Apis::Core::Hashable
1531
+
1532
+ def initialize(**args)
1533
+ update!(**args)
1534
+ end
1535
+
1536
+ # Update properties of this object
1537
+ def update!(**args)
1538
+ end
1539
+ end
1540
+
1370
1541
  # Response message for wiping the user's account from the device.
1371
1542
  class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
1372
1543
  include Google::Apis::Core::Hashable
@@ -1828,6 +1999,39 @@ module Google
1828
1999
  end
1829
2000
  end
1830
2001
 
2002
+ # The definition of MemberRestriction
2003
+ class MemberRestriction
2004
+ include Google::Apis::Core::Hashable
2005
+
2006
+ # The evaluated state of this restriction.
2007
+ # Corresponds to the JSON property `evaluation`
2008
+ # @return [Google::Apis::CloudidentityV1beta1::RestrictionEvaluation]
2009
+ attr_accessor :evaluation
2010
+
2011
+ # Member Restriction as defined by CEL expression. Supported restrictions are: `
2012
+ # member.customer_id` and `member.type`. Valid values for `member.type` are `1`,
2013
+ # `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively.
2014
+ # The value for `member.customer_id` only supports `groupCustomerId()` currently
2015
+ # which means the customer id of the group will be used for restriction.
2016
+ # Supported operators are `&&`, `||` and `==`, corresponding to AND, OR, and
2017
+ # EQUAL. Examples: Allow only service accounts of given customer to be members. `
2018
+ # member.type == 2 && member.customer_id == groupCustomerId()` Allow only users
2019
+ # or groups to be members. `member.type == 1 || member.type == 3`
2020
+ # Corresponds to the JSON property `query`
2021
+ # @return [String]
2022
+ attr_accessor :query
2023
+
2024
+ def initialize(**args)
2025
+ update!(**args)
2026
+ end
2027
+
2028
+ # Update properties of this object
2029
+ def update!(**args)
2030
+ @evaluation = args[:evaluation] if args.key?(:evaluation)
2031
+ @query = args[:query] if args.key?(:query)
2032
+ end
2033
+ end
2034
+
1831
2035
  # A membership within the Cloud Identity Groups API. A `Membership` defines a
1832
2036
  # relationship between a `Group` and an entity belonging to that `Group`,
1833
2037
  # referred to as a "member".
@@ -1938,6 +2142,11 @@ module Google
1938
2142
  # @return [String]
1939
2143
  attr_accessor :name
1940
2144
 
2145
+ # Evaluations of restrictions applied to parent group on this membership.
2146
+ # Corresponds to the JSON property `restrictionEvaluations`
2147
+ # @return [Google::Apis::CloudidentityV1beta1::RestrictionEvaluations]
2148
+ attr_accessor :restriction_evaluations
2149
+
1941
2150
  def initialize(**args)
1942
2151
  update!(**args)
1943
2152
  end
@@ -1946,6 +2155,26 @@ module Google
1946
2155
  def update!(**args)
1947
2156
  @expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
1948
2157
  @name = args[:name] if args.key?(:name)
2158
+ @restriction_evaluations = args[:restriction_evaluations] if args.key?(:restriction_evaluations)
2159
+ end
2160
+ end
2161
+
2162
+ # The evaluated state of this restriction.
2163
+ class MembershipRoleRestrictionEvaluation
2164
+ include Google::Apis::Core::Hashable
2165
+
2166
+ # Output only. The current state of the restriction
2167
+ # Corresponds to the JSON property `state`
2168
+ # @return [String]
2169
+ attr_accessor :state
2170
+
2171
+ def initialize(**args)
2172
+ update!(**args)
2173
+ end
2174
+
2175
+ # Update properties of this object
2176
+ def update!(**args)
2177
+ @state = args[:state] if args.key?(:state)
1949
2178
  end
1950
2179
  end
1951
2180
 
@@ -2103,6 +2332,44 @@ module Google
2103
2332
  end
2104
2333
  end
2105
2334
 
2335
+ # The evaluated state of this restriction.
2336
+ class RestrictionEvaluation
2337
+ include Google::Apis::Core::Hashable
2338
+
2339
+ # Output only. The current state of the restriction
2340
+ # Corresponds to the JSON property `state`
2341
+ # @return [String]
2342
+ attr_accessor :state
2343
+
2344
+ def initialize(**args)
2345
+ update!(**args)
2346
+ end
2347
+
2348
+ # Update properties of this object
2349
+ def update!(**args)
2350
+ @state = args[:state] if args.key?(:state)
2351
+ end
2352
+ end
2353
+
2354
+ # Evaluations of restrictions applied to parent group on this membership.
2355
+ class RestrictionEvaluations
2356
+ include Google::Apis::Core::Hashable
2357
+
2358
+ # The evaluated state of this restriction.
2359
+ # Corresponds to the JSON property `memberRestrictionEvaluation`
2360
+ # @return [Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation]
2361
+ attr_accessor :member_restriction_evaluation
2362
+
2363
+ def initialize(**args)
2364
+ update!(**args)
2365
+ end
2366
+
2367
+ # Update properties of this object
2368
+ def update!(**args)
2369
+ @member_restriction_evaluation = args[:member_restriction_evaluation] if args.key?(:member_restriction_evaluation)
2370
+ end
2371
+ end
2372
+
2106
2373
  # The response message for GroupsService.SearchGroups.
2107
2374
  class SearchGroupsResponse
2108
2375
  include Google::Apis::Core::Hashable
@@ -2181,6 +2448,32 @@ module Google
2181
2448
  end
2182
2449
  end
2183
2450
 
2451
+ # The definiion of security settings.
2452
+ class SecuritySettings
2453
+ include Google::Apis::Core::Hashable
2454
+
2455
+ # The definition of MemberRestriction
2456
+ # Corresponds to the JSON property `memberRestriction`
2457
+ # @return [Google::Apis::CloudidentityV1beta1::MemberRestriction]
2458
+ attr_accessor :member_restriction
2459
+
2460
+ # Output only. The resource name of the security settings. Shall be of the form `
2461
+ # groups/`group_id`/securitySettings`.
2462
+ # Corresponds to the JSON property `name`
2463
+ # @return [String]
2464
+ attr_accessor :name
2465
+
2466
+ def initialize(**args)
2467
+ update!(**args)
2468
+ end
2469
+
2470
+ # Update properties of this object
2471
+ def update!(**args)
2472
+ @member_restriction = args[:member_restriction] if args.key?(:member_restriction)
2473
+ @name = args[:name] if args.key?(:name)
2474
+ end
2475
+ end
2476
+
2184
2477
  # A request to send email for inviting target user corresponding to the
2185
2478
  # UserInvitation.
2186
2479
  class SendUserInvitationRequest
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210713"
25
+ REVISION = "20210928"
26
26
  end
27
27
  end
28
28
  end
@@ -160,24 +160,48 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
@@ -190,12 +214,30 @@ module Google
190
214
  include Google::Apis::Core::JsonObjectSupport
191
215
  end
192
216
 
217
+ class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
193
223
  class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
194
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
225
 
196
226
  include Google::Apis::Core::JsonObjectSupport
197
227
  end
198
228
 
229
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
199
241
  class GoogleAppsCloudidentityDevicesV1Device
200
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
243
 
@@ -208,12 +250,48 @@ module Google
208
250
  include Google::Apis::Core::JsonObjectSupport
209
251
  end
210
252
 
253
+ class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
211
283
  class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
212
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
285
 
214
286
  include Google::Apis::Core::JsonObjectSupport
215
287
  end
216
288
 
289
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
217
295
  class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
218
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
297
 
@@ -298,6 +376,12 @@ module Google
298
376
  include Google::Apis::Core::JsonObjectSupport
299
377
  end
300
378
 
379
+ class MemberRestriction
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
301
385
  class Membership
302
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
387
 
@@ -316,6 +400,12 @@ module Google
316
400
  include Google::Apis::Core::JsonObjectSupport
317
401
  end
318
402
 
403
+ class MembershipRoleRestrictionEvaluation
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
319
409
  class ModifyMembershipRolesRequest
320
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
411
 
@@ -340,6 +430,18 @@ module Google
340
430
  include Google::Apis::Core::JsonObjectSupport
341
431
  end
342
432
 
433
+ class RestrictionEvaluation
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class RestrictionEvaluations
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
343
445
  class SearchGroupsResponse
344
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
447
 
@@ -358,6 +460,12 @@ module Google
358
460
  include Google::Apis::Core::JsonObjectSupport
359
461
  end
360
462
 
463
+ class SecuritySettings
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
361
469
  class SendUserInvitationRequest
362
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
471
 
@@ -639,6 +747,12 @@ module Google
639
747
  end
640
748
  end
641
749
 
750
+ class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserMetadata
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ end
754
+ end
755
+
642
756
  class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
643
757
  # @private
644
758
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -647,6 +761,12 @@ module Google
647
761
  end
648
762
  end
649
763
 
764
+ class GoogleAppsCloudidentityDevicesV1BlockDeviceUserMetadata
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ end
768
+ end
769
+
650
770
  class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
651
771
  # @private
652
772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -655,6 +775,12 @@ module Google
655
775
  end
656
776
  end
657
777
 
778
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceMetadata
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ end
782
+ end
783
+
658
784
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
659
785
  # @private
660
786
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -663,6 +789,12 @@ module Google
663
789
  end
664
790
  end
665
791
 
792
+ class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserMetadata
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ end
796
+ end
797
+
666
798
  class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
667
799
  # @private
668
800
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -690,6 +822,12 @@ module Google
690
822
  end
691
823
  end
692
824
 
825
+ class GoogleAppsCloudidentityDevicesV1CreateDeviceMetadata
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ end
829
+ end
830
+
693
831
  class GoogleAppsCloudidentityDevicesV1CustomAttributeValue
694
832
  # @private
695
833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -699,6 +837,18 @@ module Google
699
837
  end
700
838
  end
701
839
 
840
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceMetadata
841
+ # @private
842
+ class Representation < Google::Apis::Core::JsonRepresentation
843
+ end
844
+ end
845
+
846
+ class GoogleAppsCloudidentityDevicesV1DeleteDeviceUserMetadata
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ end
850
+ end
851
+
702
852
  class GoogleAppsCloudidentityDevicesV1Device
703
853
  # @private
704
854
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -750,6 +900,36 @@ module Google
750
900
  end
751
901
  end
752
902
 
903
+ class GoogleAppsCloudidentityDevicesV1ListEndpointAppsMetadata
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ end
907
+ end
908
+
909
+ class GoogleAppsCloudidentityDevicesV1SignoutDeviceUserMetadata
910
+ # @private
911
+ class Representation < Google::Apis::Core::JsonRepresentation
912
+ end
913
+ end
914
+
915
+ class GoogleAppsCloudidentityDevicesV1UpdateClientStateMetadata
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ end
919
+ end
920
+
921
+ class GoogleAppsCloudidentityDevicesV1UpdateDeviceMetadata
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ end
925
+ end
926
+
927
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceMetadata
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ end
931
+ end
932
+
753
933
  class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
754
934
  # @private
755
935
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -758,6 +938,12 @@ module Google
758
938
  end
759
939
  end
760
940
 
941
+ class GoogleAppsCloudidentityDevicesV1WipeDeviceUserMetadata
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ end
945
+ end
946
+
761
947
  class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
762
948
  # @private
763
949
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -897,6 +1083,15 @@ module Google
897
1083
  end
898
1084
  end
899
1085
 
1086
+ class MemberRestriction
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ property :evaluation, as: 'evaluation', class: Google::Apis::CloudidentityV1beta1::RestrictionEvaluation, decorator: Google::Apis::CloudidentityV1beta1::RestrictionEvaluation::Representation
1090
+
1091
+ property :query, as: 'query'
1092
+ end
1093
+ end
1094
+
900
1095
  class Membership
901
1096
  # @private
902
1097
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -928,6 +1123,15 @@ module Google
928
1123
  property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1beta1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1beta1::ExpiryDetail::Representation
929
1124
 
930
1125
  property :name, as: 'name'
1126
+ property :restriction_evaluations, as: 'restrictionEvaluations', class: Google::Apis::CloudidentityV1beta1::RestrictionEvaluations, decorator: Google::Apis::CloudidentityV1beta1::RestrictionEvaluations::Representation
1127
+
1128
+ end
1129
+ end
1130
+
1131
+ class MembershipRoleRestrictionEvaluation
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ property :state, as: 'state'
931
1135
  end
932
1136
  end
933
1137
 
@@ -971,6 +1175,21 @@ module Google
971
1175
  end
972
1176
  end
973
1177
 
1178
+ class RestrictionEvaluation
1179
+ # @private
1180
+ class Representation < Google::Apis::Core::JsonRepresentation
1181
+ property :state, as: 'state'
1182
+ end
1183
+ end
1184
+
1185
+ class RestrictionEvaluations
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :member_restriction_evaluation, as: 'memberRestrictionEvaluation', class: Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation, decorator: Google::Apis::CloudidentityV1beta1::MembershipRoleRestrictionEvaluation::Representation
1189
+
1190
+ end
1191
+ end
1192
+
974
1193
  class SearchGroupsResponse
975
1194
  # @private
976
1195
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -998,6 +1217,15 @@ module Google
998
1217
  end
999
1218
  end
1000
1219
 
1220
+ class SecuritySettings
1221
+ # @private
1222
+ class Representation < Google::Apis::Core::JsonRepresentation
1223
+ property :member_restriction, as: 'memberRestriction', class: Google::Apis::CloudidentityV1beta1::MemberRestriction, decorator: Google::Apis::CloudidentityV1beta1::MemberRestriction::Representation
1224
+
1225
+ property :name, as: 'name'
1226
+ end
1227
+ end
1228
+
1001
1229
  class SendUserInvitationRequest
1002
1230
  # @private
1003
1231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -999,6 +999,42 @@ module Google
999
999
  execute_or_queue_command(command, &block)
1000
1000
  end
1001
1001
 
1002
+ # Get Security Settings
1003
+ # @param [String] name
1004
+ # Required. The security settings to retrieve. Format: `groups/`group_id`/
1005
+ # securitySettings`
1006
+ # @param [String] read_mask
1007
+ # Field-level read mask of which fields to return. "*" returns all fields. If
1008
+ # not specified, all fields will be returned. May only contain the following
1009
+ # field: `member_restriction`.
1010
+ # @param [String] fields
1011
+ # Selector specifying which fields to include in a partial response.
1012
+ # @param [String] quota_user
1013
+ # Available to use for quota purposes for server-side applications. Can be any
1014
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1015
+ # @param [Google::Apis::RequestOptions] options
1016
+ # Request-specific options
1017
+ #
1018
+ # @yield [result, err] Result & error if block supplied
1019
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::SecuritySettings] parsed result object
1020
+ # @yieldparam err [StandardError] error object if request failed
1021
+ #
1022
+ # @return [Google::Apis::CloudidentityV1beta1::SecuritySettings]
1023
+ #
1024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1027
+ def get_group_security_settings(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1028
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1029
+ command.response_representation = Google::Apis::CloudidentityV1beta1::SecuritySettings::Representation
1030
+ command.response_class = Google::Apis::CloudidentityV1beta1::SecuritySettings
1031
+ command.params['name'] = name unless name.nil?
1032
+ command.query['readMask'] = read_mask unless read_mask.nil?
1033
+ command.query['fields'] = fields unless fields.nil?
1034
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1035
+ execute_or_queue_command(command, &block)
1036
+ end
1037
+
1002
1038
  # Lists the `Group` resources under a customer or namespace.
1003
1039
  # @param [Fixnum] page_size
1004
1040
  # The maximum number of results to return. Note that the number of results
@@ -1093,8 +1129,8 @@ module Google
1093
1129
  # resource_names) of the `Group`. Shall be of the form `groups/`group_id``.
1094
1130
  # @param [Google::Apis::CloudidentityV1beta1::Group] group_object
1095
1131
  # @param [String] update_mask
1096
- # Required. The names of fields to update. May only contain the following fields:
1097
- # `display_name`, `description`, `labels`, `dynamic_group_metadata`, `
1132
+ # Required. The names of fields to update. May only contain the following field
1133
+ # names: `display_name`, `description`, `labels`, `dynamic_group_metadata`, `
1098
1134
  # posix_groups`.
1099
1135
  # @param [String] fields
1100
1136
  # Selector specifying which fields to include in a partial response.
@@ -1174,6 +1210,44 @@ module Google
1174
1210
  execute_or_queue_command(command, &block)
1175
1211
  end
1176
1212
 
1213
+ # Update Security Settings
1214
+ # @param [String] name
1215
+ # Output only. The resource name of the security settings. Shall be of the form `
1216
+ # groups/`group_id`/securitySettings`.
1217
+ # @param [Google::Apis::CloudidentityV1beta1::SecuritySettings] security_settings_object
1218
+ # @param [String] update_mask
1219
+ # Required. The fully-qualified names of fields to update. May only contain the
1220
+ # following field: `member_restriction.query`.
1221
+ # @param [String] fields
1222
+ # Selector specifying which fields to include in a partial response.
1223
+ # @param [String] quota_user
1224
+ # Available to use for quota purposes for server-side applications. Can be any
1225
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1226
+ # @param [Google::Apis::RequestOptions] options
1227
+ # Request-specific options
1228
+ #
1229
+ # @yield [result, err] Result & error if block supplied
1230
+ # @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
1231
+ # @yieldparam err [StandardError] error object if request failed
1232
+ #
1233
+ # @return [Google::Apis::CloudidentityV1beta1::Operation]
1234
+ #
1235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1238
+ def update_group_security_settings(name, security_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1239
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1240
+ command.request_representation = Google::Apis::CloudidentityV1beta1::SecuritySettings::Representation
1241
+ command.request_object = security_settings_object
1242
+ command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
1243
+ command.response_class = Google::Apis::CloudidentityV1beta1::Operation
1244
+ command.params['name'] = name unless name.nil?
1245
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1246
+ command.query['fields'] = fields unless fields.nil?
1247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1248
+ execute_or_queue_command(command, &block)
1249
+ end
1250
+
1177
1251
  # Check a potential member for membership in a group. **Note:** This feature is
1178
1252
  # only available to Google Workspace Enterprise Standard, Enterprise Plus, and
1179
1253
  # Enterprise for Education; and Cloud Identity Premium accounts. A member has
@@ -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
- # See, edit, configure, and delete your Google Cloud Platform data
41
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
42
42
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudidentity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.15.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-07-19 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudidentity_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []