google-apis-pubsub_v1 0.30.0 → 0.45.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.
@@ -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.30.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220904"
25
+ REVISION = "20231212"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AvroConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class BigQueryConfig
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -40,6 +46,18 @@ module Google
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class CloudStorageConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CommitSchemaRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class CreateSnapshotRequest
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -76,6 +94,12 @@ module Google
76
94
  include Google::Apis::Core::JsonObjectSupport
77
95
  end
78
96
 
97
+ class ListSchemaRevisionsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
79
103
  class ListSchemasResponse
80
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
105
 
@@ -130,6 +154,12 @@ module Google
130
154
  include Google::Apis::Core::JsonObjectSupport
131
155
  end
132
156
 
157
+ class NoWrapper
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class OidcToken
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -160,6 +190,12 @@ module Google
160
190
  include Google::Apis::Core::JsonObjectSupport
161
191
  end
162
192
 
193
+ class PubsubWrapper
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
163
199
  class PullRequest
164
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
201
 
@@ -190,6 +226,12 @@ module Google
190
226
  include Google::Apis::Core::JsonObjectSupport
191
227
  end
192
228
 
229
+ class RollbackSchemaRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
193
235
  class Schema
194
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
237
 
@@ -244,6 +286,12 @@ module Google
244
286
  include Google::Apis::Core::JsonObjectSupport
245
287
  end
246
288
 
289
+ class TextConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
247
295
  class Topic
248
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
297
 
@@ -299,12 +347,20 @@ module Google
299
347
  end
300
348
  end
301
349
 
350
+ class AvroConfig
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :write_metadata, as: 'writeMetadata'
354
+ end
355
+ end
356
+
302
357
  class BigQueryConfig
303
358
  # @private
304
359
  class Representation < Google::Apis::Core::JsonRepresentation
305
360
  property :drop_unknown_fields, as: 'dropUnknownFields'
306
361
  property :state, as: 'state'
307
362
  property :table, as: 'table'
363
+ property :use_table_schema, as: 'useTableSchema'
308
364
  property :use_topic_schema, as: 'useTopicSchema'
309
365
  property :write_metadata, as: 'writeMetadata'
310
366
  end
@@ -320,6 +376,30 @@ module Google
320
376
  end
321
377
  end
322
378
 
379
+ class CloudStorageConfig
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :avro_config, as: 'avroConfig', class: Google::Apis::PubsubV1::AvroConfig, decorator: Google::Apis::PubsubV1::AvroConfig::Representation
383
+
384
+ property :bucket, as: 'bucket'
385
+ property :filename_prefix, as: 'filenamePrefix'
386
+ property :filename_suffix, as: 'filenameSuffix'
387
+ property :max_bytes, :numeric_string => true, as: 'maxBytes'
388
+ property :max_duration, as: 'maxDuration'
389
+ property :state, as: 'state'
390
+ property :text_config, as: 'textConfig', class: Google::Apis::PubsubV1::TextConfig, decorator: Google::Apis::PubsubV1::TextConfig::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class CommitSchemaRequest
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :schema, as: 'schema', class: Google::Apis::PubsubV1::Schema, decorator: Google::Apis::PubsubV1::Schema::Representation
399
+
400
+ end
401
+ end
402
+
323
403
  class CreateSnapshotRequest
324
404
  # @private
325
405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +445,15 @@ module Google
365
445
  end
366
446
  end
367
447
 
448
+ class ListSchemaRevisionsResponse
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :next_page_token, as: 'nextPageToken'
452
+ collection :schemas, as: 'schemas', class: Google::Apis::PubsubV1::Schema, decorator: Google::Apis::PubsubV1::Schema::Representation
453
+
454
+ end
455
+ end
456
+
368
457
  class ListSchemasResponse
369
458
  # @private
370
459
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -421,6 +510,7 @@ module Google
421
510
  # @private
422
511
  class Representation < Google::Apis::Core::JsonRepresentation
423
512
  collection :allowed_persistence_regions, as: 'allowedPersistenceRegions'
513
+ property :enforce_in_transit, as: 'enforceInTransit'
424
514
  end
425
515
  end
426
516
 
@@ -440,6 +530,13 @@ module Google
440
530
  end
441
531
  end
442
532
 
533
+ class NoWrapper
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :write_metadata, as: 'writeMetadata'
537
+ end
538
+ end
539
+
443
540
  class OidcToken
