Class: Google::Cloud::Compute::V1::SourceInstanceProperties

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

Overview

DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#can_ip_forward::Boolean

Returns Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.

Returns:

  • (::Boolean)

    Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

#deletion_protection::Boolean

Returns Whether the instance created from this machine image should be protected against deletion.

Returns:

  • (::Boolean)

    Whether the instance created from this machine image should be protected against deletion.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

#description::String

Returns An optional text description for the instances that are created from this machine image.

Returns:

  • (::String)

    An optional text description for the instances that are created from this machine image.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns An array of disks that are associated with the instances that are created from this machine image.

Returns:



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns A list of guest accelerator cards' type and count to use for instances created from this machine image.

Returns:



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns Labels to apply to instances that are created from this machine image.

Returns:

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

    Labels to apply to instances that are created from this machine image.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

#machine_type::String

Returns The machine type to use for instances that are created from this machine image.

Returns:

  • (::String)

    The machine type to use for instances that are created from this machine image.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.

Returns:

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

    The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

#min_cpu_platform::String

Returns Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.

Returns:

  • (::String)

    Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns An array of network access configurations for this interface.

Returns:



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns Specifies the scheduling options for the instances that are created from this machine image.

Returns:



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.

Returns:

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

    A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end

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

Returns A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.

Returns:

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

    A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.



24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 24353

class SourceInstanceProperties
  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
end