google-apis-secretmanager_v1 0.18.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33291661dc4ffa3fed1819c0b9336e605113e7382e59a591e476730ebf3dd20d
4
- data.tar.gz: a8da8f75ab3b4e1202846d22841c32b63625f5569538b0e76770cebf16ebb524
3
+ metadata.gz: 7ffa7288828dddda565efa4daacc13c9a56c8d8b0b83f1025273b4de135aa247
4
+ data.tar.gz: c0e45e011c440dc2c209d8b4029c938d883df34fba7364bb40785f8002db4cc3
5
5
  SHA512:
6
- metadata.gz: 21bb7b776757785d2570bbcb07a6a02be2cec371ef9e45807b4dfe7e078de4e345e5e09a37176e6d052fc11ed4a08ff8da503a5c4260e7c24dd3330d9303101d
7
- data.tar.gz: db2729016eb575956fa1b528b0260ede5a695694d58ca396d479835cb172e6a3890992a948c503b07d2bcc275e6fa98e270d491d2fb1521f00b7bee20856f370
6
+ metadata.gz: e446d4042d944986e02f4573326b0b831f555621859f78c66d62eeb689d095dbf2cfd4d25aa563d9211eac568415fa380fcccce553f67c9b7e168e8255695d48
7
+ data.tar.gz: e048822785c599fd7a9ce67bdad536fc661bfd4dcdb6c4b9668d84948ffcc9efaa8e613426ee5751257679560ab4990d1853ebda447f6f30cffd687452ab761f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.21.0 (2022-04-15)
4
+
5
+ * Regenerated from discovery document revision 20220408
6
+
7
+ ### v0.20.0 (2022-04-07)
8
+
9
+ * Regenerated from discovery document revision 20220318
10
+
11
+ ### v0.19.0 (2022-01-21)
12
+
13
+ * Regenerated from discovery document revision 20220115
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.18.0 (2021-12-16)
4
17
 
5
18
  * Unspecified changes
@@ -204,7 +204,7 @@ module Google
204
204
  # @return [Google::Apis::SecretmanagerV1::Expr]
205
205
  attr_accessor :condition
206
206
 
207
- # Specifies the principals requesting access for a Cloud Platform resource. `
207
+ # Specifies the principals requesting access for a Google Cloud 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
@@ -343,8 +343,7 @@ module Google
343
343
  # A generic empty message that you can re-use to avoid defining duplicated empty
344
344
  # messages in your APIs. A typical example is to use it as the request or the
345
345
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
346
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
347
- # `Empty` is empty JSON object ````.
346
+ # protobuf.Empty) returns (google.protobuf.Empty); `
348
347
  class Empty
349
348
  include Google::Apis::Core::Hashable
350
349
 
@@ -467,7 +466,8 @@ module Google
467
466
  # @return [String]
468
467
  attr_accessor :next_page_token
469
468
 
470
- # The total number of SecretVersions.
469
+ # The total number of SecretVersions but 0 when the ListSecretsRequest.filter
470
+ # field is set.
471
471
  # Corresponds to the JSON property `totalSize`
472
472
  # @return [Fixnum]
473
473
  attr_accessor :total_size
@@ -504,7 +504,8 @@ module Google
504
504
  # @return [Array<Google::Apis::SecretmanagerV1::Secret>]
505
505
  attr_accessor :secrets
506
506
 
507
- # The total number of Secrets.
507
+ # The total number of Secrets but 0 when the ListSecretsRequest.filter field is
508
+ # set.
508
509
  # Corresponds to the JSON property `totalSize`
509
510
  # @return [Fixnum]
510
511
  attr_accessor :total_size
@@ -892,6 +893,19 @@ module Google
892
893
  # @return [String]
893
894
  attr_accessor :data
894
895
 
