Skip to content

Commit 13f6df0

Browse files
chore: librarian generate pull request: 20260121T084706Z (#15472)
PR created by the Librarian CLI to generate Cloud Client Libraries code from protos. BEGIN_COMMIT BEGIN_NESTED_COMMIT feat: add the SingleTenantHsm functionality including the management API and resource types PiperOrigin-RevId: 858582271 Library-IDs: google-cloud-kms Source-link: [googleapis/googleapis@d9f058d2](googleapis/googleapis@d9f058d2) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `crypto_key_backend` in message `.google.cloud.kms.v1.CryptoKey` is expanded to include SingleTenantHsmInstances PiperOrigin-RevId: 858582271 Library-IDs: google-cloud-kms Source-link: [googleapis/googleapis@d9f058d2](googleapis/googleapis@d9f058d2) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for enum value `MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION` in enum `AccessReason` is changed PiperOrigin-RevId: 858582271 Library-IDs: google-cloud-kms Source-link: [googleapis/googleapis@d9f058d2](googleapis/googleapis@d9f058d2) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for enum value `MODIFIED_CUSTOMER_INITIATED_ACCESS` in enum `AccessReason` is changed PiperOrigin-RevId: 858582271 Library-IDs: google-cloud-kms Source-link: [googleapis/googleapis@d9f058d2](googleapis/googleapis@d9f058d2) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Added OUTPUT_ONLY annotations to create_time and update_time in InternalRange to reflect existing service behavior PiperOrigin-RevId: 858089458 Library-IDs: google-cloud-network-connectivity Source-link: [googleapis/googleapis@cb268fbe](googleapis/googleapis@cb268fbe) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: add instances description PiperOrigin-RevId: 856756379 Library-IDs: google-cloud-run Source-link: [googleapis/googleapis@a79ccb6a](googleapis/googleapis@a79ccb6a) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: add instances client library PiperOrigin-RevId: 856756379 Library-IDs: google-cloud-run Source-link: [googleapis/googleapis@a79ccb6a](googleapis/googleapis@a79ccb6a) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: An existing field `webhook_latencies` is removed from message `.google.cloud.dialogflow.cx.v3.QueryResult` PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: An existing field `webhook_display_names` is removed from message `.google.cloud.dialogflow.cx.v3.QueryResult` PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: An existing field `start_flow` is moved in to oneof in message `.google.cloud.dialogflow.cx.v3.Agent` PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: updated v3 dialogflow client libraries PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: An existing field `webhook_ids` is removed from message `.google.cloud.dialogflow.cx.v3.QueryResult` PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT fix: An existing field `webhook_tags` is removed from message `.google.cloud.dialogflow.cx.v3.QueryResult` PiperOrigin-RevId: 856725401 Library-IDs: google-cloud-dialogflow-cx Source-link: [googleapis/googleapis@b8d14913](googleapis/googleapis@b8d14913) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Adding Method AggregateIssueStats of Database Center API v1beta This release includes: - `DatabaseCenter` service with `AggregateIssueStats` method. - All related enums. PiperOrigin-RevId: 856484579 Library-IDs: google-cloud-databasecenter Source-link: [googleapis/googleapis@615bb9ac](googleapis/googleapis@615bb9ac) END_NESTED_COMMIT END_COMMIT This pull request is generated with proto changes between [googleapis/googleapis@94aa4f5a](googleapis/googleapis@94aa4f5) (exclusive) and [googleapis/googleapis@d9f058d2](googleapis/googleapis@d9f058d) (inclusive). Librarian Version: v0.0.0-20251218164811-cd2252e38d0a Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209 ## Generation failed for - google-cloud-compute - google-cloud-compute-v1beta
1 parent 41cfbd1 commit 13f6df0

File tree

251 files changed

+121928
-2802
lines changed

Some content is hidden

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

251 files changed

+121928
-2802
lines changed

.librarian/state.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ libraries:
1919
tag_format: '{id}-v{version}'
2020
- id: google-ads-datamanager
2121
version: 0.3.0
22-
last_generated_commit: c2db528a3e4d12b95666c719ee0db30a3d4c78ad
22+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
2323
apis:
2424
- path: google/ads/datamanager/v1
2525
service_config: datamanager_v1.yaml
@@ -1344,7 +1344,7 @@ libraries:
13441344
tag_format: '{id}-v{version}'
13451345
- id: google-cloud-databasecenter
13461346
version: 0.3.0
1347-
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
1347+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
13481348
apis:
13491349
- path: google/cloud/databasecenter/v1beta
13501350
service_config: databasecenter_v1beta.yaml
@@ -1595,7 +1595,7 @@ libraries:
15951595
tag_format: '{id}-v{version}'
15961596
- id: google-cloud-dialogflow-cx
15971597
version: 2.2.0
1598-
last_generated_commit: 9a477cd3c26a704130e2a2fb44a40281d9312e4c
1598+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
15991599
apis:
16001600
- path: google/cloud/dialogflow/cx/v3
16011601
service_config: dialogflow_v3.yaml
@@ -2104,7 +2104,7 @@ libraries:
21042104
tag_format: '{id}-v{version}'
21052105
- id: google-cloud-kms
21062106
version: 3.9.0
2107-
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
2107+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
21082108
apis:
21092109
- path: google/cloud/kms/v1
21102110
service_config: cloudkms_v1.yaml
@@ -2463,7 +2463,7 @@ libraries:
24632463
tag_format: '{id}-v{version}'
24642464
- id: google-cloud-network-connectivity
24652465
version: 2.12.0
2466-
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
2466+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
24672467
apis:
24682468
- path: google/cloud/networkconnectivity/v1
24692469
service_config: networkconnectivity_v1.yaml
@@ -2993,7 +2993,7 @@ libraries:
29932993
tag_format: '{id}-v{version}'
29942994
- id: google-cloud-run
29952995
version: 0.14.0
2996-
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
2996+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
29972997
apis:
29982998
- path: google/cloud/run/v2
29992999
service_config: run_v2.yaml
@@ -3751,7 +3751,7 @@ libraries:
37513751
tag_format: '{id}-v{version}'
37523752
- id: google-cloud-workflows
37533753
version: 1.20.0
3754-
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
3754+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
37553755
apis:
37563756
- path: google/cloud/workflows/executions/v1
37573757
service_config: workflowexecutions_v1.yaml
@@ -4264,7 +4264,7 @@ libraries:
42644264
tag_format: '{id}-v{version}'
42654265
- id: googleapis-common-protos
42664266
version: 1.72.0
4267-
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
4267+
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
42684268
apis:
42694269
- path: google/api
42704270
service_config: serviceconfig.yaml

packages/google-cloud-databasecenter/google/cloud/databasecenter/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,16 @@
4848
AggregateFleetRequest,
4949
AggregateFleetResponse,
5050
AggregateFleetRow,
51+
AggregateIssueStatsRequest,
52+
AggregateIssueStatsResponse,
5153
BackupDRConfig,
5254
DatabaseResource,
5355
DatabaseResourceGroup,
5456
DeltaDetails,
5557
Dimension,
5658
Edition,
59+
IssueGroupStats,
60+
IssueStats,
5761
Label,
5862
ManagementType,
5963
QueryDatabaseResourceGroupsRequest,
@@ -109,11 +113,15 @@
109113
"AggregateFleetRequest",
110114
"AggregateFleetResponse",
111115
"AggregateFleetRow",
116+
"AggregateIssueStatsRequest",
117+
"AggregateIssueStatsResponse",
112118
"BackupDRConfig",
113119
"DatabaseResource",
114120
"DatabaseResourceGroup",
115121
"DeltaDetails",
116122
"Dimension",
123+
"IssueGroupStats",
124+
"IssueStats",
117125
"Label",
118126
"QueryDatabaseResourceGroupsRequest",
119127
"QueryDatabaseResourceGroupsResponse",

packages/google-cloud-databasecenter/google/cloud/databasecenter_v1beta/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,16 @@
4343
AggregateFleetRequest,
4444
AggregateFleetResponse,
4545
AggregateFleetRow,
46+
AggregateIssueStatsRequest,
47+
AggregateIssueStatsResponse,
4648
BackupDRConfig,
4749
DatabaseResource,
4850
DatabaseResourceGroup,
4951
DeltaDetails,
5052
Dimension,
5153
Edition,
54+
IssueGroupStats,
55+
IssueStats,
5256
Label,
5357
ManagementType,
5458
QueryDatabaseResourceGroupsRequest,
@@ -186,6 +190,8 @@ def _get_version(dependency_name):
186190
"AggregateFleetRequest",
187191
"AggregateFleetResponse",
188192
"AggregateFleetRow",
193+
"AggregateIssueStatsRequest",
194+
"AggregateIssueStatsResponse",
189195
"AutomatedBackupPolicyInfo",
190196
"BackupDRConfig",
191197
"BackupRunInfo",
@@ -199,7 +205,9 @@ def _get_version(dependency_name):
199205
"Engine",
200206
"InefficientQueryInfo",
201207
"IssueCount",
208+
"IssueGroupStats",
202209
"IssueSeverity",
210+
"IssueStats",
203211
"Label",
204212
"MachineConfig",
205213
"MaintenanceInfo",

packages/google-cloud-databasecenter/google/cloud/databasecenter_v1beta/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
"aggregate_fleet"
1616
]
1717
},
18+
"AggregateIssueStats": {
19+
"methods": [
20+
"aggregate_issue_stats"
21+
]
22+
},
1823
"QueryDatabaseResourceGroups": {
1924
"methods": [
2025
"query_database_resource_groups"
@@ -35,6 +40,11 @@
3540
"aggregate_fleet"
3641
]
3742
},
43+
"AggregateIssueStats": {
44+
"methods": [
45+
"aggregate_issue_stats"
46+
]
47+
},
3848
"QueryDatabaseResourceGroups": {
3949
"methods": [
4050
"query_database_resource_groups"
@@ -55,6 +65,11 @@
5565
"aggregate_fleet"
5666
]
5767
},
68+
"AggregateIssueStats": {
69+
"methods": [
70+
"aggregate_issue_stats"
71+
]
72+
},
5873
"QueryDatabaseResourceGroups": {
5974
"methods": [
6075
"query_database_resource_groups"

packages/google-cloud-databasecenter/google/cloud/databasecenter_v1beta/services/database_center/async_client.py

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,89 @@ async def sample_query_database_resource_groups():
580580
# Done; return the response.
581581
return response
582582

583+
async def aggregate_issue_stats(
584+
self,
585+
request: Optional[Union[service.AggregateIssueStatsRequest, dict]] = None,
586+
*,
587+
retry: OptionalRetry = gapic_v1.method.DEFAULT,
588+
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
589+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
590+
) -> service.AggregateIssueStatsResponse:
591+
r"""AggregateIssueStats provides database resource issues
592+
statistics.
593+
594+
.. code-block:: python
595+
596+
# This snippet has been automatically generated and should be regarded as a
597+
# code template only.
598+
# It will require modifications to work:
599+
# - It may require correct/in-range values for request initialization.
600+
# - It may require specifying regional endpoints when creating the service
601+
# client as shown in:
602+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
603+
from google.cloud import databasecenter_v1beta
604+
605+
async def sample_aggregate_issue_stats():
606+
# Create a client
607+
client = databasecenter_v1beta.DatabaseCenterAsyncClient()
608+
609+
# Initialize request argument(s)
610+
request = databasecenter_v1beta.AggregateIssueStatsRequest(
611+
parent="parent_value",
612+
)
613+
614+
# Make the request
615+
response = await client.aggregate_issue_stats(request=request)
616+
617+
# Handle the response
618+
print(response)
619+
620+
Args:
621+
request (Optional[Union[google.cloud.databasecenter_v1beta.types.AggregateIssueStatsRequest, dict]]):
622+
The request object. AggregateIssueStatsRequest represents
623+
the input to the AggregateIssueStats
624+
method.
625+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
626+
should be retried.
627+
timeout (float): The timeout for this request.
628+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
629+
sent along with the request as metadata. Normally, each value must be of type `str`,
630+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
631+
be of type `bytes`.
632+
633+
Returns:
634+
google.cloud.databasecenter_v1beta.types.AggregateIssueStatsResponse:
635+
The response message containing one
636+
of more group of relevant health issues
637+
for database resources.
638+
639+
"""
640+
# Create or coerce a protobuf request object.
641+
# - Use the request object if provided (there's no risk of modifying the input as
642+
# there are no flattened fields), or create one.
643+
if not isinstance(request, service.AggregateIssueStatsRequest):
644+
request = service.AggregateIssueStatsRequest(request)
645+
646+
# Wrap the RPC method; this adds retry and timeout information,
647+
# and friendly error handling.
648+
rpc = self._client._transport._wrapped_methods[
649+
self._client._transport.aggregate_issue_stats
650+
]
651+
652+
# Validate the universe domain.
653+
self._client._validate_universe_domain()
654+
655+
# Send the request.
656+
response = await rpc(
657+
request,
658+
retry=retry,
659+
timeout=timeout,
660+
metadata=metadata,
661+
)
662+
663+
# Done; return the response.
664+
return response
665+
583666
async def __aenter__(self) -> "DatabaseCenterAsyncClient":
584667
return self
585668

packages/google-cloud-databasecenter/google/cloud/databasecenter_v1beta/services/database_center/client.py

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,87 @@ def sample_query_database_resource_groups():
997997
# Done; return the response.
998998
return response
999999

1000+
def aggregate_issue_stats(
1001+
self,
1002+
request: Optional[Union[service.AggregateIssueStatsRequest, dict]] = None,
1003+
*,
1004+
retry: OptionalRetry = gapic_v1.method.DEFAULT,
1005+
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
1006+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
1007+
) -> service.AggregateIssueStatsResponse:
1008+
r"""AggregateIssueStats provides database resource issues
1009+
statistics.
1010+
1011+
.. code-block:: python
1012+
1013+
# This snippet has been automatically generated and should be regarded as a
1014+
# code template only.
1015+
# It will require modifications to work:
1016+
# - It may require correct/in-range values for request initialization.
1017+
# - It may require specifying regional endpoints when creating the service
1018+
# client as shown in:
1019+
# https://googleapis.dev/python/google-api-core/latest/client_options.html
1020+
from google.cloud import databasecenter_v1beta
1021+
1022+
def sample_aggregate_issue_stats():
1023+
# Create a client
1024+
client = databasecenter_v1beta.DatabaseCenterClient()
1025+
1026+
# Initialize request argument(s)
1027+
request = databasecenter_v1beta.AggregateIssueStatsRequest(
1028+
parent="parent_value",
1029+
)
1030+
1031+
# Make the request
1032+
response = client.aggregate_issue_stats(request=request)
1033+
1034+
# Handle the response
1035+
print(response)
1036+
1037+
Args:
1038+
request (Union[google.cloud.databasecenter_v1beta.types.AggregateIssueStatsRequest, dict]):
1039+
The request object. AggregateIssueStatsRequest represents
1040+
the input to the AggregateIssueStats
1041+
method.
1042+
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1043+
should be retried.
1044+
timeout (float): The timeout for this request.
1045+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
1046+
sent along with the request as metadata. Normally, each value must be of type `str`,
1047+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
1048+
be of type `bytes`.
1049+
1050+
Returns:
1051+
google.cloud.databasecenter_v1beta.types.AggregateIssueStatsResponse:
1052+
The response message containing one
1053+
of more group of relevant health issues
1054+
for database resources.
1055+
1056+
"""
1057+
# Create or coerce a protobuf request object.
1058+
# - Use the request object if provided (there's no risk of modifying the input as
1059+
# there are no flattened fields), or create one.
1060+
if not isinstance(request, service.AggregateIssueStatsRequest):
1061+
request = service.AggregateIssueStatsRequest(request)
1062+
1063+
# Wrap the RPC method; this adds retry and timeout information,
1064+
# and friendly error handling.
1065+
rpc = self._transport._wrapped_methods[self._transport.aggregate_issue_stats]
1066+
1067+
# Validate the universe domain.
1068+
self._validate_universe_domain()
1069+
1070+
# Send the request.
1071+
response = rpc(
1072+
request,
1073+
retry=retry,
1074+
timeout=timeout,
1075+
metadata=metadata,
1076+
)
1077+
1078+
# Done; return the response.
1079+
return response
1080+
10001081
def __enter__(self) -> "DatabaseCenterClient":
10011082
return self
10021083

packages/google-cloud-databasecenter/google/cloud/databasecenter_v1beta/services/database_center/transports/base.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ def _prep_wrapped_messages(self, client_info):
148148
default_timeout=None,
149149
client_info=client_info,
150150
),
151+
self.aggregate_issue_stats: gapic_v1.method.wrap_method(
152+
self.aggregate_issue_stats,
153+
default_timeout=None,
154+
client_info=client_info,
155+
),
151156
}
152157

153158
def close(self):
@@ -191,6 +196,18 @@ def query_database_resource_groups(
191196
]:
192197
raise NotImplementedError()
193198

199+
@property
200+
def aggregate_issue_stats(
201+
self,
202+
) -> Callable[
203+
[service.AggregateIssueStatsRequest],
204+
Union[
205+
service.AggregateIssueStatsResponse,
206+
Awaitable[service.AggregateIssueStatsResponse],
207+
],
208+
]:
209+
raise NotImplementedError()
210+
194211
@property
195212
def kind(self) -> str:
196213
raise NotImplementedError()

0 commit comments

Comments
 (0)