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.



5170
5171
5172
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5170

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)


5162
5163
5164
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5162

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)


5168
5169
5170
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5168

def target_gke_cluster
  @target_gke_cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5175
5176
5177
5178
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5175

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