Skip to content

Commit

Permalink
feat: Automated regeneration of Notebooks client (#12713)
Browse files Browse the repository at this point in the history
Auto-created at 2024-12-13 13:20:31 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Dec 13, 2024
1 parent 30d2ae5 commit 2ce2c50
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clients/notebooks/lib/google_api/notebooks/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clients/notebooks/lib/google_api/notebooks/v2/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion clients/notebooks/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Notebooks.Mixfile do
use Mix.Project

@version "0.14.3"
@version "0.15.0"

def project() do
[
Expand Down

0 comments on commit 2ce2c50

Please sign in to comment.