Class: Google::Apis::GkehubV2alpha::FeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::FeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
FeatureState contains high-level state information and per-feature state information for this MembershipFeature.
Instance Attribute Summary collapse
-
#appdevexperience ⇒ Google::Apis::GkehubV2alpha::AppDevExperienceState
State for App Dev Exp Feature.
-
#clusterupgrade ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeState
Per-membership state for this feature.
-
#configmanagement ⇒ Google::Apis::GkehubV2alpha::ConfigManagementState
Anthos Config Management: State for a single cluster.
-
#identityservice ⇒ Google::Apis::GkehubV2alpha::IdentityServiceState
IdentityService: State for a single membership, analyzed and reported by feature controller.
-
#metering ⇒ Google::Apis::GkehubV2alpha::MeteringState
Metering: State for a single membership, analyzed and reported by feature controller.
-
#policycontroller ⇒ Google::Apis::GkehubV2alpha::PolicyControllerState
Policy Controller: State for a single cluster.
-
#servicemesh ⇒ Google::Apis::GkehubV2alpha::ServiceMeshState
Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.
-
#state ⇒ Google::Apis::GkehubV2alpha::State
High-level state of a MembershipFeature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeatureState
constructor
A new instance of FeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeatureState
Returns a new instance of FeatureState.
1483 1484 1485 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appdevexperience ⇒ Google::Apis::GkehubV2alpha::AppDevExperienceState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
1443 1444 1445 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1443 def appdevexperience @appdevexperience end |
#clusterupgrade ⇒ Google::Apis::GkehubV2alpha::ClusterUpgradeState
Per-membership state for this feature.
Corresponds to the JSON property clusterupgrade
1448 1449 1450 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1448 def clusterupgrade @clusterupgrade end |
#configmanagement ⇒ Google::Apis::GkehubV2alpha::ConfigManagementState
Anthos Config Management: State for a single cluster.
Corresponds to the JSON property configmanagement
1453 1454 1455 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1453 def configmanagement @configmanagement end |
#identityservice ⇒ Google::Apis::GkehubV2alpha::IdentityServiceState
IdentityService: State for a single membership, analyzed and reported by
feature controller.
Corresponds to the JSON property identityservice
1459 1460 1461 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1459 def identityservice @identityservice end |
#metering ⇒ Google::Apis::GkehubV2alpha::MeteringState
Metering: State for a single membership, analyzed and reported by feature
controller.
Corresponds to the JSON property metering
1465 1466 1467 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1465 def metering @metering end |
#policycontroller ⇒ Google::Apis::GkehubV2alpha::PolicyControllerState
Policy Controller: State for a single cluster.
Corresponds to the JSON property policycontroller
1470 1471 1472 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1470 def policycontroller @policycontroller end |
#servicemesh ⇒ Google::Apis::GkehubV2alpha::ServiceMeshState
Service Mesh: State for a single Membership, as analyzed by the Service
Mesh Hub Controller.
Corresponds to the JSON property servicemesh
1476 1477 1478 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1476 def servicemesh @servicemesh end |
#state ⇒ Google::Apis::GkehubV2alpha::State
High-level state of a MembershipFeature.
Corresponds to the JSON property state
1481 1482 1483 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1481 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 1488 def update!(**args) @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience) @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade) @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 |