Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::Location.
Location returns the location name, and if the location is recommended for GKE cluster scheduling.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Contains the name of the resource requested.
Specified in the format
projects/*/locations/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Contains the name of the resource requested.
Specified in the format
projects/*/locations/*
.
Returns
-
(::String) — Contains the name of the resource requested.
Specified in the format
projects/*/locations/*
.
#recommended
def recommended() -> ::Boolean
Returns
- (::Boolean) — Whether the location is recomended for GKE cluster scheduling.
#recommended=
def recommended=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether the location is recomended for GKE cluster scheduling.
Returns
- (::Boolean) — Whether the location is recomended for GKE cluster scheduling.
#type
def type() -> ::Google::Cloud::Container::V1beta1::Location::LocationType
Returns
- (::Google::Cloud::Container::V1beta1::Location::LocationType) — Contains the type of location this Location is for. Regional or Zonal.
#type=
def type=(value) -> ::Google::Cloud::Container::V1beta1::Location::LocationType
Parameter
- value (::Google::Cloud::Container::V1beta1::Location::LocationType) — Contains the type of location this Location is for. Regional or Zonal.
Returns
- (::Google::Cloud::Container::V1beta1::Location::LocationType) — Contains the type of location this Location is for. Regional or Zonal.