Skip to content

Commit 1aa57db

Browse files
authored
feat: update API sources and regenerate (#18699)
Update API sources and regenerate. ## Debug Info ### System Details - Python version: Python 3.13.15 - OS: Linux 7.1.6-1rodete1-amd64 x86_64 - Librarian version: v0.48.0 ### Commands Executed - `python3 -m venv "$VENV_DIR" && source "$VENV_DIR/bin/activate"` - `pip install --upgrade pip` - `go run github.com/googleapis/librarian/cmd/librarian@v0.48.0 update sources.googleapis` - `go run github.com/googleapis/librarian/cmd/librarian@v0.48.0 install` - `go run github.com/googleapis/librarian/cmd/librarian@v0.48.0 generate --all` - `git add .` - `git commit -m "feat: update API sources and regenerate"` ### Included googleapis CLs **google/cloud/alloydb/v1** - http://cl/996305957 **google/cloud/alloydb/v1alpha** - http://cl/995934861 **google/cloud/alloydb/v1beta** - http://cl/995225885 **google/cloud/compute/v1** - http://cl/998768834 **google/cloud/compute/v1beta** - http://cl/997998489 **google/cloud/contactcenterinsights/v1** - http://cl/998661171 **google/cloud/dataproc/v1** - http://cl/998221257 **google/cloud/datastream/v1** - http://cl/998725070 **google/cloud/memorystore/v1beta** - http://cl/997735070 **google/cloud/redis/cluster/v1** - http://cl/998953362 - http://cl/995404547 **google/cloud/securitycenter/v1** - http://cl/996062340 **google/cloud/securitycenter/v2** - http://cl/996044336 **google/developers/knowledge/v1** - http://cl/996286373 **google/devtools/cloudbuild/v1** - http://cl/996518945 **google/pubsub/v1** - http://cl/995948504
1 parent a59e72b commit 1aa57db

147 files changed

Lines changed: 67401 additions & 15082 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.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ version: v0.48.0
1616
repo: googleapis/google-cloud-python
1717
sources:
1818
googleapis:
19-
commit: 6a8220ce2f0b8f51e60bb2cc0d74a14d380a823b
20-
sha256: eb737809a4b1aa6ab7be3c2078b6cbdde44337dcdf464d35813e6345896e3343
19+
commit: b6efa15f5537f053786e5d8875d75bc3a6246455
20+
sha256: d432e85ea4bb83e7b0ed83415d24fae57a52e7c51afc7a96c6147a27da85eb02
2121
tools:
2222
pip:
2323
- name: black

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

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,8 +1411,21 @@ class Instance(proto.Message):
14111411
PRIMARY instance.
14121412
query_insights_config (google.cloud.alloydb_v1.types.Instance.QueryInsightsInstanceConfig):
14131413
Configuration for query insights.
1414+
query_insights_info (google.cloud.alloydb_v1.types.Instance.QueryInsightsInstanceInfo):
1415+
Output only. Instance level Query Insights information,
1416+
which is read-only and available in the output only.
1417+
Contains the effective query insights settings for this
1418+
instance, by merging customer's provided
1419+
``QueryInsightsInstanceConfig`` with the Query Insights
1420+
defaults.
14141421
observability_config (google.cloud.alloydb_v1.types.Instance.ObservabilityInstanceConfig):
14151422
Configuration for observability.
1423+
observability_instance_info (google.cloud.alloydb_v1.types.Instance.ObservabilityInstanceInfo):
1424+
Output only. Instance level observability information,
1425+
contains the effective values of observability settings for
1426+
this instance, by merging customer's provided
1427+
``ObservabilityInstanceConfig`` with the Observability
1428+
defaults.
14161429
read_pool_config (google.cloud.alloydb_v1.types.Instance.ReadPoolConfig):
14171430
Read pool instance configuration. This is required if the
14181431
value of instanceType is READ_POOL.
@@ -1688,6 +1701,48 @@ class QueryInsightsInstanceConfig(proto.Message):
16881701
optional=True,
16891702
)
16901703

