Class: Google::Apis::DataprocV1::GkeClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::GkeClusterConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
The cluster's GKE config.
Instance Attribute Summary collapse
-
#gke_cluster_target ⇒ String
Optional.
-
#namespaced_gke_deployment_target ⇒ Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget
Deprecated.
-
#node_pool_target ⇒ Array<Google::Apis::DataprocV1::GkeNodePoolTarget>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeClusterConfig
constructor
A new instance of GkeClusterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeClusterConfig
Returns a new instance of GkeClusterConfig.
3058 3059 3060 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3058 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gke_cluster_target ⇒ String
Optional. A target GKE cluster to deploy to. It must be in the same project
and region as the Dataproc cluster (the GKE cluster can be zonal or regional).
Format: 'projects/project
/locations/location
/clusters/cluster_id
'
Corresponds to the JSON property gkeClusterTarget
3041 3042 3043 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3041 def gke_cluster_target @gke_cluster_target end |
#namespaced_gke_deployment_target ⇒ Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget
Deprecated. Used only for the deprecated beta. A full, namespace-isolated
deployment target for an existing GKE cluster.
Corresponds to the JSON property namespacedGkeDeploymentTarget
3047 3048 3049 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3047 def namespaced_gke_deployment_target @namespaced_gke_deployment_target end |
#node_pool_target ⇒ Array<Google::Apis::DataprocV1::GkeNodePoolTarget>
Optional. GKE node pools where workloads will be scheduled. At least one node
pool must be assigned the DEFAULT GkeNodePoolTarget.Role. If a
GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULT
GkeNodePoolTarget. Each role can be given to only one GkeNodePoolTarget. All
node pools must have the same location settings.
Corresponds to the JSON property nodePoolTarget
3056 3057 3058 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3056 def node_pool_target @node_pool_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3063 3064 3065 3066 3067 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3063 def update!(**args) @gke_cluster_target = args[:gke_cluster_target] if args.key?(:gke_cluster_target) @namespaced_gke_deployment_target = args[:namespaced_gke_deployment_target] if args.key?(:namespaced_gke_deployment_target) @node_pool_target = args[:node_pool_target] if args.key?(:node_pool_target) end |