Class: Google::Cloud::Notebooks::V2::GceSetup
- Inherits:
-
Object
- Object
- Google::Cloud::Notebooks::V2::GceSetup
- 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
-
#accelerator_configs ⇒ ::Array<::Google::Cloud::Notebooks::V2::AcceleratorConfig>
Optional.
-
#boot_disk ⇒ ::Google::Cloud::Notebooks::V2::BootDisk
Optional.
-
#container_image ⇒ ::Google::Cloud::Notebooks::V2::ContainerImage
Optional.
-
#data_disks ⇒ ::Array<::Google::Cloud::Notebooks::V2::DataDisk>
Optional.
-
#disable_public_ip ⇒ ::Boolean
Optional.
-
#enable_ip_forwarding ⇒ ::Boolean
Optional.
-
#gpu_driver_config ⇒ ::Google::Cloud::Notebooks::V2::GPUDriverConfig
Optional.
-
#machine_type ⇒ ::String
Optional.
-
#metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#network_interfaces ⇒ ::Array<::Google::Cloud::Notebooks::V2::NetworkInterface>
Optional.
-
#service_accounts ⇒ ::Array<::Google::Cloud::Notebooks::V2::ServiceAccount>
Optional.
-
#shielded_instance_config ⇒ ::Google::Cloud::Notebooks::V2::ShieldedInstanceConfig
Optional.
-
#tags ⇒ ::Array<::String>
Optional.
-
#vm_image ⇒ ::Google::Cloud::Notebooks::V2::VmImage
Optional.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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 |