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.



1424
1425
1426
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1424

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



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

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



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

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2alpha::IdentityServiceSpec

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



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

def identityservice
  @identityservice
end

#originGoogle::Apis::GkehubV2alpha::Origin

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



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

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



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

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



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

def servicemesh
  @servicemesh
end

#workloadcertificateGoogle::Apis::GkehubV2alpha::WorkloadCertificateSpec

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



1422
1423
1424
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1422

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1429
1430
1431
1432
1433
1434
1435
1436
1437
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1429

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