Class: Google::Apis::GkehubV1beta::MembershipFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::MembershipFeatureSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
MembershipFeatureSpec contains configuration information for a single Membership.
Instance Attribute Summary collapse
-
#anthosobservability ⇒ Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec
Anthosobservability: Per-Membership Feature spec.
-
#cloudbuild ⇒ Google::Apis::GkehubV1beta::MembershipSpec
Cloud Build: Configurations for each Cloud Build enabled cluster.
-
#configmanagement ⇒ Google::Apis::GkehubV1beta::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::GkehubV1beta::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability feature.
-
#identityservice ⇒ Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
-
#mesh ⇒ Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property
mesh. -
#policycontroller ⇒ Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec
Policy Controller: Configuration for a single cluster.
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.
2331 2332 2333 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#anthosobservability ⇒ Google::Apis::GkehubV1beta::AnthosObservabilityMembershipSpec
Anthosobservability: Per-Membership Feature spec.
Corresponds to the JSON property anthosobservability
2290 2291 2292 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2290 def anthosobservability @anthosobservability end |
#cloudbuild ⇒ Google::Apis::GkehubV1beta::MembershipSpec
Cloud Build: Configurations for each Cloud Build enabled cluster.
Corresponds to the JSON property cloudbuild
2295 2296 2297 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2295 def cloudbuild @cloudbuild end |
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property configmanagement
2301 2302 2303 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2301 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
2306 2307 2308 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2306 def fleet_inherited @fleet_inherited end |
#fleetobservability ⇒ Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec
FleetObservability: The membership-specific input for FleetObservability
feature.
Corresponds to the JSON property fleetobservability
2313 2314 2315 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2313 def fleetobservability @fleetobservability end |
#identityservice ⇒ Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
Corresponds to the JSON property identityservice
2318 2319 2320 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2318 def identityservice @identityservice end |
#mesh ⇒ Google::Apis::GkehubV1beta::ServiceMeshMembershipSpec
Service Mesh: Spec for a single Membership for the servicemesh feature
Corresponds to the JSON property mesh
2323 2324 2325 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2323 def mesh @mesh end |
#policycontroller ⇒ Google::Apis::GkehubV1beta::PolicyControllerMembershipSpec
Policy Controller: Configuration for a single cluster. Intended to
parallel the PolicyController CR.
Corresponds to the JSON property policycontroller
2329 2330 2331 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2329 def policycontroller @policycontroller end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2336 def update!(**args) @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability) @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild) @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) @policycontroller = args[:policycontroller] if args.key?(:policycontroller) end |