Class: Google::Apis::SecretmanagerV1::Replica
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::Replica
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/secretmanager_v1/classes.rb,
generated/google/apis/secretmanager_v1/representations.rb,
generated/google/apis/secretmanager_v1/representations.rb
Overview
Represents a Replica for this Secret.
Instance Attribute Summary collapse
-
#customer_managed_encryption ⇒ Google::Apis::SecretmanagerV1::CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
-
#location ⇒ String
The canonical IDs of the location to replicate data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Replica
constructor
A new instance of Replica.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Replica
Returns a new instance of Replica.
652 653 654 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_managed_encryption ⇒ Google::Apis::SecretmanagerV1::CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption
keys (CMEK).
Corresponds to the JSON property customerManagedEncryption
645 646 647 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 645 def customer_managed_encryption @customer_managed_encryption end |
#location ⇒ String
The canonical IDs of the location to replicate data. For example: "us-east1"
.
Corresponds to the JSON property location
650 651 652 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 650 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
657 658 659 660 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 657 def update!(**args) @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption) @location = args[:location] if args.key?(:location) end |