google-apis-secretmanager_v1 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 +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/secretmanager_v1/classes.rb +62 -57
- data/lib/google/apis/secretmanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/secretmanager_v1/service.rb +13 -2
- data/lib/google/apis/secretmanager_v1.rb +1 -1
- 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: 4201bd8db4747d5009893e203738f616a223e64ae477f44e1da494686e3037c0
|
4
|
+
data.tar.gz: dc62e241aad11e65d83a211c7ceb1597faaa33ecc8f363f04e067a572504055a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f942007070c82f70b25c29a0ff34291e9a46057957ae2591a62876a58ea1ba70dfa02256c61c4ae9628296609959c58e07691957d5c973cf40eea4c370cf7e2a
|
7
|
+
data.tar.gz: 26332bff137d01c1d69ef6265bec6c80b08520790599a76ac2679495b33f22111edafb1363a9d6b64d3193d5012a477eee12499d5c0b2792255b0c25fa8774ca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-secretmanager_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-10-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.15.0 (2021-10-08)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211001
|
11
|
+
|
12
|
+
### v0.14.0 (2021-09-01)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210813
|
15
|
+
|
16
|
+
### v0.13.0 (2021-07-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210710
|
19
|
+
|
3
20
|
### v0.12.0 (2021-06-29)
|
4
21
|
|
5
22
|
* Regenerated using generator version 0.4.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 Secretmanager service in particular.)
|
67
67
|
|
@@ -181,7 +181,7 @@ module Google
|
|
181
181
|
end
|
182
182
|
end
|
183
183
|
|
184
|
-
# Associates `members
|
184
|
+
# Associates `members`, or principals, with a `role`.
|
185
185
|
class Binding
|
186
186
|
include Google::Apis::Core::Hashable
|
187
187
|
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
# @return [Google::Apis::SecretmanagerV1::Expr]
|
205
205
|
attr_accessor :condition
|
206
206
|
|
207
|
-
# Specifies the
|
207
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
208
208
|
# members` can have the following values: * `allUsers`: A special identifier
|
209
209
|
# that represents anyone who is on the internet; with or without a Google
|
210
210
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -234,8 +234,8 @@ module Google
|
|
234
234
|
# @return [Array<String>]
|
235
235
|
attr_accessor :members
|
236
236
|
|
237
|
-
# Role that is assigned to `members
|
238
|
-
#
|
237
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
238
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
239
239
|
# Corresponds to the JSON property `role`
|
240
240
|
# @return [String]
|
241
241
|
attr_accessor :role
|
@@ -570,31 +570,31 @@ module Google
|
|
570
570
|
|
571
571
|
# An Identity and Access Management (IAM) policy, which specifies access
|
572
572
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
573
|
-
# A `binding` binds one or more `members
|
574
|
-
# user accounts, service accounts, Google groups, and domains (
|
575
|
-
# A `role` is a named list of permissions; each `role` can be
|
576
|
-
# role or a user-created custom role. For some types of Google
|
577
|
-
# a `binding` can also specify a `condition`, which is a
|
578
|
-
# allows access to a resource only if the expression
|
579
|
-
# condition can add constraints based on attributes of
|
580
|
-
# or both. To learn which resources support
|
581
|
-
# see the [IAM documentation](https://cloud.
|
582
|
-
# resource-policies). **JSON example:** ` "
|
583
|
-
# resourcemanager.organizationAdmin", "members": [
|
584
|
-
# group:admins@example.com", "domain:google.com", "
|
585
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
586
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
587
|
-
# title": "expirable access", "description": "Does not grant
|
588
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
589
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
590
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
591
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
592
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
593
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
594
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
595
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
596
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
597
|
-
# google.com/iam/docs/).
|
573
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
574
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
575
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
576
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
577
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
578
|
+
# logical expression that allows access to a resource only if the expression
|
579
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
580
|
+
# the request, the resource, or both. To learn which resources support
|
581
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
582
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
583
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
584
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
585
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
586
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
587
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
588
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
589
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
590
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
591
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
592
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
593
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
594
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
595
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
596
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
597
|
+
# cloud.google.com/iam/docs/).
|
598
598
|
class Policy
|
599
599
|
include Google::Apis::Core::Hashable
|
600
600
|
|
@@ -603,9 +603,14 @@ module Google
|
|
603
603
|
# @return [Array<Google::Apis::SecretmanagerV1::AuditConfig>]
|
604
604
|
attr_accessor :audit_configs
|
605
605
|
|
606
|
-
# Associates a list of `members
|
607
|
-
# condition` that determines how and when the `bindings` are applied.
|
608
|
-
# the `bindings` must contain at least one
|
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`.
|
609
614
|
# Corresponds to the JSON property `bindings`
|
610
615
|
# @return [Array<Google::Apis::SecretmanagerV1::Binding>]
|
611
616
|
attr_accessor :bindings
|
@@ -955,31 +960,31 @@ module Google
|
|
955
960
|
|
956
961
|
# An Identity and Access Management (IAM) policy, which specifies access
|
957
962
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
958
|
-
# A `binding` binds one or more `members
|
959
|
-
# user accounts, service accounts, Google groups, and domains (
|
960
|
-
# A `role` is a named list of permissions; each `role` can be
|
961
|
-
# role or a user-created custom role. For some types of Google
|
962
|
-
# a `binding` can also specify a `condition`, which is a
|
963
|
-
# allows access to a resource only if the expression
|
964
|
-
# condition can add constraints based on attributes of
|
965
|
-
# or both. To learn which resources support
|
966
|
-
# see the [IAM documentation](https://cloud.
|
967
|
-
# resource-policies). **JSON example:** ` "
|
968
|
-
# resourcemanager.organizationAdmin", "members": [
|
969
|
-
# group:admins@example.com", "domain:google.com", "
|
970
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
971
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
972
|
-
# title": "expirable access", "description": "Does not grant
|
973
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
974
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
975
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
976
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
977
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
978
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
979
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
980
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
981
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
982
|
-
# google.com/iam/docs/).
|
963
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
964
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
965
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
966
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
967
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
968
|
+
# logical expression that allows access to a resource only if the expression
|
969
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
970
|
+
# the request, the resource, or both. To learn which resources support
|
971
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
972
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
973
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
974
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
975
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
976
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
977
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
978
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
979
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
980
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
981
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
982
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
983
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
984
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
985
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
986
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
987
|
+
# cloud.google.com/iam/docs/).
|
983
988
|
# Corresponds to the JSON property `policy`
|
984
989
|
# @return [Google::Apis::SecretmanagerV1::Policy]
|
985
990
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecretmanagerV1
|
18
18
|
# Version of the google-apis-secretmanager_v1 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 = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -309,6 +309,10 @@ module Google
|
|
309
309
|
# @param [String] parent
|
310
310
|
# Required. The resource name of the project associated with the Secrets, in the
|
311
311
|
# format `projects/*`.
|
312
|
+
# @param [String] filter
|
313
|
+
# Optional. Filter string, adhering to the rules in [List-operation filtering](
|
314
|
+
# https://cloud.google.com/secret-manager/docs/filtering). List only secrets
|
315
|
+
# matching the filter. If filter is empty, all secrets are listed.
|
312
316
|
# @param [Fixnum] page_size
|
313
317
|
# Optional. The maximum number of results to be returned in a single page. If
|
314
318
|
# set to 0, the server decides the number of results to return. If the number is
|
@@ -333,11 +337,12 @@ module Google
|
|
333
337
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
334
338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
335
339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
336
|
-
def list_project_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
340
|
+
def list_project_secrets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
337
341
|
command = make_simple_command(:get, 'v1/{+parent}/secrets', options)
|
338
342
|
command.response_representation = Google::Apis::SecretmanagerV1::ListSecretsResponse::Representation
|
339
343
|
command.response_class = Google::Apis::SecretmanagerV1::ListSecretsResponse
|
340
344
|
command.params['parent'] = parent unless parent.nil?
|
345
|
+
command.query['filter'] = filter unless filter.nil?
|
341
346
|
command.query['pageSize'] = page_size unless page_size.nil?
|
342
347
|
command.query['pageToken'] = page_token unless page_token.nil?
|
343
348
|
command.query['fields'] = fields unless fields.nil?
|
@@ -630,6 +635,11 @@ module Google
|
|
630
635
|
# @param [String] parent
|
631
636
|
# Required. The resource name of the Secret associated with the SecretVersions
|
632
637
|
# to list, in the format `projects/*/secrets/*`.
|
638
|
+
# @param [String] filter
|
639
|
+
# Optional. Filter string, adhering to the rules in [List-operation filtering](
|
640
|
+
# https://cloud.google.com/secret-manager/docs/filtering). List only secret
|
641
|
+
# versions matching the filter. If filter is empty, all secret versions are
|
642
|
+
# listed.
|
633
643
|
# @param [Fixnum] page_size
|
634
644
|
# Optional. The maximum number of results to be returned in a single page. If
|
635
645
|
# set to 0, the server decides the number of results to return. If the number is
|
@@ -654,11 +664,12 @@ module Google
|
|
654
664
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
655
665
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
656
666
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
657
|
-
def list_project_secret_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
667
|
+
def list_project_secret_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
658
668
|
command = make_simple_command(:get, 'v1/{+parent}/versions', options)
|
659
669
|
command.response_representation = Google::Apis::SecretmanagerV1::ListSecretVersionsResponse::Representation
|
660
670
|
command.response_class = Google::Apis::SecretmanagerV1::ListSecretVersionsResponse
|
661
671
|
command.params['parent'] = parent unless parent.nil?
|
672
|
+
command.query['filter'] = filter unless filter.nil?
|
662
673
|
command.query['pageSize'] = page_size unless page_size.nil?
|
663
674
|
command.query['pageToken'] = page_token unless page_token.nil?
|
664
675
|
command.query['fields'] = fields unless fields.nil?
|
@@ -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-secretmanager_v1
|
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-25 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-secretmanager_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-secretmanager_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.16.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-secretmanager_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|