Skip to content

Commit

Permalink
feat: Automated regeneration of Notebooks client (#9203)
Browse files Browse the repository at this point in the history
Auto-created at 2022-02-19 13:09:56 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Feb 19, 2022
1 parent 46e4ad7 commit 07770fd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 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.5"}]
[{:google_api_notebooks, "~> 0.6"}]
end
```

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 "20220205"
@discovery_revision "20220214"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ defmodule GoogleApi.Notebooks.V1.Model.ExecutionTemplate do
* `paramsYamlFile` (*type:* `String.t`, *default:* `nil`) - Parameters to be overridden in the notebook during execution. Ref https://papermill.readthedocs.io/en/latest/usage-parameterize.html on how to specifying parameters in the input notebook and pass them here in an YAML file. Ex: `gs://notebook_user/scheduled_notebooks/sentiment_notebook_params.yaml`
* `scaleTier` (*type:* `String.t`, *default:* `nil`) - Required. Scale tier of the hardware used for notebook execution. DEPRECATED Will be discontinued. As right now only CUSTOM is supported.
* `serviceAccount` (*type:* `String.t`, *default:* `nil`) - The email address of a service account to use when running the execution. You must have the `iam.serviceAccounts.actAs` permission for the specified service account.
* `tensorboard` (*type:* `String.t`, *default:* `nil`) - The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard logs. Format: `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
* `vertexAiParameters` (*type:* `GoogleApi.Notebooks.V1.Model.VertexAIParameters.t`, *default:* `nil`) - Parameters used in Vertex AI JobType executions.
"""

Expand All @@ -53,6 +54,7 @@ defmodule GoogleApi.Notebooks.V1.Model.ExecutionTemplate do
:paramsYamlFile => String.t() | nil,
:scaleTier => String.t() | nil,
:serviceAccount => String.t() | nil,
:tensorboard => String.t() | nil,
:vertexAiParameters => GoogleApi.Notebooks.V1.Model.VertexAIParameters.t() | nil
}

Expand All @@ -69,6 +71,7 @@ defmodule GoogleApi.Notebooks.V1.Model.ExecutionTemplate do
field(:paramsYamlFile)
field(:scaleTier)
field(:serviceAccount)
field(:tensorboard)
field(:vertexAiParameters, as: GoogleApi.Notebooks.V1.Model.VertexAIParameters)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule GoogleApi.Notebooks.V1.Model.RuntimeSoftwareConfig do
* `enableHealthMonitoring` (*type:* `boolean()`, *default:* `nil`) - Verifies core internal services are running. Default: True
* `idleShutdown` (*type:* `boolean()`, *default:* `nil`) - Runtime will automatically shutdown after idle_shutdown_time. Default: True
* `idleShutdownTimeout` (*type:* `integer()`, *default:* `nil`) - Time in minutes to wait before shutting down runtime. Default: 180 minutes
* `installGpuDriver` (*type:* `boolean()`, *default:* `nil`) - Install Nvidia Driver automatically.
* `installGpuDriver` (*type:* `boolean()`, *default:* `nil`) - Install Nvidia Driver automatically. Default: True
* `kernels` (*type:* `list(GoogleApi.Notebooks.V1.Model.ContainerImage.t)`, *default:* `nil`) - Optional. Use a list of container images to use as Kernels in the notebook instance.
* `notebookUpgradeSchedule` (*type:* `String.t`, *default:* `nil`) - Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
* `postStartupScript` (*type:* `String.t`, *default:* `nil`) - Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (`gs://path-to-file/file-name`).
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.5.0"
@version "0.6.0"

def project() do
[
Expand Down

0 comments on commit 07770fd

Please sign in to comment.