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.
1901 1902 1903 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1901 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
1884 1885 1886 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1884 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
1890 1891 1892 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1890 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
1899 1900 1901 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1899 def node_pool_target @node_pool_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1906 1907 1908 1909 1910 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1906 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 |