google-apis-pubsub_v1 0.63.0 → 0.65.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: 27c3d4b516cc31920cc08d55779742e590c287620a08a55ca50317455136e068
|
|
4
|
+
data.tar.gz: e1af85535787a7690d04b1709198eb298cb19920724cf1a94ee5c9bb4451f5af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38ad02ba670104f0c4acd21a085c99acc65e8320b88f311d18d8c721adb8ca9cac47370839ec44a4985a58d0ed1d87b3548e1484da5b7dba13da74bf70bac8b2
|
|
7
|
+
data.tar.gz: 2d28053c4cb42a730b64c9dcb6df0581d955a3fcf248fc973b877ca0b314289ee8ca9292dcdf9c1c873a3928583debee6c2c31a7cf44f197b396fb2a019b52ac
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-pubsub_v1
|
|
2
2
|
|
|
3
|
+
### v0.65.0 (2026-01-25)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260116
|
|
6
|
+
|
|
7
|
+
### v0.64.0 (2025-12-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251212
|
|
10
|
+
|
|
3
11
|
### v0.63.0 (2025-11-09)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251025
|
|
@@ -22,6 +22,45 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module PubsubV1
|
|
24
24
|
|
|
25
|
+
# Configuration for making inference requests against Vertex AI models.
|
|
26
|
+
class AiInference
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Required. An endpoint to a Vertex AI model of the form `projects/`project`/
|
|
30
|
+
# locations/`location`/endpoints/`endpoint`` or `projects/`project`/locations/`
|
|
31
|
+
# location`/publishers/`publisher`/models/`model``. Vertex AI API requests will
|
|
32
|
+
# be sent to this endpoint.
|
|
33
|
+
# Corresponds to the JSON property `endpoint`
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :endpoint
|
|
36
|
+
|
|
37
|
+
# Optional. The service account to use to make prediction requests against
|
|
38
|
+
# endpoints. The resource creator or updater that specifies this field must have
|
|
39
|
+
# `iam.serviceAccounts.actAs` permission on the service account. If not
|
|
40
|
+
# specified, the Pub/Sub [service agent](`$universe.dns_names.
|
|
41
|
+
# final_documentation_domain`/iam/docs/service-agents), service-`project_number`@
|
|
42
|
+
# gcp-sa-pubsub.iam.gserviceaccount.com, is used.
|
|
43
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
|
44
|
+
# @return [String]
|
|
45
|
+
attr_accessor :service_account_email
|
|
46
|
+
|
|
47
|
+
# Configuration for making inferences using arbitrary JSON payloads.
|
|
48
|
+
# Corresponds to the JSON property `unstructuredInference`
|
|
49
|
+
# @return [Google::Apis::PubsubV1::UnstructuredInference]
|
|
50
|
+
attr_accessor :unstructured_inference
|
|
51
|
+
|
|
52
|
+
def initialize(**args)
|
|
53
|
+
update!(**args)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Update properties of this object
|
|
57
|
+
def update!(**args)
|
|
58
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
|
59
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
|
60
|
+
@unstructured_inference = args[:unstructured_inference] if args.key?(:unstructured_inference)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
25
64
|
# Request for the Acknowledge method.
|
|
26
65
|
class AcknowledgeRequest
|
|
27
66
|
include Google::Apis::Core::Hashable
|
|
@@ -1199,6 +1238,11 @@ module Google
|
|
|
1199
1238
|
class MessageTransform
|
|
1200
1239
|
include Google::Apis::Core::Hashable
|
|
1201
1240
|
|
|
1241
|
+
# Configuration for making inference requests against Vertex AI models.
|
|
1242
|
+
# Corresponds to the JSON property `aiInference`
|
|
1243
|
+
# @return [Google::Apis::PubsubV1::AiInference]
|
|
1244
|
+
attr_accessor :ai_inference
|
|
1245
|
+
|
|
1202
1246
|
# Optional. If true, the transform is disabled and will not be applied to
|
|
1203
1247
|
# messages. Defaults to `false`.
|
|
1204
1248
|
# Corresponds to the JSON property `disabled`
|
|
@@ -1225,6 +1269,7 @@ module Google
|
|
|
1225
1269
|
|
|
1226
1270
|
# Update properties of this object
|
|
1227
1271
|
def update!(**args)
|
|
1272
|
+
@ai_inference = args[:ai_inference] if args.key?(:ai_inference)
|
|
1228
1273
|
@disabled = args[:disabled] if args.key?(:disabled)
|
|
1229
1274
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
1230
1275
|
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
|
|
@@ -2144,12 +2189,12 @@ module Google
|
|
|
2144
2189
|
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
|
2145
2190
|
attr_accessor :message_transforms
|
|
2146
2191
|
|
|
2147
|
-
# Required. The name of the subscription. It must have the format `"
|
|
2148
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
2149
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
2150
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
2151
|
-
#
|
|
2152
|
-
# with `"goog"`.
|
|
2192
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
2193
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
2194
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
2195
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
2196
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
2197
|
+
# must not start with `"goog"`.
|
|
2153
2198
|
# Corresponds to the JSON property `name`
|
|
2154
2199
|
# @return [String]
|
|
2155
2200
|
attr_accessor :name
|
|
@@ -2361,11 +2406,12 @@ module Google
|
|
|
2361
2406
|
# @return [Array<Google::Apis::PubsubV1::MessageTransform>]
|
|
2362
2407
|
attr_accessor :message_transforms
|
|
2363
2408
|
|
|
2364
|
-
# Required. The name of the topic. It must have the format `"
|
|
2365
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
2366
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
2367
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
2368
|
-
# 255 characters in length, and it must not start
|
|
2409
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
2410
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
2411
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
2412
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
2413
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
2414
|
+
# with `"goog"`.
|
|
2369
2415
|
# Corresponds to the JSON property `name`
|
|
2370
2416
|
# @return [String]
|
|
2371
2417
|
attr_accessor :name
|
|
@@ -2414,6 +2460,27 @@ module Google
|
|
|
2414
2460
|
end
|
|
2415
2461
|
end
|
|
2416
2462
|
|
|
2463
|
+
# Configuration for making inferences using arbitrary JSON payloads.
|
|
2464
|
+
class UnstructuredInference
|
|
2465
|
+
include Google::Apis::Core::Hashable
|
|
2466
|
+
|
|
2467
|
+
# Optional. A parameters object to be included in each inference request. The
|
|
2468
|
+
# parameters object is combined with the data field of the Pub/Sub message to
|
|
2469
|
+
# form the inference request.
|
|
2470
|
+
# Corresponds to the JSON property `parameters`
|
|
2471
|
+
# @return [Hash<String,Object>]
|
|
2472
|
+
attr_accessor :parameters
|
|
2473
|
+
|
|
2474
|
+
def initialize(**args)
|
|
2475
|
+
update!(**args)
|
|
2476
|
+
end
|
|
2477
|
+
|
|
2478
|
+
# Update properties of this object
|
|
2479
|
+
def update!(**args)
|
|
2480
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
2481
|
+
end
|
|
2482
|
+
end
|
|
2483
|
+
|
|
2417
2484
|
# Request for the UpdateSnapshot method.
|
|
2418
2485
|
class UpdateSnapshotRequest
|
|
2419
2486
|
include Google::Apis::Core::Hashable
|
|
@@ -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.65.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260116"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module PubsubV1
|
|
24
24
|
|
|
25
|
+
class AiInference
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
class AcknowledgeRequest
|
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
33
|
|
|
@@ -376,6 +382,12 @@ module Google
|
|
|
376
382
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
383
|
end
|
|
378
384
|
|
|
385
|
+
class UnstructuredInference
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
379
391
|
class UpdateSnapshotRequest
|
|
380
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
393
|
|
|
@@ -418,6 +430,16 @@ module Google
|
|
|
418
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
431
|
end
|
|
420
432
|
|
|
433
|
+
class AiInference
|
|
434
|
+
# @private
|
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
436
|
+
property :endpoint, as: 'endpoint'
|
|
437
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
|
438
|
+
property :unstructured_inference, as: 'unstructuredInference', class: Google::Apis::PubsubV1::UnstructuredInference, decorator: Google::Apis::PubsubV1::UnstructuredInference::Representation
|
|
439
|
+
|
|
440
|
+
end
|
|
441
|
+
end
|
|
442
|
+
|
|
421
443
|
class AcknowledgeRequest
|
|
422
444
|
# @private
|
|
423
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -705,6 +727,8 @@ module Google
|
|
|
705
727
|
class MessageTransform
|
|
706
728
|
# @private
|
|
707
729
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
730
|
+
property :ai_inference, as: 'aiInference', class: Google::Apis::PubsubV1::AiInference, decorator: Google::Apis::PubsubV1::AiInference::Representation
|
|
731
|
+
|
|
708
732
|
property :disabled, as: 'disabled'
|
|
709
733
|
property :enabled, as: 'enabled'
|
|
710
734
|
property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::PubsubV1::JavaScriptUdf, decorator: Google::Apis::PubsubV1::JavaScriptUdf::Representation
|
|
@@ -989,6 +1013,13 @@ module Google
|
|
|
989
1013
|
end
|
|
990
1014
|
end
|
|
991
1015
|
|
|
1016
|
+
class UnstructuredInference
|
|
1017
|
+
# @private
|
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1019
|
+
hash :parameters, as: 'parameters'
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
|
|
992
1023
|
class UpdateSnapshotRequest
|
|
993
1024
|
# @private
|
|
994
1025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -906,12 +906,12 @@ module Google
|
|
|
906
906
|
# is populated in the returned Subscription object. Note that for REST API
|
|
907
907
|
# requests, you must specify a name in the request.
|
|
908
908
|
# @param [String] name
|
|
909
|
-
# Required. The name of the subscription. It must have the format `"
|
|
910
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
911
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
912
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
913
|
-
#
|
|
914
|
-
# with `"goog"`.
|
|
909
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
910
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
911
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
912
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
913
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
914
|
+
# must not start with `"goog"`.
|
|
915
915
|
# @param [Google::Apis::PubsubV1::Subscription] subscription_object
|
|
916
916
|
# @param [String] fields
|
|
917
917
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1206,12 +1206,12 @@ module Google
|
|
|
1206
1206
|
# update mask. Note that certain properties of a subscription, such as its topic,
|
|
1207
1207
|
# are not modifiable.
|
|
1208
1208
|
# @param [String] name
|
|
1209
|
-
# Required. The name of the subscription. It must have the format `"
|
|
1210
|
-
# project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
1211
|
-
# letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
1212
|
-
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
1213
|
-
#
|
|
1214
|
-
# with `"goog"`.
|
|
1209
|
+
# Required. Identifier. The name of the subscription. It must have the format `"
|
|
1210
|
+
# projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start
|
|
1211
|
+
# with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`),
|
|
1212
|
+
# dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or
|
|
1213
|
+
# percent signs (`%`). It must be between 3 and 255 characters in length, and it
|
|
1214
|
+
# must not start with `"goog"`.
|
|
1215
1215
|
# @param [Google::Apis::PubsubV1::UpdateSubscriptionRequest] update_subscription_request_object
|
|
1216
1216
|
# @param [String] fields
|
|
1217
1217
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1394,11 +1394,12 @@ module Google
|
|
|
1394
1394
|
# Creates the given topic with the given name. See the [resource name rules] (
|
|
1395
1395
|
# https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
|
|
1396
1396
|
# @param [String] name
|
|
1397
|
-
# Required. The name of the topic. It must have the format `"
|
|
1398
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1399
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1400
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
1401
|
-
# 255 characters in length, and it must not start
|
|
1397
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
1398
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1399
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1400
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
1401
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
1402
|
+
# with `"goog"`.
|
|
1402
1403
|
# @param [Google::Apis::PubsubV1::Topic] topic_object
|
|
1403
1404
|
# @param [String] fields
|
|
1404
1405
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1582,11 +1583,12 @@ module Google
|
|
|
1582
1583
|
# Updates an existing topic by updating the fields specified in the update mask.
|
|
1583
1584
|
# Note that certain properties of a topic are not modifiable.
|
|
1584
1585
|
# @param [String] name
|
|
1585
|
-
# Required. The name of the topic. It must have the format `"
|
|
1586
|
-
# topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1587
|
-
# (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1588
|
-
# , tildes (`~`), plus (`+`) or percent signs (
|
|
1589
|
-
# 255 characters in length, and it must not start
|
|
1586
|
+
# Required. Identifier. The name of the topic. It must have the format `"
|
|
1587
|
+
# projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and
|
|
1588
|
+
# contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),
|
|
1589
|
+
# underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%
|
|
1590
|
+
# `). It must be between 3 and 255 characters in length, and it must not start
|
|
1591
|
+
# with `"goog"`.
|
|
1590
1592
|
# @param [Google::Apis::PubsubV1::UpdateTopicRequest] update_topic_request_object
|
|
1591
1593
|
# @param [String] fields
|
|
1592
1594
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.65.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.65.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|