Class: Google::Apis::ContainerV1beta1::CreateClusterRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateClusterRequest

Returns a new instance of CreateClusterRequest.



191
192
193
# File 'generated/google/apis/container_v1beta1/classes.rb', line 191

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#clusterGoogle::Apis::ContainerV1beta1::Cluster

A cluster resource. Corresponds to the JSON property cluster



189
190
191
# File 'generated/google/apis/container_v1beta1/classes.rb', line 189

def cluster
  @cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



196
197
198
# File 'generated/google/apis/container_v1beta1/classes.rb', line 196

def update!(**args)
  @cluster = args[:cluster] unless args[:cluster].nil?
end