896
+ # Optional. If specified, SecretManagerService will verify the integrity of the
897
+ # received data on SecretManagerService.AddSecretVersion calls using the crc32c
898
+ # checksum and store it to include in future SecretManagerService.
899
+ # AccessSecretVersion responses. If a checksum is not provided in the
900
+ # SecretManagerService.AddSecretVersion request, the SecretManagerService will
901
+ # generate and store one for you. The CRC32C value is encoded as a Int64 for
902
+ # compatibility, and can be safely downconverted to uint32 in languages that
903
+ # support this type. https://cloud.google.com/apis/design/design_patterns#
904
+ # integer_types
905
+ # Corresponds to the JSON property `dataCrc32c`
906
+ # @return [Fixnum]
907
+ attr_accessor :data_crc32c
908
+
895
909
  def initialize(**args)
896
910
  update!(**args)
897
911
  end
@@ -899,6 +913,7 @@ module Google
899
913
  # Update properties of this object
900
914
  def update!(**args)
901
915
  @data = args[:data] if args.key?(:data)
916
+ @data_crc32c = args[:data_crc32c] if args.key?(:data_crc32c)
902
917
  end
903
918
  end
904
919
 
@@ -906,6 +921,13 @@ module Google
906
921
  class SecretVersion
907
922
  include Google::Apis::Core::Hashable
908
923
 
924
+ # Output only. True if payload checksum specified in SecretPayload object has
925
+ # been received by SecretManagerService on SecretManagerService.AddSecretVersion.
926
+ # Corresponds to the JSON property `clientSpecifiedPayloadChecksum`
927
+ # @return [Boolean]
928
+ attr_accessor :client_specified_payload_checksum
929
+ alias_method :client_specified_payload_checksum?, :client_specified_payload_checksum
930
+
909
931
  # Output only. The time at which the SecretVersion was created.
910
932
  # Corresponds to the JSON property `createTime`
911
933
  # @return [String]
@@ -945,6 +967,7 @@ module Google
945
967
 
946
968
  # Update properties of this object
947
969
  def update!(**args)
970
+ @client_specified_payload_checksum = args[:client_specified_payload_checksum] if args.key?(:client_specified_payload_checksum)
948
971
  @create_time = args[:create_time] if args.key?(:create_time)
949
972
  @destroy_time = args[:destroy_time] if args.key?(:destroy_time)
950
973
  @etag = args[:etag] if args.key?(:etag)
@@ -1012,7 +1035,7 @@ module Google
1012
1035
  include Google::Apis::Core::Hashable
1013
1036
 
1014
1037
  # The set of permissions to check for the `resource`. Permissions with wildcards
1015
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1038
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1016
1039
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1017
1040
  # Corresponds to the JSON property `permissions`
1018
1041
  # @return [Array<String>]
@@ -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.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211105"
25
+ REVISION = "20220408"
26
26
  end
27
27
  end
28
28
  end
@@ -451,12 +451,14 @@ module Google
451
451
  # @private
452
452
  class Representation < Google::Apis::Core::JsonRepresentation
453
453
  property :data, :base64 => true, as: 'data'
454
+ property :data_crc32c, :numeric_string => true, as: 'dataCrc32c'
454
455
  end
455
456
  end
456
457
 
457
458
  class SecretVersion
458
459
  # @private
459
460
  class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :client_specified_payload_checksum, as: 'clientSpecifiedPayloadChecksum'
460
462
  property :create_time, as: 'createTime'
461
463
  property :destroy_time, as: 'destroyTime'
462
464
  property :etag, as: 'etag'
@@ -85,8 +85,8 @@ module Google
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
87
  # A filter to narrow down results to a preferred subset. The filtering language
88
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
- # AIP-160](https://google.aip.dev/160).
88
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
89
+ # in [AIP-160](https://google.aip.dev/160).
90
90
  # @param [Fixnum] page_size
91
91
  # The maximum number of results to return. If not set, the service selects a
92
92
  # default.
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.18.0
4
+ version: 0.21.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-18 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-secretmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.21.0
62
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: []
@@ -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.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Secret Manager API V1