Class: Google::Apis::GkehubV2::FeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/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.



1533
1534
1535
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1533

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

Instance Attribute Details

#cloudbuildGoogle::Apis::GkehubV2::CloudBuildSpec

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



1492
1493
1494
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1492

def cloudbuild
  @cloudbuild
end

#configmanagementGoogle::Apis::GkehubV2::ConfigManagementSpec

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



1498
1499
1500
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1498

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2::IdentityServiceSpec

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



1503
1504
1505
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1503

def identityservice
  @identityservice
end

#originGoogle::Apis::GkehubV2::Origin

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



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

def origin
  @origin
end

#policycontrollerGoogle::Apis::GkehubV2::PolicyControllerSpec

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



1514
1515
1516
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1514

def policycontroller
  @policycontroller
end

#rbacrolebindingactuationGoogle::Apis::GkehubV2::RbacRoleBindingActuationSpec

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



1520
1521
1522
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1520

def rbacrolebindingactuation
  @rbacrolebindingactuation
end

#servicemeshGoogle::Apis::GkehubV2::ServiceMeshSpec

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



1525
1526
1527
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1525

def servicemesh
  @servicemesh
end

#workloadcertificateGoogle::Apis::GkehubV2::WorkloadCertificateSpec

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



1531
1532
1533
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1531

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1538

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