Google Cloud Orchestration Airflow V1 Client - Class FetchDatabasePropertiesResponse (1.3.0)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class FetchDatabasePropertiesResponse.

Response for FetchDatabasePropertiesRequest.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ primary_gce_zone string

The Compute Engine zone that the instance is currently serving from.

↳ secondary_gce_zone string

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

↳ is_failover_replica_available bool

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

getPrimaryGceZone

The Compute Engine zone that the instance is currently serving from.

Returns
TypeDescription
string

setPrimaryGceZone

The Compute Engine zone that the instance is currently serving from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecondaryGceZone

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

Returns
TypeDescription
string

setSecondaryGceZone

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIsFailoverReplicaAvailable

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

Returns
TypeDescription
bool

setIsFailoverReplicaAvailable

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this