Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::Location (v0.17.0)

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/*.
def recommended() -> ::Boolean
Returns
  • (::Boolean) — Whether the location is recommended for GKE cluster scheduling.
def recommended=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the location is recommended for GKE cluster scheduling.
Returns
  • (::Boolean) — Whether the location is recommended for GKE cluster scheduling.

#type

def type() -> ::Google::Cloud::Container::V1beta1::Location::LocationType
Returns

#type=

def type=(value) -> ::Google::Cloud::Container::V1beta1::Location::LocationType
Parameter
Returns