Class: Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFleetDefaultMemberConfigSpec

Returns a new instance of CommonFleetDefaultMemberConfigSpec.



861
862
863
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 861

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

Instance Attribute Details

#configmanagementGoogle::Apis::GkehubV1beta::ConfigManagementMembershipSpec

Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR. Corresponds to the JSON property configmanagement



843
844
845
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 843

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

Anthos Identity Service: Configuration for a single Membership. Corresponds to the JSON property identityservice



848
849
850
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 848

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1beta::ServiceMeshMembershipSpec

Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property mesh



853
854
855
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 853

def mesh
  @mesh
end

#policycontrollerGoogle::Apis::GkehubV1beta::PolicyControllerMembershipSpec

Policy Controller: Configuration for a single cluster. Intended to parallel the PolicyController CR. Corresponds to the JSON property policycontroller



859
860
861
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 859

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



866
867
868
869
870
871
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 866

def update!(**args)
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
  @identityservice = args[:identityservice] if args.key?(:identityservice)
  @mesh = args[:mesh] if args.key?(:mesh)
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
end