Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::GkeNodePoolTarget (v1.1.0)

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

GKE node pools 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 node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'

#node_pool=

def node_pool=(value) -> ::String
Parameter
  • value (::String) — Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
Returns
  • (::String) — Required. The target GKE node pool. 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) — Input only. The configuration for the GKE node pool.

    If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.

    This is an input only field. It will not be returned by the API.

#node_pool_config=

def node_pool_config=(value) -> ::Google::Cloud::Dataproc::V1::GkeNodePoolConfig
Parameter
  • value (::Google::Cloud::Dataproc::V1::GkeNodePoolConfig) — Input only. The configuration for the GKE node pool.

    If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.

    This is an input only field. It will not be returned by the API.

Returns
  • (::Google::Cloud::Dataproc::V1::GkeNodePoolConfig) — Input only. The configuration for the GKE node pool.

    If specified, Dataproc attempts to create a node pool 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 node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.

    This is an input only field. It will not be returned by the API.

#roles

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

#roles=

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