Class: Google::Apis::GkehubV1beta::MembershipFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::MembershipFeatureState
- 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
MembershipFeatureState contains Feature status information for a single Membership.
Instance Attribute Summary collapse
-
#anthosvm ⇒ Google::Apis::GkehubV1beta::AnthosVmMembershipState
AnthosVMFeatureState contains the state of the AnthosVM feature.
-
#appdevexperience ⇒ Google::Apis::GkehubV1beta::AppDevExperienceFeatureState
State for App Dev Exp Feature.
-
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipState
Anthos Config Management: State for a single cluster.
-
#identityservice ⇒ Google::Apis::GkehubV1beta::IdentityServiceMembershipState
Anthos Identity Service: State for a single Membership.
-
#metering ⇒ Google::Apis::GkehubV1beta::MeteringMembershipState
Metering: Per-Membership Feature State.
-
#policycontroller ⇒ Google::Apis::GkehubV1beta::PolicyControllerMembershipState
Policy Controller: State for a single cluster.
-
#servicemesh ⇒ Google::Apis::GkehubV1beta::ServiceMeshMembershipState
Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.
-
#state ⇒ Google::Apis::GkehubV1beta::FeatureState
FeatureState describes the high-level state of a Feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipFeatureState
constructor
A new instance of MembershipFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipFeatureState
Returns a new instance of MembershipFeatureState.
2152 2153 2154 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#anthosvm ⇒ Google::Apis::GkehubV1beta::AnthosVmMembershipState
AnthosVMFeatureState contains the state of the AnthosVM feature. It represents
the actual state in the cluster, while the AnthosVMMembershipSpec represents
the desired state.
Corresponds to the JSON property anthosvm
2112 2113 2114 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2112 def anthosvm @anthosvm end |
#appdevexperience ⇒ Google::Apis::GkehubV1beta::AppDevExperienceFeatureState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
2117 2118 2119 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2117 def appdevexperience @appdevexperience end |
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipState
Anthos Config Management: State for a single cluster.
Corresponds to the JSON property configmanagement
2122 2123 2124 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2122 def configmanagement @configmanagement end |
#identityservice ⇒ Google::Apis::GkehubV1beta::IdentityServiceMembershipState
Anthos Identity Service: State for a single Membership.
Corresponds to the JSON property identityservice
2127 2128 2129 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2127 def identityservice @identityservice end |
#metering ⇒ Google::Apis::GkehubV1beta::MeteringMembershipState
Metering: Per-Membership Feature State.
Corresponds to the JSON property metering
2132 2133 2134 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2132 def metering @metering end |
#policycontroller ⇒ Google::Apis::GkehubV1beta::PolicyControllerMembershipState
Policy Controller: State for a single cluster.
Corresponds to the JSON property policycontroller
2137 2138 2139 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2137 def policycontroller @policycontroller end |
#servicemesh ⇒ Google::Apis::GkehubV1beta::ServiceMeshMembershipState
Service Mesh: State for a single Membership, as analyzed by the Service
Mesh Hub Controller.
Corresponds to the JSON property servicemesh
2143 2144 2145 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2143 def servicemesh @servicemesh end |
#state ⇒ Google::Apis::GkehubV1beta::FeatureState
FeatureState describes the high-level state of a Feature. It may be used to
describe a Feature's state at the environ-level, or per-membershop, depending
on the context.
Corresponds to the JSON property state
2150 2151 2152 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2150 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2157 def update!(**args) @anthosvm = args[:anthosvm] if args.key?(:anthosvm) @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @identityservice = args[:identityservice] if args.key?(:identityservice) @metering = args[:metering] if args.key?(:metering) @policycontroller = args[:policycontroller] if args.key?(:policycontroller) @servicemesh = args[:servicemesh] if args.key?(:servicemesh) @state = args[:state] if args.key?(:state) end |