Skip to content

Commit 4e5a0b5

Browse files
chore: librarian generate pull request: 20251007T120850Z (#14671)
BEGIN_COMMIT_OVERRIDE BEGIN_NESTED_COMMIT feat: [google-shopping-merchant-products] Include CarrierShipping field inside the Products attribute A new feature inside the `ProductAttributes`, `carrier_shipping` field allows for configuring a carrier shipping policy by indicating the carrier service of use for cost, speed or both. PiperOrigin-RevId: 815678832 Source-link: [googleapis/googleapis@2e9cd5b](googleapis/googleapis@2e9cd5b) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-bigquery-reservation] Add new `BACKGROUND_CHANGE_DATA_CAPTURE`, `BACKGROUND_COLUMN_METADATA_INDEX`, and `BACKGROUND_SEARCH_INDEX_REFRESH` reservation assignment types PiperOrigin-RevId: 814816863 Source-link: [googleapis/googleapis@2193a2b](googleapis/googleapis@2193a2b) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: [google-cloud-eventarc-publishing] Update comment in Eventarc Publishing API PiperOrigin-RevId: 813779868 Source-link: [googleapis/googleapis@3d9a46d](googleapis/googleapis@3d9a46d) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] update `Database.charset` to be immutable PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: [google-cloud-alloydb] An existing enum `PoolMode` is removed from the `ConnectionPoolConfig` PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: [google-cloud-alloydb] specify that the STOPPED state is not used for clusters anymore PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add fields on the estimated/actual start/end times for an Upgrade Cluster operation PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add field to ExecuteSQL request to just validate the sql statement PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add additional fields to Database object to specify the collation type, character type, if it is a template database, and the template to use for the database PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add configuration for Managed Connection Pool PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore: [google-cloud-alloydb] annotate `EncryptionConfig.kms_key_name`, `SecondaryConfig.primary_cluster_name`, `PrimaryConfig.secondary_cluster_names`, and `PscInstanceConfig.service_attachment_link` with what resource they're referencing PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add PG 17 as a Database version PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add CRUD APIs on Databases PiperOrigin-RevId: 811874519 Source-link: [googleapis/googleapis@8cd7806](googleapis/googleapis@8cd7806) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add CRUD APIs on Databases PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add additional fields to Database object to specify the collation type, character type, if it is a template database, and the template to use for the database PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add PG 17 as a Database version PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore: [google-cloud-alloydb] annotate `EncryptionConfig.kms_key_name`, `SecondaryConfig.primary_cluster_name`, `PrimaryConfig.secondary_cluster_names`, and `PscInstanceConfig.service_attachment_link` with what resource they're referencing PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add configuration for Managed Connection Pool PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] update `Database.charset` to be immutable PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add field to ExecuteSQL request to just validate the sql statement PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add fields on the estimated/actual start/end times for an Upgrade Cluster operation PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: [google-cloud-alloydb] specify that the STOPPED state is not used for clusters anymore PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: [google-cloud-alloydb] An existing enum `PoolMode` is removed from the `ConnectionPoolConfig` PiperOrigin-RevId: 811874403 Source-link: [googleapis/googleapis@48c3f2f](googleapis/googleapis@48c3f2f) END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore: [google-cloud-alloydb] annotate `EncryptionConfig.kms_key_name`, `SecondaryConfig.primary_cluster_name`, `PrimaryConfig.secondary_cluster_names`, and `PscInstanceConfig.service_attachment_link` with what resource they're referencing PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add CRUD APIs on Databases PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: [google-cloud-alloydb] specify that the STOPPED state is not used for clusters anymore PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add fields on the estimated/actual start/end times for an Upgrade Cluster operation PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add configuration for Managed Connection Pool PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] update `Database.charset` to be immutable PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add PG 17 as a Database version PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add field to ExecuteSQL request to just validate the sql statement PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-alloydb] add additional fields to Database object to specify the collation type, character type, if it is a template database, and the template to use for the database PiperOrigin-RevId: 811874303 Source-link: [googleapis/googleapis@fc225fe](googleapis/googleapis@fc225fe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-compute] Update Compute Engine v1 API to revision 20250909 PiperOrigin-RevId: Source-link: [googleapis/googleapis@31b413b](googleapis/googleapis@31b413b) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-compute-v1beta] Update Compute Engine v1beta API to revision 20250909 PiperOrigin-RevId: Source-link: [googleapis/googleapis@69a5677](googleapis/googleapis@69a5677) END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore: [google-cloud-compute] set Compute migration_mode to NEW_SURFACE_ONLY (#1101) PiperOrigin-RevId: Source-link: [googleapis/googleapis@5caeec4](googleapis/googleapis@5caeec4) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-compute] Update Compute Engine v1 API to revision 20250902 PiperOrigin-RevId: Source-link: [googleapis/googleapis@57ddfb3](googleapis/googleapis@57ddfb3) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: [google-cloud-compute-v1beta] Update Compute Engine v1beta API to revision 20250902 PiperOrigin-RevId: Source-link: [googleapis/googleapis@efa74ff](googleapis/googleapis@efa74ff) END_NESTED_COMMIT END_COMMIT_OVERRIDE This pull request is generated with proto changes between [googleapis/googleapis@9070e63](googleapis/googleapis@9070e63) (exclusive) and [googleapis/googleapis@6e79e73](googleapis/googleapis@6e79e73) (inclusive). Librarian Version: v0.0.0-20251006193731-31a496db4d50 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator:latest
1 parent 6178c01 commit 4e5a0b5

