google-apis-secretmanager_v1 0.17.0 → 0.20.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: 4b2e7fcb42e036e229374d64be37ae16c72f5c12261fcfc6d92e97d89bd9f5d1
4
- data.tar.gz: 4a6d3310dba37d5841e0183d1d237f481265d5fe4b3f074bd95029811c1baa23
3
+ metadata.gz: 45dc7a3e669793346bade9e6fe7ff602c4e3847a90602cdc5c529d4d88611fd1
4
+ data.tar.gz: 169ad73cf1b8a1c20c5ea41ce35cc8940bfa5a4e49a86b68534ec4a2f9832846
5
5
  SHA512:
6
- metadata.gz: c28817980c001032b73b55868ed258212e435d5394908eb419443839e8c1697d3ad7c94b48965c3e3465758609365f61bcd294d30bba253c39c888ef20cec33a
7
- data.tar.gz: 359fe2b54d206b6e1eb23459c4d9745e15f336f761feb798e12814e81f03d5df93750372ba86bf372430931933a523006c5aa32d436a9a09b7ce6398dfdcbf48
6
+ metadata.gz: b51f815a261e4be716e7666ca3c2c5990fe27b8de91dda38f7dfc65b1788969cc3080bf80784715a517b5cd35f4de9fe989590e9964d81f6cb65222ceccc6a5c
7
+ data.tar.gz: 8105ab7dacc56145bfa9bade98c2bbd040e36ac65111853622d5902fcadc931e6d203d84d9ef480337179d6956099b4181ce1d80dc07af294c24deba50836884
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.20.0 (2022-04-07)
4
+
5
+ * Regenerated from discovery document revision 20220318
6
+
7
+ ### v0.19.0 (2022-01-21)
8
+
9
+ * Regenerated from discovery document revision 20220115
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.18.0 (2021-12-16)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.17.0 (2021-11-12)
4
17
 
5
18
  * Regenerated from discovery document revision 20211105
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/secretmanager_v1"
51
51
  client = Google::Apis::SecretmanagerV1::SecretManagerService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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
 
@@ -892,6 +891,19 @@ module Google
892
891
  # @return [String]
893
892
  attr_accessor :data
894
893
 
894
+ # Optional. If specified, SecretManagerService will verify the integrity of the
895
+ # received data on SecretManagerService.AddSecretVersion calls using the crc32c
896
+ # checksum and store it to include in future SecretManagerService.
897
+ # AccessSecretVersion responses. If a checksum is not provided in the
898
+ # SecretManagerService.AddSecretVersion request, the SecretManagerService will
899
+ # generate and store one for you. The CRC32C value is encoded as a Int64 for
900
+ # compatibility, and can be safely downconverted to uint32 in languages that
901
+ # support this type. https://cloud.google.com/apis/design/design_patterns#
902
+ # integer_types
903
+ # Corresponds to the JSON property `dataCrc32c`
904
+ # @return [Fixnum]
905
+ attr_accessor :data_crc32c
906
+
895
907
  def initialize(**args)
896
908
  update!(**args)
897
909
  end
@@ -899,6 +911,7 @@ module Google
899
911
  # Update properties of this object
900
912
  def update!(**args)
901
913
  @data = args[:data] if args.key?(:data)
914
+ @data_crc32c = args[:data_crc32c] if args.key?(:data_crc32c)
902
915
  end
903
916
  end
904
917
 
@@ -906,6 +919,13 @@ module Google
906
919
  class SecretVersion
907
920
  include Google::Apis::Core::Hashable
908
921
 
922
+ # Output only. True if payload checksum specified in SecretPayload object has
923
+ # been received by SecretManagerService on SecretManagerService.AddSecretVersion.
924
+ # Corresponds to the JSON property `clientSpecifiedPayloadChecksum`
925
+ # @return [Boolean]
926
+ attr_accessor :client_specified_payload_checksum
927
+ alias_method :client_specified_payload_checksum?, :client_specified_payload_checksum
928
+
909
929
  # Output only. The time at which the SecretVersion was created.
910
930
  # Corresponds to the JSON property `createTime`
911
931
  # @return [String]
@@ -945,6 +965,7 @@ module Google
945
965
 
946
966
  # Update properties of this object
947
967
  def update!(**args)
968
+ @client_specified_payload_checksum = args[:client_specified_payload_checksum] if args.key?(:client_specified_payload_checksum)
948
969
  @create_time = args[:create_time] if args.key?(:create_time)
949
970
  @destroy_time = args[:destroy_time] if args.key?(:destroy_time)
950
971
  @etag = args[:etag] if args.key?(:etag)
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.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 = "20220318"
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'
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.17.0
4
+ version: 0.20.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-15 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.20.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.2.17
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