Class: Google::Apis::GkehubV2::FeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2::FeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2/classes.rb,
lib/google/apis/gkehub_v2/representations.rb,
lib/google/apis/gkehub_v2/representations.rb
Overview
FeatureState contains high-level state information and per-feature state information for this MembershipFeature.
Instance Attribute Summary collapse
-
#appdevexperience ⇒ Google::Apis::GkehubV2::AppDevExperienceState
State for App Dev Exp Feature.
-
#clusterupgrade ⇒ Google::Apis::GkehubV2::ClusterUpgradeState
Per-membership state for this feature.
-
#configmanagement ⇒ Google::Apis::GkehubV2::ConfigManagementState
Anthos Config Management: State for a single cluster.
-
#identityservice ⇒ Google::Apis::GkehubV2::IdentityServiceState
IdentityService: State for a single membership, analyzed and reported by feature controller.
-
#metering ⇒ Google::Apis::GkehubV2::MeteringState
Metering: State for a single membership, analyzed and reported by feature controller.
-
#policycontroller ⇒ Google::Apis::GkehubV2::PolicyControllerState
Policy Controller: State for a single cluster.
-
#servicemesh ⇒ Google::Apis::GkehubV2::ServiceMeshState
Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.
-
#state ⇒ Google::Apis::GkehubV2::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.
1515 1516 1517 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appdevexperience ⇒ Google::Apis::GkehubV2::AppDevExperienceState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
1475 1476 1477 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1475 def appdevexperience @appdevexperience end |
#clusterupgrade ⇒ Google::Apis::GkehubV2::ClusterUpgradeState
Per-membership state for this feature.
Corresponds to the JSON property clusterupgrade
1480 1481 1482 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1480 def clusterupgrade @clusterupgrade end |
#configmanagement ⇒ Google::Apis::GkehubV2::ConfigManagementState
Anthos Config Management: State for a single cluster.
Corresponds to the JSON property configmanagement
1485 1486 1487 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1485 def configmanagement @configmanagement end |
#identityservice ⇒ Google::Apis::GkehubV2::IdentityServiceState
IdentityService: State for a single membership, analyzed and reported by
feature controller.
Corresponds to the JSON property identityservice
1491 1492 1493 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1491 def identityservice @identityservice end |
#metering ⇒ Google::Apis::GkehubV2::MeteringState
Metering: State for a single membership, analyzed and reported by feature
controller.
Corresponds to the JSON property metering
1497 1498 1499 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1497 def metering @metering end |
#policycontroller ⇒ Google::Apis::GkehubV2::PolicyControllerState
Policy Controller: State for a single cluster.
Corresponds to the JSON property policycontroller
1502 1503 1504 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1502 def policycontroller @policycontroller end |
#servicemesh ⇒ Google::Apis::GkehubV2::ServiceMeshState
Service Mesh: State for a single Membership, as analyzed by the Service
Mesh Hub Controller.
Corresponds to the JSON property servicemesh
1508 1509 1510 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1508 def servicemesh @servicemesh end |
#state ⇒ Google::Apis::GkehubV2::State
High-level state of a MembershipFeature.
Corresponds to the JSON property state
1513 1514 1515 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1513 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 |
# File 'lib/google/apis/gkehub_v2/classes.rb', line 1520 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 |