Class: Google::Cloud::SecretManager::V1beta1::Replication
- Inherits:
-
Object
- Object
- Google::Cloud::SecretManager::V1beta1::Replication
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/secrets/v1beta1/resources.rb
Overview
A policy that defines the replication configuration of data.
Defined Under Namespace
Classes: Automatic, UserManaged
Instance Attribute Summary collapse
-
#automatic ⇒ ::Google::Cloud::SecretManager::V1beta1::Replication::Automatic
The Secret will automatically be replicated without any restrictions.
-
#user_managed ⇒ ::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged
The Secret will only be replicated into the locations specified.
Instance Attribute Details
#automatic ⇒ ::Google::Cloud::SecretManager::V1beta1::Replication::Automatic
Returns The Secret will automatically be replicated without any restrictions.
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/secrets/v1beta1/resources.rb', line 116 class Replication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload without any # restrictions. class Automatic include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload into the # locations specified in [Secret.replication.user_managed.replicas][] # @!attribute [rw] replicas # @return [::Array<::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>] # Required. The list of Replicas for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}. # # Cannot be empty. class UserManaged include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a Replica for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}. # @!attribute [rw] location # @return [::String] # The canonical IDs of the location to replicate data. # For example: `"us-east1"`. class Replica include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#user_managed ⇒ ::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged
Returns The Secret will only be replicated into the locations specified.
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'proto_docs/google/cloud/secrets/v1beta1/resources.rb', line 116 class Replication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload without any # restrictions. class Automatic include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload into the # locations specified in [Secret.replication.user_managed.replicas][] # @!attribute [rw] replicas # @return [::Array<::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>] # Required. The list of Replicas for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}. # # Cannot be empty. class UserManaged include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a Replica for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}. # @!attribute [rw] location # @return [::String] # The canonical IDs of the location to replicate data. # For example: `"us-east1"`. class Replica include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |