Class: Google::Apis::DataprocV1beta2::NamespacedGkeDeploymentTarget
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::NamespacedGkeDeploymentTarget
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/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.
2246 2247 2248 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2246 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
2238 2239 2240 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2238 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
2244 2245 2246 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2244 def target_gke_cluster @target_gke_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2251 2252 2253 2254 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2251 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 |