Notebooks V2 API - Class Google::Cloud::Notebooks::V2::GceSetup (v0.5.0)

Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::GceSetup.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_configs

def accelerator_configs() -> ::Array<::Google::Cloud::Notebooks::V2::AcceleratorConfig>
Returns

#accelerator_configs=

def accelerator_configs=(value) -> ::Array<::Google::Cloud::Notebooks::V2::AcceleratorConfig>
Parameter
Returns

#boot_disk

def boot_disk() -> ::Google::Cloud::Notebooks::V2::BootDisk
Returns

#boot_disk=

def boot_disk=(value) -> ::Google::Cloud::Notebooks::V2::BootDisk
Parameter
Returns

#container_image

def container_image() -> ::Google::Cloud::Notebooks::V2::ContainerImage
Returns

#container_image=

def container_image=(value) -> ::Google::Cloud::Notebooks::V2::ContainerImage
Parameter
Returns

#data_disks

def data_disks() -> ::Array<::Google::Cloud::Notebooks::V2::DataDisk>
Returns

#data_disks=

def data_disks=(value) -> ::Array<::Google::Cloud::Notebooks::V2::DataDisk>
Parameter
Returns

#disable_public_ip

def disable_public_ip() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, no external IP will be assigned to this VM instance.

#disable_public_ip=

def disable_public_ip=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

#enable_ip_forwarding

def enable_ip_forwarding() -> ::Boolean
Returns
  • (::Boolean) — Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward

#enable_ip_forwarding=

def enable_ip_forwarding=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
Returns
  • (::Boolean) — Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward

#gpu_driver_config

def gpu_driver_config() -> ::Google::Cloud::Notebooks::V2::GPUDriverConfig
Returns

#gpu_driver_config=

def gpu_driver_config=(value) -> ::Google::Cloud::Notebooks::V2::GPUDriverConfig
Parameter
Returns

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
Returns
  • (::String) — Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource

#metadata

def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Custom metadata to apply to this instance.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Custom metadata to apply to this instance.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Custom metadata to apply to this instance.

#network_interfaces

def network_interfaces() -> ::Array<::Google::Cloud::Notebooks::V2::NetworkInterface>
Returns

#network_interfaces=

def network_interfaces=(value) -> ::Array<::Google::Cloud::Notebooks::V2::NetworkInterface>
Parameter
Returns

#service_accounts

def service_accounts() -> ::Array<::Google::Cloud::Notebooks::V2::ServiceAccount>
Returns

#service_accounts=

def service_accounts=(value) -> ::Array<::Google::Cloud::Notebooks::V2::ServiceAccount>
Parameter
Returns

#shielded_instance_config

def shielded_instance_config() -> ::Google::Cloud::Notebooks::V2::ShieldedInstanceConfig

#shielded_instance_config=

def shielded_instance_config=(value) -> ::Google::Cloud::Notebooks::V2::ShieldedInstanceConfig

#tags

def tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The Compute Engine tags to add to runtime (see Tagging instances).

#tags=

def tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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).

#vm_image

def vm_image() -> ::Google::Cloud::Notebooks::V2::VmImage
Returns

#vm_image=

def vm_image=(value) -> ::Google::Cloud::Notebooks::V2::VmImage
Parameter
Returns