Class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec

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

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.



2370
2371
2372
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2370

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

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



2341
2342
2343
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2341

def anthosobservability
  @anthosobservability
end

#cloudbuildGoogle::Apis::GkehubV1alpha::CloudBuildMembershipSpec

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



2346
2347
2348
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2346

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV1alpha::ConfigManagementMembershipSpec

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



2352
2353
2354
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2352

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

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



2357
2358
2359
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2357

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1alpha::ServiceMeshMembershipSpec

Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property mesh



2362
2363
2364
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2362

def mesh
  @mesh
end

#policycontrollerGoogle::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec

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



2368
2369
2370
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2368

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2375
2376
2377
2378
2379
2380
2381
2382
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2375

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)
  @mesh = args[:mesh] if args.key?(:mesh)
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
end