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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class StretchedClusterConfig (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.StretchedClusterConfig)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.StretchedClusterConfig)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.StretchedClusterConfig)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.StretchedClusterConfig)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.StretchedClusterConfig)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.StretchedClusterConfig)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.StretchedClusterConfig)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.StretchedClusterConfig) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class StretchedClusterConfig.\n\nConfiguration of a stretched cluster.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.StretchedClusterConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPreferredLocation\n\nRequired. Zone that will remain operational when connection between the two\nzones is lost. Specify the resource name of a zone that belongs to the\nregion of the private cloud. For example:\n`projects/{project}/locations/europe-west3-a` where `{project}` can either\nbe a project number or a project ID.\n\n### setPreferredLocation\n\nRequired. Zone that will remain operational when connection between the two\nzones is lost. Specify the resource name of a zone that belongs to the\nregion of the private cloud. For example:\n`projects/{project}/locations/europe-west3-a` where `{project}` can either\nbe a project number or a project ID.\n\n### getSecondaryLocation\n\nRequired. Additional zone for a higher level of availability and load\nbalancing. Specify the resource name of a zone that belongs to the region\nof the private cloud. For example:\n`projects/{project}/locations/europe-west3-b` where `{project}` can either\nbe a project number or a project ID.\n\n### setSecondaryLocation\n\nRequired. Additional zone for a higher level of availability and load\nbalancing. Specify the resource name of a zone that belongs to the region\nof the private cloud. For example:\n`projects/{project}/locations/europe-west3-b` where `{project}` can either\nbe a project number or a project ID."]]