google-apis-pubsub_v1 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68ea4f04d659dc05ccbad6c6a277da0af285f7b751bf48825a24ca3ef3a042ad
4
- data.tar.gz: 13c50dd1967eb63f3413dcb6787a9b779670feaec46292f63f6085d04d153da6
3
+ metadata.gz: 51024cc4891f4ab4c55f868d15add38264ac200640139613ecafb865d13c4168
4
+ data.tar.gz: c6c64ac92a4c4b2c5733dd37f7266d5fd32886e4e607fd32ff7e8bcc39ad4167
5
5
  SHA512:
6
- metadata.gz: e55a08d0d35b902345e682e680e3f223c585eb27264b4319ddfcc752caf93798b757b7f437d0bdaeae442169605a4b6161ec42eb38cfeabf7c8f611913df4c1d
7
- data.tar.gz: b6bd2d0123720cb53d8683516d972526386701db74dc339dbaaf49f8849c060282181f0fbcc3eb2b1c01dafb8fba4d3f79b78404539a3977b28a8fb86861cfc8
6
+ metadata.gz: 5998f30ce8a825fe5673f5563fd5b8ef44da12df34d129626dc19ff1773852d3af3e1b8f64b9f47f2012f3851581c9f38f42abc2869eb6bd55d899636ad2c6fc
7
+ data.tar.gz: 3d132fb62f6b3afd8a68df5e35ffea627dd3982bd4b18295a7236f328c0525b3351274b042789c1f3c1a9a9d6cb0633b65f0a69e2fc7db8c3c0f478c7928ae6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.7.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.6.0 (2021-06-24)
8
+
9
+ * Regenerated using generator version 0.3.0
10
+
11
+ ### v0.5.0 (2021-05-19)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.4.0 (2021-04-02)
16
+
17
+ * Regenerated from discovery document revision 20210322
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.3.0 (2021-03-05)
21
+
22
+ * Regenerated from discovery document revision 20210225
23
+ * Unspecified changes
24
+
3
25
  ### v0.2.0 (2021-02-19)
4
26
 
5
27
  * Regenerated from discovery document revision 20210208
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View and manage Pub/Sub topics and subscriptions
@@ -1221,8 +1221,9 @@ module Google
1221
1221
  # Indicates whether to retain acknowledged messages. If true, then messages are
1222
1222
  # not expunged from the subscription's backlog, even if they are acknowledged,
1223
1223
  # until they fall out of the `message_retention_duration` window. This must be
1224
- # true if you would like to [Seek to a timestamp] (https://cloud.google.com/
1225
- # pubsub/docs/replay-overview#seek_to_a_time).
1224
+ # true if you would like to [`Seek` to a timestamp] (https://cloud.google.com/
1225
+ # pubsub/docs/replay-overview#seek_to_a_time) in the past to replay previously-
1226
+ # acknowledged messages.
1226
1227
  # Corresponds to the JSON property `retainAckedMessages`
1227
1228
  # @return [Boolean]
1228
1229
  attr_accessor :retain_acked_messages
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubV1
18
18
  # Version of the google-apis-pubsub_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.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.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210208"
25
+ REVISION = "20210322"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,47 @@ module Google
154
154
  execute_or_queue_command(command, &block)
155
155
  end
156
156
 
