Class: Google::Apis::SecretmanagerV1::DestroySecretVersionRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::DestroySecretVersionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/secretmanager_v1/classes.rb,
lib/google/apis/secretmanager_v1/representations.rb,
lib/google/apis/secretmanager_v1/representations.rb
Overview
Request message for SecretManagerService.DestroySecretVersion.
Instance Attribute Summary collapse
-
#etag ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestroySecretVersionRequest
constructor
A new instance of DestroySecretVersionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DestroySecretVersionRequest
Returns a new instance of DestroySecretVersionRequest.
339 340 341 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Optional. Etag of the SecretVersion. The request succeeds if it matches the
etag of the currently stored secret version object. If the etag is omitted,
the request succeeds.
Corresponds to the JSON property etag
337 338 339 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 337 def etag @etag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
344 345 346 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 344 def update!(**args) @etag = args[:etag] if args.key?(:etag) end |