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
882 883 884 |
# File 'generated/google/apis/container_v1/classes.rb', line 882 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
880 881 882 |
# File 'generated/google/apis/container_v1/classes.rb', line 880 def cluster @cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
887 888 889 |
# File 'generated/google/apis/container_v1/classes.rb', line 887 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) end |