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.



2027
2028
2029
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2027

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec

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



1992
1993
1994
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1992

def anthosobservability
  @anthosobservability
end

#anthosvmGoogle::Apis::GkehubV1beta::AnthosVmMembershipSpec

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



1998
1999
2000
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1998

def anthosvm
  @anthosvm
end

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

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



2003
2004
2005
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2003

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



2009
2010
2011
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2009

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

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



2014
2015
2016
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2014

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



2019
2020
2021
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2019

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



2025
2026
2027
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2025

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2032
2033
2034
2035
2036
2037
2038
2039
2040
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2032

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