Class: Google::Cloud::Container::V1beta1::Location
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::Location
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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 ⇒ ::Boolean
Whether the location is recommended for GKE cluster scheduling.
-
#type ⇒ ::Google::Cloud::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/*
.
4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4208 class Location include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 ⇒ ::Boolean
Returns Whether the location is recommended for GKE cluster scheduling.
4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4208 class Location include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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::Cloud::Container::V1beta1::Location::LocationType
Returns Contains the type of location this Location is for. Regional or Zonal.
4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4208 class Location include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |