google-apis-cloudidentity_v1 0.14.0 → 0.18.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudidentity_v1/classes.rb +122 -43
- data/lib/google/apis/cloudidentity_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1/representations.rb +72 -16
- data/lib/google/apis/cloudidentity_v1/service.rb +74 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 729b0fd4e434f5580e820cc3a371919b3741fcd77da21c74e484d3869299250d
|
4
|
+
data.tar.gz: 114a2f3da7f69219013f74e7381b1f24c73c701f214442e10b84043b57b19f20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d95164258412e30e474d5c7d06206b4800a16b209ea2f4ff495517de5960838308a1f0159cff55480e8022e1c491fbcd1a9974ecf803446f018f712db0e65cea
|
7
|
+
data.tar.gz: f410501138204c31addf844712fdd6750bbeba5e0a19e17da8880b74066d75816d2023e1b184b2a7714443ac6777546d437b7255005570769346502b486cb1b4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-02-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220208
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.17.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211214
|
11
|
+
|
12
|
+
### v0.16.0 (2021-12-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211207
|
15
|
+
|
16
|
+
### v0.15.0 (2021-11-17)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211116
|
19
|
+
|
3
20
|
### v0.14.0 (2021-10-20)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210928
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudidentity_v1"
|
|
51
51
|
client = Google::Apis::CloudidentityV1::CloudIdentityService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -1538,6 +1538,39 @@ module Google
|
|
1538
1538
|
end
|
1539
1539
|
end
|
1540
1540
|
|
1541
|
+
# The definition of MemberRestriction
|
1542
|
+
class MemberRestriction
|
1543
|
+
include Google::Apis::Core::Hashable
|
1544
|
+
|
1545
|
+
# The evaluated state of this restriction.
|
1546
|
+
# Corresponds to the JSON property `evaluation`
|
1547
|
+
# @return [Google::Apis::CloudidentityV1::RestrictionEvaluation]
|
1548
|
+
attr_accessor :evaluation
|
1549
|
+
|
1550
|
+
# Member Restriction as defined by CEL expression. Supported restrictions are: `
|
1551
|
+
# member.customer_id` and `member.type`. Valid values for `member.type` are `1`,
|
1552
|
+
# `2` and `3`. They correspond to USER, SERVICE_ACCOUNT, and GROUP respectively.
|
1553
|
+
# The value for `member.customer_id` only supports `groupCustomerId()` currently
|
1554
|
+
# which means the customer id of the group will be used for restriction.
|
1555
|
+
# Supported operators are `&&`, `||` and `==`, corresponding to AND, OR, and
|
1556
|
+
# EQUAL. Examples: Allow only service accounts of given customer to be members. `
|
1557
|
+
# member.type == 2 && member.customer_id == groupCustomerId()` Allow only users
|
1558
|
+
# or groups to be members. `member.type == 1 || member.type == 3`
|
1559
|
+
# Corresponds to the JSON property `query`
|
1560
|
+
# @return [String]
|
1561
|
+
attr_accessor :query
|
1562
|
+
|
1563
|
+
def initialize(**args)
|
1564
|
+
update!(**args)
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
# Update properties of this object
|
1568
|
+
def update!(**args)
|
1569
|
+
@evaluation = args[:evaluation] if args.key?(:evaluation)
|
1570
|
+
@query = args[:query] if args.key?(:query)
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1541
1574
|
# A membership within the Cloud Identity Groups API. A `Membership` defines a
|
1542
1575
|
# relationship between a `Group` and an entity belonging to that `Group`,
|
1543
1576
|
# referred to as a "member".
|
@@ -1639,6 +1672,11 @@ module Google
|
|
1639
1672
|
# @return [String]
|
1640
1673
|
attr_accessor :name
|
1641
1674
|
|
1675
|
+
# Evaluations of restrictions applied to parent group on this membership.
|
1676
|
+
# Corresponds to the JSON property `restrictionEvaluations`
|
1677
|
+
# @return [Google::Apis::CloudidentityV1::RestrictionEvaluations]
|
1678
|
+
attr_accessor :restriction_evaluations
|
1679
|
+
|
1642
1680
|
def initialize(**args)
|
1643
1681
|
update!(**args)
|
1644
1682
|
end
|
@@ -1647,6 +1685,26 @@ module Google
|
|
1647
1685
|
def update!(**args)
|
1648
1686
|
@expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
|
1649
1687
|
@name = args[:name] if args.key?(:name)
|
1688
|
+
@restriction_evaluations = args[:restriction_evaluations] if args.key?(:restriction_evaluations)
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# The evaluated state of this restriction.
|
1693
|
+
class MembershipRoleRestrictionEvaluation
|
1694
|
+
include Google::Apis::Core::Hashable
|
1695
|
+
|
1696
|
+
# Output only. The current state of the restriction
|
1697
|
+
# Corresponds to the JSON property `state`
|
1698
|
+
# @return [String]
|
1699
|
+
attr_accessor :state
|
1700
|
+
|
1701
|
+
def initialize(**args)
|
1702
|
+
update!(**args)
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# Update properties of this object
|
1706
|
+
def update!(**args)
|
1707
|
+
@state = args[:state] if args.key?(:state)
|
1650
1708
|
end
|
1651
1709
|
end
|
1652
1710
|
|
@@ -1772,6 +1830,44 @@ module Google
|
|
1772
1830
|
end
|
1773
1831
|
end
|
1774
1832
|
|
1833
|
+
# The evaluated state of this restriction.
|
1834
|
+
class RestrictionEvaluation
|
1835
|
+
include Google::Apis::Core::Hashable
|
1836
|
+
|
1837
|
+
# Output only. The current state of the restriction
|
1838
|
+
# Corresponds to the JSON property `state`
|
1839
|
+
# @return [String]
|
1840
|
+
attr_accessor :state
|
1841
|
+
|
1842
|
+
def initialize(**args)
|
1843
|
+
update!(**args)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Update properties of this object
|
1847
|
+
def update!(**args)
|
1848
|
+
@state = args[:state] if args.key?(:state)
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# Evaluations of restrictions applied to parent group on this membership.
|
1853
|
+
class RestrictionEvaluations
|
1854
|
+
include Google::Apis::Core::Hashable
|
1855
|
+
|
1856
|
+
# The evaluated state of this restriction.
|
1857
|
+
# Corresponds to the JSON property `memberRestrictionEvaluation`
|
1858
|
+
# @return [Google::Apis::CloudidentityV1::MembershipRoleRestrictionEvaluation]
|
1859
|
+
attr_accessor :member_restriction_evaluation
|
1860
|
+
|
1861
|
+
def initialize(**args)
|
1862
|
+
update!(**args)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Update properties of this object
|
1866
|
+
def update!(**args)
|
1867
|
+
@member_restriction_evaluation = args[:member_restriction_evaluation] if args.key?(:member_restriction_evaluation)
|
1868
|
+
end
|
1869
|
+
end
|
1870
|
+
|
1775
1871
|
# The response message for GroupsService.SearchGroups.
|
1776
1872
|
class SearchGroupsResponse
|
1777
1873
|
include Google::Apis::Core::Hashable
|
@@ -1850,6 +1946,32 @@ module Google
|
|
1850
1946
|
end
|
1851
1947
|
end
|
1852
1948
|
|
1949
|
+
# The definition of security settings.
|
1950
|
+
class SecuritySettings
|
1951
|
+
include Google::Apis::Core::Hashable
|
1952
|
+
|
1953
|
+
# The definition of MemberRestriction
|
1954
|
+
# Corresponds to the JSON property `memberRestriction`
|
1955
|
+
# @return [Google::Apis::CloudidentityV1::MemberRestriction]
|
1956
|
+
attr_accessor :member_restriction
|
1957
|
+
|
1958
|
+
# Output only. The resource name of the security settings. Shall be of the form `
|
1959
|
+
# groups/`group_id`/securitySettings`.
|
1960
|
+
# Corresponds to the JSON property `name`
|
1961
|
+
# @return [String]
|
1962
|
+
attr_accessor :name
|
1963
|
+
|
1964
|
+
def initialize(**args)
|
1965
|
+
update!(**args)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Update properties of this object
|
1969
|
+
def update!(**args)
|
1970
|
+
@member_restriction = args[:member_restriction] if args.key?(:member_restriction)
|
1971
|
+
@name = args[:name] if args.key?(:name)
|
1972
|
+
end
|
1973
|
+
end
|
1974
|
+
|
1853
1975
|
# The `Status` type defines a logical error model that is suitable for different
|
1854
1976
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1855
1977
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1961,49 +2083,6 @@ module Google
|
|
1961
2083
|
@membership_role = args[:membership_role] if args.key?(:membership_role)
|
1962
2084
|
end
|
1963
2085
|
end
|
1964
|
-
|
1965
|
-
# The `UserInvitation` resource represents an email that can be sent to an
|
1966
|
-
# unmanaged user account inviting them to join the customer’s Google Workspace
|
1967
|
-
# or Cloud Identity account. An unmanaged account shares an email address domain
|
1968
|
-
# with the Google Workspace or Cloud Identity account but is not managed by it
|
1969
|
-
# yet. If the user accepts the `UserInvitation`, the user account will become
|
1970
|
-
# managed.
|
1971
|
-
class UserInvitation
|
1972
|
-
include Google::Apis::Core::Hashable
|
1973
|
-
|
1974
|
-
# Number of invitation emails sent to the user.
|
1975
|
-
# Corresponds to the JSON property `mailsSentCount`
|
1976
|
-
# @return [Fixnum]
|
1977
|
-
attr_accessor :mails_sent_count
|
1978
|
-
|
1979
|
-
# Shall be of the form `customers/`customer`/userinvitations/`user_email_address`
|
1980
|
-
# `.
|
1981
|
-
# Corresponds to the JSON property `name`
|
1982
|
-
# @return [String]
|
1983
|
-
attr_accessor :name
|
1984
|
-
|
1985
|
-
# State of the `UserInvitation`.
|
1986
|
-
# Corresponds to the JSON property `state`
|
1987
|
-
# @return [String]
|
1988
|
-
attr_accessor :state
|
1989
|
-
|
1990
|
-
# Time when the `UserInvitation` was last updated.
|
1991
|
-
# Corresponds to the JSON property `updateTime`
|
1992
|
-
# @return [String]
|
1993
|
-
attr_accessor :update_time
|
1994
|
-
|
1995
|
-
def initialize(**args)
|
1996
|
-
update!(**args)
|
1997
|
-
end
|
1998
|
-
|
1999
|
-
# Update properties of this object
|
2000
|
-
def update!(**args)
|
2001
|
-
@mails_sent_count = args[:mails_sent_count] if args.key?(:mails_sent_count)
|
2002
|
-
@name = args[:name] if args.key?(:name)
|
2003
|
-
@state = args[:state] if args.key?(:state)
|
2004
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
2005
|
-
end
|
2006
|
-
end
|
2007
2086
|
end
|
2008
2087
|
end
|
2009
2088
|
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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220208"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,12 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class MemberRestriction
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
343
349
|
class Membership
|
344
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
351
|
|
@@ -358,6 +364,12 @@ module Google
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
359
365
|
end
|
360
366
|
|
367
|
+
class MembershipRoleRestrictionEvaluation
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
361
373
|
class ModifyMembershipRolesRequest
|
362
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
375
|
|
@@ -376,6 +388,18 @@ module Google
|
|
376
388
|
include Google::Apis::Core::JsonObjectSupport
|
377
389
|
end
|
378
390
|
|
391
|
+
class RestrictionEvaluation
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
397
|
+
class RestrictionEvaluations
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
379
403
|
class SearchGroupsResponse
|
380
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
405
|
|
@@ -394,37 +418,37 @@ module Google
|
|
394
418
|
include Google::Apis::Core::JsonObjectSupport
|
395
419
|
end
|
396
420
|
|
397
|
-
class
|
421
|
+
class SecuritySettings
|
398
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
423
|
|
400
424
|
include Google::Apis::Core::JsonObjectSupport
|
401
425
|
end
|
402
426
|
|
403
|
-
class
|
427
|
+
class Status
|
404
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
429
|
|
406
430
|
include Google::Apis::Core::JsonObjectSupport
|
407
431
|
end
|
408
432
|
|
409
|
-
class
|
433
|
+
class TransitiveMembershipRole
|
410
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
435
|
|
412
436
|
include Google::Apis::Core::JsonObjectSupport
|
413
437
|
end
|
414
438
|
|
415
|
-
class
|
439
|
+
class UpdateGroupMetadata
|
416
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
441
|
|
418
442
|
include Google::Apis::Core::JsonObjectSupport
|
419
443
|
end
|
420
444
|
|
421
|
-
class
|
445
|
+
class UpdateMembershipMetadata
|
422
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
447
|
|
424
448
|
include Google::Apis::Core::JsonObjectSupport
|
425
449
|
end
|
426
450
|
|
427
|
-
class
|
451
|
+
class UpdateMembershipRolesParams
|
428
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
453
|
|
430
454
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -886,6 +910,15 @@ module Google
|
|
886
910
|
end
|
887
911
|
end
|
888
912
|
|
913
|
+
class MemberRestriction
|
914
|
+
# @private
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
+
property :evaluation, as: 'evaluation', class: Google::Apis::CloudidentityV1::RestrictionEvaluation, decorator: Google::Apis::CloudidentityV1::RestrictionEvaluation::Representation
|
917
|
+
|
918
|
+
property :query, as: 'query'
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
889
922
|
class Membership
|
890
923
|
# @private
|
891
924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -915,6 +948,15 @@ module Google
|
|
915
948
|
property :expiry_detail, as: 'expiryDetail', class: Google::Apis::CloudidentityV1::ExpiryDetail, decorator: Google::Apis::CloudidentityV1::ExpiryDetail::Representation
|
916
949
|
|
917
950
|
property :name, as: 'name'
|
951
|
+
property :restriction_evaluations, as: 'restrictionEvaluations', class: Google::Apis::CloudidentityV1::RestrictionEvaluations, decorator: Google::Apis::CloudidentityV1::RestrictionEvaluations::Representation
|
952
|
+
|
953
|
+
end
|
954
|
+
end
|
955
|
+
|
956
|
+
class MembershipRoleRestrictionEvaluation
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :state, as: 'state'
|
918
960
|
end
|
919
961
|
end
|
920
962
|
|
@@ -949,6 +991,21 @@ module Google
|
|
949
991
|
end
|
950
992
|
end
|
951
993
|
|
994
|
+
class RestrictionEvaluation
|
995
|
+
# @private
|
996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
997
|
+
property :state, as: 'state'
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
1001
|
+
class RestrictionEvaluations
|
1002
|
+
# @private
|
1003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1004
|
+
property :member_restriction_evaluation, as: 'memberRestrictionEvaluation', class: Google::Apis::CloudidentityV1::MembershipRoleRestrictionEvaluation, decorator: Google::Apis::CloudidentityV1::MembershipRoleRestrictionEvaluation::Representation
|
1005
|
+
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
952
1009
|
class SearchGroupsResponse
|
953
1010
|
# @private
|
954
1011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -976,6 +1033,15 @@ module Google
|
|
976
1033
|
end
|
977
1034
|
end
|
978
1035
|
|
1036
|
+
class SecuritySettings
|
1037
|
+
# @private
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
property :member_restriction, as: 'memberRestriction', class: Google::Apis::CloudidentityV1::MemberRestriction, decorator: Google::Apis::CloudidentityV1::MemberRestriction::Representation
|
1040
|
+
|
1041
|
+
property :name, as: 'name'
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
979
1045
|
class Status
|
980
1046
|
# @private
|
981
1047
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1012,16 +1078,6 @@ module Google
|
|
1012
1078
|
|
1013
1079
|
end
|
1014
1080
|
end
|
1015
|
-
|
1016
|
-
class UserInvitation
|
1017
|
-
# @private
|
1018
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1019
|
-
property :mails_sent_count, :numeric_string => true, as: 'mailsSentCount'
|
1020
|
-
property :name, as: 'name'
|
1021
|
-
property :state, as: 'state'
|
1022
|
-
property :update_time, as: 'updateTime'
|
1023
|
-
end
|
1024
|
-
end
|
1025
1081
|
end
|
1026
1082
|
end
|
1027
1083
|
end
|
@@ -920,6 +920,42 @@ module Google
|
|
920
920
|
execute_or_queue_command(command, &block)
|
921
921
|
end
|
922
922
|
|
923
|
+
# Get Security Settings
|
924
|
+
# @param [String] name
|
925
|
+
# Required. The security settings to retrieve. Format: `groups/`group_id`/
|
926
|
+
# securitySettings`
|
927
|
+
# @param [String] read_mask
|
928
|
+
# Field-level read mask of which fields to return. "*" returns all fields. If
|
929
|
+
# not specified, all fields will be returned. May only contain the following
|
930
|
+
# field: `member_restriction`.
|
931
|
+
# @param [String] fields
|
932
|
+
# Selector specifying which fields to include in a partial response.
|
933
|
+
# @param [String] quota_user
|
934
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
935
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
936
|
+
# @param [Google::Apis::RequestOptions] options
|
937
|
+
# Request-specific options
|
938
|
+
#
|
939
|
+
# @yield [result, err] Result & error if block supplied
|
940
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::SecuritySettings] parsed result object
|
941
|
+
# @yieldparam err [StandardError] error object if request failed
|
942
|
+
#
|
943
|
+
# @return [Google::Apis::CloudidentityV1::SecuritySettings]
|
944
|
+
#
|
945
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
946
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
947
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
948
|
+
def get_group_security_settings(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
949
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
950
|
+
command.response_representation = Google::Apis::CloudidentityV1::SecuritySettings::Representation
|
951
|
+
command.response_class = Google::Apis::CloudidentityV1::SecuritySettings
|
952
|
+
command.params['name'] = name unless name.nil?
|
953
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
954
|
+
command.query['fields'] = fields unless fields.nil?
|
955
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
956
|
+
execute_or_queue_command(command, &block)
|
957
|
+
end
|
958
|
+
|
923
959
|
# Lists the `Group` resources under a customer or namespace.
|
924
960
|
# @param [Fixnum] page_size
|
925
961
|
# The maximum number of results to return. Note that the number of results
|
@@ -1094,6 +1130,44 @@ module Google
|
|
1094
1130
|
execute_or_queue_command(command, &block)
|
1095
1131
|
end
|
1096
1132
|
|
1133
|
+
# Update Security Settings
|
1134
|
+
# @param [String] name
|
1135
|
+
# Output only. The resource name of the security settings. Shall be of the form `
|
1136
|
+
# groups/`group_id`/securitySettings`.
|
1137
|
+
# @param [Google::Apis::CloudidentityV1::SecuritySettings] security_settings_object
|
1138
|
+
# @param [String] update_mask
|
1139
|
+
# Required. The fully-qualified names of fields to update. May only contain the
|
1140
|
+
# following field: `member_restriction.query`.
|
1141
|
+
# @param [String] fields
|
1142
|
+
# Selector specifying which fields to include in a partial response.
|
1143
|
+
# @param [String] quota_user
|
1144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1146
|
+
# @param [Google::Apis::RequestOptions] options
|
1147
|
+
# Request-specific options
|
1148
|
+
#
|
1149
|
+
# @yield [result, err] Result & error if block supplied
|
1150
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
1151
|
+
# @yieldparam err [StandardError] error object if request failed
|
1152
|
+
#
|
1153
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
1154
|
+
#
|
1155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1158
|
+
def update_group_security_settings(name, security_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1159
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1160
|
+
command.request_representation = Google::Apis::CloudidentityV1::SecuritySettings::Representation
|
1161
|
+
command.request_object = security_settings_object
|
1162
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
1163
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
1164
|
+
command.params['name'] = name unless name.nil?
|
1165
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1166
|
+
command.query['fields'] = fields unless fields.nil?
|
1167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1168
|
+
execute_or_queue_command(command, &block)
|
1169
|
+
end
|
1170
|
+
|
1097
1171
|
# Check a potential member for membership in a group. **Note:** This feature is
|
1098
1172
|
# only available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
1099
1173
|
# Enterprise for Education; and Cloud Identity Premium accounts. If the account
|
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.18.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:
|
11
|
+
date: 2022-02-14 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/main/generated/google-apis-cloudidentity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Identity API V1
|