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:



320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 320

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:



320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 320

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