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:



353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 353

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:



353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/secretmanager/v1/resources.rb', line 353

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