Class: Google::Apis::GkehubV1::AnthosVmSubFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::AnthosVmSubFeatureState
- 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
AnthosVMSubFeatureState contains the state of the AnthosVM subfeatures.
Instance Attribute Summary collapse
-
#description ⇒ String
Description represents human readable description of the subfeature state.
-
#installation_state ⇒ String
InstallationState represents the state of installation of the subfeature in the cluster.
-
#migrate_state ⇒ Google::Apis::GkehubV1::MigrateState
MigrateState contains the state of Migrate subfeature Corresponds to the JSON property
migrateState. -
#service_mesh_state ⇒ Google::Apis::GkehubV1::ServiceMeshState
ServiceMeshState contains the state of Service Mesh subfeature Corresponds to the JSON property
serviceMeshState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnthosVmSubFeatureState
constructor
A new instance of AnthosVmSubFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnthosVmSubFeatureState
Returns a new instance of AnthosVmSubFeatureState.
135 136 137 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description represents human readable description of the subfeature state. If
the deployment failed, this should also contain the reason for the failure.
Corresponds to the JSON property description
117 118 119 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 117 def description @description end |
#installation_state ⇒ String
InstallationState represents the state of installation of the subfeature in
the cluster.
Corresponds to the JSON property installationState
123 124 125 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 123 def installation_state @installation_state end |
#migrate_state ⇒ Google::Apis::GkehubV1::MigrateState
MigrateState contains the state of Migrate subfeature
Corresponds to the JSON property migrateState
128 129 130 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 128 def migrate_state @migrate_state end |
#service_mesh_state ⇒ Google::Apis::GkehubV1::ServiceMeshState
ServiceMeshState contains the state of Service Mesh subfeature
Corresponds to the JSON property serviceMeshState
133 134 135 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 133 def service_mesh_state @service_mesh_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
140 141 142 143 144 145 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 140 def update!(**args) @description = args[:description] if args.key?(:description) @installation_state = args[:installation_state] if args.key?(:installation_state) @migrate_state = args[:migrate_state] if args.key?(:migrate_state) @service_mesh_state = args[:service_mesh_state] if args.key?(:service_mesh_state) end |