google-apis-binaryauthorization_v1 0.9.0 → 0.10.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 +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/binaryauthorization_v1/classes.rb +62 -57
- data/lib/google/apis/binaryauthorization_v1/gem_version.rb +2 -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: 1a0ee500e41ecc94cc64f89c5393a088caa25c377df91d2335e5da9e323975ac
|
4
|
+
data.tar.gz: f2e3210defd2439818daef7dfe69863b2faf1366eeb9f6cfe0c9f930abf26696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc55dd156c67846bc300796a28ecc2100fa5c74f95f96e33756c17f258b1aa8a2ebf305b0b1e6503fe8a8dfc55ff55852623518686cad7e7552afc37e54ba7b
|
7
|
+
data.tar.gz: '09ec4ab033c271e9619684cf37087ed04a1646f71dc4d4783655b559b1a6a5cbc15df0afcaeea7faf17c1430dacf48d259b1e64ea442b58823282c1e0276fd5e'
|
data/CHANGELOG.md
CHANGED
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') etag: BwWWja0YfJA= version: 3 For
|
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
|
@@ -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') etag: BwWWja0YfJA= version: 3 For
|
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.10.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 = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
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.10.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-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.10.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:
|