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

Commit

Permalink
docs: Fix formatting of request arg in docstring (#231)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.9.0

PiperOrigin-RevId: 517425588

Source-Link: googleapis/googleapis@33c93eb

Source-Link: googleapis/googleapis-gen@d5f5978
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 Updates from OwlBot post-processor

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 Mar 23, 2023
1 parent a5fbeda commit 2722796
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 26 deletions.
Expand Up @@ -1380,8 +1380,8 @@ async def sample_upgrade_runtime():
Args:
request (Optional[Union[google.cloud.notebooks_v1.types.UpgradeRuntimeRequest, dict]]):
The request object. Request for upgrading a Managed
Notebook Runtime to the latest version. option
The request object. Request for upgrading a Managed Notebook Runtime to the
latest version. option
(google.api.message_visibility).restriction =
"TRUSTED_TESTER,SPECIAL_TESTER";
name (:class:`str`):
Expand Down
Expand Up @@ -1604,8 +1604,8 @@ def sample_upgrade_runtime():
Args:
request (Union[google.cloud.notebooks_v1.types.UpgradeRuntimeRequest, dict]):
The request object. Request for upgrading a Managed
Notebook Runtime to the latest version. option
The request object. Request for upgrading a Managed Notebook Runtime to the
latest version. option
(google.api.message_visibility).restriction =
"TRUSTED_TESTER,SPECIAL_TESTER";
name (str):
Expand Down
Expand Up @@ -1035,8 +1035,9 @@ async def sample_update_shielded_instance_config():
Args:
request (Optional[Union[google.cloud.notebooks_v1.types.UpdateShieldedInstanceConfigRequest, dict]]):
The request object. Request for updating the Shielded
Instance config for a notebook instance. You can only
use this method on a stopped instance
Instance config for a notebook instance.
You can only use this method on a
stopped instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
5 changes: 3 additions & 2 deletions google/cloud/notebooks_v1/services/notebook_service/client.py
Expand Up @@ -1342,8 +1342,9 @@ def sample_update_shielded_instance_config():
Args:
request (Union[google.cloud.notebooks_v1.types.UpdateShieldedInstanceConfigRequest, dict]):
The request object. Request for updating the Shielded
Instance config for a notebook instance. You can only
use this method on a stopped instance
Instance config for a notebook instance.
You can only use this method on a
stopped instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Expand Up @@ -1038,7 +1038,6 @@ def __call__(
request (~.service.CreateEnvironmentRequest):
The request object. Request for creating a notebook
environment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1140,7 +1139,6 @@ def __call__(
request (~.service.CreateInstanceRequest):
The request object. Request for creating a notebook
instance.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1238,7 +1236,6 @@ def __call__(
request (~.service.DeleteEnvironmentRequest):
The request object. Request for deleting a notebook
environment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1329,7 +1326,6 @@ def __call__(
request (~.service.DeleteInstanceRequest):
The request object. Request for deleting a notebook
instance.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1418,7 +1414,6 @@ def __call__(
request (~.service.GetEnvironmentRequest):
The request object. Request for getting a notebook
environment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1509,7 +1504,6 @@ def __call__(
request (~.service.GetInstanceRequest):
The request object. Request for getting a notebook
instance.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1599,7 +1593,6 @@ def __call__(
request (~.service.IsInstanceUpgradeableRequest):
The request object. Request for checking if a notebook
instance is upgradeable.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1779,7 +1772,6 @@ def __call__(
request (~.service.ListInstancesRequest):
The request object. Request for listing notebook
instances.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1869,7 +1861,6 @@ def __call__(
request (~.service.RegisterInstanceRequest):
The request object. Request for registering a notebook
instance.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -1969,7 +1960,6 @@ def __call__(
request (~.service.ReportInstanceInfoRequest):
The request object. Request for notebook instances to
report information to Notebooks API.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2069,7 +2059,6 @@ def __call__(
request (~.service.ResetInstanceRequest):
The request object. Request for reseting a notebook
instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2167,7 +2156,6 @@ def __call__(
request (~.service.SetInstanceAcceleratorRequest):
The request object. Request for setting instance
accelerator.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2365,7 +2353,6 @@ def __call__(
request (~.service.SetInstanceMachineTypeRequest):
The request object. Request for setting instance machine
type.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2465,7 +2452,6 @@ def __call__(
request (~.service.StartInstanceRequest):
The request object. Request for starting a notebook
instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2563,7 +2549,6 @@ def __call__(
request (~.service.StopInstanceRequest):
The request object. Request for stopping a notebook
instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2661,7 +2646,6 @@ def __call__(
request (~.service.UpgradeInstanceRequest):
The request object. Request for upgrading a notebook
instance
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2761,7 +2745,6 @@ def __call__(
request (~.service.UpgradeInstanceInternalRequest):
The request object. Request for upgrading a notebook
instance from within the VM
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -40,7 +40,7 @@
"proto-plus >= 1.22.0, <2.0.0dev",
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
]
url = "https://github.com/googleapis/python-notebooks"

Expand Down

0 comments on commit 2722796

Please sign in to comment.