Class: Google::Apis::GkeonpremV1::Fleet

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#membershipString

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

Returns:

  • (String)


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