class Google::Apis::SecretmanagerV1::Replica

Represents a Replica for this Secret.

Attributes

customer_managed_encryption[RW]

Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK). Corresponds to the JSON property `customerManagedEncryption` @return [Google::Apis::SecretmanagerV1::CustomerManagedEncryption]

location[RW]

The canonical IDs of the location to replicate data. For example: `“us-east1”`. Corresponds to the JSON property `location` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 676
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/secretmanager_v1/classes.rb, line 681
def update!(**args)
  @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
  @location = args[:location] if args.key?(:location)
end