google-apis-iap_v1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cccb8cddc1df8a92f11a5b31919a78752af176271613724aaef4c5629427a0d1
4
- data.tar.gz: 938784af8da9f47369e1efd0b8d719fc98451311cef02604a0e1e2d5648b6518
3
+ metadata.gz: ffef7847a3b39134813a8ef426612106013a5771a638a8170f550a54f4b3e594
4
+ data.tar.gz: c87087a1ab2700697e9ed9dd4a84bd425e2c49146cc911e81ae7ed4f7859cd2d
5
5
  SHA512:
6
- metadata.gz: 86d75f3f0e4e8677a79efdee78596b68e3e704df22416cb6dae8fbac01a89c3d15582bda95a74ee77736bac54cc9bb1b5169f6a7f18854beb8c960c7cb632f8e
7
- data.tar.gz: 357151e609bfba6bf5f20fe62f538f8e013a09792b796bde7c790a25bbb7ba123a68b208c5f110e6349a8253bdfe618fa42ac6641e11ddadfc985e769e2b2f13
6
+ metadata.gz: ae3a178311507f759e398cce6dcf0e8408137e2f7f2b4ee75fd79bf0949367169a77eb5a7f145047595bdd25be852c841e6857f439a459231a2563a5ea34d235
7
+ data.tar.gz: b8b01a8e439740e7c126ec6a40b0b33178a6344cd3a5b51e2a409a861b7d65d8b1cd4838987fbaecf76aab586b0ce94ec00171c8580193a435218c1907c2b4c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-iap_v1
2
2
 
3
+ ### v0.11.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
7
+ ### v0.10.0 (2021-10-07)
8
+
9
+ * Regenerated from discovery document revision 20210930
10
+
11
+ ### v0.9.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210813
14
+
15
+ ### v0.8.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.7.0 (2021-06-24)
4
20
 
5
21
  * Unspecified changes
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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 Iap service in particular.)
67
67
 
@@ -82,6 +82,11 @@ module Google
82
82
  # @return [Google::Apis::IapV1::PolicyDelegationSettings]
83
83
  attr_accessor :policy_delegation_settings
84
84
 
85
+ # Configuration for IAP reauthentication policies.
86
+ # Corresponds to the JSON property `reauthSettings`
87
+ # @return [Google::Apis::IapV1::ReauthSettings]
88
+ attr_accessor :reauth_settings
89
+
85
90
  def initialize(**args)
86
91
  update!(**args)
87
92
  end
@@ -92,6 +97,7 @@ module Google
92
97
  @gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
93
98
  @oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
94
99
  @policy_delegation_settings = args[:policy_delegation_settings] if args.key?(:policy_delegation_settings)
100
+ @reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings)
95
101
  end
96
102
  end
97
103
 
@@ -133,7 +139,7 @@ module Google
133
139
  end
134
140
  end
135
141
 
136
- # Associates `members` with a `role`.
142
+ # Associates `members`, or principals, with a `role`.
137
143
  class Binding
138
144
  include Google::Apis::Core::Hashable
139
145
 
@@ -156,7 +162,7 @@ module Google
156
162
  # @return [Google::Apis::IapV1::Expr]
157
163
  attr_accessor :condition
158
164
 
159
- # Specifies the identities requesting access for a Cloud Platform resource. `
165
+ # Specifies the principals requesting access for a Cloud Platform resource. `
160
166
  # members` can have the following values: * `allUsers`: A special identifier
161
167
  # that represents anyone who is on the internet; with or without a Google
162
168
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -186,8 +192,8 @@ module Google
186
192
  # @return [Array<String>]
187
193
  attr_accessor :members
188
194
 
189
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
190
- # , or `roles/owner`.
195
+ # Role that is assigned to the list of `members`, or principals. For example, `
196
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
191
197
  # Corresponds to the JSON property `role`
192
198
  # @return [String]
193
199
  attr_accessor :role
@@ -569,37 +575,42 @@ module Google
569
575
 
570
576
  # An Identity and Access Management (IAM) policy, which specifies access
571
577
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
572
- # A `binding` binds one or more `members` to a single `role`. Members can be
573
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
574
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
575
- # role or a user-created custom role. For some types of Google Cloud resources,
576
- # a `binding` can also specify a `condition`, which is a logical expression that
577
- # allows access to a resource only if the expression evaluates to `true`. A
578
- # condition can add constraints based on attributes of the request, the resource,
579
- # or both. To learn which resources support conditions in their IAM policies,
580
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
581
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
582
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
583
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
584
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
585
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
586
- # title": "expirable access", "description": "Does not grant access after Sep
587
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
588
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
589
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
590
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
591
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
592
- # roles/resourcemanager.organizationViewer condition: title: expirable access
593
- # description: Does not grant access after Sep 2020 expression: request.time <
594
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
595
- # description of IAM and its features, see the [IAM documentation](https://cloud.
596
- # google.com/iam/docs/).
578
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
579
+ # Principals can be user accounts, service accounts, Google groups, and domains (
580
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
581
+ # an IAM predefined role or a user-created custom role. For some types of Google
582
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
583
+ # logical expression that allows access to a resource only if the expression
584
+ # evaluates to `true`. A condition can add constraints based on attributes of
585
+ # the request, the resource, or both. To learn which resources support
586
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
587
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
588
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
589
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
590
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
591
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
592
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
593
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
594
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
595
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
596
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
597
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
598
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
599
+ # access description: Does not grant access after Sep 2020 expression: request.
600
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
601
+ # a description of IAM and its features, see the [IAM documentation](https://
602
+ # cloud.google.com/iam/docs/).
597
603
  class Policy
598
604
  include Google::Apis::Core::Hashable
599
605
 
600
- # Associates a list of `members` to a `role`. Optionally, may specify a `
601
- # condition` that determines how and when the `bindings` are applied. Each of
602
- # the `bindings` must contain at least one member.
606
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
607
+ # specify a `condition` that determines how and when the `bindings` are applied.
608
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
609
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
610
+ # can be Google groups. Each occurrence of a principal counts towards these
611
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
612
+ # example.com`, and not to any other principal, then you can add another 1,450
613
+ # principals to the `bindings` in the `Policy`.
603
614
  # Corresponds to the JSON property `bindings`
604
615
  # @return [Array<Google::Apis::IapV1::Binding>]
605
616
  attr_accessor :bindings
@@ -736,6 +747,38 @@ module Google
736
747
  end
737
748
  end
738
749
 
750
+ # Configuration for IAP reauthentication policies.
751
+ class ReauthSettings
752
+ include Google::Apis::Core::Hashable
753
+
754
+ # Reauth session lifetime, how long before a user has to reauthenticate again.
755
+ # Corresponds to the JSON property `maxAge`
756
+ # @return [String]
757
+ attr_accessor :max_age
758
+
759
+ # Reauth method required by the policy.
760
+ # Corresponds to the JSON property `method`
761
+ # @return [String]
762
+ attr_accessor :method_prop
763
+
764
+ # How IAP determines the effective policy in cases of hierarchial policies.
765
+ # Policies are merged from higher in the hierarchy to lower in the hierarchy.
766
+ # Corresponds to the JSON property `policyType`
767
+ # @return [String]
768
+ attr_accessor :policy_type
769
+
770
+ def initialize(**args)
771
+ update!(**args)
772
+ end
773
+
774
+ # Update properties of this object
775
+ def update!(**args)
776
+ @max_age = args[:max_age] if args.key?(:max_age)
777
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
778
+ @policy_type = args[:policy_type] if args.key?(:policy_type)
779
+ end
780
+ end
781
+
739
782
  # The request sent to ResetIdentityAwareProxyClientSecret.
740
783
  class ResetIdentityAwareProxyClientSecretRequest
741
784
  include Google::Apis::Core::Hashable
@@ -820,31 +863,31 @@ module Google
820
863
 
821
864
  # An Identity and Access Management (IAM) policy, which specifies access
