google-apis-binaryauthorization_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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/binaryauthorization_v1/classes.rb +66 -61
- data/lib/google/apis/binaryauthorization_v1/gem_version.rb +3 -3
- data/lib/google/apis/binaryauthorization_v1/service.rb +20 -14
- data/lib/google/apis/binaryauthorization_v1.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de7472935dfdf039428bc214173d9f71f75dcede694cfa40215cbd4be7567a06
|
4
|
+
data.tar.gz: 2128d0b2f6e9d42956a911dd318b8e53290ee313ab01cded3a5586655b070974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 291df6626fae8522c7c67233566096c6f0eaa126e96a4d0b1b9b47806e8e1a84199aa04f84e23153203f9763dcbf3cc5263a3ca00322712ce61c53a0759b41f4
|
7
|
+
data.tar.gz: 19c5743b5305311bf54a97d304974459d57b5fb18169100acae15df882a1633504d843b4f9a0c18afa87c5b0933ee1ea598099774e7e039c04db29a266512aec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-binaryauthorization_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-11-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.10.0 (2021-10-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211015
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.9.0 (2021-08-21)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210813
|
15
|
+
|
16
|
+
### v0.8.0 (2021-06-29)
|
17
|
+
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.7.0 (2021-06-24)
|
4
21
|
|
5
22
|
* Regenerated using generator version 0.3.0
|
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 Binaryauthorization service in particular.)
|
67
67
|
|
@@ -221,7 +221,7 @@ module Google
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
|
224
|
-
# Associates `members
|
224
|
+
# Associates `members`, or principals, with a `role`.
|
225
225
|
class Binding
|
226
226
|
include Google::Apis::Core::Hashable
|
227
227
|
|
@@ -244,7 +244,7 @@ module Google
|
|
244
244
|
# @return [Google::Apis::BinaryauthorizationV1::Expr]
|
245
245
|
attr_accessor :condition
|
246
246
|
|
247
|
-
# Specifies the
|
247
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
248
248
|
# members` can have the following values: * `allUsers`: A special identifier
|
249
249
|
# that represents anyone who is on the internet; with or without a Google
|
250
250
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -274,8 +274,8 @@ module Google
|
|
274
274
|
# @return [Array<String>]
|
275
275
|
attr_accessor :members
|
276
276
|
|
277
|
-
# Role that is assigned to `members
|
278
|
-
#
|
277
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
278
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
279
279
|
# Corresponds to the JSON property `role`
|
280
280
|
# @return [String]
|
281
281
|
attr_accessor :role
|
@@ -365,37 +365,42 @@ module Google
|
|
365
365
|
|
366
366
|
# An Identity and Access Management (IAM) policy, which specifies access
|
367
367
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
368
|
-
# A `binding` binds one or more `members
|
369
|
-
# user accounts, service accounts, Google groups, and domains (
|
370
|
-
# A `role` is a named list of permissions; each `role` can be
|
371
|
-
# role or a user-created custom role. For some types of Google
|
372
|
-
# a `binding` can also specify a `condition`, which is a
|
373
|
-
# allows access to a resource only if the expression
|
374
|
-
# condition can add constraints based on attributes of
|
375
|
-
# or both. To learn which resources support
|
376
|
-
# see the [IAM documentation](https://cloud.
|
377
|
-
# resource-policies). **JSON example:** ` "
|
378
|
-
# resourcemanager.organizationAdmin", "members": [
|
379
|
-
# group:admins@example.com", "domain:google.com", "
|
380
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
381
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
382
|
-
# title": "expirable access", "description": "Does not grant
|
383
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
384
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
385
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
386
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
387
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
388
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
389
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
390
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
391
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
392
|
-
# google.com/iam/docs/).
|
368
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
369
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
370
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
371
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
372
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
373
|
+
# logical expression that allows access to a resource only if the expression
|
374
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
375
|
+
# the request, the resource, or both. To learn which resources support
|
376
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
377
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
378
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
379
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
380
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
381
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
382
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
383
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
384
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
385
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
386
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
387
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
388
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
389
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
390
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
391
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
392
|
+
# cloud.google.com/iam/docs/).
|
393
393
|
class IamPolicy
|
394
394
|
include Google::Apis::Core::Hashable
|
395
395
|
|
396
|
-
# Associates a list of `members
|
397
|
-
# condition` that determines how and when the `bindings` are applied.
|
398
|
-
# the `bindings` must contain at least one
|
396
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
397
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
398
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
399
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
400
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
401
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
402
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
403
|
+
# principals to the `bindings` in the `Policy`.
|
399
404
|
# Corresponds to the JSON property `bindings`
|
400
405
|
# @return [Array<Google::Apis::BinaryauthorizationV1::Binding>]
|
401
406
|
attr_accessor :bindings
|
@@ -569,20 +574,20 @@ module Google
|
|
569
574
|
attr_accessor :global_policy_evaluation_mode
|
570
575
|
|
571
576
|
# Optional. Per-istio-service-identity admission rules. Istio service identity
|
572
|
-
# spec format: spiffe:///ns//sa
|
573
|
-
# ns/sa/default
|
577
|
+
# spec format: `spiffe:///ns//sa/` or `/ns//sa/` e.g. `spiffe://example.com/ns/
|
578
|
+
# test-ns/sa/default`
|
574
579
|
# Corresponds to the JSON property `istioServiceIdentityAdmissionRules`
|
575
580
|
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
|
576
581
|
attr_accessor :istio_service_identity_admission_rules
|
577
582
|
|
578
583
|
# Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
|
579
|
-
# [a-z.-]
|
584
|
+
# `[a-z.-]+`, e.g. `some-namespace`
|
580
585
|
# Corresponds to the JSON property `kubernetesNamespaceAdmissionRules`
|
581
586
|
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
|
582
587
|
attr_accessor :kubernetes_namespace_admission_rules
|
583
588
|
|
584
589
|
# Optional. Per-kubernetes-service-account admission rules. Service account spec
|
585
|
-
# format: `namespace:serviceaccount`. e.g.
|
590
|
+
# format: `namespace:serviceaccount`. e.g. `test-ns:default`
|
586
591
|
# Corresponds to the JSON property `kubernetesServiceAccountAdmissionRules`
|
587
592
|
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
|
588
593
|
attr_accessor :kubernetes_service_account_admission_rules
|
@@ -623,31 +628,31 @@ module Google
|
|
623
628
|
|
624
629
|
# An Identity and Access Management (IAM) policy, which specifies access
|
625
630
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
626
|
-
# A `binding` binds one or more `members
|
627
|
-
# user accounts, service accounts, Google groups, and domains (
|
628
|
-
# A `role` is a named list of permissions; each `role` can be
|
629
|
-
# role or a user-created custom role. For some types of Google
|
630
|
-
# a `binding` can also specify a `condition`, which is a
|
631
|
-
# allows access to a resource only if the expression
|
632
|
-
# condition can add constraints based on attributes of
|
633
|
-
# or both. To learn which resources support
|
634
|
-
# see the [IAM documentation](https://cloud.
|
635
|
-
# resource-policies). **JSON example:** ` "
|
636
|
-
# resourcemanager.organizationAdmin", "members": [
|
637
|
-
# group:admins@example.com", "domain:google.com", "
|
638
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
639
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
640
|
-
# title": "expirable access", "description": "Does not grant
|
641
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
642
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
643
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
644
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
645
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
646
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
647
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
648
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
649
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
650
|
-
# google.com/iam/docs/).
|
631
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
632
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
633
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
634
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
635
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
636
|
+
# logical expression that allows access to a resource only if the expression
|
637
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
638
|
+
# the request, the resource, or both. To learn which resources support
|
639
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
640
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
641
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
642
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
643
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
644
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
645
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
646
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
647
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
648
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
649
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
650
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
651
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
652
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
653
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
654
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
655
|
+
# cloud.google.com/iam/docs/).
|
651
656
|
# Corresponds to the JSON property `policy`
|
652
657
|
# @return [Google::Apis::BinaryauthorizationV1::IamPolicy]
|
653
658
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BinaryauthorizationV1
|
18
18
|
# Version of the google-apis-binaryauthorization_v1 gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -228,13 +228,16 @@ module Google
|
|
228
228
|
# REQUIRED: The resource for which the policy is being requested. See the
|
229
229
|
# operation documentation for the appropriate value for this field.
|
230
230
|
# @param [Fixnum] options_requested_policy_version
|
231
|
-
# Optional. The policy
|
232
|
-
# 3. Requests specifying an invalid value will be
|
233
|
-
# policies with any conditional bindings must
|
234
|
-
#
|
235
|
-
# field unset.
|
236
|
-
#
|
237
|
-
#
|
231
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
232
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
233
|
+
# rejected. Requests for policies with any conditional role bindings must
|
234
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
235
|
+
# valid value or leave the field unset. The policy in the response might use the
|
236
|
+
# policy version that you specified, or it might use a lower policy version. For
|
237
|
+
# example, if you specify version 3, but the policy has no conditional role
|
238
|
+
# bindings, the response uses version 1. To learn which resources support
|
239
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
240
|
+
# google.com/iam/help/conditions/resource-policies).
|
238
241
|
# @param [String] fields
|
239
242
|
# Selector specifying which fields to include in a partial response.
|
240
243
|
# @param [String] quota_user
|
@@ -452,13 +455,16 @@ module Google
|
|
452
455
|
# REQUIRED: The resource for which the policy is being requested. See the
|
453
456
|
# operation documentation for the appropriate value for this field.
|
454
457
|
# @param [Fixnum] options_requested_policy_version
|
455
|
-
# Optional. The policy
|
456
|
-
# 3. Requests specifying an invalid value will be
|
457
|
-
# policies with any conditional bindings must
|
458
|
-
#
|
459
|
-
# field unset.
|
460
|
-
#
|
461
|
-
#
|
458
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
459
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
460
|
+
# rejected. Requests for policies with any conditional role bindings must
|
461
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
462
|
+
# valid value or leave the field unset. The policy in the response might use the
|
463
|
+
# policy version that you specified, or it might use a lower policy version. For
|
464
|
+
# example, if you specify version 3, but the policy has no conditional role
|
465
|
+
# bindings, the response uses version 1. To learn which resources support
|
466
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
467
|
+
# google.com/iam/help/conditions/resource-policies).
|
462
468
|
# @param [String] fields
|
463
469
|
# Selector specifying which fields to include in a partial response.
|
464
470
|
# @param [String] quota_user
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-binaryauthorization_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
11
|
+
date: 2021-11-15 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.
|
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.
|
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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/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-binaryauthorization_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-binaryauthorization_v1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-binaryauthorization_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|