Class: Google::Apis::ClouddeployV1::GkeCluster
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::GkeCluster
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Information specifying a GKE Cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ String
Information specifying a GKE Cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeCluster
constructor
A new instance of GkeCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeCluster
Returns a new instance of GkeCluster.
540 541 542 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ String
Information specifying a GKE Cluster. Format is projects/project_id/
locations/location_id/clusters/cluster_id.
Corresponds to the JSON propertycluster`
538 539 540 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 538 def cluster @cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
545 546 547 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 545 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) end |