google-apis-pubsub_v1 0.7.0 → 0.8.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: 51024cc4891f4ab4c55f868d15add38264ac200640139613ecafb865d13c4168
4
- data.tar.gz: c6c64ac92a4c4b2c5733dd37f7266d5fd32886e4e607fd32ff7e8bcc39ad4167
3
+ metadata.gz: ab9bc491b685bc26c8e42e4362e450c979b666168d86201d543cebf6a3325d63
4
+ data.tar.gz: c3e3b10f37a29c7a64cb0a30abfa7d6f08da89a61d1755cc47bbd16786ae4b8e
5
5
  SHA512:
6
- metadata.gz: 5998f30ce8a825fe5673f5563fd5b8ef44da12df34d129626dc19ff1773852d3af3e1b8f64b9f47f2012f3851581c9f38f42abc2869eb6bd55d899636ad2c6fc
7
- data.tar.gz: 3d132fb62f6b3afd8a68df5e35ffea627dd3982bd4b18295a7236f328c0525b3351274b042789c1f3c1a9a9d6cb0633b65f0a69e2fc7db8c3c0f478c7928ae6d
6
+ metadata.gz: eb2c9b58720c66395f655b3fceb9d102ac1cab4b43c4ef933a2b93a9ef97c29e50286f299a1f07147da681df5c9ad466d887820bd9264eb148abf62449859041
7
+ data.tar.gz: 7654028b11df41dbcbdd67c3ec6fe5ccf2398794886cf7df0a7f5b4a9c390bb92f2c54e1f5f4c9a69ae13c3ab2751c21970a8f20df49f2823b7ebad0aeabaa56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-pubsub_v1
2
2
 
3
+ ### v0.8.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210816
6
+
3
7
  ### v0.7.0 (2021-06-29)
4
8
 
5
9
  * Regenerated using generator version 0.4.0
@@ -583,7 +583,7 @@ module Google
583
583
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
584
584
  # roles/resourcemanager.organizationViewer condition: title: expirable access
585
585
  # description: Does not grant access after Sep 2020 expression: request.time <
586
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
586
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
587
587
  # description of IAM and its features, see the [IAM documentation](https://cloud.
588
588
  # google.com/iam/docs/).
589
589
  class Policy
@@ -1059,7 +1059,7 @@ module Google
1059
1059
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1060
1060
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1061
1061
  # description: Does not grant access after Sep 2020 expression: request.time <
1062
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1062
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1063
1063
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1064
1064
  # google.com/iam/docs/).
1065
1065
  # Corresponds to the JSON property `policy`
@@ -1247,6 +1247,16 @@ module Google
1247
1247
  # @return [String]
1248
1248
  attr_accessor :topic
1249
1249
 
1250
+ # Output only. Indicates the minimum duration for which a message is retained
1251
+ # after it is published to the subscription's topic. If this field is set,
1252
+ # messages published to the subscription's topic in the last `
1253
+ # topic_message_retention_duration` are always available to subscribers. See the
1254
+ # `message_retention_duration` field in `Topic`. This field is set only in
1255
+ # responses from the server; it is ignored if it is set in any requests.
1256
+ # Corresponds to the JSON property `topicMessageRetentionDuration`
1257
+ # @return [String]
1258
+ attr_accessor :topic_message_retention_duration
1259
+
1250
1260
  def initialize(**args)
1251
1261
  update!(**args)
1252
1262
  end
@@ -1266,6 +1276,7 @@ module Google
1266
1276
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1267
1277
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1268
1278
  @topic = args[:topic] if args.key?(:topic)
1279
+ @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1269
1280
  end
1270
1281
  end
1271
1282
 
@@ -1326,6 +1337,18 @@ module Google
1326
1337
  # @return [Hash<String,String>]
1327
1338
  attr_accessor :labels
1328
1339
 
1340
+ # Indicates the minimum duration to retain a message after it is published to
1341
+ # the topic. If this field is set, messages published to the topic in the last `
1342
+ # message_retention_duration` are always available to subscribers. For instance,
1343
+ # it allows any attached subscription to [seek to a timestamp](https://cloud.
1344
+ # google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `
1345
+ # message_retention_duration` in the past. If this field is not set, message
1346
+ # retention is controlled by settings on individual subscriptions. Cannot be
1347
+ # more than 7 days or less than 10 minutes.
1348
+ # Corresponds to the JSON property `messageRetentionDuration`
1349
+ # @return [String]
1350
+ attr_accessor :message_retention_duration
1351
+
1329
1352
  # A policy constraining the storage of messages published to the topic.
1330
1353
  # Corresponds to the JSON property `messageStoragePolicy`
1331
1354
  # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
@@ -1360,6 +1383,7 @@ module Google
1360
1383
  def update!(**args)
1361
1384
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1362
1385
  @labels = args[:labels] if args.key?(:labels)
1386
+ @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
1363
1387
  @message_storage_policy = args[:message_storage_policy] if args.key?(:message_storage_policy)
1364
1388
  @name = args[:name] if args.key?(:name)
1365
1389
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
25
+ REVISION = "20210816"
26
26
  end
27
27
  end
28
28
  end
@@ -580,6 +580,7 @@ module Google
580
580
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation
581
581
 
582
582
  property :topic, as: 'topic'
583
+ property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
583
584
  end
584
585
  end
585
586
 
@@ -602,6 +603,7 @@ module Google
602
603
  class Representation < Google::Apis::Core::JsonRepresentation
603
604
  property :kms_key_name, as: 'kmsKeyName'
604
605
  hash :labels, as: 'labels'
606
+ property :message_retention_duration, as: 'messageRetentionDuration'
605
607
  property :message_storage_policy, as: 'messageStoragePolicy', class: Google::Apis::PubsubV1::MessageStoragePolicy, decorator: Google::Apis::PubsubV1::MessageStoragePolicy::Representation
606
608
 
607
609
  property :name, as: 'name'
@@ -125,7 +125,7 @@ module Google
125
125
  # `schema``.
126
126
  # @param [String] view
127
127
  # The set of fields to return in the response. If not set, returns a Schema with
128
- # `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
128
+ # all fields filled out. Set to `BASIC` to omit the `definition`.
129
129
  # @param [String] fields
130
130
  # Selector specifying which fields to include in a partial response.
131
131
  # @param [String] quota_user
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View and manage Pub/Sub topics and subscriptions
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.7.0
4
+ version: 0.8.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-pubsub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []