Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeNodePoolTarget (v0.13.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::GkeNodePoolTarget.

GKE NodePools that Dataproc workloads run on.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#node_pool

def node_pool() -> ::String
Returns
  • (::String) — Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'

#node_pool=

def node_pool=(value) -> ::String
Parameter
  • value (::String) — Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
Returns
  • (::String) — Required. The target GKE NodePool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'

#node_pool_config

def node_pool_config() -> ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig
Returns
  • (::Google::Cloud::Dataproc::V1::GkeNodePoolConfig) — Optional. The configuration for the GKE NodePool.

    If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.

    If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.

#node_pool_config=

def node_pool_config=(value) -> ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig
Parameter
  • value (::Google::Cloud::Dataproc::V1::GkeNodePoolConfig) — Optional. The configuration for the GKE NodePool.

    If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.

    If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.

Returns
  • (::Google::Cloud::Dataproc::V1::GkeNodePoolConfig) — Optional. The configuration for the GKE NodePool.

    If specified, Dataproc attempts to create a NodePool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.

    If omitted, any NodePool with the specified name is used. If a NodePool with the specified name does not exist, Dataproc create a NodePool with default values.

#roles

def roles() -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>
Returns

#roles=

def roles=(value) -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>
Parameter
Returns