822
865
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
823
- # A `binding` binds one or more `members` to a single `role`. Members can be
824
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
825
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
826
- # role or a user-created custom role. For some types of Google Cloud resources,
827
- # a `binding` can also specify a `condition`, which is a logical expression that
828
- # allows access to a resource only if the expression evaluates to `true`. A
829
- # condition can add constraints based on attributes of the request, the resource,
830
- # or both. To learn which resources support conditions in their IAM policies,
831
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
832
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
833
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
834
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
835
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
836
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
837
- # title": "expirable access", "description": "Does not grant access after Sep
838
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
839
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
840
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
841
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
842
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
843
- # roles/resourcemanager.organizationViewer condition: title: expirable access
844
- # description: Does not grant access after Sep 2020 expression: request.time <
845
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
846
- # description of IAM and its features, see the [IAM documentation](https://cloud.
847
- # google.com/iam/docs/).
866
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
867
+ # Principals can be user accounts, service accounts, Google groups, and domains (
868
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
869
+ # an IAM predefined role or a user-created custom role. For some types of Google
870
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
871
+ # logical expression that allows access to a resource only if the expression
872
+ # evaluates to `true`. A condition can add constraints based on attributes of
873
+ # the request, the resource, or both. To learn which resources support
874
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
875
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
876
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
877
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
878
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
879
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
880
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
881
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
882
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
883
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
884
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
885
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
886
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
887
+ # access description: Does not grant access after Sep 2020 expression: request.
888
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
889
+ # a description of IAM and its features, see the [IAM documentation](https://
890
+ # cloud.google.com/iam/docs/).
848
891
  # Corresponds to the JSON property `policy`
849
892
  # @return [Google::Apis::IapV1::Policy]
850
893
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IapV1
18
18
  # Version of the google-apis-iap_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210611"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class ReauthSettings
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class ResetIdentityAwareProxyClientSecretRequest
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -191,6 +197,8 @@ module Google
191
197
 
192
198
  property :policy_delegation_settings, as: 'policyDelegationSettings', class: Google::Apis::IapV1::PolicyDelegationSettings, decorator: Google::Apis::IapV1::PolicyDelegationSettings::Representation
193
199
 
200
+ property :reauth_settings, as: 'reauthSettings', class: Google::Apis::IapV1::ReauthSettings, decorator: Google::Apis::IapV1::ReauthSettings::Representation
201
+
194
202
  end
195
203
  end
196
204
 
@@ -353,6 +361,15 @@ module Google
353
361
  end
354
362
  end
355
363
 
364
+ class ReauthSettings
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :max_age, as: 'maxAge'
368
+ property :method_prop, as: 'method'
369
+ property :policy_type, as: 'policyType'
370
+ end
371
+ end
372
+
356
373
  class ResetIdentityAwareProxyClientSecretRequest
357
374
  # @private
358
375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,11 +51,11 @@ module Google
51
51
 
52
52
  # Constructs a new OAuth brand for the project if one does not exist. The
53
53
  # created brand is "internal only", meaning that OAuth clients created under it
54
- # only accept requests from users who belong to the same G Suite organization as
55
- # the project. The brand is created in an un-reviewed status. NOTE: The "
56
- # internal only" status can be manually changed in the Google Cloud console.
57
- # Requires that a brand does not already exist for the project, and that the
58
- # specified support email is owned by the caller.
54
+ # only accept requests from users who belong to the same Google Workspace
55
+ # organization as the project. The brand is created in an un-reviewed status.
56
+ # NOTE: The "internal only" status can be manually changed in the Google Cloud
57
+ # Console. Requires that a brand does not already exist for the project, and
58
+ # that the specified support email is owned by the caller.
59
59
  # @param [String] parent
60
60
  # Required. GCP Project number/id under which the brand is to be created. In the
61
61
  # following format: projects/`project_number/id`.
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iap_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.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-06-28 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/master/generated/google-apis-iap_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-iap_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iap_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iap_v1/v0.11.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iap_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: