Class: Google::Container::V1beta1::Location
- Inherits:
-
Object
- Object
- Google::Container::V1beta1::Location
- Defined in:
- lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb
Overview
Location returns the location name, and if the location is recommended for GKE cluster scheduling.
Defined Under Namespace
Modules: LocationType
Instance Attribute Summary collapse
-
#name ⇒ String
Contains the name of the resource requested.
-
#recommended ⇒ true, false
Whether the location is recomended for GKE cluster scheduling.
-
#type ⇒ Google::Container::V1beta1::Location::LocationType
Contains the type of location this Location is for.
Instance Attribute Details
#name ⇒ String
Returns Contains the name of the resource requested.
Specified in the format projects/*/locations/*.
2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2299 class Location # LocationType is the type of GKE location, regional or zonal. module LocationType # LOCATION_TYPE_UNSPECIFIED means the location type was not determined. LOCATION_TYPE_UNSPECIFIED = 0 # A GKE Location where Zonal clusters can be created. ZONE = 1 # A GKE Location where Regional clusters can be created. REGION = 2 end end |
#recommended ⇒ true, false
Returns Whether the location is recomended for GKE cluster scheduling.
2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2299 class Location # LocationType is the type of GKE location, regional or zonal. module LocationType # LOCATION_TYPE_UNSPECIFIED means the location type was not determined. LOCATION_TYPE_UNSPECIFIED = 0 # A GKE Location where Zonal clusters can be created. ZONE = 1 # A GKE Location where Regional clusters can be created. REGION = 2 end end |
#type ⇒ Google::Container::V1beta1::Location::LocationType
Returns Contains the type of location this Location is for. Regional or Zonal.
2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 |
# File 'lib/google/cloud/container/v1beta1/doc/google/container/v1beta1/cluster_service.rb', line 2299 class Location # LocationType is the type of GKE location, regional or zonal. module LocationType # LOCATION_TYPE_UNSPECIFIED means the location type was not determined. LOCATION_TYPE_UNSPECIFIED = 0 # A GKE Location where Zonal clusters can be created. ZONE = 1 # A GKE Location where Regional clusters can be created. REGION = 2 end end |