Class GceSetup (1.10.2)

GceSetup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof:


machine_type str
Optional. The machine type of the VM instance.
accelerator_configs MutableSequence[]
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
service_accounts MutableSequence[]
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
Optional. Use a Compute Engine VM image to start the notebook instance. This field is a member of oneof_ image.
Optional. Use a container image to start the notebook instance. This field is a member of oneof_ image.
Optional. The boot disk for the VM.
data_disks MutableSequence[]
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
Optional. Shielded VM configuration. `Images using supported Shielded VM features
network_interfaces MutableSequence[]
Optional. The network interfaces for the VM. Supports only one interface.
disable_public_ip bool
Optional. If true, no external IP will be assigned to this VM instance.
tags MutableSequence[str]
Optional. The Compute Engine tags to add to runtime (see `Tagging instances
metadata MutableMapping[str, str]
Optional. Custom metadata to apply to this instance.
enable_ip_forwarding bool
Optional. Flag to enable ip forwarding or not, default false/off.
Optional. Configuration for GPU drivers.



MetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.