File tree

123 files changed

+22961
-5365
lines changed

Some content is hidden

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

123 files changed

+22961
-5365
lines changed

.librarian/state.yaml

Lines changed: 506 additions & 217 deletions
Large diffs are not rendered by default.

packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/async_client.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ class AlloyDBAdminAsyncClient:
9191
parse_connection_info_path = staticmethod(
9292
AlloyDBAdminClient.parse_connection_info_path
9393
)
94+
crypto_key_path = staticmethod(AlloyDBAdminClient.crypto_key_path)
95+
parse_crypto_key_path = staticmethod(AlloyDBAdminClient.parse_crypto_key_path)
9496
crypto_key_version_path = staticmethod(AlloyDBAdminClient.crypto_key_version_path)
9597
parse_crypto_key_version_path = staticmethod(
9698
AlloyDBAdminClient.parse_crypto_key_version_path
@@ -101,6 +103,10 @@ class AlloyDBAdminAsyncClient:
101103
parse_instance_path = staticmethod(AlloyDBAdminClient.parse_instance_path)
102104
network_path = staticmethod(AlloyDBAdminClient.network_path)
103105
parse_network_path = staticmethod(AlloyDBAdminClient.parse_network_path)
106+
service_attachment_path = staticmethod(AlloyDBAdminClient.service_attachment_path)
107+
parse_service_attachment_path = staticmethod(
108+
AlloyDBAdminClient.parse_service_attachment_path
109+
)
104110
supported_database_flag_path = staticmethod(
105111
AlloyDBAdminClient.supported_database_flag_path
106112
)
@@ -1243,7 +1249,7 @@ async def sample_upgrade_cluster():
12431249
# Initialize request argument(s)
12441250
request = alloydb_v1.UpgradeClusterRequest(
12451251
name="name_value",
1246-
version="POSTGRES_16",
1252+
version="POSTGRES_17",
12471253
)
12481254
12491255
# Make the request
@@ -5142,8 +5148,7 @@ async def sample_list_databases():
51425148
51435149
Args:
51445150
request (Optional[Union[google.cloud.alloydb_v1.types.ListDatabasesRequest, dict]]):
5145-
The request object. Message for requesting list of
5146-
Databases.
5151+
The request object. Message for ListDatabases request.
51475152
parent (:class:`str`):
51485153
Required. Parent value for
51495154
ListDatabasesRequest.
@@ -5161,8 +5166,8 @@ async def sample_list_databases():
51615166
51625167
Returns:
51635168
google.cloud.alloydb_v1.services.alloy_db_admin.pagers.ListDatabasesAsyncPager:
5164-
Message for response to listing
5165-
Databases.
5169+
Message for ListDatabases response.
5170+
51665171
Iterating over this object will yield
51675172
results and resolve additional pages
51685173
automatically.

packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/client.py

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,30 @@ def parse_connection_info_path(path: str) -> Dict[str, str]:
272272
)
273273
return m.groupdict() if m else {}
274274