1704+
class QueryInsightsInstanceInfo(proto.Message):
1705+
r"""Instance level Query Insights information, which is read-only
1706+
and available in the output only.
1707+
1708+
Attributes:
1709+
enabled (bool):
1710+
Output only. Whether Query Insights is
1711+
enabled.
1712+
record_application_tags (bool):
1713+
Output only. Whether to record application
1714+
tags.
1715+
record_client_address (bool):
1716+
Output only. Whether to record client
1717+
address.
1718+
query_string_length (int):
1719+
Output only. Maximum query string length.
1720+
query_plans_per_minute (int):
1721+
Output only. Number of query execution plans
1722+
captured per minute.
1723+
"""
1724+
1725+
enabled: bool = proto.Field(
1726+
proto.BOOL,
1727+
number=1,
1728+
)
1729+
record_application_tags: bool = proto.Field(
1730+
proto.BOOL,
1731+
number=2,
1732+
)
1733+
record_client_address: bool = proto.Field(
1734+
proto.BOOL,
1735+
number=3,
1736+
)
1737+
query_string_length: int = proto.Field(
1738+
proto.UINT32,
1739+
number=4,
1740+
)
1741+
query_plans_per_minute: int = proto.Field(
1742+
proto.UINT32,
1743+
number=5,
1744+
)
1745+
16911746
class ObservabilityInstanceConfig(proto.Message):
16921747
r"""Observability Instance specific configuration.
16931748
@@ -1786,6 +1841,70 @@ class ObservabilityInstanceConfig(proto.Message):
17861841
optional=True,
17871842
)
17881843

1844+
class ObservabilityInstanceInfo(proto.Message):
1845+
r"""
1846+
1847+
Attributes:
1848+
enabled (bool):
1849+
Output only. Observability feature status for
1850+
an instance.
1851+
preserve_comments (bool):
1852+
Output only. Preserve comments in query
1853+
string for an instance.
1854+
track_wait_events (bool):
1855+
Output only. Track wait events during query
1856+
execution for an instance.
1857+
track_wait_event_types (bool):
1858+
Output only. Track wait event types during
1859+
query execution for an instance.
1860+
max_query_string_length (int):
1861+
Output only. Query string length. The default
1862+
value is 10k.
1863+
record_application_tags (bool):
1864+
Output only. Record application tags for an
1865+
instance.
1866+
query_plans_per_minute (int):
1867+
Output only. Number of query execution plans
1868+
captured by Insights per minute for all queries
1869+
combined.
1870+
track_active_queries (bool):
1871+
Output only. Track actively running queries
1872+
on the instance.
1873+
"""
1874+
1875+
enabled: bool = proto.Field(
1876+
proto.BOOL,
1877+
number=2,
1878+
)
1879+
preserve_comments: bool = proto.Field(
1880+
proto.BOOL,
1881+
number=3,
1882+
)
1883+
track_wait_events: bool = proto.Field(
1884+
proto.BOOL,
1885+
number=4,
1886+
)
1887+
track_wait_event_types: bool = proto.Field(
1888+
proto.BOOL,
1889+
number=5,
1890+
)
1891+
max_query_string_length: int = proto.Field(
1892+
proto.INT32,
1893+
number=6,
1894+
)
1895+
record_application_tags: bool = proto.Field(
1896+
proto.BOOL,
1897+
number=7,
1898+
)
1899+
query_plans_per_minute: int = proto.Field(
1900+
proto.INT32,
1901+
number=8,
1902+
)
1903+
track_active_queries: bool = proto.Field(
1904+
proto.BOOL,
1905+
number=9,
1906+
)
1907+
17891908
class ReadPoolConfig(proto.Message):
17901909
r"""Configuration for a read pool instance.
17911910
@@ -2142,11 +2261,21 @@ class ConnectionPoolConfig(proto.Message):
21422261
number=21,
21432262
message=QueryInsightsInstanceConfig,
21442263
)
2264+
query_insights_info: QueryInsightsInstanceInfo = proto.Field(
2265+
proto.MESSAGE,
2266+
number=47,
2267+
message=QueryInsightsInstanceInfo,
2268+
)
21452269
observability_config: ObservabilityInstanceConfig = proto.Field(
21462270
proto.MESSAGE,
21472271
number=26,
21482272
message=ObservabilityInstanceConfig,
21492273
)
2274+
observability_instance_info: ObservabilityInstanceInfo = proto.Field(
2275+
proto.MESSAGE,
2276+
number=44,
2277+
message=ObservabilityInstanceInfo,
2278+
)
21502279
read_pool_config: ReadPoolConfig = proto.Field(
21512280
proto.MESSAGE,
21522281
number=14,

‎packages/google-cloud-alloydb/google/cloud/alloydb_v1alpha/types/resources.py‎

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,8 +1439,21 @@ class Instance(proto.Message):
14391439
PRIMARY instance.
14401440
query_insights_config (google.cloud.alloydb_v1alpha.types.Instance.QueryInsightsInstanceConfig):
14411441
Configuration for query insights.
1442+
query_insights_info (google.cloud.alloydb_v1alpha.types.Instance.QueryInsightsInstanceInfo):
1443+
Output only. Instance level Query Insights information,
1444+
which is read-only and available in the output only.
1445+
Contains the effective query insights settings for this
1446+
instance, by merging customer's provided
1447+
``QueryInsightsInstanceConfig`` with the Query Insights
1448+
defaults.
14421449
observability_config (google.cloud.alloydb_v1alpha.types.Instance.ObservabilityInstanceConfig):
14431450
Configuration for observability.
1451+
observability_instance_info (google.cloud.alloydb_v1alpha.types.Instance.ObservabilityInstanceInfo):
1452+
Output only. Instance level observability information,
1453+
contains the effective values of observability settings for
1454+
this instance, by merging customer's provided
1455+
``ObservabilityInstanceConfig`` with the Observability
1456+
defaults.
14441457
read_pool_config (google.cloud.alloydb_v1alpha.types.Instance.ReadPoolConfig):
14451458
Read pool instance configuration. This is required if the
14461459
value of instanceType is READ_POOL.
@@ -1754,6 +1767,48 @@ class QueryInsightsInstanceConfig(proto.Message):
17541767
optional=True,
17551768
)
17561769