157
+ # Gets the access control policy for a resource. Returns an empty policy if the
158
+ # resource exists and does not have a policy set.
159
+ # @param [String] resource
160
+ # REQUIRED: The resource for which the policy is being requested. See the
161
+ # operation documentation for the appropriate value for this field.
162
+ # @param [Fixnum] options_requested_policy_version
163
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
164
+ # 3. Requests specifying an invalid value will be rejected. Requests for
165
+ # policies with any conditional bindings must specify version 3. Policies
166
+ # without any conditional bindings may specify any valid value or leave the
167
+ # field unset. To learn which resources support conditions in their IAM policies,
168
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
169
+ # resource-policies).
170
+ # @param [String] fields
171
+ # Selector specifying which fields to include in a partial response.
172
+ # @param [String] quota_user
173
+ # Available to use for quota purposes for server-side applications. Can be any
174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
175
+ # @param [Google::Apis::RequestOptions] options
176
+ # Request-specific options
177
+ #
178
+ # @yield [result, err] Result & error if block supplied
179
+ # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
180
+ # @yieldparam err [StandardError] error object if request failed
181
+ #
182
+ # @return [Google::Apis::PubsubV1::Policy]
183
+ #
184
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
187
+ def get_project_schema_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
188
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
189
+ command.response_representation = Google::Apis::PubsubV1::Policy::Representation
190
+ command.response_class = Google::Apis::PubsubV1::Policy
191
+ command.params['resource'] = resource unless resource.nil?
192
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
193
+ command.query['fields'] = fields unless fields.nil?
194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
195
+ execute_or_queue_command(command, &block)
196
+ end
197
+
157
198
  # Lists schemas in a project.
158
199
  # @param [String] parent
159
200
  # Required. The name of the project in which to list schemas. Format is `
@@ -198,6 +239,80 @@ module Google
198
239
  execute_or_queue_command(command, &block)
199
240
  end
200
241
 
242
+ # Sets the access control policy on the specified resource. Replaces any
243
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
244
+ # PERMISSION_DENIED` errors.
245
+ # @param [String] resource
246
+ # REQUIRED: The resource for which the policy is being specified. See the
247
+ # operation documentation for the appropriate value for this field.
248
+ # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
249
+ # @param [String] fields
250
+ # Selector specifying which fields to include in a partial response.
251
+ # @param [String] quota_user
252
+ # Available to use for quota purposes for server-side applications. Can be any
253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
254
+ # @param [Google::Apis::RequestOptions] options
255
+ # Request-specific options
256
+ #
257
+ # @yield [result, err] Result & error if block supplied
258
+ # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object
259
+ # @yieldparam err [StandardError] error object if request failed
260
+ #
261
+ # @return [Google::Apis::PubsubV1::Policy]
262
+ #
263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
266
+ def set_schema_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
267
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
268
+ command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation
269
+ command.request_object = set_iam_policy_request_object
270
+ command.response_representation = Google::Apis::PubsubV1::Policy::Representation
271
+ command.response_class = Google::Apis::PubsubV1::Policy
272
+ command.params['resource'] = resource unless resource.nil?
273
+ command.query['fields'] = fields unless fields.nil?
274
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
275
+ execute_or_queue_command(command, &block)
276
+ end
277
+
278
+ # Returns permissions that a caller has on the specified resource. If the
279
+ # resource does not exist, this will return an empty set of permissions, not a `
280
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
281
+ # permission-aware UIs and command-line tools, not for authorization checking.
282
+ # This operation may "fail open" without warning.
283
+ # @param [String] resource
284
+ # REQUIRED: The resource for which the policy detail is being requested. See the
285
+ # operation documentation for the appropriate value for this field.
286
+ # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
287
+ # @param [String] fields
288
+ # Selector specifying which fields to include in a partial response.
289
+ # @param [String] quota_user
290
+ # Available to use for quota purposes for server-side applications. Can be any
291
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
292
+ # @param [Google::Apis::RequestOptions] options
293
+ # Request-specific options
294
+ #
295
+ # @yield [result, err] Result & error if block supplied
296
+ # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object
297
+ # @yieldparam err [StandardError] error object if request failed
298
+ #
299
+ # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse]
300
+ #
301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
304
+ def test_schema_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
305
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
306
+ command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation
307
+ command.request_object = test_iam_permissions_request_object
308
+ command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation
309
+ command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse
310
+ command.params['resource'] = resource unless resource.nil?
311
+ command.query['fields'] = fields unless fields.nil?
312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
313
+ execute_or_queue_command(command, &block)
314
+ end
315
+
201
316
  # Validates a schema.
202
317
  # @param [String] parent
203
318
  # Required. The name of the project in which to validate schemas. Format is `
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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-02-22 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Pub/Sub API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.7.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.6
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Pub/Sub API V1