google-apis-cloudidentity_v1beta1 0.12.0 → 0.16.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +128 -3
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +72 -0
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +76 -2
- 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: ad3bf469f0de30ceec4f73a687a84310eb694ac73ecbf084619e6af15aca4c65
|
4
|
+
data.tar.gz: 02736ce57be624c07fd46f6fdcf85dd43e3f3a812138abc6da8eb54ae99bdafd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc84aad49a8b746aa4bcf2ebfb15c3918b5ad6badcf2a825655f335b7659be50de84d41d34f1091afcf85be2a4b5eeb4bc70272457794db02173d490bbcec585
|
7
|
+
data.tar.gz: bd180f4d7162e76deaad664f4dafccfa37507213f3f6700983ac795bcd0f4ec0864a5878a47f1b11a0ae981e1891542e0d2232ed134dbbf9b1010d4d70ec52d4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211011
|
6
|
+
|
7
|
+
### v0.15.0 (2021-09-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210928
|
10
|
+
|
11
|
+
### v0.14.0 (2021-09-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210920
|
14
|
+
|
15
|
+
### v0.13.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210906
|
18
|
+
|
3
19
|
### v0.12.0 (2021-08-25)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210824
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudidentity service in particular.)
|
67
67
|
|
@@ -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
|
@@ -1973,7 +1976,7 @@ module Google
|
|
1973
1976
|
# @return [Array<Google::Apis::CloudidentityV1beta1::EntityKey>]
|
1974
1977
|
attr_accessor :preferred_member_key
|
1975
1978
|
|
1976
|
-
# The relation between the group and the transitive
|
1979
|
+
# The relation between the group and the transitive membership.
|
1977
1980
|
# Corresponds to the JSON property `relationType`
|
1978
1981
|
# @return [String]
|
1979
1982
|
attr_accessor :relation_type
|
@@ -1996,6 +1999,39 @@ module Google
|
|
1996
1999
|
end
|
1997
2000
|
end
|
1998
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
|
+
|
1999
2035
|
# A membership within the Cloud Identity Groups API. A `Membership` defines a
|
2000
2036
|
# relationship between a `Group` and an entity belonging to that `Group`,
|
2001
2037
|
# referred to as a "member".
|
@@ -2106,6 +2142,11 @@ module Google
|
|
2106
2142
|
# @return [String]
|
2107
2143
|
attr_accessor :name
|
2108
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
|
+
|
2109
2150
|
def initialize(**args)
|
2110
2151
|
update!(**args)
|
2111
2152
|
end
|
@@ -2114,6 +2155,26 @@ module Google
|
|
2114
2155
|
def update!(**args)
|
2115
2156
|
@expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
|
2116
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)
|
2117
2178
|
end
|
2118
2179
|
end
|
2119
2180
|
|
@@ -2271,6 +2332,44 @@ module Google
|
|
2271
2332
|
end
|
2272
2333
|
end
|
2273
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
|
+
|
2274
2373
|
# The response message for GroupsService.SearchGroups.
|
2275
2374
|
class SearchGroupsResponse
|
2276
2375
|
include Google::Apis::Core::Hashable
|
@@ -2327,7 +2426,7 @@ module Google
|
|
2327
2426
|
class SearchTransitiveMembershipsResponse
|
2328
2427
|
include Google::Apis::Core::Hashable
|
2329
2428
|
|
2330
|
-
# List of transitive
|
2429
|
+
# List of transitive memberships satisfying the query.
|
2331
2430
|
# Corresponds to the JSON property `memberships`
|
2332
2431
|
# @return [Array<Google::Apis::CloudidentityV1beta1::MemberRelation>]
|
2333
2432
|
attr_accessor :memberships
|
@@ -2349,6 +2448,32 @@ module Google
|
|
2349
2448
|
end
|
2350
2449
|
end
|
2351
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
|
+
|
2352
2477
|
# A request to send email for inviting target user corresponding to the
|
2353
2478
|
# UserInvitation.
|
2354
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.
|
19
|
+
GEM_VERSION = "0.16.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 = "
|
25
|
+
REVISION = "20211011"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -376,6 +376,12 @@ module Google
|
|
376
376
|
include Google::Apis::Core::JsonObjectSupport
|
377
377
|
end
|
378
378
|
|
379
|
+
class MemberRestriction
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
379
385
|
class Membership
|
380
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
387
|
|
@@ -394,6 +400,12 @@ module Google
|
|
394
400
|
include Google::Apis::Core::JsonObjectSupport
|
395
401
|
end
|
396
402
|
|
403
|
+
class MembershipRoleRestrictionEvaluation
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
397
409
|
class ModifyMembershipRolesRequest
|
398
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
411
|
|
@@ -418,6 +430,18 @@ module Google
|
|
418
430
|
include Google::Apis::Core::JsonObjectSupport
|
419
431
|
end
|
420
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
|
+
|
421
445
|
class SearchGroupsResponse
|
422
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
447
|
|
@@ -436,6 +460,12 @@ module Google
|
|
436
460
|
include Google::Apis::Core::JsonObjectSupport
|
437
461
|
end
|
438
462
|
|
463
|
+
class SecuritySettings
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
439
469
|
class SendUserInvitationRequest
|
440
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
471
|
|
@@ -1053,6 +1083,15 @@ module Google
|
|
1053
1083
|
end
|
1054
1084
|
end
|
1055
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
|
+
|
1056
1095
|
class Membership
|
1057
1096
|
# @private
|
1058
1097
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1084,6 +1123,15 @@ module Google
|
|
1084
1123
|
property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1beta1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1beta1::ExpiryDetail::Representation
|
1085
1124
|
|
1086
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'
|
1087
1135
|
end
|
1088
1136
|
end
|
1089
1137
|
|
@@ -1127,6 +1175,21 @@ module Google
|
|
1127
1175
|
end
|
1128
1176
|
end
|
1129
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
|
+
|
1130
1193
|
class SearchGroupsResponse
|
1131
1194
|
# @private
|
1132
1195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1154,6 +1217,15 @@ module Google
|
|
1154
1217
|
end
|
1155
1218
|
end
|
1156
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
|
+
|
1157
1229
|
class SendUserInvitationRequest
|
1158
1230
|
# @private
|
1159
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
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudidentity_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.16.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|