Class: Google::Cloud::Compute::V1::ManagedInstance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

A Managed Instance resource.

Defined Under Namespace

Modules: CurrentAction, InstanceStatus, TargetStatus

Instance Attribute Summary collapse

Instance Attribute Details

#current_action ⇒ ::String

Returns Output only. [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values:

- NONE The instance is running, and the managed
instance group does not have any scheduled actions for this instance.
- CREATING The managed instance group is creating this
instance. If the group fails to create this instance, it will try again
until it is successful.
- CREATING_WITHOUT_RETRIES The managed instance group
is attempting to create this instance only once. If the group fails
to create this instance, it does not try again and the group'stargetSize value is decreased instead.
- RECREATING The managed instance group is recreating
this instance.
- DELETING The managed instance group is permanently
deleting this instance.
- ABANDONING The managed instance group is abandoning
this instance. The instance will be removed from the instance group
and from any target pools that are associated with this group.
- RESTARTING The managed instance group is restarting
the instance.
- REFRESHING The managed instance group is applying
configuration changes to the instance without stopping it. For example,
the group can update the target pool list for an instance without
stopping that instance.
- VERIFYING The managed instance group has created the
instance and it is in the process of being verified.

Check the CurrentAction enum for the list of possible values.

Returns:

  • (::String) —

    Output only. [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values:

    - NONE The instance is running, and the managed
    instance group does not have any scheduled actions for this instance.
    - CREATING The managed instance group is creating this
    instance. If the group fails to create this instance, it will try again
    until it is successful.
    - CREATING_WITHOUT_RETRIES The managed instance group
    is attempting to create this instance only once. If the group fails
    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
    - RECREATING The managed instance group is recreating
    this instance.
    - DELETING The managed instance group is permanently
    deleting this instance.
    - ABANDONING The managed instance group is abandoning
    this instance. The instance will be removed from the instance group
    and from any target pools that are associated with this group.
    - RESTARTING The managed instance group is restarting
    the instance.
    - REFRESHING The managed instance group is applying
    configuration changes to the instance without stopping it. For example,
    the group can update the target pool list for an instance without
    stopping that instance.
    - VERIFYING The managed instance group has created the
    instance and it is in the process of being verified.
    

    Check the CurrentAction enum for the list of possible values.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#id ⇒ ::Integer

Returns Output only. [Output only] The unique identifier for this resource. This field is empty when instance does not exist.

Returns:

  • (::Integer) —

    Output only. [Output only] The unique identifier for this resource. This field is empty when instance does not exist.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#instance ⇒ ::String

Returns Output only. [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.

Returns:

  • (::String) —

    Output only. [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#instance_health ⇒ ::Array<::Google::Cloud::Compute::V1::ManagedInstanceInstanceHealth>

Returns Output only. [Output Only] Health state of the instance per health-check.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#instance_status ⇒ ::String

Returns Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist. Check the InstanceStatus enum for the list of possible values.

Returns:

  • (::String) —

    Output only. [Output Only] The status of the instance. This field is empty when the instance does not exist. Check the InstanceStatus enum for the list of possible values.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#last_attempt ⇒ ::Google::Cloud::Compute::V1::ManagedInstanceLastAttempt

Returns Output only. [Output Only] Information about the last attempt to create or delete the instance.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#name ⇒ ::String

Returns Output only. [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.

Returns:

  • (::String) —

    Output only. [Output Only] The name of the instance. The name always exists even if the instance has not yet been created.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#preserved_state_from_config ⇒ ::Google::Cloud::Compute::V1::PreservedState

Returns Output only. [Output Only] Preserved state applied from per-instance config for this instance.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#preserved_state_from_policy ⇒ ::Google::Cloud::Compute::V1::PreservedState

Returns Output only. [Output Only] Preserved state generated based on stateful policy for this instance.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#properties_from_flexibility_policy ⇒ ::Google::Cloud::Compute::V1::ManagedInstancePropertiesFromFlexibilityPolicy

Returns Output only. [Output Only] Instance properties selected for this instance resulting from InstanceFlexibilityPolicy.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#scheduling ⇒ ::Google::Cloud::Compute::V1::ManagedInstanceScheduling

Returns Output only. Information about the termination timestamp of the instance, if applicable.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#shutdown_details ⇒ ::Google::Cloud::Compute::V1::ManagedInstanceShutdownDetails

Returns Output only. Specifies the graceful shutdown details if the instance is in PENDING_STOP state or there is a programmed stop scheduled.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#target_status ⇒ ::String

Returns Output only. The eventual status of the instance. The instance group manager will not be identified as stable till each managed instance reaches its targetStatus. Check the TargetStatus enum for the list of possible values.

Returns:

  • (::String) —

    Output only. The eventual status of the instance. The instance group manager will not be identified as stable till each managed instance reaches its targetStatus. Check the TargetStatus enum for the list of possible values.



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end

#version ⇒ ::Google::Cloud::Compute::V1::ManagedInstanceVersion

Returns Output only. [Output Only] Intended version of this instance.

Returns:



56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 56192

class ManagedInstance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Output only. [Output Only] The current action that the managed instance group has
  # scheduled for the instance. Possible values:
  #
  #    - NONE The instance is running, and the managed
  #    instance group does not have any scheduled actions for this instance.
  #    - CREATING The managed instance group is creating this
  #    instance. If the group fails to create this instance, it will try again
  #    until it is successful.
  #    - CREATING_WITHOUT_RETRIES The managed instance group
  #    is attempting to create this instance only once. If the group fails
  #    to create this instance, it does not try again and the group'stargetSize value is decreased instead.
  #    - RECREATING The managed instance group is recreating
  #    this instance.
  #    - DELETING The managed instance group is permanently
  #    deleting this instance.
  #    - ABANDONING The managed instance group is abandoning
  #    this instance. The instance will be removed from the instance group
  #    and from any target pools that are associated with this group.
  #    - RESTARTING The managed instance group is restarting
  #    the instance.
  #    - REFRESHING The managed instance group is applying
  #    configuration changes to the instance without stopping it. For example,
  #    the group can update the target pool list for an instance without
  #    stopping that instance.
  #    - VERIFYING The managed instance group has created the
  #    instance and it is in the process of being verified.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # STOPPING
  # SUSPENDING
  module CurrentAction
    # A value indicating that the enum field is not set.
    UNDEFINED_CURRENT_ACTION = 0

    # The managed instance group is abandoning this instance. The instance
    # will be removed from the instance group and from any target pools that
    # are associated with this group.
    ABANDONING = 388_244_813

    # The managed instance group is creating this instance. If the group
    # fails to create this instance, it will try again until it is
    # successful.
    CREATING = 455_564_985

    # The managed instance group is attempting to create this instance
    # only once. If the group fails to create this instance, it does
    # not try again and the group's targetSize value is
    # decreased.
    CREATING_WITHOUT_RETRIES = 428_843_785

    # The managed instance group is permanently deleting this instance.
    DELETING = 528_602_024

    # The managed instance group has not scheduled any actions for this
    # instance.
    NONE = 2_402_104

    # The managed instance group is recreating this instance.
    RECREATING = 287_278_572

    # The managed instance group is applying configuration changes to the
    # instance without stopping it. For example, the group can update the
    # target pool list for an instance without stopping that instance.
    REFRESHING = 163_266_343

    # The managed instance group is restarting this instance.
    RESTARTING = 320_534_387

    # The managed instance group is resuming this instance.
    RESUMING = 446_856_618

    # The managed instance group is starting this instance.
    STARTING = 488_820_800

    # The managed instance group is verifying this already created instance.
    # Verification happens every time the instance is (re)created or restarted
    # and consists of:
    #  1. Waiting until health check specified as part of this managed instance
    #     group's autohealing policy reports HEALTHY.
    #     Note: Applies only if autohealing policy has a health check specified
    #  2. Waiting for addition verification steps performed as post-instance
    #     creation (subject to future extensions).
    VERIFYING = 16_982_185
  end

  # Output only. [Output Only] The status of the instance. This field is empty when
  # the instance does not exist.
  module InstanceStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_INSTANCE_STATUS = 0

    # The instance is halted and we are performing tear down tasks like network
    # deprogramming, releasing quota, IP, tearing down disks etc.
    DEPROVISIONING = 428_935_662

    # For Flex Start provisioning instance is waiting for available capacity
    # from Dynamic Workload Scheduler (DWS).
    PENDING = 35_394_935

    # The instance is gracefully shutting down.
    PENDING_STOP = 362_509_770

    # Resources are being allocated for the instance.
    PROVISIONING = 290_896_621

    # The instance is in repair.
    REPAIRING = 413_483_285

    # The instance is running.
    RUNNING = 121_282_975

    # All required resources have been allocated and the instance
    # is being started.
    STAGING = 431_072_283

    # The instance has stopped successfully.
    STOPPED = 444_276_141

    # The instance is currently stopping (either being deleted or killed).
    STOPPING = 350_791_796

    # The instance has suspended.
    SUSPENDED = 51_223_995

    # The instance is suspending.
    SUSPENDING = 514_206_246

    # The instance has stopped (either by explicit action or underlying
    # failure).
    TERMINATED = 250_018_339
  end

  # Output only. The eventual status of the instance. The instance group
  # manager will not be identified as stable till each managed instance reaches
  # its targetStatus.
  # Additional supported values which may be not listed in the enum directly due to technical reasons:
  # RUNNING
  # STOPPED
  # SUSPENDED
  module TargetStatus
    # A value indicating that the enum field is not set.
    UNDEFINED_TARGET_STATUS = 0

    # The managed instance will eventually be ABANDONED, i.e. dissociated
    # from the managed instance group.
    ABANDONED = 81_797_556

    # The managed instance will eventually be DELETED.
    DELETED = 120_962_041

    # Only present to map the STATUS_INVALID value.
    INVALID = 530_283_991
  end
end