From 2ce2c50d21a002e2388ae286b52ad75cb9040159 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 13 Dec 2024 05:26:27 -0800 Subject: [PATCH] feat: Automated regeneration of Notebooks client (#12713) Auto-created at 2024-12-13 13:20:31 +0000 using the toys pull request generator. --- clients/notebooks/README.md | 2 +- clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex | 2 +- clients/notebooks/lib/google_api/notebooks/v1/metadata.ex | 2 +- clients/notebooks/lib/google_api/notebooks/v2/api/projects.ex | 2 +- clients/notebooks/lib/google_api/notebooks/v2/metadata.ex | 2 +- .../notebooks/lib/google_api/notebooks/v2/model/instance.ex | 3 +++ clients/notebooks/mix.exs | 2 +- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/clients/notebooks/README.md b/clients/notebooks/README.md index 11d432c7f9..aa74fb9702 100644 --- a/clients/notebooks/README.md +++ b/clients/notebooks/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_notebooks, "~> 0.14"}] + [{:google_api_notebooks, "~> 0.15"}] end ``` diff --git a/clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex b/clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex index 77ea0f0c15..76b54b8eff 100644 --- a/clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex +++ b/clients/notebooks/lib/google_api/notebooks/v1/api/projects.ex @@ -2614,7 +2614,7 @@ defmodule GoogleApi.Notebooks.V1.Api.Projects do end @doc """ - Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. ## Parameters diff --git a/clients/notebooks/lib/google_api/notebooks/v1/metadata.ex b/clients/notebooks/lib/google_api/notebooks/v1/metadata.ex index f14a5182de..14a75a972b 100644 --- a/clients/notebooks/lib/google_api/notebooks/v1/metadata.ex +++ b/clients/notebooks/lib/google_api/notebooks/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Notebooks.V1 do API client metadata for GoogleApi.Notebooks.V1. """ - @discovery_revision "20241106" + @discovery_revision "20241204" def discovery_revision(), do: @discovery_revision end diff --git a/clients/notebooks/lib/google_api/notebooks/v2/api/projects.ex b/clients/notebooks/lib/google_api/notebooks/v2/api/projects.ex index 2ff19d6757..0688efe11f 100644 --- a/clients/notebooks/lib/google_api/notebooks/v2/api/projects.ex +++ b/clients/notebooks/lib/google_api/notebooks/v2/api/projects.ex @@ -1604,7 +1604,7 @@ defmodule GoogleApi.Notebooks.V2.Api.Projects do end @doc """ - Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. ## Parameters diff --git a/clients/notebooks/lib/google_api/notebooks/v2/metadata.ex b/clients/notebooks/lib/google_api/notebooks/v2/metadata.ex index 3e155a1e1c..a09b82a763 100644 --- a/clients/notebooks/lib/google_api/notebooks/v2/metadata.ex +++ b/clients/notebooks/lib/google_api/notebooks/v2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Notebooks.V2 do API client metadata for GoogleApi.Notebooks.V2. """ - @discovery_revision "20241106" + @discovery_revision "20241204" def discovery_revision(), do: @discovery_revision end diff --git a/clients/notebooks/lib/google_api/notebooks/v2/model/instance.ex b/clients/notebooks/lib/google_api/notebooks/v2/model/instance.ex index afe14b4b2f..0e4756605c 100644 --- a/clients/notebooks/lib/google_api/notebooks/v2/model/instance.ex +++ b/clients/notebooks/lib/google_api/notebooks/v2/model/instance.ex @@ -24,6 +24,7 @@ defmodule GoogleApi.Notebooks.V2.Model.Instance do * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Instance creation time. * `creator` (*type:* `String.t`, *default:* `nil`) - Output only. Email address of entity that sent original CreateInstance request. * `disableProxyAccess` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, the notebook instance will not register with the proxy. + * `enableThirdPartyIdentity` (*type:* `boolean()`, *default:* `nil`) - Optional. Flag that specifies that a notebook can be accessed with third party identity provider. * `gceSetup` (*type:* `GoogleApi.Notebooks.V2.Model.GceSetup.t`, *default:* `nil`) - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields. * `healthInfo` (*type:* `map()`, *default:* `nil`) - Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" } * `healthState` (*type:* `String.t`, *default:* `nil`) - Output only. Instance health_state. @@ -46,6 +47,7 @@ defmodule GoogleApi.Notebooks.V2.Model.Instance do :createTime => DateTime.t() | nil, :creator => String.t() | nil, :disableProxyAccess => boolean() | nil, + :enableThirdPartyIdentity => boolean() | nil, :gceSetup => GoogleApi.Notebooks.V2.Model.GceSetup.t() | nil, :healthInfo => map() | nil, :healthState => String.t() | nil, @@ -65,6 +67,7 @@ defmodule GoogleApi.Notebooks.V2.Model.Instance do field(:createTime, as: DateTime) field(:creator) field(:disableProxyAccess) + field(:enableThirdPartyIdentity) field(:gceSetup, as: GoogleApi.Notebooks.V2.Model.GceSetup) field(:healthInfo, type: :map) field(:healthState) diff --git a/clients/notebooks/mix.exs b/clients/notebooks/mix.exs index a5d97038d9..f266652000 100644 --- a/clients/notebooks/mix.exs +++ b/clients/notebooks/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Notebooks.Mixfile do use Mix.Project - @version "0.14.3" + @version "0.15.0" def project() do [