Class: Google::Apis::ClouddeployV1::AssociatedEntities
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::AssociatedEntities
- 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
-
#anthos_clusters ⇒ Array<Google::Apis::ClouddeployV1::AnthosCluster>
Optional.
-
#gke_clusters ⇒ Array<Google::Apis::ClouddeployV1::GkeCluster>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssociatedEntities
constructor
A new instance of AssociatedEntities.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_clusters ⇒ Array<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_clusters ⇒ Array<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 |