Class: Google::Apis::GkehubV1alpha::AnthosVmSubFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::AnthosVmSubFeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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::GkehubV1alpha::MigrateState
MigrateState contains the state of Migrate subfeature Corresponds to the JSON property
migrateState. -
#service_mesh_state ⇒ Google::Apis::GkehubV1alpha::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.
190 191 192 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 190 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
172 173 174 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 172 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
178 179 180 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 178 def installation_state @installation_state end |
#migrate_state ⇒ Google::Apis::GkehubV1alpha::MigrateState
MigrateState contains the state of Migrate subfeature
Corresponds to the JSON property migrateState
183 184 185 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 183 def migrate_state @migrate_state end |
#service_mesh_state ⇒ Google::Apis::GkehubV1alpha::ServiceMeshState
ServiceMeshState contains the state of Service Mesh subfeature
Corresponds to the JSON property serviceMeshState
188 189 190 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 188 def service_mesh_state @service_mesh_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
195 196 197 198 199 200 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 195 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 |