Class: Google::Cloud::SecretManager::V1::ReplicationStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/secretmanager/v1/resources.rb

Overview

The replication status of a SecretVersion.

Defined Under Namespace

Classes: AutomaticStatus, UserManagedStatus

Instance Attribute Summary collapse

Instance Attribute Details

#automatic::Google::Cloud::SecretManager::V1::ReplicationStatus::AutomaticStatus

Returns Describes the replication status of a SecretVersion with automatic replication.

Only populated if the parent Secret has an automatic replication policy.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 220

class ReplicationStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The replication status of a {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} using automatic replication.
  #
  # Only populated if the parent {::Google::Cloud::SecretManager::V1::Secret Secret} has an automatic replication
  # policy.
  # @!attribute [r] customer_managed_encryption
  #   @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryptionStatus]
  #     Output only. The customer-managed encryption status of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. Only
  #     populated if customer-managed encryption is used.
  class AutomaticStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication status of a {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} using user-managed
  # replication.
  #
  # Only populated if the parent {::Google::Cloud::SecretManager::V1::Secret Secret} has a user-managed replication
  # policy.
  # @!attribute [r] replicas
  #   @return [::Array<::Google::Cloud::SecretManager::V1::ReplicationStatus::UserManagedStatus::ReplicaStatus>]
  #     Output only. The list of replica statuses for the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
  class UserManagedStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the status of a user-managed replica for the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
    # @!attribute [r] location
    #   @return [::String]
    #     Output only. The canonical ID of the replica location.
    #     For example: `"us-east1"`.
    # @!attribute [r] customer_managed_encryption
    #   @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryptionStatus]
    #     Output only. The customer-managed encryption status of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. Only
    #     populated if customer-managed encryption is used.
    class ReplicaStatus
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#user_managed::Google::Cloud::SecretManager::V1::ReplicationStatus::UserManagedStatus

Returns Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 220

class ReplicationStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The replication status of a {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} using automatic replication.
  #
  # Only populated if the parent {::Google::Cloud::SecretManager::V1::Secret Secret} has an automatic replication
  # policy.
  # @!attribute [r] customer_managed_encryption
  #   @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryptionStatus]
  #     Output only. The customer-managed encryption status of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. Only
  #     populated if customer-managed encryption is used.
  class AutomaticStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The replication status of a {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} using user-managed
  # replication.
  #
  # Only populated if the parent {::Google::Cloud::SecretManager::V1::Secret Secret} has a user-managed replication
  # policy.
  # @!attribute [r] replicas
  #   @return [::Array<::Google::Cloud::SecretManager::V1::ReplicationStatus::UserManagedStatus::ReplicaStatus>]
  #     Output only. The list of replica statuses for the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
  class UserManagedStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the status of a user-managed replica for the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
    # @!attribute [r] location
    #   @return [::String]
    #     Output only. The canonical ID of the replica location.
    #     For example: `"us-east1"`.
    # @!attribute [r] customer_managed_encryption
    #   @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryptionStatus]
    #     Output only. The customer-managed encryption status of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. Only
    #     populated if customer-managed encryption is used.
    class ReplicaStatus
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end