Class: Google::Apis::DataprocV1::NamespacedGkeDeploymentTarget

Inherits:
Object
  • Object
show all
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

Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NamespacedGkeDeploymentTarget

Returns a new instance of NamespacedGkeDeploymentTarget.



5348
5349
5350
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5348

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cluster_namespaceString

Optional. A namespace within the GKE cluster to deploy into. Corresponds to the JSON property clusterNamespace

Returns:

  • (String)


5340
5341
5342
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5340

def cluster_namespace
  @cluster_namespace
end

#target_gke_clusterString

Optional. The target GKE cluster to deploy to. Format: 'projects/project/ locations/location/clusters/cluster_id' Corresponds to the JSON property targetGkeCluster

Returns:

  • (String)


5346
5347
5348
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5346

def target_gke_cluster
  @target_gke_cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5353
5354
5355
5356
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5353

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