Class: Google::Cloud::SecretManager::V1beta1::Replication

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#automatic::Google::Cloud::SecretManager::V1beta1::Replication::Automatic

Returns The Secret will automatically be replicated without any restrictions.

Note: The following fields are mutually exclusive: automatic, user_managed. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/secrets/v1beta1/resources.rb', line 137

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
  # {::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged#replicas Replication.UserManaged.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.

Note: The following fields are mutually exclusive: user_managed, automatic. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'proto_docs/google/cloud/secrets/v1beta1/resources.rb', line 137

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
  # {::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged#replicas Replication.UserManaged.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