google-apis-pubsublite_v1 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1039a6c0934a956236babe069e786952608b05b94d5d6bf4956fe0fbbc12e79a
4
- data.tar.gz: 64194fba40bd3b0d0b4acb9fe26a180fea51b7b71201973048cace9fbaf131d0
3
+ metadata.gz: f836f4ceff36aebf45c3dbdb87eae9029190c16f63a4b683472ea913d617527b
4
+ data.tar.gz: 4878889f9f8afdc06ea3c4e38b30f603f0a2befbe75e9f6121f23295c817d21c
5
5
  SHA512:
6
- metadata.gz: 8d0cfdc3c71702892352fdc92144163ffd2270d9a05d0b6c592696f96ccaaa1994fe7d8ce4864d536a58e179e071a4638aeafc93b4235b40bbfea5e796264669
7
- data.tar.gz: 81faf695ac50026d2949683914699d4ec6e1b92c44f1bd9a52cf6f595cc7cc30336aae6ed8e6f007994f778f07650ce81e06ae4060fcf97dfbc3c8ad1f0a3316
6
+ metadata.gz: 90e37285f7748a28dcf501788b3e7deac5e9e4532c78b9545b1388d64d8c6dc1588cbb5f9e9fd137b72d503a8c37fd467fbfd3a789b45688316dbdee0ee8ba4d
7
+ data.tar.gz: 3d8e885e1e4b6dcfec4f7423b4b335456f7d42cb7117e45b5b5f106f36d8d8aa5d2e3ba9a78031e5f7debbfc62fe695939ae64cd60f3bd0ced2e762e694762c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-pubsublite_v1
2
2
 
3
+ ### v0.5.0 (2021-03-20)
4
+
5
+ * Regenerated from discovery document revision 20210316
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.4.0 (2021-03-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20210302
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubliteV1
18
18
  # Version of the google-apis-pubsublite_v1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210302"
25
+ REVISION = "20210316"
26
26
  end
27
27
  end
28
28
  end
@@ -54,6 +54,10 @@ module Google
54
54
  # Required. The parent location in which to create the subscription. Structured
55
55
  # like `projects/`project_number`/locations/`location``.
56
56
  # @param [Google::Apis::PubsubliteV1::Subscription] subscription_object
57
+ # @param [Boolean] skip_backlog
58
+ # If true, the newly created subscription will only receive messages published
59
+ # after the subscription was created. Otherwise, the entire message backlog will
60
+ # be received on the subscription. Defaults to false.
57
61
  # @param [String] subscription_id
58
62
  # Required. The ID to use for the subscription, which will become the final
59
63
  # component of the subscription's name. This value is structured like: `my-sub-
@@ -75,13 +79,14 @@ module Google
75
79
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
78
- def create_admin_project_location_subscription(parent, subscription_object = nil, subscription_id: nil, fields: nil, quota_user: nil, options: nil, &block)
82
+ def create_admin_project_location_subscription(parent, subscription_object = nil, skip_backlog: nil, subscription_id: nil, fields: nil, quota_user: nil, options: nil, &block)
79
83
  command = make_simple_command(:post, 'v1/admin/{+parent}/subscriptions', options)
80
84
  command.request_representation = Google::Apis::PubsubliteV1::Subscription::Representation
81
85
  command.request_object = subscription_object
82
86
  command.response_representation = Google::Apis::PubsubliteV1::Subscription::Representation
83
87
  command.response_class = Google::Apis::PubsubliteV1::Subscription
84
88
  command.params['parent'] = parent unless parent.nil?
89
+ command.query['skipBacklog'] = skip_backlog unless skip_backlog.nil?
85
90
  command.query['subscriptionId'] = subscription_id unless subscription_id.nil?
86
91
  command.query['fields'] = fields unless fields.nil?
87
92
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsublite_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsublite_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsublite_v1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsublite_v1
57
57
  post_install_message:
58
58
  rdoc_options: []