Current section

16 Versions

Jump to

Compare versions

5 files changed
+59 additions
-30 deletions
  @@ -1,18 +1,23 @@
1 - # GoogleApi.DigitalAssetLinks.V1
1 + # GoogleApi.DigitalAssetLinks
2 2
3 - API for discovering relationships between online assets such as web sites or mobile apps.
3 + Client library for Digital Asset Links API from Google.
4 +
5 + Discovers relationships between online assets such as websites or mobile apps.
4 6
5 7 ## Installation
6 8
7 - If [available in Hex](https://hex.pm/docs/publish), the package can be installed
8 - by adding `google_api_digital_asset_links` to your list of dependencies in `mix.exs`:
9 + Install this package from [Hex](https://hex.pm) by adding
10 + `google_api_digital_asset_links` to your list of dependencies in `mix.exs`:
9 11
10 12 ```elixir
11 13 def deps do
12 - [{:google_api_digital_asset_links, "~> 0.1.0"}]
14 + [{:google_api_digital_asset_links, "~> 0.4"}]
13 15 end
14 16 ```
15 17
16 - Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
17 - and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
18 - be found at [https://hexdocs.pm/google_api_digital_asset_links](https://hexdocs.pm/google_api_digital_asset_links).
18 + ## For more information
19 +
20 + Product documentation is available at [https://developers.google.com/digital-asset-links/](https://developers.google.com/digital-asset-links/).
21 +
22 + Library reference documentation is published on Hexdocs at
23 + [https://hexdocs.pm/google_api_digital_asset_links](https://hexdocs.pm/google_api_digital_asset_links).
  @@ -1,7 +1,7 @@
1 1 {<<"app">>,<<"google_api_digital_asset_links">>}.
2 2 {<<"build_tools">>,[<<"mix">>]}.
3 3 {<<"description">>,
4 - <<"API for discovering relationships between online assets such as web sites or mobile apps.">>}.
4 + <<"Client library for Digital Asset Links API from Google. Discovers relationships between online assets such as websites or mobile apps.">>}.
5 5 {<<"elixir">>,<<"~> 1.4">>}.
6 6 {<<"files">>,
7 7 [<<"lib">>,<<"lib/google_api">>,<<"lib/google_api/digital_asset_links">>,
  @@ -22,7 +22,7 @@
22 22 {<<"licenses">>,[<<"Apache 2.0">>]}.
23 23 {<<"links">>,
24 24 [{<<"GitHub">>,
25 - <<"https://github.com/GoogleCloudPlatform/elixir-google-api/tree/master/clients/digital_asset_links">>},
25 + <<"https://github.com/googleapis/elixir-google-api/tree/master/clients/digital_asset_links">>},
26 26 {<<"Homepage">>,<<"https://developers.google.com/digital-asset-links/">>}]}.
27 27 {<<"name">>,<<"google_api_digital_asset_links">>}.
28 28 {<<"requirements">>,
  @@ -30,5 +30,5 @@
30 30 {<<"name">>,<<"google_gax">>},
31 31 {<<"optional">>,false},
32 32 {<<"repository">>,<<"hexpm">>},
33 - {<<"requirement">>,<<"~> 0.1.0">>}]]}.
34 - {<<"version">>,<<"0.3.0">>}.
33 + {<<"requirement">>,<<"~> 0.2">>}]]}.
34 + {<<"version">>,<<"0.4.0">>}.
  @@ -23,6 +23,8 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Api.Assetlinks do
23 23 alias GoogleApi.DigitalAssetLinks.V1.Connection
24 24 alias GoogleApi.Gax.{Request, Response}
25 25
26 + @library_version Mix.Project.config() |> Keyword.get(:version, "")
27 +
26 28 @doc """
27 29 Determines whether the specified (directional) relationship exists between
28 30 the specified source and target assets.
  @@ -231,6 +233,7 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Api.Assetlinks do
231 233 |> Request.method(:get)
232 234 |> Request.url("/v1/assetlinks:check", %{})
233 235 |> Request.add_optional_params(optional_params_config, optional_params)
236 + |> Request.library_version(@library_version)
234 237
235 238 connection
236 239 |> Connection.execute(request)
  @@ -23,6 +23,8 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Api.Statements do
23 23 alias GoogleApi.DigitalAssetLinks.V1.Connection
24 24 alias GoogleApi.Gax.{Request, Response}
25 25
26 + @library_version Mix.Project.config() |> Keyword.get(:version, "")
27 +
26 28 @doc """
27 29 Retrieves a list of all statements from a given source that match the
28 30 specified target and statement string.
  @@ -162,6 +164,7 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Api.Statements do
