google-apis-pubsub_v1 0.4.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: 4e04a2442d07c736006126af99f1af8d9047c1e1f016137a9216ced51c4ba738
4
- data.tar.gz: 33b0443dd566b61121536da86e04fe4bbe3ab6271e60df2b0439eca417a8b5e6
3
+ metadata.gz: ab9bc491b685bc26c8e42e4362e450c979b666168d86201d543cebf6a3325d63
4
+ data.tar.gz: c3e3b10f37a29c7a64cb0a30abfa7d6f08da89a61d1755cc47bbd16786ae4b8e
5
5
  SHA512:
6
- metadata.gz: e15ec1fec9e64a93159e08bcb0c5bbbbe79fd61d227a95592897c11f9cae6ce4795b7707710a3bd609d5bb063cb15fe8a0b9926bf6164ef3f51b48baa06be2da
7
- data.tar.gz: 6d99e42fecba973b53a6fd52387fdac9de0fd28fa8786a4dc443f25aca83b4c2c84d628c7ee72bd16cfb6da04f161885e7b559b38bb2d3926f2a8222034cfedc
6
+ metadata.gz: eb2c9b58720c66395f655b3fceb9d102ac1cab4b43c4ef933a2b93a9ef97c29e50286f299a1f07147da681df5c9ad466d887820bd9264eb148abf62449859041
7
+ data.tar.gz: 7654028b11df41dbcbdd67c3ec6fe5ccf2398794886cf7df0a7f5b4a9c390bb92f2c54e1f5f4c9a69ae13c3ab2751c21970a8f20df49f2823b7ebad0aeabaa56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.7.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.6.0 (2021-06-24)
12
+
13
+ * Regenerated using generator version 0.3.0
14
+
15
+ ### v0.5.0 (2021-05-19)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.4.0 (2021-04-02)
4
20
 
5
21
  * Regenerated from discovery document revision 20210322
@@ -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.4.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
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,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.4.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-04-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
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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.8.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: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
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