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.



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

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



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

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



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

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV2::IdentityServiceSpec

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



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

def identityservice
  @identityservice
end

#originGoogle::Apis::GkehubV2::Origin

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



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

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



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

def policycontroller
  @policycontroller
end

#rbacrolebindingactuationGoogle::Apis::GkehubV2::RbacRoleBindingActuationSpec

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



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

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



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

def servicemesh
  @servicemesh
end

#workloadcertificateGoogle::Apis::GkehubV2::WorkloadCertificateSpec

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



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

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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