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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

CreateClusterRequest creates a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster::Google::Cloud::Container::V1::Cluster

Returns Required. A cluster resource.



2340
2341
2342
2343
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2340

class CreateClusterRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

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/*.



2340
2341
2342
2343
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2340

class CreateClusterRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

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

Returns:

  • (::String)

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



2340
2341
2342
2343
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2340

class CreateClusterRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns 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)

    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.



2340
2341
2342
2343
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2340

class CreateClusterRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end