Class: Google::Apis::GkehubV2alpha::FeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb

Overview

FeatureSpec contains user input per-feature spec information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FeatureSpec

Returns a new instance of FeatureSpec.



1419
1420
1421
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1419

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

Instance Attribute Details

#cloudbuildGoogle::Apis::GkehubV2alpha::CloudBuildSpec

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



1384
1385
1386
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1384

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV2alpha::ConfigManagementSpec

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



1390
1391
1392
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1390

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2alpha::IdentityServiceSpec

IdentityService: Configuration for a single membership. Corresponds to the JSON property identityservice



1395
1396
1397
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1395

def identityservice
  @identityservice
end

#originGoogle::Apis::GkehubV2alpha::Origin

Origin defines where this FeatureSpec originated from. Corresponds to the JSON property origin



1400
1401
1402
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1400

def origin
  @origin
end

#policycontrollerGoogle::Apis::GkehubV2alpha::PolicyControllerSpec

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



1406
1407
1408
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1406

def policycontroller
  @policycontroller
end

#servicemeshGoogle::Apis::GkehubV2alpha::ServiceMeshSpec

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



1411
1412
1413
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1411

def servicemesh
  @servicemesh
end

#workloadcertificateGoogle::Apis::GkehubV2alpha::WorkloadCertificateSpec

WorkloadCertificate: The membership-specific input for WorkloadCertificate feature. Corresponds to the JSON property workloadcertificate



1417
1418
1419
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1417

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1424
1425
1426
1427
1428
1429
1430
1431
1432
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1424

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