Google Cloud Vmware Engine V1 Client - Class StretchedClusterConfig (1.0.0)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class StretchedClusterConfig.

Configuration of a stretched cluster.

Generated from protobuf message google.cloud.vmwareengine.v1.StretchedClusterConfig

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ preferred_location string

Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-a where {project} can either be a project number or a project ID.

↳ secondary_location string

Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-b where {project} can either be a project number or a project ID.

getPreferredLocation

Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-a where {project} can either be a project number or a project ID.

Returns
Type Description
string

setPreferredLocation

Required. Zone that will remain operational when connection between the two zones is lost. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-a where {project} can either be a project number or a project ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecondaryLocation

Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-b where {project} can either be a project number or a project ID.

Returns
Type Description
string

setSecondaryLocation

Required. Additional zone for a higher level of availability and load balancing. Specify the resource name of a zone that belongs to the region of the private cloud. For example: projects/{project}/locations/europe-west3-b where {project} can either be a project number or a project ID.

Parameter
Name Description
var string
Returns
Type Description
$this