Class: Google::Apis::GkehubV1::MembershipFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::MembershipFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb
Overview
MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.
Instance Attribute Summary collapse
-
#configmanagement ⇒ Google::Apis::GkehubV1::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#fleet_inherited ⇒ Boolean
(also: #fleet_inherited?)
True if value of
feature_specwas inherited from a fleet-level default. -
#fleetobservability ⇒ Google::Apis::GkehubV1::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability feature.
-
#identityservice ⇒ Google::Apis::GkehubV1::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
-
#mesh ⇒ Google::Apis::GkehubV1::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property
mesh.
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.
2815 2816 2817 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configmanagement ⇒ Google::Apis::GkehubV1::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property configmanagement
2791 2792 2793 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2791 def configmanagement @configmanagement end |
#fleet_inherited ⇒ Boolean Also known as: fleet_inherited?
True if value of feature_spec was inherited from a fleet-level default.
Corresponds to the JSON property fleetInherited
2796 2797 2798 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2796 def fleet_inherited @fleet_inherited end |
#fleetobservability ⇒ Google::Apis::GkehubV1::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability
feature.
Corresponds to the JSON property fleetobservability
2803 2804 2805 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2803 def fleetobservability @fleetobservability end |
#identityservice ⇒ Google::Apis::GkehubV1::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
Corresponds to the JSON property identityservice
2808 2809 2810 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2808 def identityservice @identityservice end |
#mesh ⇒ Google::Apis::GkehubV1::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature
Corresponds to the JSON property mesh
2813 2814 2815 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2813 def mesh @mesh end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2820 2821 2822 2823 2824 2825 2826 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2820 def update!(**args) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited) @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability) @identityservice = args[:identityservice] if args.key?(:identityservice) @mesh = args[:mesh] if args.key?(:mesh) end |