444
541
  # @private
445
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -484,6 +581,12 @@ module Google
484
581
  end
485
582
  end
486
583
 
584
+ class PubsubWrapper
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ end
588
+ end
589
+
487
590
  class PullRequest
488
591
  # @private
489
592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -504,8 +607,12 @@ module Google
504
607
  # @private
505
608
  class Representation < Google::Apis::Core::JsonRepresentation
506
609
  hash :attributes, as: 'attributes'
610
+ property :no_wrapper, as: 'noWrapper', class: Google::Apis::PubsubV1::NoWrapper, decorator: Google::Apis::PubsubV1::NoWrapper::Representation
611
+
507
612
  property :oidc_token, as: 'oidcToken', class: Google::Apis::PubsubV1::OidcToken, decorator: Google::Apis::PubsubV1::OidcToken::Representation
508
613
 
614
+ property :pubsub_wrapper, as: 'pubsubWrapper', class: Google::Apis::PubsubV1::PubsubWrapper, decorator: Google::Apis::PubsubV1::PubsubWrapper::Representation
615
+
509
616
  property :push_endpoint, as: 'pushEndpoint'
510
617
  end
511
618
  end
@@ -528,6 +635,13 @@ module Google
528
635
  end
529
636
  end
530
637
 
638
+ class RollbackSchemaRequest
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :revision_id, as: 'revisionId'
642
+ end
643
+ end
644
+
531
645
  class Schema
532
646
  # @private
533
647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -587,6 +701,8 @@ module Google
587
701
  property :ack_deadline_seconds, as: 'ackDeadlineSeconds'
588
702
  property :bigquery_config, as: 'bigqueryConfig', class: Google::Apis::PubsubV1::BigQueryConfig, decorator: Google::Apis::PubsubV1::BigQueryConfig::Representation
589
703
 
704
+ property :cloud_storage_config, as: 'cloudStorageConfig', class: Google::Apis::PubsubV1::CloudStorageConfig, decorator: Google::Apis::PubsubV1::CloudStorageConfig::Representation
705
+
590
706
  property :dead_letter_policy, as: 'deadLetterPolicy', class: Google::Apis::PubsubV1::DeadLetterPolicy, decorator: Google::Apis::PubsubV1::DeadLetterPolicy::Representation
591
707
 
592
708
  property :detached, as: 'detached'
@@ -623,6 +739,12 @@ module Google
623
739
  end
624
740
  end
625
741
 
742
+ class TextConfig
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ end
746
+ end
747
+
626
748
  class Topic
627
749
  # @private
628
750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -49,6 +49,40 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Commits a new schema revision to an existing schema.
53
+ # @param [String] name
54
+ # Required. The name of the schema we are revising. Format is `projects/`project`
55
+ # /schemas/`schema``.
56
+ # @param [Google::Apis::PubsubV1::CommitSchemaRequest] commit_schema_request_object
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::PubsubV1::Schema] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::PubsubV1::Schema]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def commit_schema(name, commit_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:post, 'v1/{+name}:commit', options)
76
+ command.request_representation = Google::Apis::PubsubV1::CommitSchemaRequest::Representation
77
+ command.request_object = commit_schema_request_object
78
+ command.response_representation = Google::Apis::PubsubV1::Schema::Representation
79
+ command.response_class = Google::Apis::PubsubV1::Schema
80
+ command.params['name'] = name unless name.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
52
86
  # Creates a schema.
53
87
  # @param [String] parent
54
88
  # Required. The name of the project in which to create the schema. Format is `
@@ -56,7 +90,7 @@ module Google
56
90
  # @param [Google::Apis::PubsubV1::Schema] schema_object
57
91
  # @param [String] schema_id
58
92
  # The ID to use for the schema, which will become the final component of the
59
- # 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#
60
94
  # resource_names for resource name constraints.
61
95
  # @param [String] fields
62
96
  # Selector specifying which fields to include in a partial response.
@@ -119,6 +153,41 @@ module Google
119
153
  execute_or_queue_command(command, &block)
120
154
  end
121
155
 
