Class: Google::Apis::ClouddeployV1::AssociatedEntities

Inherits:
Object
  • Object
show all
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 about entities associated with a Target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssociatedEntities

Returns a new instance of AssociatedEntities.



286
287
288
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 286

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

Instance Attribute Details

#anthos_clustersArray<Google::Apis::ClouddeployV1::AnthosCluster>

Optional. Information specifying Anthos clusters as associated entities. Corresponds to the JSON property anthosClusters



279
280
281
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 279

def anthos_clusters
  @anthos_clusters
end

#gke_clustersArray<Google::Apis::ClouddeployV1::GkeCluster>

Optional. Information specifying GKE clusters as associated entities. Corresponds to the JSON property gkeClusters



284
285
286
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 284

def gke_clusters
  @gke_clusters
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 291

def update!(**args)
  @anthos_clusters = args[:anthos_clusters] if args.key?(:anthos_clusters)
  @gke_clusters = args[:gke_clusters] if args.key?(:gke_clusters)
end