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.
2257 2258 2259 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2257 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
2249 2250 2251 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2249 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
2255 2256 2257 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2255 def target_gke_cluster @target_gke_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2262 2263 2264 2265 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 2262 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 |