275+
@staticmethod
276+
def crypto_key_path(
277+
project: str,
278+
location: str,
279+
key_ring: str,
280+
crypto_key: str,
281+
) -> str:
282+
"""Returns a fully-qualified crypto_key string."""
283+
return "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}".format(
284+
project=project,
285+
location=location,
286+
key_ring=key_ring,
287+
crypto_key=crypto_key,
288+
)
289+
290+
@staticmethod
291+
def parse_crypto_key_path(path: str) -> Dict[str, str]:
292+
"""Parses a crypto_key path into its component segments."""
293+
m = re.match(
294+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/keyRings/(?P<key_ring>.+?)/cryptoKeys/(?P<crypto_key>.+?)$",
295+
path,
296+
)
297+
return m.groupdict() if m else {}
298+
275299
@staticmethod
276300
def crypto_key_version_path(
277301
project: str,
@@ -365,6 +389,28 @@ def parse_network_path(path: str) -> Dict[str, str]:
365389
)
366390
return m.groupdict() if m else {}
367391

392+
@staticmethod
393+
def service_attachment_path(
394+
project: str,
395+
region: str,
396+
service_attachment: str,
397+
) -> str:
398+
"""Returns a fully-qualified service_attachment string."""
399+
return "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}".format(
400+
project=project,
401+
region=region,
402+
service_attachment=service_attachment,
403+
)
404+
405+
@staticmethod
406+
def parse_service_attachment_path(path: str) -> Dict[str, str]:
407+
"""Parses a service_attachment path into its component segments."""
408+
m = re.match(
409+
r"^projects/(?P<project>.+?)/regions/(?P<region>.+?)/serviceAttachments/(?P<service_attachment>.+?)$",
410+
path,
411+
)
412+
return m.groupdict() if m else {}
413+
368414
@staticmethod
369415
def supported_database_flag_path(
370416
project: str,
@@ -1808,7 +1854,7 @@ def sample_upgrade_cluster():
18081854
# Initialize request argument(s)
18091855
request = alloydb_v1.UpgradeClusterRequest(
18101856
name="name_value",
1811-
version="POSTGRES_16",
1857+
version="POSTGRES_17",
18121858
)
18131859
18141860
# Make the request
@@ -5627,8 +5673,7 @@ def sample_list_databases():
56275673
56285674
Args:
56295675
request (Union[google.cloud.alloydb_v1.types.ListDatabasesRequest, dict]):
5630-
The request object. Message for requesting list of
5631-
Databases.
5676+
The request object. Message for ListDatabases request.
56325677
parent (str):
56335678
Required. Parent value for
56345679
ListDatabasesRequest.
@@ -5646,8 +5691,8 @@ def sample_list_databases():
56465691
56475692
Returns:
56485693
google.cloud.alloydb_v1.services.alloy_db_admin.pagers.ListDatabasesPager:
5649-
Message for response to listing
5650-
Databases.
5694+
Message for ListDatabases response.
5695+
56515696
Iterating over this object will yield
56525697
results and resolve additional pages
56535698
automatically.

packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/transports/rest.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5985,8 +5985,7 @@ def __call__(
59855985
59865986
Args:
59875987
request (~.service.ListDatabasesRequest):
5988-
The request object. Message for requesting list of
5989-
Databases.
5988+
The request object. Message for ListDatabases request.
59905989
retry (google.api_core.retry.Retry): Designation of what errors, if any,
59915990
should be retried.
59925991
timeout (float): The timeout for this request.
@@ -5997,9 +5996,7 @@ def __call__(
59975996
59985997
Returns:
59995998
~.service.ListDatabasesResponse:
6000-
Message for response to listing
6001-
Databases.
6002-
5999+
Message for ListDatabases response.
60036000
"""
60046001

60056002
http_options = (

packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_dbcsql_admin/async_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class AlloyDBCSQLAdminAsyncClient:
8383
parse_backup_path = staticmethod(AlloyDBCSQLAdminClient.parse_backup_path)
8484
cluster_path = staticmethod(AlloyDBCSQLAdminClient.cluster_path)
8585
parse_cluster_path = staticmethod(AlloyDBCSQLAdminClient.parse_cluster_path)
86+
crypto_key_path = staticmethod(AlloyDBCSQLAdminClient.crypto_key_path)
87+
parse_crypto_key_path = staticmethod(AlloyDBCSQLAdminClient.parse_crypto_key_path)
8688
crypto_key_version_path = staticmethod(
8789
AlloyDBCSQLAdminClient.crypto_key_version_path
8890
)

packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_dbcsql_admin/client.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,30 @@ def parse_cluster_path(path: str) -> Dict[str, str]:
246246
)
247247
return m.groupdict() if m else {}
248248

249+
@staticmethod
250+
def crypto_key_path(
251+
project: str,
252+
location: str,
253+
key_ring: str,
254+
crypto_key: str,
255+
) -> str:
256+
"""Returns a fully-qualified crypto_key string."""
257+
return "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}".format(
258+
project=project,
259+
location=location,
260+
key_ring=key_ring,
261+
crypto_key=crypto_key,
262+
)
263+
264+
@staticmethod
265+
def parse_crypto_key_path(path: str) -> Dict[str, str]:
266+
"""Parses a crypto_key path into its component segments."""
267+
m = re.match(
268+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/keyRings/(?P<key_ring>.+?)/cryptoKeys/(?P<crypto_key>.+?)$",
269+
path,
270+
)
271+
return m.groupdict() if m else {}
272+
249273
@staticmethod
250274
def crypto_key_version_path(
251275
project: str,

packages/google-cloud-alloydb/google/cloud/alloydb_v1/types/resources.py

Lines changed: 75 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,15 @@ class DatabaseVersion(proto.Enum):
119119
The database version is Postgres 15.
120120
POSTGRES_16 (4):
121121
The database version is Postgres 16.
122+
POSTGRES_17 (5):
123+
The database version is Postgres 17.
122124
"""
123125
DATABASE_VERSION_UNSPECIFIED = 0
124126
POSTGRES_13 = 1
125127
POSTGRES_14 = 2
126128
POSTGRES_15 = 3
127129
POSTGRES_16 = 4
130+
POSTGRES_17 = 5
128131

129132

130133
class SubscriptionType(proto.Enum):
@@ -939,14 +942,9 @@ class State(proto.Enum):
939942
READY (1):
940943
The cluster is active and running.
941944
STOPPED (2):
942-
The cluster is stopped. All instances in the
943-
cluster are stopped. Customers can start a
944-
stopped cluster at any point and all their
945-
instances will come back to life with same names
946-
and IP resources. In this state, customer pays
947-
for storage.
948-
Associated backups could also be present in a
949-
stopped cluster.
945+
This is unused. Even when all instances in
946+
the cluster are stopped, the cluster remains in
947+
READY state.
950948
EMPTY (3):
951949
The cluster is empty and has no associated
952950
resources. All instances, associated storage and
@@ -1427,6 +1425,9 @@ class Instance(proto.Message):
14271425
can/cannot be activated (for example, a read pool instance
14281426
should be stopped before stopping primary etc.). Please
14291427
refer to the API documentation for more details.
1428+
connection_pool_config (google.cloud.alloydb_v1.types.Instance.ConnectionPoolConfig):
1429+
Optional. The configuration for Managed
1430+
Connection Pool (MCP).
14301431
"""
14311432

14321433
class State(proto.Enum):
@@ -1994,6 +1995,35 @@ class AuthorizedNetwork(proto.Message):
19941995
number=5,
19951996
)
19961997

1998+
class ConnectionPoolConfig(proto.Message):
1999+
r"""Configuration for Managed Connection Pool (MCP).
2000+
2001+
Attributes:
2002+
enabled (bool):
2003+
Optional. Whether to enable Managed
2004+
Connection Pool (MCP).
2005+
flags (MutableMapping[str, str]):
2006+
Optional. Connection Pool flags, as a list of
2007+
"key": "value" pairs.
2008+
pooler_count (int):
2009+
Output only. The number of running poolers
2010+
per instance.
2011+
"""
2012+
2013+
enabled: bool = proto.Field(
2014+
proto.BOOL,
2015+
number=12,
2016+
)
2017+
flags: MutableMapping[str, str] = proto.MapField(
2018+
proto.STRING,
2019+
proto.STRING,
2020+
number=13,
2021+
)
2022+
pooler_count: int = proto.Field(
2023+
proto.INT32,
2024+
number=14,
2025+
)
2026+
19972027
name: str = proto.Field(
19982028
proto.STRING,
19992029
number=1,
@@ -2129,6 +2159,11 @@ class AuthorizedNetwork(proto.Message):
21292159
number=35,
21302160
enum=ActivationPolicy,
21312161
)
2162+
connection_pool_config: ConnectionPoolConfig = proto.Field(
2163+
proto.MESSAGE,
2164+
number=37,
2165+
message=ConnectionPoolConfig,
2166+
)
21322167

21332168

21342169
class ConnectionInfo(proto.Message):
@@ -2729,19 +2764,31 @@ class UserType(proto.Enum):
27292764
class Database(proto.Message):
27302765
r"""Message describing Database object.
27312766
2767+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2768+
27322769
Attributes:
27332770
name (str):
27342771
Identifier. Name of the resource in the form of
27352772
``projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}``.
27362773
charset (str):
2737-
Optional. Charset for the database. This field can contain
2738-
any PostgreSQL supported charset name. Example values
2739-
include "UTF8", "SQL_ASCII", etc.
2774+
Optional. Immutable. Charset for the database. This field
2775+
can contain any PostgreSQL supported charset name. Example
2776+
values include "UTF8", "SQL_ASCII", etc.
27402777
collation (str):
2741-
Optional. Collation for the database.
2742-
Name of the custom or native collation for
2743-
postgres. Example values include "C", "POSIX",
2744-
etc
2778+
Optional. Immutable. lc_collate for the database. String
2779+
sort order. Example values include "C", "POSIX", etc.
2780+
character_type (str):
2781+
Optional. Immutable. lc_ctype for the database. Character
2782+
classification (What is a letter? The upper-case
2783+
equivalent?). Example values include "C", "POSIX", etc.
2784+
database_template (str):
2785+
Input only. Immutable. Template of the
2786+
database to be used for creating a new database.
2787+
is_template_database (bool):
2788+
Optional. Whether the database is a template
2789+
database.
2790+
2791+
This field is a member of `oneof`_ ``_is_template_database``.
27452792
"""
27462793

27472794
name: str = proto.Field(
@@ -2756,6 +2803,19 @@ class Database(proto.Message):
27562803
proto.STRING,
27572804
number=3,
27582805
)
2806+
character_type: str = proto.Field(
2807+
proto.STRING,
2808+
number=4,
2809+
)
2810+
database_template: str = proto.Field(
2811+
proto.STRING,
2812+
number=6,
2813+
)
2814+
is_template_database: bool = proto.Field(
2815+
proto.BOOL,
2816+
number=7,
2817+
optional=True,
2818+
)
27592819

27602820

27612821
__all__ = tuple(sorted(__protobuf__.manifest))

0 commit comments

Comments
 (0)