Class: Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.



959
960
961
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 959

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

Instance Attribute Details

#configmanagementGoogle::Apis::GkehubV1alpha::ConfigManagementMembershipSpec

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



946
947
948
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 946

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

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



951
952
953
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 951

def identityservice
  @identityservice
end

#policycontrollerGoogle::Apis::GkehubV1alpha::PolicyControllerMembershipSpec

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



957
958
959
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 957

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



964
965
966
967
968
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 964

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