Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: fix typos and docstring formatting (#106)
Browse files Browse the repository at this point in the history
* docs: fix typos and docstring formatting

Committer: @parthea
PiperOrigin-RevId: 404010579

Source-Link: googleapis/googleapis@1645638

Source-Link: googleapis/googleapis-gen@3fe3ff5
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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 18, 2021
1 parent 40bd0e8 commit c094f62
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 39 deletions.
45 changes: 26 additions & 19 deletions google/cloud/notebooks_v1/types/instance.py
Expand Up @@ -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.
Expand All @@ -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):
Expand All @@ -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,)
Expand Down
41 changes: 21 additions & 20 deletions google/cloud/notebooks_v1/types/runtime.py
Expand Up @@ -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):
Expand Down Expand Up @@ -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.
Expand All @@ -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):
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c094f62

Please sign in to comment.