Class: Google::Cloud::Notebooks::V2::GceSetup

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

Overview

The definition of how to configure a VM instance outside of Resources and Identity.

Defined Under Namespace

Classes: MetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#accelerator_configs::Array<::Google::Cloud::Notebooks::V2::AcceleratorConfig>

Returns Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the machine_type you have selected. Currently supports only one accelerator configuration.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#boot_disk::Google::Cloud::Notebooks::V2::BootDisk

Returns Optional. The boot disk for the VM.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#container_image::Google::Cloud::Notebooks::V2::ContainerImage

Returns Optional. Use a container image to start the notebook instance.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#data_disks::Array<::Google::Cloud::Notebooks::V2::DataDisk>

Returns Optional. Data disks attached to the VM instance. Currently supports only one data disk.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#disable_public_ip::Boolean

Returns Optional. If true, no external IP will be assigned to this VM instance.

Returns:

  • (::Boolean)

    Optional. If true, no external IP will be assigned to this VM instance.



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#enable_ip_forwarding::Boolean

Returns Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#gpu_driver_config::Google::Cloud::Notebooks::V2::GPUDriverConfig

Returns Optional. Configuration for GPU drivers.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#machine_type::String

Returns Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

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

Returns Optional. Custom metadata to apply to this instance.

Returns:

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

    Optional. Custom metadata to apply to this instance.



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#network_interfaces::Array<::Google::Cloud::Notebooks::V2::NetworkInterface>

Returns Optional. The network interfaces for the VM. Supports only one interface.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#service_accounts::Array<::Google::Cloud::Notebooks::V2::ServiceAccount>

Returns Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#shielded_instance_config::Google::Cloud::Notebooks::V2::ShieldedInstanceConfig

Returns Optional. Shielded VM configuration. Images using supported Shielded VM features.



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#tags::Array<::String>

Returns Optional. The Compute Engine tags to add to runtime (see Tagging instances).

Returns:

  • (::Array<::String>)

    Optional. The Compute Engine tags to add to runtime (see Tagging instances).



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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

#vm_image::Google::Cloud::Notebooks::V2::VmImage

Returns Optional. Use a Compute Engine VM image to start the notebook instance.

Returns:



306
307
308
309
310
311
312
313
314
315
316
317
318
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 306

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

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