Packages
google_api_pub_sub
0.2.0
0.42.0
0.41.0
0.40.1
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.1
0.34.0
0.33.4
0.33.3
0.33.2
0.33.1
0.33.0
0.32.1
0.32.0
0.31.0
0.30.0
0.29.2
0.29.1
0.29.0
0.28.1
0.28.0
0.27.0
0.26.0
0.25.0
0.24.0
0.23.0
0.22.3
0.22.2
0.22.1
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.1
Cloud Pub/Sub API client library. Provides reliable, many-to-many, asynchronous messaging between applications.
Current section
56 Versions
Jump to
Current section
56 Versions
Compare versions
19
files changed
+191
additions
-18
deletions
| @@ -14,6 +14,8 @@ | |
| 14 14 | <<"lib/google_api/pub_sub/v1/model/binding.ex">>, |
| 15 15 | <<"lib/google_api/pub_sub/v1/model/create_snapshot_request.ex">>, |
| 16 16 | <<"lib/google_api/pub_sub/v1/model/empty.ex">>, |
| 17 | + <<"lib/google_api/pub_sub/v1/model/expiration_policy.ex">>, |
| 18 | + <<"lib/google_api/pub_sub/v1/model/expr.ex">>, |
| 17 19 | <<"lib/google_api/pub_sub/v1/model/list_snapshots_response.ex">>, |
| 18 20 | <<"lib/google_api/pub_sub/v1/model/list_subscriptions_response.ex">>, |
| 19 21 | <<"lib/google_api/pub_sub/v1/model/list_topic_snapshots_response.ex">>, |
| @@ -39,6 +41,7 @@ | |
| 39 41 | <<"lib/google_api/pub_sub/v1/model/topic.ex">>, |
| 40 42 | <<"lib/google_api/pub_sub/v1/model/update_snapshot_request.ex">>, |
| 41 43 | <<"lib/google_api/pub_sub/v1/model/update_subscription_request.ex">>, |
| 44 | + <<"lib/google_api/pub_sub/v1/model/update_topic_request.ex">>, |
| 42 45 | <<"lib/google_api/pub_sub/v1/request_builder.ex">>,<<"mix.exs">>, |
| 43 46 | <<"README.md">>,<<"LICENSE">>]}. |
| 44 47 | {<<"licenses">>,[<<"Apache 2.0">>]}. |
| @@ -46,7 +49,6 @@ | |
| 46 49 | [{<<"GitHub">>, |
| 47 50 | <<"https://github.com/GoogleCloudPlatform/elixir-google-api/tree/master/clients/pub_sub">>}, |
| 48 51 | {<<"Homepage">>,<<"https://cloud.google.com/pubsub/">>}]}. |
| 49 | - {<<"maintainers">>,[<<"Jeff Ching">>]}. |
| 50 52 | {<<"name">>,<<"google_api_pub_sub">>}. |
| 51 53 | {<<"requirements">>, |
| 52 54 | [[{<<"app">>,<<"google_gax">>}, |
| @@ -54,4 +56,4 @@ | |
| 54 56 | {<<"optional">>,false}, |
| 55 57 | {<<"repository">>,<<"hexpm">>}, |
| 56 58 | {<<"requirement">>,<<"~> 0.1.0">>}]]}. |
| 57 | - {<<"version">>,<<"0.1.0">>}. |
| 59 | + {<<"version">>,<<"0.2.0">>}. |
unknownlib/google_api/pub_sub/v1/api/projects.ex
File is too large to be displayed (100 KB limit).
| @@ -22,17 +22,20 @@ defmodule GoogleApi.PubSub.V1.Model.Binding do | |
| 22 22 | |
| 23 23 | ## Attributes |
| 24 24 | |
| 25 | + - condition (Expr): Unimplemented. The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently. Defaults to: `null`. |
| 25 26 | - members ([String.t]): Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`. Defaults to: `null`. |
| 26 | - - role (String.t): Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required Defaults to: `null`. |
| 27 | + - role (String.t): Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Defaults to: `null`. |
| 27 28 | """ |
| 28 29 | |
| 29 30 | use GoogleApi.Gax.ModelBase |
| 30 31 | |
| 31 32 | @type t :: %__MODULE__{ |
| 33 | + :condition => GoogleApi.PubSub.V1.Model.Expr.t(), |
| 32 34 | :members => list(any()), |
| 33 35 | :role => any() |
| 34 36 | } |
| 35 37 | |
| 38 | + field(:condition, as: GoogleApi.PubSub.V1.Model.Expr) |
| 36 39 | field(:members, type: :list) |
| 37 40 | field(:role) |
| 38 41 | end |
| @@ -18,19 +18,22 @@ | |
| 18 18 | |
| 19 19 | defmodule GoogleApi.PubSub.V1.Model.CreateSnapshotRequest do |
| 20 20 | @moduledoc """ |
| 21 | - Request for the `CreateSnapshot` method.<br><br> <b>ALPHA:</b> This feature is part of an alpha release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. |
| 21 | + Request for the `CreateSnapshot` method.<br><br> <b>BETA:</b> This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. |
| 22 22 | |
| 23 23 | ## Attributes |
| 24 24 | |
| 25 | + - labels (%{optional(String.t) => String.t}): See <a href=\"https://cloud.google.com/pubsub/docs/labels\"> Creating and managing labels</a>. Defaults to: `null`. |
| 25 26 | - subscription (String.t): The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`. Defaults to: `null`. |
| 26 27 | """ |
| 27 28 | |
| 28 29 | use GoogleApi.Gax.ModelBase |
| 29 30 | |
| 30 31 | @type t :: %__MODULE__{ |
| 32 | + :labels => map(), |
| 31 33 | :subscription => any() |
| 32 34 | } |
| 33 35 | |
| 36 | + field(:labels, type: :map) |
| 34 37 | field(:subscription) |
| 35 38 | end |
| @@ -0,0 +1,47 @@ | |
| 1 | + # Copyright 2017 Google Inc. |
| 2 | + # |
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); |
| 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 "AS IS" 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 swagger code generator program. |
| 16 | + # https://github.com/swagger-api/swagger-codegen.git |
| 17 | + # Do not edit the class manually. |
| 18 | + |
| 19 | + defmodule GoogleApi.PubSub.V1.Model.ExpirationPolicy do |
| 20 | + @moduledoc """ |
| 21 | + A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion). |
| 22 | + |
| 23 | + ## Attributes |
| 24 | + |
| 25 | + - ttl (String.t): Specifies the \"time-to-live\" duration for an associated resource. The resource expires if it is not active for a period of `ttl`. The definition of \"activity\" depends on the type of the associated resource. The minimum and maximum allowed values for `ttl` depend on the type of the associated resource, as well. If `ttl` is not set, the associated resource never expires. Defaults to: `null`. |
| 26 | + """ |
| 27 | + |
| 28 | + use GoogleApi.Gax.ModelBase |
| 29 | + |
| 30 | + @type t :: %__MODULE__{ |
| 31 | + :ttl => any() |
| 32 | + } |
| 33 | + |
| 34 | + field(:ttl) |
| 35 | + end |
| 36 | + |
| 37 | + defimpl Poison.Decoder, for: GoogleApi.PubSub.V1.Model.ExpirationPolicy do |
| 38 | + def decode(value, options) do |
| 39 | + GoogleApi.PubSub.V1.Model.ExpirationPolicy.decode(value, options) |
| 40 | + end |
| 41 | + end |
| 42 | + |
| 43 | + defimpl Poison.Encoder, for: GoogleApi.PubSub.V1.Model.ExpirationPolicy do |
| 44 | + def encode(value, options) do |
| 45 | + GoogleApi.Gax.ModelBase.encode(value, options) |
| 46 | + end |
| 47 | + end |
Loading more files…