class Google::Apis::ContainerV1beta1::Location
Location
returns the location name, and if the location is recommended for GKE cluster scheduling.
Attributes
name[RW]
Contains the name of the resource requested. Specified in the format `projects/ /locations/`. Corresponds to the JSON property `name` @return [String]
recommended[RW]
Whether the location is recomended for GKE cluster scheduling. Corresponds to the JSON property `recommended` @return [Boolean]
recommended?[RW]
Whether the location is recomended for GKE cluster scheduling. Corresponds to the JSON property `recommended` @return [Boolean]
type[RW]
Contains the type of location this Location
is for. Regional or Zonal. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 2522 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 2527 def update!(**args) @name = args[:name] if args.key?(:name) @recommended = args[:recommended] if args.key?(:recommended) @type = args[:type] if args.key?(:type) end