google-apis-pubsub_v1 0.15.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/pubsub_v1/classes.rb +13 -8
- data/lib/google/apis/pubsub_v1/gem_version.rb +2 -2
- data/lib/google/apis/pubsub_v1/service.rb +45 -32
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4307d46e24f20a382de284efbdd5f7b27d811f578e4979171bf9ad48fb0b3894
|
4
|
+
data.tar.gz: b147619df10b6d7f9d4cee506963a09d92c5d9bb81d192d69f4779b6a96b02d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6b293accbbe1b36d2f15b4284e9153dc1a6009a4f87d5e0191df51b8a1868704ff5e50206f11ad2e3d724add79a44d775c6c3b662bdb7ced087bfea77b8369
|
7
|
+
data.tar.gz: e9982e77c74f97cf2109e00d7627e1431742196a1ef5220a53e1c1341932ca7718f1e36e2a1297d50135a6c163f52aaf8d6803636f6c021aa0884b55008421bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-05-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220502
|
6
|
+
|
7
|
+
### v0.17.0 (2022-05-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220421
|
10
|
+
|
11
|
+
### v0.16.0 (2022-04-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220404
|
14
|
+
|
3
15
|
### v0.15.0 (2022-04-01)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220322
|
@@ -65,7 +65,7 @@ module Google
|
|
65
65
|
# @return [Google::Apis::PubsubV1::Expr]
|
66
66
|
attr_accessor :condition
|
67
67
|
|
68
|
-
# Specifies the principals requesting access for a Cloud
|
68
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
69
69
|
# members` can have the following values: * `allUsers`: A special identifier
|
70
70
|
# that represents anyone who is on the internet; with or without a Google
|
71
71
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -525,7 +525,10 @@ module Google
|
|
525
525
|
end
|
526
526
|
|
527
527
|
# Contains information needed for generating an [OpenID Connect token](https://
|
528
|
-
# developers.google.com/identity/protocols/OpenIDConnect).
|
528
|
+
# developers.google.com/identity/protocols/OpenIDConnect). [Service account
|
529
|
+
# email](https://cloud.google.com/iam/docs/service-accounts) used for generating
|
530
|
+
# the OIDC token. For more information on setting up authentication, see [Push
|
531
|
+
# subscriptions](https://cloud.google.com/pubsub/docs/push).
|
529
532
|
class OidcToken
|
530
533
|
include Google::Apis::Core::Hashable
|
531
534
|
|
@@ -539,9 +542,7 @@ module Google
|
|
539
542
|
# @return [String]
|
540
543
|
attr_accessor :audience
|
541
544
|
|
542
|
-
#
|
543
|
-
# be used for generating the OIDC token. See [Setting up push authentication](/
|
544
|
-
# pubsub/docs/push#setting_up_for_push_authentication) for more details.
|
545
|
+
#
|
545
546
|
# Corresponds to the JSON property `serviceAccountEmail`
|
546
547
|
# @return [String]
|
547
548
|
attr_accessor :service_account_email
|
@@ -721,7 +722,8 @@ module Google
|
|
721
722
|
# messages published with the same non-empty `ordering_key` value will be
|
722
723
|
# delivered to subscribers in the order in which they are received by the Pub/
|
723
724
|
# Sub system. All `PubsubMessage`s published in a given `PublishRequest` must
|
724
|
-
# specify the same `ordering_key` value.
|
725
|
+
# specify the same `ordering_key` value. For more information, see [ordering
|
726
|
+
# messages](https://cloud.google.com/pubsub/docs/ordering).
|
725
727
|
# Corresponds to the JSON property `orderingKey`
|
726
728
|
# @return [String]
|
727
729
|
attr_accessor :ordering_key
|
@@ -825,7 +827,10 @@ module Google
|
|
825
827
|
attr_accessor :attributes
|
826
828
|
|
827
829
|
# Contains information needed for generating an [OpenID Connect token](https://
|
828
|
-
# developers.google.com/identity/protocols/OpenIDConnect).
|
830
|
+
# developers.google.com/identity/protocols/OpenIDConnect). [Service account
|
831
|
+
# email](https://cloud.google.com/iam/docs/service-accounts) used for generating
|
832
|
+
# the OIDC token. For more information on setting up authentication, see [Push
|
833
|
+
# subscriptions](https://cloud.google.com/pubsub/docs/push).
|
829
834
|
# Corresponds to the JSON property `oidcToken`
|
830
835
|
# @return [Google::Apis::PubsubV1::OidcToken]
|
831
836
|
attr_accessor :oidc_token
|
@@ -1321,7 +1326,7 @@ module Google
|
|
1321
1326
|
include Google::Apis::Core::Hashable
|
1322
1327
|
|
1323
1328
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1324
|
-
# (such as
|
1329
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
1325
1330
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1326
1331
|
# Corresponds to the JSON property `permissions`
|
1327
1332
|
# @return [Array<String>]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220502"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -157,8 +157,9 @@ module Google
|
|
157
157
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
158
158
|
# resource exists and does not have a policy set.
|
159
159
|
# @param [String] resource
|
160
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
161
|
-
#
|
160
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
161
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
162
|
+
# appropriate value for this field.
|
162
163
|
# @param [Fixnum] options_requested_policy_version
|
163
164
|
# Optional. The maximum policy version that will be used to format the policy.
|
164
165
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -246,8 +247,9 @@ module Google
|
|
246
247
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
247
248
|
# PERMISSION_DENIED` errors.
|
248
249
|
# @param [String] resource
|
249
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
250
|
-
#
|
250
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
251
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
252
|
+
# appropriate value for this field.
|
251
253
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
252
254
|
# @param [String] fields
|
253
255
|
# Selector specifying which fields to include in a partial response.
|
@@ -284,8 +286,9 @@ module Google
|
|
284
286
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
285
287
|
# This operation may "fail open" without warning.
|
286
288
|
# @param [String] resource
|
287
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
288
|
-
#
|
289
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
290
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
291
|
+
# appropriate value for this field.
|
289
292
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
290
293
|
# @param [String] fields
|
291
294
|
# Selector specifying which fields to include in a partial response.
|
@@ -472,10 +475,11 @@ module Google
|
|
472
475
|
execute_or_queue_command(command, &block)
|
473
476
|
end
|
474
477
|
|
475
|
-
# Gets the configuration details of a snapshot. Snapshots are used in Seek
|
476
|
-
# operations, which allow
|
477
|
-
# you
|
478
|
-
#
|
478
|
+
# Gets the configuration details of a snapshot. Snapshots are used in [Seek](
|
479
|
+
# https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow
|
480
|
+
# you to manage message acknowledgments in bulk. That is, you can set the
|
481
|
+
# acknowledgment state of messages in an existing subscription to the state
|
482
|
+
# captured by a snapshot.
|
479
483
|
# @param [String] snapshot
|
480
484
|
# Required. The name of the snapshot to get. Format is `projects/`project`/
|
481
485
|
# snapshots/`snap``.
|
@@ -509,8 +513,9 @@ module Google
|
|
509
513
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
510
514
|
# resource exists and does not have a policy set.
|
511
515
|
# @param [String] resource
|
512
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
513
|
-
#
|
516
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
517
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
518
|
+
# appropriate value for this field.
|
514
519
|
# @param [Fixnum] options_requested_policy_version
|
515
520
|
# Optional. The maximum policy version that will be used to format the policy.
|
516
521
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -592,10 +597,10 @@ module Google
|
|
592
597
|
execute_or_queue_command(command, &block)
|
593
598
|
end
|
594
599
|
|
595
|
-
# Updates an existing snapshot. Snapshots are used in Seek
|
596
|
-
# allow you to manage
|
597
|
-
#
|
598
|
-
# captured by a snapshot.
|
600
|
+
# Updates an existing snapshot. Snapshots are used in [Seek](https://cloud.
|
601
|
+
# google.com/pubsub/docs/replay-overview) operations, which allow you to manage
|
602
|
+
# message acknowledgments in bulk. That is, you can set the acknowledgment state
|
603
|
+
# of messages in an existing subscription to the state captured by a snapshot.
|
599
604
|
# @param [String] name
|
600
605
|
# The name of the snapshot.
|
601
606
|
# @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
|
@@ -632,8 +637,9 @@ module Google
|
|
632
637
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
633
638
|
# PERMISSION_DENIED` errors.
|
634
639
|
# @param [String] resource
|
635
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
636
|
-
#
|
640
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
641
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
642
|
+
# appropriate value for this field.
|
637
643
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
638
644
|
# @param [String] fields
|
639
645
|
# Selector specifying which fields to include in a partial response.
|
@@ -670,8 +676,9 @@ module Google
|
|
670
676
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
671
677
|
# This operation may "fail open" without warning.
|
672
678
|
# @param [String] resource
|
673
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
674
|
-
#
|
679
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
680
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
681
|
+
# appropriate value for this field.
|
675
682
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
676
683
|
# @param [String] fields
|
677
684
|
# Selector specifying which fields to include in a partial response.
|
@@ -889,8 +896,9 @@ module Google
|
|
889
896
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
890
897
|
# resource exists and does not have a policy set.
|
891
898
|
# @param [String] resource
|
892
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
893
|
-
#
|
899
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
900
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
901
|
+
# appropriate value for this field.
|
894
902
|
# @param [Fixnum] options_requested_policy_version
|
895
903
|
# Optional. The maximum policy version that will be used to format the policy.
|
896
904
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1162,8 +1170,9 @@ module Google
|
|
1162
1170
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1163
1171
|
# PERMISSION_DENIED` errors.
|
1164
1172
|
# @param [String] resource
|
1165
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1166
|
-
#
|
1173
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1174
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1175
|
+
# appropriate value for this field.
|
1167
1176
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1168
1177
|
# @param [String] fields
|
1169
1178
|
# Selector specifying which fields to include in a partial response.
|
@@ -1200,8 +1209,9 @@ module Google
|
|
1200
1209
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1201
1210
|
# This operation may "fail open" without warning.
|
1202
1211
|
# @param [String] resource
|
1203
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1204
|
-
#
|
1212
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1213
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1214
|
+
# appropriate value for this field.
|
1205
1215
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1206
1216
|
# @param [String] fields
|
1207
1217
|
# Selector specifying which fields to include in a partial response.
|
@@ -1339,8 +1349,9 @@ module Google
|
|
1339
1349
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1340
1350
|
# resource exists and does not have a policy set.
|
1341
1351
|
# @param [String] resource
|
1342
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1343
|
-
#
|
1352
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1353
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1354
|
+
# appropriate value for this field.
|
1344
1355
|
# @param [Fixnum] options_requested_policy_version
|
1345
1356
|
# Optional. The maximum policy version that will be used to format the policy.
|
1346
1357
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1496,8 +1507,9 @@ module Google
|
|
1496
1507
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1497
1508
|
# PERMISSION_DENIED` errors.
|
1498
1509
|
# @param [String] resource
|
1499
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1500
|
-
#
|
1510
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1511
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1512
|
+
# appropriate value for this field.
|
1501
1513
|
# @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1502
1514
|
# @param [String] fields
|
1503
1515
|
# Selector specifying which fields to include in a partial response.
|
@@ -1534,8 +1546,9 @@ module Google
|
|
1534
1546
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1535
1547
|
# This operation may "fail open" without warning.
|
1536
1548
|
# @param [String] resource
|
1537
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1538
|
-
#
|
1549
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1550
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1551
|
+
# appropriate value for this field.
|
1539
1552
|
# @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1540
1553
|
# @param [String] fields
|
1541
1554
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-pubsub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|