Class: Google::Apis::ContainerV1beta1::CreateClusterRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::CreateClusterRequest
- 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
-
#cluster ⇒ Google::Apis::ContainerV1beta1::Cluster
A cluster resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateClusterRequest
constructor
A new instance of CreateClusterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::Hashable
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
#cluster ⇒ Google::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 |