From c094f62ace6fbf6ffcb205465d262e0a1e68367a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 18 Oct 2021 18:10:38 -0400 Subject: [PATCH] docs: fix typos and docstring formatting (#106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: fix typos and docstring formatting Committer: @parthea PiperOrigin-RevId: 404010579 Source-Link: https://github.com/googleapis/googleapis/commit/1645638695baad0c7d38b48174dad311f7f8be88 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3fe3ff5d40cd1dfda01d1d19b599fead5666a106 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2ZlM2ZmNWQ0MGNkMWRmZGEwMWQxZDE5YjU5OWZlYWQ1NjY2YTEwNiJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- google/cloud/notebooks_v1/types/instance.py | 45 ++++++++++++--------- google/cloud/notebooks_v1/types/runtime.py | 41 ++++++++++--------- 2 files changed, 47 insertions(+), 39 deletions(-) diff --git a/google/cloud/notebooks_v1/types/instance.py b/google/cloud/notebooks_v1/types/instance.py index 00a6153..fc9680f 100644 --- a/google/cloud/notebooks_v1/types/instance.py +++ b/google/cloud/notebooks_v1/types/instance.py @@ -301,18 +301,16 @@ class Disk(proto.Message): disks attached to an instance, each disk would have a unique index number. interface (str): - Indicates the disk interface to use for - attaching this disk, which is either SCSI or - NVME. The default is SCSI. Persistent disks must - always use SCSI and the request will fail if you - attempt to attach a persistent disk in any other - format than SCSI. Local SSDs can use either NVME - or SCSI. For performance characteristics of SCSI - over NVMe, see Local SSD performance. - Valid values: - - * NVME - * SCSI + Indicates the disk interface to use for attaching this disk, + which is either SCSI or NVME. The default is SCSI. + Persistent disks must always use SCSI and the request will + fail if you attempt to attach a persistent disk in any other + format than SCSI. Local SSDs can use either NVME or SCSI. + For performance characteristics of SCSI over NVMe, see Local + SSD performance. Valid values: + + - NVME + - SCSI kind (str): Type of the resource. Always compute#attachedDisk for attached disks. @@ -324,16 +322,19 @@ class Disk(proto.Message): mode (str): The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the - disk in READ_WRITE mode. Valid values: READ_ONLY READ_WRITE + disk in READ_WRITE mode. Valid values: + + - READ_ONLY + - READ_WRITE source (str): Indicates a valid partial or full URL to an existing Persistent Disk resource. type_ (str): - Indicates the type of the disk, either - SCRATCH or PERSISTENT. Valid values: + Indicates the type of the disk, either SCRATCH or + PERSISTENT. Valid values: - * PERSISTENT - * SCRATCH + - PERSISTENT + - SCRATCH """ class GuestOsFeature(proto.Message): @@ -343,8 +344,14 @@ class GuestOsFeature(proto.Message): type_ (str): The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid - values: FEATURE_TYPE_UNSPECIFIED MULTI_IP_SUBNET SECURE_BOOT - UEFI_COMPATIBLE VIRTIO_SCSI_MULTIQUEUE WINDOWS + values: + + - FEATURE_TYPE_UNSPECIFIED + - MULTI_IP_SUBNET + - SECURE_BOOT + - UEFI_COMPATIBLE + - VIRTIO_SCSI_MULTIQUEUE + - WINDOWS """ type_ = proto.Field(proto.STRING, number=1,) diff --git a/google/cloud/notebooks_v1/types/runtime.py b/google/cloud/notebooks_v1/types/runtime.py index 74104e1..ef600a6 100644 --- a/google/cloud/notebooks_v1/types/runtime.py +++ b/google/cloud/notebooks_v1/types/runtime.py @@ -158,7 +158,7 @@ class EncryptionConfig(proto.Message): class LocalDisk(proto.Message): - r"""An Local attached disk resource. + r"""A Local attached disk resource. Attributes: auto_delete (bool): @@ -204,18 +204,16 @@ class LocalDisk(proto.Message): source property; you can only define one or the other, but not both. interface (str): - Specifies the disk interface to use for - attaching this disk, which is either SCSI or - NVME. The default is SCSI. Persistent disks must - always use SCSI and the request will fail if you - attempt to attach a persistent disk in any other - format than SCSI. Local SSDs can use either NVME - or SCSI. For performance characteristics of SCSI - over NVMe, see Local SSD performance. Valid - values: - - * NVME - * SCSI + Specifies the disk interface to use for attaching this disk, + which is either SCSI or NVME. The default is SCSI. + Persistent disks must always use SCSI and the request will + fail if you attempt to attach a persistent disk in any other + format than SCSI. Local SSDs can use either NVME or SCSI. + For performance characteristics of SCSI over NVMe, see Local + SSD performance. Valid values: + + - NVME + - SCSI kind (str): Output only. Type of the resource. Always compute#attachedDisk for attached disks. @@ -225,17 +223,20 @@ class LocalDisk(proto.Message): mode (str): The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the - disk in READ_WRITE mode. Valid values: READ_ONLY READ_WRITE + disk in READ_WRITE mode. Valid values: + + - READ_ONLY + - READ_WRITE source (str): Specifies a valid partial or full URL to an existing Persistent Disk resource. type_ (str): - Specifies the type of the disk, either - SCRATCH or PERSISTENT. If not specified, the - default is PERSISTENT. Valid values: + Specifies the type of the disk, either SCRATCH or + PERSISTENT. If not specified, the default is PERSISTENT. + Valid values: - * PERSISTENT - * SCRATCH + - PERSISTENT + - SCRATCH """ class RuntimeGuestOsFeature(proto.Message): @@ -378,7 +379,7 @@ class RuntimeSoftwareConfig(proto.Message): Runtime will automatically shutdown after idle_shutdown_time. Default: True idle_shutdown_timeout (int): - Time in minutes to wait before shuting down + Time in minutes to wait before shutting down runtime. Default: 180 minutes install_gpu_driver (bool): Install Nvidia Driver automatically.