Class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::MembershipFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.
Instance Attribute Summary collapse
-
#anthosobservability ⇒ Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec
Anthosobservability: Per-Membership Feature spec.
-
#cloudbuild ⇒ Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec
Cloud Build: Configurations for each Cloud Build enabled cluster.
-
#configmanagement ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#fleetobservability ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability feature.
-
#identityservice ⇒ Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
-
#mesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property
mesh. -
#origin ⇒ Google::Apis::GkehubV1alpha::Origin
Origin defines where this MembershipFeatureSpec originated from.
-
#policycontroller ⇒ Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec
Policy Controller: Configuration for a single cluster.
-
#workloadcertificate ⇒ Google::Apis::GkehubV1alpha::MembershipSpec
Workload Certificate: The membership-specific input for WorkloadCertificate feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipFeatureSpec
constructor
A new instance of MembershipFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipFeatureSpec
Returns a new instance of MembershipFeatureSpec.
3749 3750 3751 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#anthosobservability ⇒ Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec
Anthosobservability: Per-Membership Feature spec.
Corresponds to the JSON property anthosobservability
3703 3704 3705 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3703 def anthosobservability @anthosobservability end |
#cloudbuild ⇒ Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec
Cloud Build: Configurations for each Cloud Build enabled cluster.
Corresponds to the JSON property cloudbuild
3708 3709 3710 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3708 def cloudbuild @cloudbuild end |
#configmanagement ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property configmanagement
3714 3715 3716 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3714 def configmanagement @configmanagement end |
#fleetobservability ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability
feature.
Corresponds to the JSON property fleetobservability
3720 3721 3722 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3720 def fleetobservability @fleetobservability end |
#identityservice ⇒ Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
Corresponds to the JSON property identityservice
3725 3726 3727 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3725 def identityservice @identityservice end |
#mesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature
Corresponds to the JSON property mesh
3730 3731 3732 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3730 def mesh @mesh end |
#origin ⇒ Google::Apis::GkehubV1alpha::Origin
Origin defines where this MembershipFeatureSpec originated from.
Corresponds to the JSON property origin
3735 3736 3737 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3735 def origin @origin end |
#policycontroller ⇒ Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec
Policy Controller: Configuration for a single cluster. Intended to
parallel the PolicyController CR.
Corresponds to the JSON property policycontroller
3741 3742 3743 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3741 def policycontroller @policycontroller end |
#workloadcertificate ⇒ Google::Apis::GkehubV1alpha::MembershipSpec
Workload Certificate: The membership-specific input for
WorkloadCertificate feature.
Corresponds to the JSON property workloadcertificate
3747 3748 3749 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3747 def workloadcertificate @workloadcertificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3754 def update!(**args) @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability) @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability) @identityservice = args[:identityservice] if args.key?(:identityservice) @mesh = args[:mesh] if args.key?(:mesh) @origin = args[:origin] if args.key?(:origin) @policycontroller = args[:policycontroller] if args.key?(:policycontroller) @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate) end |