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.
Instance Attribute Summary collapse
-
#anthosvm ⇒ Google::Apis::GkehubV1::AnthosVmMembershipSpec
AnthosVMMembershipSpec contains the AnthosVM feature configuration for a membership/cluster.
-
#configmanagement ⇒ Google::Apis::GkehubV1::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
-
#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.
2364 2365 2366 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#anthosvm ⇒ Google::Apis::GkehubV1::AnthosVmMembershipSpec
AnthosVMMembershipSpec contains the AnthosVM feature configuration for a
membership/cluster.
Corresponds to the JSON property anthosvm
2346 2347 2348 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2346 def anthosvm @anthosvm end |
#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
2352 2353 2354 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2352 def configmanagement @configmanagement end |
#identityservice ⇒ Google::Apis::GkehubV1::IdentityServiceMembershipSpec
Anthos Identity Service: Configuration for a single Membership.
Corresponds to the JSON property identityservice
2357 2358 2359 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2357 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
2362 2363 2364 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2362 def mesh @mesh end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2369 2370 2371 2372 2373 2374 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2369 def update!(**args) @anthosvm = args[:anthosvm] if args.key?(:anthosvm) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @identityservice = args[:identityservice] if args.key?(:identityservice) @mesh = args[:mesh] if args.key?(:mesh) end |