1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Listing.Types.BigQueryDatasetSource.Types.Replica : IMessage<Listing.Types.BigQueryDatasetSource.Types.Replica>, IEquatable<Listing.Types.BigQueryDatasetSource.Types.Replica>, IDeepCloneable<Listing.Types.BigQueryDatasetSource.Types.Replica>, IBufferMessage, IMessage

Reference documentation and code samples for the Analytics Hub v1 API class Listing.Types.BigQueryDatasetSource.Types.Replica.

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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Listing.Types.BigQueryDatasetSource.Types.Replica

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.md.txt)[BigQueryDatasetSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.md.txt)[Replica](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.Replica.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.md.txt)[BigQueryDatasetSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.md.txt)[Replica](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.Replica.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Listing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.md.txt)[BigQueryDatasetSource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.md.txt)[Replica](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.Listing.Types.BigQueryDatasetSource.Types.Replica.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.AnalyticsHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.AnalyticsHub.V1/latest/Google.Cloud.BigQuery.AnalyticsHub.V1.md.txt)

## Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.dll

## Constructors

### Replica()

    public Replica()

### Replica(Replica)

    public Replica(Listing.Types.BigQueryDatasetSource.Types.Replica other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ListingTypesBigQueryDatasetSourceTypesReplica` |

## Properties

### HasPrimaryState

    public bool HasPrimaryState { get; }

Gets whether the "primary_state" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Location

    public string Location { get; set; }

Output only. The geographic location where the replica resides. See
[BigQuery locations](https://cloud.google.com/bigquery/docs/locations)
for supported locations. Eg. "us-central1".

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PrimaryState

    public Listing.Types.BigQueryDatasetSource.Types.Replica.Types.PrimaryState PrimaryState { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ListingTypesBigQueryDatasetSourceTypesReplicaTypesPrimaryState` |   |

### ReplicaState

    public Listing.Types.BigQueryDatasetSource.Types.Replica.Types.ReplicaState ReplicaState { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ListingTypesBigQueryDatasetSourceTypesReplicaTypesReplicaState` |   |