Class: Google::Apis::ContainerV1::CreateClusterRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::CreateClusterRequest
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
CreateClusterRequest creates a cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ Google::Apis::ContainerV1::Cluster
A Google Container Engine cluster.
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::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateClusterRequest
Returns a new instance of CreateClusterRequest.
517 518 519 |
# File 'generated/google/apis/container_v1/classes.rb', line 517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ Google::Apis::ContainerV1::Cluster
A Google Container Engine cluster.
Corresponds to the JSON property cluster
515 516 517 |
# File 'generated/google/apis/container_v1/classes.rb', line 515 def cluster @cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
522 523 524 |
# File 'generated/google/apis/container_v1/classes.rb', line 522 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) end |