public interface StretchedClusterConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPreferredLocation()
public abstract String 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.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The preferredLocation. |
getPreferredLocationBytes()
public abstract ByteString getPreferredLocationBytes()
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.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for preferredLocation. |
getSecondaryLocation()
public abstract String 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.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The secondaryLocation. |
getSecondaryLocationBytes()
public abstract ByteString getSecondaryLocationBytes()
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.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for secondaryLocation. |