Class: Google::Cloud::Compute::V1::Instance

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

Overview

Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances.

Defined Under Namespace

Modules: PrivateIpv6GoogleAccess, Status Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#advanced_machine_features::Google::Cloud::Compute::V1::AdvancedMachineFeatures

Returns Controls for advanced machine-related behavior features.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#can_ip_forward::Boolean

Returns Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .

Returns:

  • (::Boolean)

    Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#confidential_instance_config::Google::Cloud::Compute::V1::ConfidentialInstanceConfig



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#cpu_platform::String

Returns [Output Only] The CPU platform used by this instance.

Returns:

  • (::String)

    [Output Only] The CPU platform used by this instance.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#deletion_protection::Boolean

Returns Whether the resource should be protected against deletion.

Returns:

  • (::Boolean)

    Whether the resource should be protected against deletion.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#description::String

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (::String)

    An optional description of this resource. Provide this property when you create the resource.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#disks::Array<::Google::Cloud::Compute::V1::AttachedDisk>

Returns Array of disks associated with this instance. Persistent disks must be created before you can assign them.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#display_device::Google::Cloud::Compute::V1::DisplayDevice

Returns Enables display device for the instance.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#fingerprint::String

Returns Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.

Returns:

  • (::String)

    Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#guest_accelerators::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>

Returns A list of the type and count of accelerator cards attached to the instance.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#hostname::String

Returns Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.

Returns:

  • (::String)

    Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#kind::String

Returns [Output Only] Type of the resource. Always compute#instance for instances.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#instance for instances.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#label_fingerprint::String

Returns A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.

Returns:

  • (::String)

    A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels to apply to this instance. These can be later modified by the setLabels method.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels to apply to this instance. These can be later modified by the setLabels method.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#last_start_timestamp::String

Returns [Output Only] Last start timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Last start timestamp in RFC3339 text format.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#last_stop_timestamp::String

Returns [Output Only] Last stop timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Last stop timestamp in RFC3339 text format.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#last_suspended_timestamp::String

Returns [Output Only] Last suspended timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Last suspended timestamp in RFC3339 text format.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#machine_type::String

Returns Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.

Returns:

  • (::String)

    Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#metadata::Google::Cloud::Compute::V1::Metadata

Returns The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#min_cpu_platform::String

Returns Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".

Returns:

  • (::String)

    Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#name::String

Returns The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (::String)

    The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#network_interfaces::Array<::Google::Cloud::Compute::V1::NetworkInterface>

Returns An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::NetworkInterface>)

    An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#network_performance_config::Google::Cloud::Compute::V1::NetworkPerformanceConfig



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#private_ipv6_google_access::String

Returns The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. Check the PrivateIpv6GoogleAccess enum for the list of possible values.

Returns:

  • (::String)

    The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. Check the PrivateIpv6GoogleAccess enum for the list of possible values.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#reservation_affinity::Google::Cloud::Compute::V1::ReservationAffinity

Returns Specifies the reservations that this instance can consume from.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#resource_policies::Array<::String>

Returns Resource policies applied to this instance.

Returns:

  • (::Array<::String>)

    Resource policies applied to this instance.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#satisfies_pzs::Boolean

Returns [Output Only] Reserved for future use.

Returns:

  • (::Boolean)

    [Output Only] Reserved for future use.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#scheduling::Google::Cloud::Compute::V1::Scheduling

Returns Sets the scheduling options for this instance.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

Returns [Output Only] Server-defined URL for this resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for this resource.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#service_accounts::Array<::Google::Cloud::Compute::V1::ServiceAccount>

Returns A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::ServiceAccount>)

    A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#shielded_instance_config::Google::Cloud::Compute::V1::ShieldedInstanceConfig



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#shielded_instance_integrity_policy::Google::Cloud::Compute::V1::ShieldedInstanceIntegrityPolicy



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#source_machine_image::String

Returns Source machine image.

Returns:

  • (::String)

    Source machine image



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#source_machine_image_encryption_key::Google::Cloud::Compute::V1::CustomerEncryptionKey

Returns Source machine image encryption key when creating an instance from a machine image.

Returns:



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#start_restricted::Boolean

Returns [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.

Returns:

  • (::Boolean)

    [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#status::String

Returns [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#status_message::String

Returns [Output Only] An optional, human-readable explanation of the status.

Returns:

  • (::String)

    [Output Only] An optional, human-readable explanation of the status.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#tags::Google::Cloud::Compute::V1::Tags

Returns Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.

Returns:

  • (::Google::Cloud::Compute::V1::Tags)

    Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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

#zone::String

Returns [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Returns:

  • (::String)

    [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.



10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 10801

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
  module PrivateIpv6GoogleAccess
    # A value indicating that the enum field is not set.
    UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0

    # Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 427975994

    # Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.
    ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 288210263

    # Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork.
    INHERIT_FROM_SUBNETWORK = 530256959
  end

  # [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

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

    # Resources are being allocated for the instance.
    PROVISIONING = 290896621

    # The instance is in repair.
    REPAIRING = 413483285

    # The instance is running.
    RUNNING = 121282975

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

    # The instance has stopped successfully.
    STOPPED = 444276141

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

    # The instance has suspended.
    SUSPENDED = 51223995

    # The instance is suspending.
    SUSPENDING = 514206246

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