Class Location (2.17.3)

Location(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Location returns the location name, and if the location is recommended for GKE cluster scheduling.

Attributes

NameDescription
type_ google.cloud.container_v1beta1.types.Location.LocationType
Contains the type of location this Location is for. Regional or Zonal.
name str
Contains the name of the resource requested. Specified in the format projects/*/locations/*.
recommended bool
Whether the location is recommended for GKE cluster scheduling.

Classes

LocationType

LocationType(value)

LocationType is the type of GKE location, regional or zonal.

Values: LOCATION_TYPE_UNSPECIFIED (0): LOCATION_TYPE_UNSPECIFIED means the location type was not determined. ZONE (1): A GKE Location where Zonal clusters can be created. REGION (2): A GKE Location where Regional clusters can be created.