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.



1945
1946
1947
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1945

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec

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



1910
1911
1912
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1910

def anthosobservability
  @anthosobservability
end

#anthosvmGoogle::Apis::GkehubV1beta::AnthosVmMembershipSpec

AnthosVMMembershipSpec contains the AnthosVM feature configuration for a membership/cluster. Corresponds to the JSON property anthosvm



1916
1917
1918
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1916

def anthosvm
  @anthosvm
end

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

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



1921
1922
1923
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1921

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



1927
1928
1929
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1927

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

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



1932
1933
1934
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1932

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



1937
1938
1939
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1937

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



1943
1944
1945
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1943

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1950
1951
1952
1953
1954
1955
1956
1957
1958
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1950

def update!(**args)
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
  @anthosvm = args[:anthosvm] if args.key?(:anthosvm)
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
  @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