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.



2035
2036
2037
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2035

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec

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



2000
2001
2002
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2000

def anthosobservability
  @anthosobservability
end

#anthosvmGoogle::Apis::GkehubV1beta::AnthosVmMembershipSpec

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



2006
2007
2008
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2006

def anthosvm
  @anthosvm
end

#cloudbuildGoogle::Apis::GkehubV1beta::MembershipSpec

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



2011
2012
2013
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2011

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



2017
2018
2019
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2017

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1beta::IdentityServiceMembershipSpec

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



2022
2023
2024
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2022

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



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

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



2033
2034
2035
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2033

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2040

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