156
+ # Deletes a specific schema revision.
157
+ # @param [String] name
158
+ # Required. The name of the schema revision to be deleted, with a revision ID
159
+ # explicitly included. Example: `projects/123/schemas/my-schema@c7cfa2a8`
160
+ # @param [String] revision_id
161
+ # Optional. This field is deprecated and should not be used for specifying the
162
+ # revision ID. The revision ID should be specified via the `name` parameter.
163
+ # @param [String] fields
164
+ # Selector specifying which fields to include in a partial response.
165
+ # @param [String] quota_user
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
168
+ # @param [Google::Apis::RequestOptions] options
169
+ # Request-specific options
170
+ #
171
+ # @yield [result, err] Result & error if block supplied
172
+ # @yieldparam result [Google::Apis::PubsubV1::Schema] parsed result object
173
+ # @yieldparam err [StandardError] error object if request failed
174
+ #
175
+ # @return [Google::Apis::PubsubV1::Schema]
176
+ #
177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
180
+ def delete_project_schema_revision(name, revision_id: nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:delete, 'v1/{+name}:deleteRevision', options)
182
+ command.response_representation = Google::Apis::PubsubV1::Schema::Representation
183
+ command.response_class = Google::Apis::PubsubV1::Schema
184
+ command.params['name'] = name unless name.nil?
185
+ command.query['revisionId'] = revision_id unless revision_id.nil?
186
+ command.query['fields'] = fields unless fields.nil?
187
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
188
+ execute_or_queue_command(command, &block)
189
+ end
190
+
122
191
  # Gets a schema.
123
192
  # @param [String] name
124
193
  # Required. The name of the schema to get. Format is `projects/`project`/schemas/
@@ -243,6 +312,81 @@ module Google
243
312
  execute_or_queue_command(command, &block)
244
313
  end
245
314
 
