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

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
Name Description
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
Type Description
string

setPrimaryGceZone

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSecondaryGceZone

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

Returns
Type Description
string

setSecondaryGceZone

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var bool
Returns
Type Description
$this