Skip to content

Commit 3a489e5

Browse files
feat: generate libraries
1 parent 018b740 commit 3a489e5

258 files changed

Lines changed: 5098 additions & 958 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.librarian/state.yaml

Lines changed: 377 additions & 360 deletions
Large diffs are not rendered by default.

packages/google-ads-admanager/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Supported Python Versions
6161
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
6262
Python.
6363

64-
Python >= 3.7
64+
Python >= 3.7, including 3.14
6565

6666
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6767
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches

packages/google-ads-marketingplatform-admin/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Supported Python Versions
6161
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
6262
Python.
6363

64-
Python >= 3.7
64+
Python >= 3.7, including 3.14
6565

6666
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6767
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches

packages/google-ai-generativelanguage/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Supported Python Versions
6161
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
6262
Python.
6363

64-
Python >= 3.7
64+
Python >= 3.7, including 3.14
6565

6666
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6767
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches

packages/google-ai-generativelanguage/google/ai/generativelanguage/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
FunctionCallingConfig,
9898
FunctionDeclaration,
9999
FunctionResponse,
100+
FunctionResponseBlob,
101+
FunctionResponsePart,
100102
GoogleSearchRetrieval,
101103
GroundingPassage,
102104
GroundingPassages,
@@ -163,6 +165,7 @@
163165
GroundingChunk,
164166
GroundingMetadata,
165167
GroundingSupport,
168+
ImageConfig,
166169
LogprobsResult,
167170
MultiSpeakerVoiceConfig,
168171
PrebuiltVoiceConfig,
@@ -207,8 +210,8 @@
207210
UpdatePermissionRequest,
208211
)
209212
from google.ai.generativelanguage_v1beta.types.prediction_service import (
210-
GenerateVideoResponse,
211213
Media,
214+
PredictLongRunningGeneratedVideoResponse,
212215
PredictLongRunningMetadata,
213216
PredictLongRunningRequest,
214217
PredictLongRunningResponse,
@@ -326,6 +329,8 @@
326329
"FunctionCallingConfig",
327330
"FunctionDeclaration",
328331
"FunctionResponse",
332+
"FunctionResponseBlob",
333+
"FunctionResponsePart",
329334
"GoogleSearchRetrieval",
330335
"GroundingPassage",
331336
"GroundingPassages",
@@ -387,6 +392,7 @@
387392
"GroundingChunk",
388393
"GroundingMetadata",
389394
"GroundingSupport",
395+
"ImageConfig",
390396
"LogprobsResult",
391397
"MultiSpeakerVoiceConfig",
392398
"PrebuiltVoiceConfig",
@@ -425,8 +431,8 @@
425431
"TransferOwnershipRequest",
426432
"TransferOwnershipResponse",
427433
"UpdatePermissionRequest",
428-
"GenerateVideoResponse",
429434
"Media",
435+
"PredictLongRunningGeneratedVideoResponse",
430436
"PredictLongRunningMetadata",
431437
"PredictLongRunningRequest",
432438
"PredictLongRunningResponse",

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/generative_service/async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ async def sample_generate_content():
349349
Args:
350350
request (Optional[Union[google.ai.generativelanguage_v1.types.GenerateContentRequest, dict]]):
351351
The request object. Request to generate a completion from
352-
the model.
352+
the model. NEXT ID: 18
353353
model (:class:`str`):
354354
Required. The name of the ``Model`` to use for
355355
generating the completion.
@@ -493,7 +493,7 @@ async def sample_stream_generate_content():
493493
Args:
494494
request (Optional[Union[google.ai.generativelanguage_v1.types.GenerateContentRequest, dict]]):
495495
The request object. Request to generate a completion from
496-
the model.
496+
the model. NEXT ID: 18
497497
model (:class:`str`):
498498
Required. The name of the ``Model`` to use for
499499
generating the completion.

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/generative_service/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def sample_generate_content():
765765
Args:
766766
request (Union[google.ai.generativelanguage_v1.types.GenerateContentRequest, dict]):
767767
The request object. Request to generate a completion from
768-
the model.
768+
the model. NEXT ID: 18
769769
model (str):
770770
Required. The name of the ``Model`` to use for
771771
generating the completion.
@@ -906,7 +906,7 @@ def sample_stream_generate_content():
906906
Args:
907907
request (Union[google.ai.generativelanguage_v1.types.GenerateContentRequest, dict]):
908908
The request object. Request to generate a completion from
909-
the model.
909+
the model. NEXT ID: 18
910910
model (str):
911911
Required. The name of the ``Model`` to use for
912912
generating the completion.

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/generative_service/transports/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ def __call__(
10711071
Args:
10721072
request (~.generative_service.GenerateContentRequest):
10731073
The request object. Request to generate a completion from
1074-
the model.
1074+
the model. NEXT ID: 18
10751075
retry (google.api_core.retry.Retry): Designation of what errors, if any,
10761076
should be retried.
10771077
timeout (float): The timeout for this request.
@@ -1244,7 +1244,7 @@ def __call__(
12441244
Args:
12451245
request (~.generative_service.GenerateContentRequest):
12461246
The request object. Request to generate a completion from
1247-
the model.
1247+
the model. NEXT ID: 18
12481248
retry (google.api_core.retry.Retry): Designation of what errors, if any,
12491249
should be retried.
12501250
timeout (float): The timeout for this request.

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/generative_service/transports/rest_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,14 @@ def _get_http_options():
484484
"method": "get",
485485
"uri": "/v1/{name=corpora/*/operations/*}",
486486
},
487+
{
488+
"method": "get",
489+
"uri": "/v1/{name=ragStores/*/operations/*}",
490+
},
491+
{
492+
"method": "get",
493+
"uri": "/v1/{name=ragStores/*/upload/operations/*}",
494+
},
487495
]
488496
return http_options
489497

packages/google-ai-generativelanguage/google/ai/generativelanguage_v1/services/model_service/transports/rest_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ def _get_http_options():
258258
"method": "get",
259259
"uri": "/v1/{name=corpora/*/operations/*}",
260260
},
261+
{
262+
"method": "get",
263+
"uri": "/v1/{name=ragStores/*/operations/*}",
264+
},
265+
{
266+
"method": "get",
267+
"uri": "/v1/{name=ragStores/*/upload/operations/*}",
268+
},
261269
]
262270
return http_options
263271

0 commit comments

Comments
 (0)