Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of Script client #10821

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/script/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_script, "~> 0.17"}]
[{:google_api_script, "~> 0.18"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/script/lib/google_api/script/v1/api/scripts.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule GoogleApi.Script.V1.Api.Scripts do
## Parameters

* `connection` (*type:* `GoogleApi.Script.V1.Connection.t`) - Connection to server
* `script_id` (*type:* `String.t`) - The script ID of the script to be executed. Find the script ID on the **Project settings** page under "IDs."
* `script_id` (*type:* `String.t`) - The script ID of the script to be executed. Find the script ID on the **Project settings** page under "IDs." As multiple executable APIs can be deployed in new IDE for same script, this field should be populated with DeploymentID generated while deploying in new IDE instead of script ID.
* `optional_params` (*type:* `keyword()`) - Optional parameters
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
* `:access_token` (*type:* `String.t`) - OAuth access token.
Expand Down
2 changes: 1 addition & 1 deletion clients/script/lib/google_api/script/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Script.V1 do
API client metadata for GoogleApi.Script.V1.
"""

@discovery_revision "20220323"
@discovery_revision "20240303"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defmodule GoogleApi.Script.V1.Model.GoogleAppsScriptTypeProcess do
* `processStatus` (*type:* `String.t`, *default:* `nil`) - The executions status.
* `processType` (*type:* `String.t`, *default:* `nil`) - The executions type.
* `projectName` (*type:* `String.t`, *default:* `nil`) - Name of the script being executed.
* `runtimeVersion` (*type:* `String.t`, *default:* `nil`) - Which version of maestro to use to execute the script.
* `startTime` (*type:* `DateTime.t`, *default:* `nil`) - Time the execution started.
* `userAccessLevel` (*type:* `String.t`, *default:* `nil`) - The executing users access level to the script.
"""
Expand All @@ -38,6 +39,7 @@ defmodule GoogleApi.Script.V1.Model.GoogleAppsScriptTypeProcess do
:processStatus => String.t() | nil,
:processType => String.t() | nil,
:projectName => String.t() | nil,
:runtimeVersion => String.t() | nil,
:startTime => DateTime.t() | nil,
:userAccessLevel => String.t() | nil
}
Expand All @@ -47,6 +49,7 @@ defmodule GoogleApi.Script.V1.Model.GoogleAppsScriptTypeProcess do
field(:processStatus)
field(:processType)
field(:projectName)
field(:runtimeVersion)
field(:startTime, as: DateTime)
field(:userAccessLevel)
end
Expand Down
2 changes: 1 addition & 1 deletion clients/script/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Script.Mixfile do
use Mix.Project

@version "0.17.1"
@version "0.18.0"

def project() do
[
Expand Down
Loading