Class: Google::Apis::SecretmanagerV1beta2::ReplicationStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/secretmanager_v1beta2/classes.rb,
lib/google/apis/secretmanager_v1beta2/representations.rb,
lib/google/apis/secretmanager_v1beta2/representations.rb

Overview

The replication status of a SecretVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReplicationStatus

Returns a new instance of ReplicationStatus.



792
793
794
# File 'lib/google/apis/secretmanager_v1beta2/classes.rb', line 792

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#automaticGoogle::Apis::SecretmanagerV1beta2::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



784
785
786
# File 'lib/google/apis/secretmanager_v1beta2/classes.rb', line 784

def automatic
  @automatic
end

#user_managedGoogle::Apis::SecretmanagerV1beta2::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



790
791
792
# File 'lib/google/apis/secretmanager_v1beta2/classes.rb', line 790

def user_managed
  @user_managed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



797
798
799
800
# File 'lib/google/apis/secretmanager_v1beta2/classes.rb', line 797

def update!(**args)
  @automatic = args[:automatic] if args.key?(:automatic)
  @user_managed = args[:user_managed] if args.key?(:user_managed)
end