Class: Google::Apis::SecretmanagerV1::ReplicaStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::ReplicaStatus
- 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
Describes the status of a user-managed replica for the SecretVersion.
Instance Attribute Summary collapse
-
#customer_managed_encryption ⇒ Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
Describes the status of customer-managed encryption.
-
#location ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicaStatus
constructor
A new instance of ReplicaStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplicaStatus
Returns a new instance of ReplicaStatus.
738 739 740 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer_managed_encryption ⇒ Google::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus
Describes the status of customer-managed encryption.
Corresponds to the JSON property customerManagedEncryption
730 731 732 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 730 def customer_managed_encryption @customer_managed_encryption end |
#location ⇒ String
Output only. The canonical ID of the replica location. For example: "us-east1"
.
Corresponds to the JSON property location
736 737 738 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 736 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
743 744 745 746 |
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 743 def update!(**args) @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption) @location = args[:location] if args.key?(:location) end |