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.



1510
1511
1512
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1510

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



1469
1470
1471
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1469

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



1475
1476
1477
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1475

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2alpha::IdentityServiceSpec

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



1480
1481
1482
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1480

def identityservice
  @identityservice
end

#originGoogle::Apis::GkehubV2alpha::Origin

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



1485
1486
1487
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1485

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



1491
1492
1493
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1491

def policycontroller
  @policycontroller
end

#rbacrolebindingactuationGoogle::Apis::GkehubV2alpha::RbacRoleBindingActuationSpec

RBAC RoleBinding Actuation: The membership-specific input for RBACRoleBindingActuation feature. Corresponds to the JSON property rbacrolebindingactuation



1497
1498
1499
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1497

def rbacrolebindingactuation
  @rbacrolebindingactuation
end

#servicemeshGoogle::Apis::GkehubV2alpha::ServiceMeshSpec

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



1502
1503
1504
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1502

def servicemesh
  @servicemesh
end

#workloadcertificateGoogle::Apis::GkehubV2alpha::WorkloadCertificateSpec

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



1508
1509
1510
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1508

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1515

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