Class: Google::Apis::GkeonpremV1::Fleet
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::Fleet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. ##
Instance Attribute Summary collapse
-
#membership ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Fleet
constructor
A new instance of Fleet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Fleet
Returns a new instance of Fleet.
2537 2538 2539 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#membership ⇒ String
Output only. The name of the managed fleet Membership resource associated to
this cluster. Membership names are formatted as projects//locations//
memberships/
.
Corresponds to the JSON property membership
2535 2536 2537 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2535 def membership @membership end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2542 2543 2544 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2542 def update!(**args) @membership = args[:membership] if args.key?(:membership) end |