162 164 |> Request.method(:get)
163 165 |> Request.url("/v1/statements:list", %{})
164 166 |> Request.add_optional_params(optional_params_config, optional_params)
167 + |> Request.library_version(@library_version)
165 168
166 169 connection
167 170 |> Connection.execute(request)
  @@ -1,18 +1,36 @@
1 - defmodule GoogleApi.DigitalAssetLinks.V1.Mixfile do
1 + # Copyright 2019 Google LLC
2 + #
3 + # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
4 + # you may not use this file except in compliance with the License.
5 + # You may obtain a copy of the License at
6 + #
7 + # http://www.apache.org/licenses/LICENSE-2.0
8 + #
9 + # Unless required by applicable law or agreed to in writing, software
10 + # distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
11 + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 + # See the License for the specific language governing permissions and
13 + # limitations under the License.
14 +
15 + # NOTE: This class is auto generated by the elixir code generator program.
16 + # Do not edit the class manually.
17 +
18 + defmodule GoogleApi.DigitalAssetLinks.Mixfile do
2 19 use Mix.Project
3 20
4 - @version "0.3.0"
21 + @version "0.4.0"
5 22
6 - def project do
7 - [app: :google_api_digital_asset_links,
8 - version: @version,
9 - elixir: "~> 1.4",
10 - build_embedded: Mix.env == :prod,
11 - start_permanent: Mix.env == :prod,
12 - description: description(),
13 - package: package(),
14 - deps: deps(),
15 - source_url: "https://github.com/GoogleCloudPlatform/elixir-google-api/tree/master/clients/digital_asset_links"
23 + def project() do
24 + [
25 + app: :google_api_digital_asset_links,
26 + version: @version,
27 + elixir: "~> 1.4",
28 + build_embedded: Mix.env == :prod,
29 + start_permanent: Mix.env == :prod,
30 + description: description(),
31 + package: package(),
32 + deps: deps(),
33 + source_url: "https://github.com/googleapis/elixir-google-api/tree/master/clients/digital_asset_links"
16 34 ]
17 35 end
18 36
  @@ -22,25 +40,25 @@ defmodule GoogleApi.DigitalAssetLinks.V1.Mixfile do
22 40
23 41 defp deps() do
24 42 [
25 - {:google_gax, "~> 0.1.0"},
26 - {:ex_doc, "~> 0.16", only: :dev},
27 - {:dialyxir, "~> 0.5", only: [:dev], runtime: false}
43 + {:google_gax, "~> 0.2"},
44 +
45 + {:ex_doc, "~> 0.16", only: :dev}
28 46 ]
29 47 end
30 48
31 49 defp description() do
32 50 """
33 - API for discovering relationships between online assets such as web sites or mobile apps.
51 + Client library for Digital Asset Links API from Google. Discovers relationships between online assets such as websites or mobile apps.
34 52 """
35 53 end
36 54
37 55 defp package() do
38 56 [
39 57 files: ["lib", "mix.exs", "README*", "LICENSE"],
40 - maintainers: ["Jeff Ching"],
58 + maintainers: ["Jeff Ching", "Daniel Azuma"],
41 59 licenses: ["Apache 2.0"],
42 60 links: %{
43 - "GitHub" => "https://github.com/GoogleCloudPlatform/elixir-google-api/tree/master/clients/digital_asset_links",
61 + "GitHub" => "https://github.com/googleapis/elixir-google-api/tree/master/clients/digital_asset_links",
44 62 "Homepage" => "https://developers.google.com/digital-asset-links/"
45 63 }
46 64 ]