google-apis-secretmanager_v1 0.7.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c0fb8d880bb81fa6e59362dfca91253045c1ed25680eca98c83ea594a9f5e58
|
4
|
+
data.tar.gz: 91da478b224bd701b9aae921e7f1d9e24d45ba677fbdcfefcb7ca04bbdc86203
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc542b6c46c9b9ab7791e7517d320f2bb143108a3948b21c8ad61a7047a7bf36c76dd981b43335f2a4bdc2fe692650296abbe0c01ba68a7599bb1db504c8112d
|
7
|
+
data.tar.gz: 712135d1ab25553f17297477200adf05453c359bd0dc56f68212d59ee3acbddd556ba3990c46acff0756d535c27c350e54002fd4f3645bfa839c35cdc5255b48
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Release history for google-apis-secretmanager_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.11.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.3.0
|
10
|
+
|
11
|
+
### v0.10.0 (2021-05-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210521
|
14
|
+
|
15
|
+
### v0.9.0 (2021-05-20)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
19
|
+
### v0.8.0 (2021-05-11)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210429
|
22
|
+
|
3
23
|
### v0.7.0 (2021-03-26)
|
4
24
|
|
5
25
|
* Regenerated from discovery document revision 20210319
|
@@ -302,12 +302,20 @@ module Google
|
|
302
302
|
class DestroySecretVersionRequest
|
303
303
|
include Google::Apis::Core::Hashable
|
304
304
|
|
305
|
+
# Optional. Etag of the SecretVersion. The request succeeds if it matches the
|
306
|
+
# etag of the currently stored secret version object. If the etag is omitted,
|
307
|
+
# the request succeeds.
|
308
|
+
# Corresponds to the JSON property `etag`
|
309
|
+
# @return [String]
|
310
|
+
attr_accessor :etag
|
311
|
+
|
305
312
|
def initialize(**args)
|
306
313
|
update!(**args)
|
307
314
|
end
|
308
315
|
|
309
316
|
# Update properties of this object
|
310
317
|
def update!(**args)
|
318
|
+
@etag = args[:etag] if args.key?(:etag)
|
311
319
|
end
|
312
320
|
end
|
313
321
|
|
@@ -315,12 +323,20 @@ module Google
|
|
315
323
|
class DisableSecretVersionRequest
|
316
324
|
include Google::Apis::Core::Hashable
|
317
325
|
|
326
|
+
# Optional. Etag of the SecretVersion. The request succeeds if it matches the
|
327
|
+
# etag of the currently stored secret version object. If the etag is omitted,
|
328
|
+
# the request succeeds.
|
329
|
+
# Corresponds to the JSON property `etag`
|
330
|
+
# @return [String]
|
331
|
+
attr_accessor :etag
|
332
|
+
|
318
333
|
def initialize(**args)
|
319
334
|
update!(**args)
|
320
335
|
end
|
321
336
|
|
322
337
|
# Update properties of this object
|
323
338
|
def update!(**args)
|
339
|
+
@etag = args[:etag] if args.key?(:etag)
|
324
340
|
end
|
325
341
|
end
|
326
342
|
|
@@ -345,12 +361,20 @@ module Google
|
|
345
361
|
class EnableSecretVersionRequest
|
346
362
|
include Google::Apis::Core::Hashable
|
347
363
|
|
364
|
+
# Optional. Etag of the SecretVersion. The request succeeds if it matches the
|
365
|
+
# etag of the currently stored secret version object. If the etag is omitted,
|
366
|
+
# the request succeeds.
|
367
|
+
# Corresponds to the JSON property `etag`
|
368
|
+
# @return [String]
|
369
|
+
attr_accessor :etag
|
370
|
+
|
348
371
|
def initialize(**args)
|
349
372
|
update!(**args)
|
350
373
|
end
|
351
374
|
|
352
375
|
# Update properties of this object
|
353
376
|
def update!(**args)
|
377
|
+
@etag = args[:etag] if args.key?(:etag)
|
354
378
|
end
|
355
379
|
end
|
356
380
|
|
@@ -746,8 +770,9 @@ module Google
|
|
746
770
|
class Rotation
|
747
771
|
include Google::Apis::Core::Hashable
|
748
772
|
|
749
|
-
# Optional. Timestamp in UTC at which the Secret is scheduled to rotate.
|
750
|
-
#
|
773
|
+
# Optional. Timestamp in UTC at which the Secret is scheduled to rotate. Cannot
|
774
|
+
# be set to less than 300s (5 min) in the future and at most 3153600000s (100
|
775
|
+
# years). next_rotation_time MUST be set if rotation_period is set.
|
751
776
|
# Corresponds to the JSON property `nextRotationTime`
|
752
777
|
# @return [String]
|
753
778
|
attr_accessor :next_rotation_time
|
@@ -783,6 +808,11 @@ module Google
|
|
783
808
|
# @return [String]
|
784
809
|
attr_accessor :create_time
|
785
810
|
|
811
|
+
# Optional. Etag of the currently stored Secret.
|
812
|
+
# Corresponds to the JSON property `etag`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :etag
|
815
|
+
|
786
816
|
# Optional. Timestamp in UTC when the Secret is scheduled to expire. This is
|
787
817
|
# always provided on output, regardless of what was sent on input.
|
788
818
|
# Corresponds to the JSON property `expireTime`
|
@@ -835,6 +865,7 @@ module Google
|
|
835
865
|
# Update properties of this object
|
836
866
|
def update!(**args)
|
837
867
|
@create_time = args[:create_time] if args.key?(:create_time)
|
868
|
+
@etag = args[:etag] if args.key?(:etag)
|
838
869
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
839
870
|
@labels = args[:labels] if args.key?(:labels)
|
840
871
|
@name = args[:name] if args.key?(:name)
|
@@ -881,6 +912,11 @@ module Google
|
|
881
912
|
# @return [String]
|
882
913
|
attr_accessor :destroy_time
|
883
914
|
|
915
|
+
# Output only. Etag of the currently stored SecretVersion.
|
916
|
+
# Corresponds to the JSON property `etag`
|
917
|
+
# @return [String]
|
918
|
+
attr_accessor :etag
|
919
|
+
|
884
920
|
# Output only. The resource name of the SecretVersion in the format `projects/*/
|
885
921
|
# secrets/*/versions/*`. SecretVersion IDs in a Secret start at 1 and are
|
886
922
|
# incremented for each subsequent version of the secret.
|
@@ -906,6 +942,7 @@ module Google
|
|
906
942
|
def update!(**args)
|
907
943
|
@create_time = args[:create_time] if args.key?(:create_time)
|
908
944
|
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
945
|
+
@etag = args[:etag] if args.key?(:etag)
|
909
946
|
@name = args[:name] if args.key?(:name)
|
910
947
|
@replication_status = args[:replication_status] if args.key?(:replication_status)
|
911
948
|
@state = args[:state] if args.key?(:state)
|
@@ -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.12.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 = "20210521"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -297,12 +297,14 @@ module Google
|
|
297
297
|
class DestroySecretVersionRequest
|
298
298
|
# @private
|
299
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
300
|
+
property :etag, as: 'etag'
|
300
301
|
end
|
301
302
|
end
|
302
303
|
|
303
304
|
class DisableSecretVersionRequest
|
304
305
|
# @private
|
305
306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
307
|
+
property :etag, as: 'etag'
|
306
308
|
end
|
307
309
|
end
|
308
310
|
|
@@ -315,6 +317,7 @@ module Google
|
|
315
317
|
class EnableSecretVersionRequest
|
316
318
|
# @private
|
317
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
+
property :etag, as: 'etag'
|
318
321
|
end
|
319
322
|
end
|
320
323
|
|
@@ -430,6 +433,7 @@ module Google
|
|
430
433
|
# @private
|
431
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
432
435
|
property :create_time, as: 'createTime'
|
436
|
+
property :etag, as: 'etag'
|
433
437
|
property :expire_time, as: 'expireTime'
|
434
438
|
hash :labels, as: 'labels'
|
435
439
|
property :name, as: 'name'
|
@@ -455,6 +459,7 @@ module Google
|
|
455
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|
456
460
|
property :create_time, as: 'createTime'
|
457
461
|
property :destroy_time, as: 'destroyTime'
|
462
|
+
property :etag, as: 'etag'
|
458
463
|
property :name, as: 'name'
|
459
464
|
property :replication_status, as: 'replicationStatus', class: Google::Apis::SecretmanagerV1::ReplicationStatus, decorator: Google::Apis::SecretmanagerV1::ReplicationStatus::Representation
|
460
465
|
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
89
|
# AIP-160](https://google.aip.dev/160).
|
90
90
|
# @param [Fixnum] page_size
|
91
|
-
# The maximum number of results to return. If not set, the service
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
92
|
# default.
|
93
93
|
# @param [String] page_token
|
94
94
|
# A page token received from the `next_page_token` field in the response. Send
|
@@ -201,6 +201,10 @@ module Google
|
|
201
201
|
# @param [String] name
|
202
202
|
# Required. The resource name of the Secret to delete in the format `projects/*/
|
203
203
|
# secrets/*`.
|
204
|
+
# @param [String] etag
|
205
|
+
# Optional. Etag of the Secret. The request succeeds if it matches the etag of
|
206
|
+
# the currently stored secret object. If the etag is omitted, the request
|
207
|
+
# succeeds.
|
204
208
|
# @param [String] fields
|
205
209
|
# Selector specifying which fields to include in a partial response.
|
206
210
|
# @param [String] quota_user
|
@@ -218,11 +222,12 @@ module Google
|
|
218
222
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
223
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
224
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
-
def delete_project_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
225
|
+
def delete_project_secret(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
222
226
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
223
227
|
command.response_representation = Google::Apis::SecretmanagerV1::Empty::Representation
|
224
228
|
command.response_class = Google::Apis::SecretmanagerV1::Empty
|
225
229
|
command.params['name'] = name unless name.nil?
|
230
|
+
command.query['etag'] = etag unless etag.nil?
|
226
231
|
command.query['fields'] = fields unless fields.nil?
|
227
232
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
228
233
|
execute_or_queue_command(command, &block)
|
@@ -452,10 +457,12 @@ module Google
|
|
452
457
|
end
|
453
458
|
|
454
459
|
# Accesses a SecretVersion. This call returns the secret data. `projects/*/
|
455
|
-
# secrets/*/versions/latest` is an alias to the
|
460
|
+
# secrets/*/versions/latest` is an alias to the most recently created
|
461
|
+
# SecretVersion.
|
456
462
|
# @param [String] name
|
457
463
|
# Required. The resource name of the SecretVersion in the format `projects/*/
|
458
|
-
# secrets/*/versions/*`.
|
464
|
+
# secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` is an alias to
|
465
|
+
# the most recently created SecretVersion.
|
459
466
|
# @param [String] fields
|
460
467
|
# Selector specifying which fields to include in a partial response.
|
461
468
|
# @param [String] quota_user
|
@@ -587,11 +594,11 @@ module Google
|
|
587
594
|
end
|
588
595
|
|
589
596
|
# Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is
|
590
|
-
# an alias to the
|
597
|
+
# an alias to the most recently created SecretVersion.
|
591
598
|
# @param [String] name
|
592
599
|
# Required. The resource name of the SecretVersion in the format `projects/*/
|
593
600
|
# secrets/*/versions/*`. `projects/*/secrets/*/versions/latest` is an alias to
|
594
|
-
# the
|
601
|
+
# the most recently created SecretVersion.
|
595
602
|
# @param [String] fields
|
596
603
|
# Selector specifying which fields to include in a partial response.
|
597
604
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.12.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-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Secret Manager API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-secretmanager_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.12.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-secretmanager_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Secret Manager API V1
|