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 Gmail client #11348

Closed
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/gmail/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_gmail, "~> 0.15"}]
[{:google_api_gmail, "~> 0.16"}]
end
```

Expand Down
24 changes: 18 additions & 6 deletions clients/gmail/lib/google_api/gmail/v1/api/users.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand All @@ -68,7 +69,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:prettyPrint => :query,
:quotaUser => :query,
:uploadType => :query,
:upload_protocol => :query
:upload_protocol => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down Expand Up @@ -1970,6 +1972,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:format` (*type:* `String.t`) - The format to return the message in.
* `:metadataHeaders` (*type:* `list(String.t)`) - When given and format is `METADATA`, only include headers specified.
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand All @@ -1996,7 +1999,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:uploadType => :query,
:upload_protocol => :query,
:format => :query,
:metadataHeaders => :query
:metadataHeaders => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down Expand Up @@ -2682,6 +2686,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:maxResults` (*type:* `integer()`) - Maximum number of messages to return. This field defaults to 100. The maximum allowed value for this field is 500.
* `:pageToken` (*type:* `String.t`) - Page token to retrieve a specific page of results in the list.
* `:q` (*type:* `String.t`) - Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, `"from:[email protected] rfc822msgid: is:unread"`. Parameter cannot be used when accessing the api using the gmail.metadata scope.
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand Down Expand Up @@ -2711,7 +2716,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:labelIds => :query,
:maxResults => :query,
:pageToken => :query,
:q => :query
:q => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down Expand Up @@ -3253,6 +3259,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand Down Expand Up @@ -3291,7 +3298,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:prettyPrint => :query,
:quotaUser => :query,
:uploadType => :query,
:upload_protocol => :query
:upload_protocol => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down Expand Up @@ -6529,6 +6537,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
* `:format` (*type:* `String.t`) - The format to return the messages in.
* `:metadataHeaders` (*type:* `list(String.t)`) - When given and format is METADATA, only include headers specified.
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand All @@ -6555,7 +6564,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:uploadType => :query,
:upload_protocol => :query,
:format => :query,
:metadataHeaders => :query
:metadataHeaders => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down Expand Up @@ -6597,6 +6607,7 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
* `:maxResults` (*type:* `integer()`) - Maximum number of threads to return. This field defaults to 100. The maximum allowed value for this field is 500.
* `:pageToken` (*type:* `String.t`) - Page token to retrieve a specific page of results in the list.
* `:q` (*type:* `String.t`) - Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, `"from:[email protected] rfc822msgid: is:unread"`. Parameter cannot be used when accessing the api using the gmail.metadata scope.
* `:temporaryEeccBypass` (*type:* `boolean()`) -
* `opts` (*type:* `keyword()`) - Call options

## Returns
Expand Down Expand Up @@ -6626,7 +6637,8 @@ defmodule GoogleApi.Gmail.V1.Api.Users do
:labelIds => :query,
:maxResults => :query,
:pageToken => :query,
:q => :query
:q => :query,
:temporaryEeccBypass => :query
}

request =
Expand Down
2 changes: 1 addition & 1 deletion clients/gmail/lib/google_api/gmail/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Gmail.V1 do
API client metadata for GoogleApi.Gmail.V1.
"""

@discovery_revision "20240304"
@discovery_revision "20240422"

def discovery_revision(), do: @discovery_revision
end
2 changes: 1 addition & 1 deletion clients/gmail/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Gmail.Mixfile do
use Mix.Project

@version "0.15.0"
@version "0.16.0"

def project() do
[
Expand Down
Loading