Skip to content

Commit

Permalink
feat: Automated regeneration of Script client (#10821)
Browse files Browse the repository at this point in the history
Auto-created at 2024-03-12 01:20:28 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Mar 12, 2024
1 parent 859b43c commit d046cd4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
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

0 comments on commit d046cd4

Please sign in to comment.