1770+
class QueryInsightsInstanceInfo(proto.Message):
1771+
r"""Instance level Query Insights information, which is read-only
1772+
and available in the output only.
1773+
1774+
Attributes:
1775+
enabled (bool):
1776+
Output only. Whether Query Insights is
1777+
enabled.
1778+
record_application_tags (bool):
1779+
Output only. Whether to record application
1780+
tags.
1781+
record_client_address (bool):
1782+
Output only. Whether to record client
1783+
address.
1784+
query_string_length (int):
1785+
Output only. Maximum query string length.
1786+
query_plans_per_minute (int):
1787+
Output only. Number of query execution plans
1788+
captured per minute.
1789+
"""
1790+
1791+
enabled: bool = proto.Field(
1792+
proto.BOOL,
1793+
number=1,
1794+
)
1795+
record_application_tags: bool = proto.Field(
1796+
proto.BOOL,
1797+
number=2,
1798+
)
1799+
record_client_address: bool = proto.Field(
1800+
proto.BOOL,
1801+
number=3,
1802+
)
1803+
query_string_length: int = proto.Field(
1804+
proto.UINT32,
1805+
number=4,
1806+
)
1807+
query_plans_per_minute: int = proto.Field(
1808+
proto.UINT32,
1809+
number=5,
1810+
)
1811+
17571812
class ObservabilityInstanceConfig(proto.Message):
17581813
r"""Observability Instance specific configuration.
17591814
@@ -1872,6 +1927,92 @@ class ObservabilityInstanceConfig(proto.Message):
18721927
optional=True,
18731928
)
18741929

1930+
class ObservabilityInstanceInfo(proto.Message):
1931+
r"""
1932+
1933+
Attributes:
1934+
enabled (bool):
1935+
Output only. Observability feature status for
1936+
an instance.
1937+
preserve_comments (bool):
1938+
Output only. Preserve comments in query
1939+
string for an instance.
1940+
track_wait_events (bool):
1941+
Output only. Track wait events during query
1942+
execution for an instance.
1943+
track_wait_event_types (bool):
1944+
Output only. Track wait event types during
1945+
query execution for an instance.
1946+
max_query_string_length (int):
1947+
Output only. Query string length. The default
1948+
value is 10k.
1949+
record_application_tags (bool):
1950+
Output only. Record application tags for an
1951+
instance.
1952+
query_plans_per_minute (int):
1953+
Output only. Number of query execution plans
1954+
captured by Insights per minute for all queries
1955+
combined.
1956+
track_active_queries (bool):
1957+
Output only. Track actively running queries
1958+
on the instance.
1959+
track_client_address (bool):
1960+
Output only. Track client address for an
1961+
instance.
1962+
assistive_experiences_enabled (bool):
1963+
Output only. Whether assistive experiences
1964+
are enabled for this AlloyDB instance.
1965+
track_active_query_plan (bool):
1966+
Output only. Indicates whether to track active query plans
1967+
for an instance. Deprecated: Use track_active_queries
1968+
instead.
1969+
"""
1970+
1971+
enabled: bool = proto.Field(
1972+
proto.BOOL,
1973+
number=2,
1974+
)
1975+
preserve_comments: bool = proto.Field(
1976+
proto.BOOL,
1977+
number=3,
1978+
)
1979+
track_wait_events: bool = proto.Field(
1980+
proto.BOOL,
1981+
number=4,
1982+
)
1983+
track_wait_event_types: bool = proto.Field(
1984+
proto.BOOL,
1985+
number=5,
1986+
)
1987+
max_query_string_length: int = proto.Field(
1988+
proto.INT32,
1989+
number=6,
1990+
)
1991+
record_application_tags: bool = proto.Field(
1992+
proto.BOOL,
1993+
number=7,
1994+
)
1995+
query_plans_per_minute: int = proto.Field(
1996+
proto.INT32,
1997+
number=8,
1998+
)
1999+
track_active_queries: bool = proto.Field(
2000+
proto.BOOL,
2001+
number=9,
2002+
)
2003+
track_client_address: bool = proto.Field(
2004+
proto.BOOL,
2005+
number=10,
2006+
)
2007+
assistive_experiences_enabled: bool = proto.Field(
2008+
proto.BOOL,
2009+
number=11,
2010+
)
2011+
track_active_query_plan: bool = proto.Field(
2012+
proto.BOOL,
2013+
number=13,
2014+
)
2015+
18752016
class ReadPoolConfig(proto.Message):
18762017
r"""Configuration for a read pool instance.
18772018
@@ -2336,11 +2477,21 @@ class ConnectionPoolConfig(proto.Message):
23362477
number=21,
23372478
message=QueryInsightsInstanceConfig,
23382479
)
2480+
query_insights_info: QueryInsightsInstanceInfo = proto.Field(
2481+
proto.MESSAGE,
2482+
number=47,
2483+
message=QueryInsightsInstanceInfo,
2484+
)
23392485
observability_config: ObservabilityInstanceConfig = proto.Field(
23402486
proto.MESSAGE,
23412487
number=26,
23422488
message=ObservabilityInstanceConfig,
23432489
)
2490+
observability_instance_info: ObservabilityInstanceInfo = proto.Field(
2491+
proto.MESSAGE,
2492+
number=44,
2493+
message=ObservabilityInstanceInfo,
2494+
)
23442495
read_pool_config: ReadPoolConfig = proto.Field(
23452496
proto.MESSAGE,
23462497
number=14,

0 commit comments

Comments
 (0)
⌂ 换网址