Class: Google::Apis::GkehubV1beta::MembershipFeatureSpec

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

MembershipFeatureSpec contains configuration information for a single Membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipFeatureSpec

Returns a new instance of MembershipFeatureSpec.



1783
1784
1785
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1783

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec

Anthosobservability: Per-Membership Feature spec. Corresponds to the JSON property anthosobservability



1759
1760
1761
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1759

def anthosobservability
  @anthosobservability
end

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

Cloud Build: Configurations for each Cloud Build enabled cluster. Corresponds to the JSON property cloudbuild



1764
1765
1766
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1764

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV1beta::ConfigManagementMembershipSpec

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



1770
1771
1772
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1770

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

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



1775
1776
1777
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1775

def identityservice
  @identityservice
end

#policycontrollerGoogle::Apis::GkehubV1beta::PolicyControllerMembershipSpec

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



1781
1782
1783
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1781

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1788
1789
1790
1791
1792
1793
1794
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1788

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