Class: Google::Container::V1::CreateClusterRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

CreateClusterRequest creates a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#clusterGoogle::Container::V1::Cluster

Returns Required. A cluster resource.



1026
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1026

class CreateClusterRequest; end

#parentString

Returns The parent (project and location) where the cluster will be created. Specified in the format 'projects//locations/'.

Returns:

  • (String)

    The parent (project and location) where the cluster will be created. Specified in the format 'projects//locations/'.



1026
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1026

class CreateClusterRequest; end

#project_idString

Returns Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.

Returns:

  • (String)

    Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.



1026
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1026

class CreateClusterRequest; end

#zoneString

Returns Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.

Returns:

  • (String)

    Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.



1026
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1026

class CreateClusterRequest; end