Reference documentation and code samples for the Google Cloud Notebooks V2 Client class GceSetup.
The definition of how to configure a VM instance outside of Resources and Identity.
Generated from protobuf message google.cloud.notebooks.v2.GceSetup
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ machine_type
string
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
↳ accelerator_configs
array< AcceleratorConfig
>
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.
↳ service_accounts
array< ServiceAccount
>
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
↳ vm_image
↳ container_image
↳ boot_disk
↳ data_disks
array< DataDisk
>
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
↳ shielded_instance_config
ShieldedInstanceConfig
Optional. Shielded VM configuration. Images using supported Shielded VM features .
↳ network_interfaces
↳ disable_public_ip
bool
Optional. If true, no external IP will be assigned to this VM instance.
↳ tags
↳ metadata
↳ enable_ip_forwarding
bool
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
↳ gpu_driver_config
getMachineType
Optional. The machine type of the VM instance.
string
setMachineType
Optional. The machine type of the VM instance.
var
string
$this
getAcceleratorConfigs
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.
setAcceleratorConfigs
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.
$this
getServiceAccounts
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
setServiceAccounts
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
$this
getVmImage
Optional. Use a Compute Engine VM image to start the notebook instance.
hasVmImage
setVmImage
Optional. Use a Compute Engine VM image to start the notebook instance.
$this
getContainerImage
Optional. Use a container image to start the notebook instance.
hasContainerImage
setContainerImage
Optional. Use a container image to start the notebook instance.
$this
getBootDisk
Optional. The boot disk for the VM.
hasBootDisk
clearBootDisk
setBootDisk
Optional. The boot disk for the VM.
$this
getDataDisks
Optional. Data disks attached to the VM instance.
Currently supports only one data disk.
setDataDisks
Optional. Data disks attached to the VM instance.
Currently supports only one data disk.
$this
getShieldedInstanceConfig
Optional. Shielded VM configuration.
hasShieldedInstanceConfig
clearShieldedInstanceConfig
setShieldedInstanceConfig
Optional. Shielded VM configuration.
$this
getNetworkInterfaces
Optional. The network interfaces for the VM.
Supports only one interface.
setNetworkInterfaces
Optional. The network interfaces for the VM.
Supports only one interface.
$this
getDisablePublicIp
Optional. If true, no external IP will be assigned to this VM instance.
bool
setDisablePublicIp
Optional. If true, no external IP will be assigned to this VM instance.
var
bool
$this
getTags
Optional. The Compute Engine tags to add to runtime (see Tagging instances ).
setTags
Optional. The Compute Engine tags to add to runtime (see Tagging instances ).
var
string[]
$this
getMetadata
Optional. Custom metadata to apply to this instance.
setMetadata
Optional. Custom metadata to apply to this instance.
$this
getEnableIpForwarding
Optional. Flag to enable ip forwarding or not, default false/off.
bool
setEnableIpForwarding
Optional. Flag to enable ip forwarding or not, default false/off.
var
bool
$this
getGpuDriverConfig
Optional. Configuration for GPU drivers.
hasGpuDriverConfig
clearGpuDriverConfig
setGpuDriverConfig
Optional. Configuration for GPU drivers.
$this
getImage
string