chore: librarian generate pull request: 20260205T210552Z (#1580) · googleapis/python-pubsub@0701113 · GitHub
Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 0701113

Browse files
authored
chore: librarian generate pull request: 20260205T210552Z (#1580)
PR created by the Librarian CLI to generate Cloud Client Libraries code from protos. BEGIN_COMMIT BEGIN_NESTED_COMMIT feat: Add AIInference MessageTransform type PiperOrigin-RevId: 853856321 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@9fb55c41](googleapis/googleapis@9fb55c41) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `topic` in message `.google.pubsub.v1.Subscription` is updated PiperOrigin-RevId: 853856321 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@9fb55c41](googleapis/googleapis@9fb55c41) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `analytics_hub_subscription_info` in message `.google.pubsub.v1.Subscription` is updated PiperOrigin-RevId: 853856321 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@9fb55c41](googleapis/googleapis@9fb55c41) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `subscription` in message `.google.pubsub.v1.CreateSnapshotRequest` is updated PiperOrigin-RevId: 853856321 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@9fb55c41](googleapis/googleapis@9fb55c41) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: add tags documentation links to Pub/Sub resource tags fields PiperOrigin-RevId: 845891076 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@ff251e77](googleapis/googleapis@ff251e77) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: Add the IDENTIFIER field behavior annotation to fields of Cloud Pub/Sub methods that represent a specific identity and need to be sourced with additional care PiperOrigin-RevId: 840763233 Library-IDs: google-cloud-pubsub Source-link: [googleapis/googleapis@d89bb8a1](googleapis/googleapis@d89bb8a1) END_NESTED_COMMIT END_COMMIT This pull request is generated with proto changes between [googleapis/googleapis@9fcfbea0](googleapis/googleapis@9fcfbea) (exclusive) and [googleapis/googleapis@9fb55c41](googleapis/googleapis@9fb55c4) (inclusive). Librarian Version: v0.8.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
1 parent e4b4f52 commit 0701113

18 files changed

Lines changed: 183 additions & 61 deletions

File tree

.librarian/generator-input/librarian.py

Lines changed: 2 additions & 2 deletions

.librarian/state.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-li
22
libraries:
33
- id: google-cloud-pubsub
44
version: 2.34.0
5-
last_generated_commit: 9fcfbea0aa5b50fa22e190faceb073d74504172b
5+
last_generated_commit: 2d0b3a154fb4f56993487c5409850ad3431a2690
66
apis:
77
- path: google/pubsub/v1
88
service_config: pubsub_v1.yaml

google/pubsub/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from google.pubsub_v1.services.subscriber.async_client import SubscriberAsyncClient
2929

3030
from google.pubsub_v1.types.pubsub import AcknowledgeRequest
31+
from google.pubsub_v1.types.pubsub import AIInference
3132
from google.pubsub_v1.types.pubsub import BigQueryConfig
3233
from google.pubsub_v1.types.pubsub import CloudStorageConfig
3334
from google.pubsub_v1.types.pubsub import CreateSnapshotRequest
@@ -104,6 +105,7 @@
104105
"SubscriberClient",
105106
"SubscriberAsyncClient",
106107
"AcknowledgeRequest",
108+
"AIInference",
107109
"BigQueryConfig",
108110
"CloudStorageConfig",
109111
"CreateSnapshotRequest",

google/pubsub_v1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
from .services.subscriber import SubscriberAsyncClient
3737

3838
from .types.pubsub import AcknowledgeRequest
39+
from .types.pubsub import AIInference
3940
from .types.pubsub import BigQueryConfig
4041
from .types.pubsub import CloudStorageConfig
4142
from .types.pubsub import CreateSnapshotRequest
@@ -202,6 +203,7 @@ def _get_version(dependency_name):
202203
"PublisherAsyncClient",
203204
"SchemaServiceAsyncClient",
204205
"SubscriberAsyncClient",
206+
"AIInference",
205207
"AcknowledgeRequest",
206208
"BigQueryConfig",
207209
"CloudStorageConfig",

