Class: Google::Apis::SecretmanagerV1::ReplicationStatus
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::ReplicationStatus
- 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
The replication status of a SecretVersion.
Instance Attribute Summary collapse
-
#automatic ⇒ Google::Apis::SecretmanagerV1::AutomaticStatus
The replication status of a SecretVersion using automatic replication.
-
#user_managed ⇒ Google::Apis::SecretmanagerV1::UserManagedStatus
The replication status of a SecretVersion using user-managed replication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicationStatus
constructor
A new instance of ReplicationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplicationStatus
Returns a new instance of ReplicationStatus.
732 733 734 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automatic ⇒ Google::Apis::SecretmanagerV1::AutomaticStatus
The replication status of a SecretVersion using automatic replication. Only
populated if the parent Secret has an automatic replication policy.
Corresponds to the JSON property automatic
724 725 726 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 724 def automatic @automatic end |
#user_managed ⇒ Google::Apis::SecretmanagerV1::UserManagedStatus
The replication status of a SecretVersion using user-managed replication. Only
populated if the parent Secret has a user-managed replication policy.
Corresponds to the JSON property userManaged
730 731 732 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 730 def user_managed @user_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 |
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 737 def update!(**args) @automatic = args[:automatic] if args.key?(:automatic) @user_managed = args[:user_managed] if args.key?(:user_managed) end |