Skip to content

Commit 0a4d151

Browse files
feat: Automated regeneration of DigitalAssetLinks client (googleapis#12519)
Auto-created at 2024-11-13 13:15:53 +0000 using the toys pull request generator.
1 parent 7507864 commit 0a4d151

File tree

7 files changed

+3
-226
lines changed

7 files changed

+3
-226
lines changed

clients/digital_asset_links/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_digital_asset_links, "~> 0.12"}]
14+
[{:google_api_digital_asset_links, "~> 0.13"}]
1515
end
1616
```
1717

clients/digital_asset_links/lib/google_api/digital_asset_links/v1/api/assetlinks.ex

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -25,67 +25,6 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Api.Assetlinks do
2525

2626
@library_version Mix.Project.config() |> Keyword.get(:version, "")
2727

28-
@doc """
29-
Send a bundle of statement checks in a single RPC to minimize latency and service load. Statements need not be all for the same source and/or target. We recommend using this method when you need to check more than one statement in a short period of time.
30-
31-
## Parameters
32-
33-
* `connection` (*type:* `GoogleApi.DigitalAssetLinks.V1.Connection.t`) - Connection to server
34-
* `optional_params` (*type:* `keyword()`) - Optional parameters
35-
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
36-
* `:access_token` (*type:* `String.t`) - OAuth access token.
37-
* `:alt` (*type:* `String.t`) - Data format for response.
38-
* `:callback` (*type:* `String.t`) - JSONP
39-
* `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.
40-
* `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
41-
* `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.
42-
* `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.
43-
* `: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.
44-
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
45-
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
46-
* `:body` (*type:* `GoogleApi.DigitalAssetLinks.V1.Model.BulkCheckRequest.t`) -
47-
* `opts` (*type:* `keyword()`) - Call options
48-
49-
## Returns
50-
51-
* `{:ok, %GoogleApi.DigitalAssetLinks.V1.Model.BulkCheckResponse{}}` on success
52-
* `{:error, info}` on failure
53-
"""
54-
@spec digitalassetlinks_assetlinks_bulk_check(Tesla.Env.client(), keyword(), keyword()) ::
55-
{:ok, GoogleApi.DigitalAssetLinks.V1.Model.BulkCheckResponse.t()}
56-
| {:ok, Tesla.Env.t()}
57-
| {:ok, list()}
58-
| {:error, any()}
59-
def digitalassetlinks_assetlinks_bulk_check(connection, optional_params \\ [], opts \\ []) do
60-
optional_params_config = %{
61-
:"$.xgafv" => :query,
62-
:access_token => :query,
63-
:alt => :query,
64-
:callback => :query,
65-
:fields => :query,
66-
:key => :query,
67-
:oauth_token => :query,
68-
:prettyPrint => :query,
69-
:quotaUser => :query,
70-
:uploadType => :query,
71-
:upload_protocol => :query,
72-
:body => :body
73-
}
74-
75-
request =
76-
Request.new()
77-
|> Request.method(:post)
78-
|> Request.url("/v1/assetlinks:bulkCheck", %{})
79-
|> Request.add_optional_params(optional_params_config, optional_params)
80-
|> Request.library_version(@library_version)
81-
82-
connection
83-
|> Connection.execute(request)
84-
|> Response.decode(
85-
opts ++ [struct: %GoogleApi.DigitalAssetLinks.V1.Model.BulkCheckResponse{}]
86-
)
87-
end
88-
8928
@doc """
9029
Determines whether the specified (directional) relationship exists between the specified source and target assets. The relation describes the intent of the link between the two assets as claimed by the source asset. An example for such relationships is the delegation of privileges or permissions. This command is most often used by infrastructure systems to check preconditions for an action. For example, a client may want to know if it is OK to send a web URL to a particular mobile app instead. The client can check for the relevant asset link from the website to the mobile app to decide if the operation should be allowed. A note about security: if you specify a secure asset as the source, such as an HTTPS website or an Android app, the API will ensure that any statements used to generate the response have been made in a secure way by the owner of that asset. Conversely, if the source asset is an insecure HTTP website (that is, the URL starts with `http://` instead of `https://`), the API cannot verify its statements securely, and it is not possible to ensure that the website's statements have not been altered by a third party. For more information, see the [Digital Asset Links technical design specification](https://github.com/google/digitalassetlinks/blob/master/well-known/details.md).
9130

clients/digital_asset_links/lib/google_api/digital_asset_links/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.DigitalAssetLinks.V1 do
2020
API client metadata for GoogleApi.DigitalAssetLinks.V1.
2121
"""
2222

23-
@discovery_revision "20220122"
23+
@discovery_revision "20241109"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/bulk_check_request.ex

Lines changed: 0 additions & 61 deletions
This file was deleted.

clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/bulk_check_response.ex

Lines changed: 0 additions & 49 deletions
This file was deleted.

clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/statement_template.ex

Lines changed: 0 additions & 52 deletions
This file was deleted.

clients/digital_asset_links/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.DigitalAssetLinks.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.12.0"
21+
@version "0.13.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)