google/pubsub_v1/services/publisher/async_client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@ async def sample_create_topic():
339339
request (Optional[Union[google.pubsub_v1.types.Topic, dict]]):
340340
The request object. A topic resource.
341341
name (:class:`str`):
342-
Required. The name of the topic. It must have the format
343-
``"projects/{project}/topics/{topic}"``. ``{topic}``
344-
must start with a letter, and contain only letters
345-
(``[A-Za-z]``), numbers (``[0-9]``), dashes (``-``),
346-
underscores (``_``), periods (``.``), tildes (``~``),
347-
plus (``+``) or percent signs (``%``). It must be
348-
between 3 and 255 characters in length, and it must not
349-
start with ``"goog"``.
342+
Required. Identifier. The name of the topic. It must
343+
have the format ``"projects/{project}/topics/{topic}"``.
344+
``{topic}`` must start with a letter, and contain only
345+
letters (``[A-Za-z]``), numbers (``[0-9]``), dashes
346+
(``-``), underscores (``_``), periods (``.``), tildes
347+
(``~``), plus (``+``) or percent signs (``%``). It must
348+
be between 3 and 255 characters in length, and it must
349+
not start with ``"goog"``.
350350
351351
This corresponds to the ``name`` field
352352
on the ``request`` instance; if ``request`` is provided, this

google/pubsub_v1/services/publisher/client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -868,14 +868,14 @@ def sample_create_topic():
868868
request (Union[google.pubsub_v1.types.Topic, dict]):
869869
The request object. A topic resource.
870870
name (str):
871-
Required. The name of the topic. It must have the format
872-
``"projects/{project}/topics/{topic}"``. ``{topic}``
873-
must start with a letter, and contain only letters
874-
(``[A-Za-z]``), numbers (``[0-9]``), dashes (``-``),
875-
underscores (``_``), periods (``.``), tildes (``~``),
876-
plus (``+``) or percent signs (``%``). It must be
877-
between 3 and 255 characters in length, and it must not
878-
start with ``"goog"``.
871+
Required. Identifier. The name of the topic. It must
872+
have the format ``"projects/{project}/topics/{topic}"``.
873+
``{topic}`` must start with a letter, and contain only
874+
letters (``[A-Za-z]``), numbers (``[0-9]``), dashes
875+
(``-``), underscores (``_``), periods (``.``), tildes
876+
(``~``), plus (``+``) or percent signs (``%``). It must
877+
be between 3 and 255 characters in length, and it must
878+
not start with ``"goog"``.
879879
880880
This corresponds to the ``name`` field
881881
on the ``request`` instance; if ``request`` is provided, this

google/pubsub_v1/services/subscriber/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ async def sample_create_subscription():
360360
then the subscriber will pull and ack messages using API
361361
methods. At most one of these fields may be set.
362362
name (:class:`str`):
363-
Required. The name of the subscription. It must have the
364-
format
363+
Required. Identifier. The name of the subscription. It
364+
must have the format
365365
``"projects/{project}/subscriptions/{subscription}"``.
366366
``{subscription}`` must start with a letter, and contain
367367
only letters (``[A-Za-z]``), numbers (``[0-9]``), dashes

google/pubsub_v1/services/subscriber/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,8 @@ def sample_create_subscription():
872872
then the subscriber will pull and ack messages using API
873873
methods. At most one of these fields may be set.
874874
name (str):
875-
Required. The name of the subscription. It must have the
876-
format
875+
Required. Identifier. The name of the subscription. It
876+
must have the format
877877
``"projects/{project}/subscriptions/{subscription}"``.
878878
``{subscription}`` must start with a letter, and contain
879879
only letters (``[A-Za-z]``), numbers (``[0-9]``), dashes

google/pubsub_v1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
from .pubsub import (
1919
AcknowledgeRequest,
20+
AIInference,
2021
BigQueryConfig,
2122
CloudStorageConfig,
2223
CreateSnapshotRequest,
@@ -99,6 +100,7 @@
99100
__all__ = (
100101
"TimeoutType",
101102
"AcknowledgeRequest",
103+
"AIInference",
102104
"BigQueryConfig",
103105
"CloudStorageConfig",
104106
"CreateSnapshotRequest",

google/pubsub_v1/types/pubsub.py

Lines changed: 116 additions & 10 deletions

0 commit comments

Comments
 (0)