google-apis-pubsub_v1 0.40.0 → 0.42.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: 589d4e6d2b03f87abd75bf7998f3407cfdf2d07c32bc599ab95cd4f6189d5f80
4
- data.tar.gz: 3cb7818796a6cbf405dd4bc8260a5187117f73a7095551b7728c4434e2c757b1
3
+ metadata.gz: dfd69e50365791b37e72d6b40f071db34001c648d6c38866acf02b75a5f9a3b6
4
+ data.tar.gz: 6945b45c41a0275ec42e9ef87b687518531720f04d211b63c7311f47023c0c9e
5
5
  SHA512:
6
- metadata.gz: 81280fecd7f484a2ee652780eb68fd0b2502010ea5f883b4006f4bdbaf13b7cb0aa448406f18408a98fcf5448cfeea4e8c8b47be7c750c532afa10a4b4a7c9d9
7
- data.tar.gz: 81b301e000259eebba432b410f6d8f42b48946e95e7ef9b750423a68beae06ddc7ba4c5a7b95f0d4715c9588d5e6ca39c1738c3d6fb50c75163a8d378823cbcd
6
+ metadata.gz: faa2a7df3bb8a574ed5c6fb82a03194acf0d1957c53f93e6be3e6b0feef81cf218d0610b180de363711c8a778c77a829ca55614c81a10227bb2232314884698c
7
+ data.tar.gz: 5c93b5b608caf2f4303136522973c2b6713d7ba0a3f3c30aa7028cc84687d144eceba591a9110285b2c046b822c9b08056a466478cbc4e1dd2587d4930e2efba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.42.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231019
6
+
7
+ ### v0.41.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230801
10
+
3
11
  ### v0.40.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230627
@@ -48,7 +48,10 @@ module Google
48
48
  include Google::Apis::Core::Hashable
49
49
 
50
50
  # Optional. When true, write the subscription name, message_id, publish_time,
51
- # attributes, and ordering_key as additional fields in the output.
51
+ # attributes, and ordering_key as additional fields in the output. The
52
+ # subscription name, message_id, and publish_time fields are put in their own
53
+ # fields while all other message properties other than data (for example, an
54
+ # ordering_key, if present) are added as entries in the attributes map.
52
55
  # Corresponds to the JSON property `writeMetadata`
53
56
  # @return [Boolean]
54
57
  attr_accessor :write_metadata
@@ -659,11 +662,12 @@ module Google
659
662
  class MessageStoragePolicy
660
663
  include Google::Apis::Core::Hashable
661
664
 
662
- # Optional. A list of IDs of GCP regions where messages that are published to
663
- # the topic may be persisted in storage. Messages published by publishers
664
- # running in non-allowed GCP regions (or running outside of GCP altogether) will
665
- # be routed for storage in one of the allowed regions. An empty list means that
666
- # no regions are allowed, and is not a valid configuration.
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.
667
671
  # Corresponds to the JSON property `allowedPersistenceRegions`
668
672
  # @return [Array<String>]
669
673
  attr_accessor :allowed_persistence_regions
@@ -796,22 +800,22 @@ module Google
796
800
  # evaluates to `true`. A condition can add constraints based on attributes of
797
801
  # the request, the resource, or both. To learn which resources support
798
802
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
799
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
803
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
800
804
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
801
805
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
802
806
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
803
807
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
804
808
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
805
809
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
806
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
807
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
808
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
809
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
810
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
811
- # access description: Does not grant access after Sep 2020 expression: request.
812
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
813
- # a description of IAM and its features, see the [IAM documentation](https://
814
- # cloud.google.com/iam/docs/).
810
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
811
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
812
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
813
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
814
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
815
+ # title: expirable access description: Does not grant access after Sep 2020
816
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
817
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
818
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
815
819
  class Policy
816
820
  include Google::Apis::Core::Hashable
817
821
 
@@ -1360,22 +1364,22 @@ module Google
1360
1364
  # evaluates to `true`. A condition can add constraints based on attributes of
1361
1365
  # the request, the resource, or both. To learn which resources support
1362
1366
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1363
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1367
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
1364
1368
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1365
1369
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1366
1370
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1367
1371
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1368
1372
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
1369
1373
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1370
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1371
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1372
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1373
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1374
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1375
- # access description: Does not grant access after Sep 2020 expression: request.
1376
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1377
- # a description of IAM and its features, see the [IAM documentation](https://
1378
- # cloud.google.com/iam/docs/).
1374
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
1375
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
1376
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
1377
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
1378
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
1379
+ # title: expirable access description: Does not grant access after Sep 2020
1380
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
1381
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
1382
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1379
1383
  # Corresponds to the JSON property `policy`
1380
1384
  # @return [Google::Apis::PubsubV1::Policy]
1381
1385
  attr_accessor :policy
@@ -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.40.0"
19
+ GEM_VERSION = "0.42.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 = "20230627"
25
+ REVISION = "20231019"
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/admin#
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/admin#resource_names). The
546
- # generated name is populated in the returned Snapshot object. Note that for
547
- # REST API requests, you must specify a name in the request.
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/admin#resource_names). Format is `projects/`project`/snapshots/`snap``.
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/admin#resource_names). If the subscription
896
- # already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't
897
- # exist, returns `NOT_FOUND`. If the name is not provided in the request, the
898
- # server will assign a random name for this subscription on the same project as
899
- # the topic, conforming to the [resource name format] (https://cloud.google.com/
900
- # pubsub/docs/admin#resource_names). The generated name is populated in the
901
- # returned Subscription object. Note that for REST API requests, you must
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/admin#resource_names).
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.40.0
4
+ version: 0.42.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.42.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.2
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