google-apis-pubsub_v1 0.41.0 → 0.43.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7e45ebdedbd72b93fa8114a6b1eca6f21de9b54c5d2a2233a53b0aba26b451e
|
4
|
+
data.tar.gz: 69768c2facf70a09e8ea426232852b09f60554bf084413e59548113c01fccd6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84861ca88f9802f5276cab3e1a9c220e5e6410054db1538b63c8b17626783af860e67700c087d4a53c460af74e65e2704f869ab8773f2041f2b83f857795e73
|
7
|
+
data.tar.gz: ddd172570898e70cccc2ab3db6375f7f701b1a870ae021e0137a1d60e321db9cae6a4be055ad899719223831c5442418b45b692ae07c8f23a6203eccf3bfe9d0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2023-11-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231104
|
6
|
+
|
7
|
+
### v0.42.0 (2023-10-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231019
|
10
|
+
|
3
11
|
### v0.41.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230801
|
@@ -662,15 +662,25 @@ module Google
|
|
662
662
|
class MessageStoragePolicy
|
663
663
|
include Google::Apis::Core::Hashable
|
664
664
|
|
665
|
-
# Optional. A list of IDs of
|
666
|
-
# the topic may be persisted in storage. Messages published by
|
667
|
-
# running in non-allowed
|
668
|
-
#
|
669
|
-
# no regions are allowed, and is not a valid
|
665
|
+
# Optional. A list of IDs of Google Cloud regions where messages that are
|
666
|
+
# published to the topic may be persisted in storage. Messages published by
|
667
|
+
# publishers running in non-allowed Google Cloud regions (or running outside of
|
668
|
+
# Google Cloud altogether) are routed for storage in one of the allowed regions.
|
669
|
+
# An empty list means that no regions are allowed, and is not a valid
|
670
|
+
# configuration.
|
670
671
|
# Corresponds to the JSON property `allowedPersistenceRegions`
|
671
672
|
# @return [Array<String>]
|
672
673
|
attr_accessor :allowed_persistence_regions
|
673
674
|
|
675
|
+
# Optional. If true, `allowed_persistence_regions` is also used to enforce in-
|
676
|
+
# transit guarantees for messages. That is, Pub/Sub will fail Publish operations
|
677
|
+
# on this topic and subscribe operations on any subscription attached to this
|
678
|
+
# topic in any region that is not in `allowed_persistence_regions`.
|
679
|
+
# Corresponds to the JSON property `enforceInTransit`
|
680
|
+
# @return [Boolean]
|
681
|
+
attr_accessor :enforce_in_transit
|
682
|
+
alias_method :enforce_in_transit?, :enforce_in_transit
|
683
|
+
|
674
684
|
def initialize(**args)
|
675
685
|
update!(**args)
|
676
686
|
end
|
@@ -678,6 +688,7 @@ module Google
|
|
678
688
|
# Update properties of this object
|
679
689
|
def update!(**args)
|
680
690
|
@allowed_persistence_regions = args[:allowed_persistence_regions] if args.key?(:allowed_persistence_regions)
|
691
|
+
@enforce_in_transit = args[:enforce_in_transit] if args.key?(:enforce_in_transit)
|
681
692
|
end
|
682
693
|
end
|
683
694
|
|
@@ -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.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231104"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -90,7 +90,7 @@ module Google
|
|
90
90
|
# @param [Google::Apis::PubsubV1::Schema] schema_object
|
91
91
|
# @param [String] schema_id
|
92
92
|
# The ID to use for the schema, which will become the final component of the
|
93
|
-
# schema's resource name. See https://cloud.google.com/pubsub/docs/
|
93
|
+
# schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#
|
94
94
|
# resource_names for resource name constraints.
|
95
95
|
# @param [String] fields
|
96
96
|
# Selector specifying which fields to include in a partial response.
|
@@ -542,15 +542,17 @@ module Google
|
|
542
542
|
# returned. See also the `Snapshot.expire_time` field. If the name is not
|
543
543
|
# provided in the request, the server will assign a random name for this
|
544
544
|
# snapshot on the same project as the subscription, conforming to the [resource
|
545
|
-
# name format] (https://cloud.google.com/pubsub/docs/
|
546
|
-
# generated name is populated in the returned Snapshot
|
547
|
-
# REST API requests, you must specify a name in the
|
545
|
+
# name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#
|
546
|
+
# resource_names). The generated name is populated in the returned Snapshot
|
547
|
+
# object. Note that for REST API requests, you must specify a name in the
|
548
|
+
# request.
|
548
549
|
# @param [String] name
|
549
550
|
# Required. User-provided name for this snapshot. If the name is not provided in
|
550
551
|
# the request, the server will assign a random name for this snapshot on the
|
551
552
|
# same project as the subscription. Note that for REST API requests, you must
|
552
553
|
# specify a name. See the [resource name rules](https://cloud.google.com/pubsub/
|
553
|
-
# docs/
|
554
|
+
# docs/pubsub-basics#resource_names). Format is `projects/`project`/snapshots/`
|
555
|
+
# snap``.
|
554
556
|
# @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
|
555
557
|
# @param [String] fields
|
556
558
|
# Selector specifying which fields to include in a partial response.
|
@@ -892,14 +894,14 @@ module Google
|
|
892
894
|
end
|
893
895
|
|
894
896
|
# Creates a subscription to a given topic. See the [resource name rules] (https:/
|
895
|
-
# /cloud.google.com/pubsub/docs/
|
896
|
-
# already exists, returns `ALREADY_EXISTS`. If the corresponding
|
897
|
-
# exist, returns `NOT_FOUND`. If the name is not provided in the
|
898
|
-
# server will assign a random name for this subscription on the
|
899
|
-
# the topic, conforming to the [resource name format] (https://
|
900
|
-
# pubsub/docs/
|
901
|
-
# returned Subscription object. Note that for REST API
|
902
|
-
# specify a name in the request.
|
897
|
+
# /cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the
|
898
|
+
# subscription already exists, returns `ALREADY_EXISTS`. If the corresponding
|
899
|
+
# topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the
|
900
|
+
# request, the server will assign a random name for this subscription on the
|
901
|
+
# same project as the topic, conforming to the [resource name format] (https://
|
902
|
+
# cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name
|
903
|
+
# is populated in the returned Subscription object. Note that for REST API
|
904
|
+
# requests, you must specify a name in the request.
|
903
905
|
# @param [String] name
|
904
906
|
# Required. The name of the subscription. It must have the format `"projects/`
|
905
907
|
# project`/subscriptions/`subscription`"`. ``subscription`` must start with a
|
@@ -1386,7 +1388,7 @@ module Google
|
|
1386
1388
|
end
|
1387
1389
|
|
1388
1390
|
# Creates the given topic with the given name. See the [resource name rules] (
|
1389
|
-
# https://cloud.google.com/pubsub/docs/
|
1391
|
+
# https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
1390
1392
|
# @param [String] name
|
1391
1393
|
# Required. The name of the topic. It must have the format `"projects/`project`/
|
1392
1394
|
# topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
|
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.43.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: 2023-
|
11
|
+
date: 2023-11-12 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.43.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Pub/Sub API V1
|