Class: Google::Apis::DataprocV1beta2::NamespacedGkeDeploymentTarget
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::NamespacedGkeDeploymentTarget
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb
Overview
A full, namespace-isolated deployment target for an existing GKE cluster.
Instance Attribute Summary collapse
-
#cluster_namespace ⇒ String
Optional.
-
#target_gke_cluster ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamespacedGkeDeploymentTarget
constructor
A new instance of NamespacedGkeDeploymentTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NamespacedGkeDeploymentTarget
Returns a new instance of NamespacedGkeDeploymentTarget.
2256 2257 2258 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2256 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_namespace ⇒ String
Optional. A namespace within the GKE cluster to deploy into.
Corresponds to the JSON property clusterNamespace
2248 2249 2250 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2248 def cluster_namespace @cluster_namespace end |
#target_gke_cluster ⇒ String
Optional. The target GKE cluster to deploy to. Format: 'projects/project/
locations/location/clusters/cluster_id'
Corresponds to the JSON property targetGkeCluster
2254 2255 2256 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2254 def target_gke_cluster @target_gke_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2261 2262 2263 2264 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2261 def update!(**args) @cluster_namespace = args[:cluster_namespace] if args.key?(:cluster_namespace) @target_gke_cluster = args[:target_gke_cluster] if args.key?(:target_gke_cluster) end |