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
- (::String) — Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
#node_pool=
def node_pool=(value) -> ::String
- value (::String) — Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
- (::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
-
(::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
-
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.
-
(::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>
- (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>) — Required. The roles associated with the GKE node pool.
#roles=
def roles=(value) -> ::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>
- value (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>) — Required. The roles associated with the GKE node pool.
- (::Array<::Google::Cloud::Dataproc::V1::GkeNodePoolTarget::Role>) — Required. The roles associated with the GKE node pool.