Class: Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::Replica

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

Overview

Represents the state of a replica of a shared dataset. It includes the geographic location of the replica and system-computed, output-only fields indicating its replication state and whether it is the primary replica.

Defined Under Namespace

Modules: PrimaryState, ReplicaState

Instance Attribute Summary collapse

Instance Attribute Details

#location::String (readonly)

Returns Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".

Returns:

  • (::String)

    Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".



582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 582

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

  # Replica state of the shared dataset.
  module ReplicaState
    # Default value. This value is unused.
    REPLICA_STATE_UNSPECIFIED = 0

    # The replica is backfilled and ready to use.
    READY_TO_USE = 1

    # The replica is unavailable, does not exist, or has not been
    # backfilled yet.
    UNAVAILABLE = 2
  end

  # Primary state of the replica. Set only for the primary replica.
  module PrimaryState
    # Default value. This value is unused.
    PRIMARY_STATE_UNSPECIFIED = 0

    # The replica is the primary replica.
    PRIMARY_REPLICA = 1
  end
end

#primary_state::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::Replica::PrimaryState (readonly)

Returns Output only. Indicates that this replica is the primary replica.

Returns:



582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 582

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

  # Replica state of the shared dataset.
  module ReplicaState
    # Default value. This value is unused.
    REPLICA_STATE_UNSPECIFIED = 0

    # The replica is backfilled and ready to use.
    READY_TO_USE = 1

    # The replica is unavailable, does not exist, or has not been
    # backfilled yet.
    UNAVAILABLE = 2
  end

  # Primary state of the replica. Set only for the primary replica.
  module PrimaryState
    # Default value. This value is unused.
    PRIMARY_STATE_UNSPECIFIED = 0

    # The replica is the primary replica.
    PRIMARY_REPLICA = 1
  end
end

#replica_state::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::Replica::ReplicaState (readonly)

Returns Output only. Assigned by Analytics Hub based on real BigQuery replication state.

Returns:



582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 582

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

  # Replica state of the shared dataset.
  module ReplicaState
    # Default value. This value is unused.
    REPLICA_STATE_UNSPECIFIED = 0

    # The replica is backfilled and ready to use.
    READY_TO_USE = 1

    # The replica is unavailable, does not exist, or has not been
    # backfilled yet.
    UNAVAILABLE = 2
  end

  # Primary state of the replica. Set only for the primary replica.
  module PrimaryState
    # Default value. This value is unused.
    PRIMARY_STATE_UNSPECIFIED = 0

    # The replica is the primary replica.
    PRIMARY_REPLICA = 1
  end
end