315
+ # Lists all schema revisions for the named schema.
316
+ # @param [String] name
317
+ # Required. The name of the schema to list revisions for.
318
+ # @param [Fixnum] page_size
319
+ # The maximum number of revisions to return per page.
320
+ # @param [String] page_token
321
+ # The page token, received from a previous ListSchemaRevisions call. Provide
322
+ # this to retrieve the subsequent page.
323
+ # @param [String] view
324
+ # The set of Schema fields to return in the response. If not set, returns
325
+ # Schemas with `name` and `type`, but not `definition`. Set to `FULL` to
326
+ # retrieve all fields.
327
+ # @param [String] fields
328
+ # Selector specifying which fields to include in a partial response.
329
+ # @param [String] quota_user
330
+ # Available to use for quota purposes for server-side applications. Can be any
331
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
332
+ # @param [Google::Apis::RequestOptions] options
333
+ # Request-specific options
334
+ #
335
+ # @yield [result, err] Result & error if block supplied
336
+ # @yieldparam result [Google::Apis::PubsubV1::ListSchemaRevisionsResponse] parsed result object
337
+ # @yieldparam err [StandardError] error object if request failed
338
+ #
339
+ # @return [Google::Apis::PubsubV1::ListSchemaRevisionsResponse]
340
+ #
341
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
342
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
343
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
344
+ def list_project_schema_revisions(name, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
345
+ command = make_simple_command(:get, 'v1/{+name}:listRevisions', options)
346
+ command.response_representation = Google::Apis::PubsubV1::ListSchemaRevisionsResponse::Representation
347
+ command.response_class = Google::Apis::PubsubV1::ListSchemaRevisionsResponse
348
+ command.params['name'] = name unless name.nil?
349
+ command.query['pageSize'] = page_size unless page_size.nil?
350
+ command.query['pageToken'] = page_token unless page_token.nil?
351
+ command.query['view'] = view unless view.nil?
352
+ command.query['fields'] = fields unless fields.nil?
353
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
354
+ execute_or_queue_command(command, &block)
355
+ end
356
+
357
+ # Creates a new schema revision that is a copy of the provided revision_id.
358
+ # @param [String] name
359
+ # Required. The schema being rolled back with revision id.
360
+ # @param [Google::Apis::PubsubV1::RollbackSchemaRequest] rollback_schema_request_object
361
+ # @param [String] fields
362
+ # Selector specifying which fields to include in a partial response.
363
+ # @param [String] quota_user
364
+ # Available to use for quota purposes for server-side applications. Can be any
365
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
366
+ # @param [Google::Apis::RequestOptions] options
367
+ # Request-specific options
368
+ #
369
+ # @yield [result, err] Result & error if block supplied
370
+ # @yieldparam result [Google::Apis::PubsubV1::Schema] parsed result object
371
+ # @yieldparam err [StandardError] error object if request failed
372
+ #
373
+ # @return [Google::Apis::PubsubV1::Schema]
374
+ #
375
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
376
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
377
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
378
+ def rollback_schema(name, rollback_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
379
+ command = make_simple_command(:post, 'v1/{+name}:rollback', options)
380
+ command.request_representation = Google::Apis::PubsubV1::RollbackSchemaRequest::Representation
381
+ command.request_object = rollback_schema_request_object
382
+ command.response_representation = Google::Apis::PubsubV1::Schema::Representation
383
+ command.response_class = Google::Apis::PubsubV1::Schema
384
+ command.params['name'] = name unless name.nil?
385
+ command.query['fields'] = fields unless fields.nil?
386
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
387
+ execute_or_queue_command(command, &block)
388
+ end
389
+
246
390
  # Sets the access control policy on the specified resource. Replaces any
247
391
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
248
392
  # PERMISSION_DENIED` errors.
@@ -398,15 +542,17 @@ module Google
398
542
  # returned. See also the `Snapshot.expire_time` field. If the name is not
399
543
  # provided in the request, the server will assign a random name for this
400
544
  # snapshot on the same project as the subscription, conforming to the [resource
401
- # name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The
402
- # generated name is populated in the returned Snapshot object. Note that for
403
- # 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.
404
549
  # @param [String] name
405
550
  # Required. User-provided name for this snapshot. If the name is not provided in
406
551
  # the request, the server will assign a random name for this snapshot on the
407
552
  # same project as the subscription. Note that for REST API requests, you must
408
553
  # specify a name. See the [resource name rules](https://cloud.google.com/pubsub/
409
- # docs/admin#resource_names). Format is `projects/`project`/snapshots/`snap``.
554
+ # docs/pubsub-basics#resource_names). Format is `projects/`project`/snapshots/`
555
+ # snap``.
410
556
  # @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
411
557
  # @param [String] fields
412
558
  # Selector specifying which fields to include in a partial response.
@@ -563,11 +709,11 @@ module Google
563
709
  # Required. The name of the project in which to list snapshots. Format is `
564
710
  # projects/`project-id``.
565
711
  # @param [Fixnum] page_size
566
- # Maximum number of snapshots to return.
712
+ # Optional. Maximum number of snapshots to return.
567
713
  # @param [String] page_token
568
- # The value returned by the last `ListSnapshotsResponse`; indicates that this is
569
- # a continuation of a prior `ListSnapshots` call, and that the system should
570
- # return the next page of data.
714
+ # Optional. The value returned by the last `ListSnapshotsResponse`; indicates
715
+ # that this is a continuation of a prior `ListSnapshots` call, and that the
716
+ # system should return the next page of data.
571
717
  # @param [String] fields
572
718
  # Selector specifying which fields to include in a partial response.
573
719
  # @param [String] quota_user
@@ -602,7 +748,7 @@ module Google
602
748
  # message acknowledgments in bulk. That is, you can set the acknowledgment state
603
749
  # of messages in an existing subscription to the state captured by a snapshot.
604
750
  # @param [String] name
605
- # The name of the snapshot.
751
+ # Optional. The name of the snapshot.
606
752
  # @param [Google::Apis::PubsubV1::UpdateSnapshotRequest] update_snapshot_request_object
607
753
  # @param [String] fields
608
754
  # Selector specifying which fields to include in a partial response.
@@ -748,14 +894,14 @@ module Google
748
894
  end
749
895
 
750
896
  # Creates a subscription to a given topic. See the [resource name rules] (https:/
751
- # /cloud.google.com/pubsub/docs/admin#resource_names). If the subscription
752
- # already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't
753
- # exist, returns `NOT_FOUND`. If the name is not provided in the request, the
754
- # server will assign a random name for this subscription on the same project as
755
- # the topic, conforming to the [resource name format] (https://cloud.google.com/
756
- # pubsub/docs/admin#resource_names). The generated name is populated in the
757
- # returned Subscription object. Note that for REST API requests, you must
758
- # 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.
759
905
  # @param [String] name
760
906
  # Required. The name of the subscription. It must have the format `"projects/`
761
907
  # project`/subscriptions/`subscription`"`. ``subscription`` must start with a
@@ -943,11 +1089,11 @@ module Google
943
1089
  # Required. The name of the project in which to list subscriptions. Format is `
944
1090
  # projects/`project-id``.
945
1091
  # @param [Fixnum] page_size
946
- # Maximum number of subscriptions to return.
1092
+ # Optional. Maximum number of subscriptions to return.
947
1093
  # @param [String] page_token
948
- # The value returned by the last `ListSubscriptionsResponse`; indicates that
949
- # this is a continuation of a prior `ListSubscriptions` call, and that the
950
- # system should return the next page of data.
1094
+ # Optional. The value returned by the last `ListSubscriptionsResponse`;
1095
+ # indicates that this is a continuation of a prior `ListSubscriptions` call, and
1096
+ # that the system should return the next page of data.
951
1097
  # @param [String] fields
952
1098
  # Selector specifying which fields to include in a partial response.
953
1099
  # @param [String] quota_user
@@ -1242,7 +1388,7 @@ module Google
1242
1388
  end
1243
1389
 
1244
1390
  # Creates the given topic with the given name. See the [resource name rules] (
1245
- # https://cloud.google.com/pubsub/docs/admin#resource_names).
1391
+ # https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
1246
1392
  # @param [String] name
1247
1393
  # Required. The name of the topic. It must have the format `"projects/`project`/
1248
1394
  # topics/`topic`"`. ``topic`` must start with a letter, and contain only letters
@@ -1395,11 +1541,11 @@ module Google
1395
1541
  # Required. The name of the project in which to list topics. Format is `projects/
1396
1542
  # `project-id``.
1397
1543
  # @param [Fixnum] page_size
1398
- # Maximum number of topics to return.
1544
+ # Optional. Maximum number of topics to return.
1399
1545
  # @param [String] page_token
1400
- # The value returned by the last `ListTopicsResponse`; indicates that this is a
1401
- # continuation of a prior `ListTopics` call, and that the system should return
1402
- # the next page of data.
1546
+ # Optional. The value returned by the last `ListTopicsResponse`; indicates that
1547
+ # this is a continuation of a prior `ListTopics` call, and that the system
1548
+ # should return the next page of data.
1403
1549
  # @param [String] fields
1404
1550
  # Selector specifying which fields to include in a partial response.
1405
1551
  # @param [String] quota_user
@@ -1587,11 +1733,11 @@ module Google
1587
1733
  # Required. The name of the topic that snapshots are attached to. Format is `
1588
1734
  # projects/`project`/topics/`topic``.
1589
1735
  # @param [Fixnum] page_size
1590
- # Maximum number of snapshot names to return.
1736
+ # Optional. Maximum number of snapshot names to return.
1591
1737
  # @param [String] page_token
1592
- # The value returned by the last `ListTopicSnapshotsResponse`; indicates that
1593
- # this is a continuation of a prior `ListTopicSnapshots` call, and that the
1594
- # system should return the next page of data.
1738
+ # Optional. The value returned by the last `ListTopicSnapshotsResponse`;
1739
+ # indicates that this is a continuation of a prior `ListTopicSnapshots` call,
1740
+ # and that the system should return the next page of data.
1595
1741
  # @param [String] fields
1596
1742
  # Selector specifying which fields to include in a partial response.
1597
1743
  # @param [String] quota_user
@@ -1626,11 +1772,11 @@ module Google
1626
1772
  # Required. The name of the topic that subscriptions are attached to. Format is `
1627
1773
  # projects/`project`/topics/`topic``.
1628
1774
  # @param [Fixnum] page_size
1629
- # Maximum number of subscription names to return.
1775
+ # Optional. Maximum number of subscription names to return.
1630
1776
  # @param [String] page_token
1631
- # The value returned by the last `ListTopicSubscriptionsResponse`; indicates
1632
- # that this is a continuation of a prior `ListTopicSubscriptions` call, and that
1633
- # the system should return the next page of data.
1777
+ # Optional. The value returned by the last `ListTopicSubscriptionsResponse`;
1778
+ # indicates that this is a continuation of a prior `ListTopicSubscriptions` call,
1779
+ # and that the system should return the next page of data.
1634
1780
  # @param [String] fields
1635
1781
  # Selector specifying which fields to include in a partial response.
1636
1782
  # @param [String] quota_user
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.30.0
4
+ version: 0.45.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-10-21 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.45.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.3.14
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