GeezerVison is showing github.com — feat: update API sources and regenerate (#17413) · googleapis/google-cloud-python@59fe7cf
File treeExpand file treeCollapse file tree Open diff view settings samples/generated_samples
samples/generated_samples tests/unit/gapic/ces_v1beta
google-cloud-confidentialcomputing google/cloud/confidentialcomputing_v1 services/confidential_computing
tests/unit/gapic/confidentialcomputing_v1
samples/generated_samples tests/unit/gapic/modelarmor_v1
google-cloud-oracledatabase samples/generated_samples tests/unit/gapic/oracledatabase_v1
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: librarian.yaml +3-2Lines changed: 3 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,8 +16,8 @@ version: v0.19.0 | 16 | 16 | repo: googleapis/google-cloud-python | 17 | 17 | sources: | 18 | 18 | googleapis: | 19 | | - commit: ff15be54722218705740b9fc6223d264c4cdb6dd | 20 | | - sha256: 13dc3b1a01767be8d486980d3ddcb7fe6f6b89c3da8d41c358d5c2536c86de3c | | 19 | + commit: d8daa97972d091191898915589335cef66fcdc8a | | 20 | + sha256: 7dbdf2b1b667fe57128d41c77e530a2541767772cfe3487713f29b7b25d9f5ad | 21 | 21 | default: | 22 | 22 | output: packages | 23 | 23 | tag_format: '{name}-v{version}' | @@ -1151,6 +1151,7 @@ libraries: | 1151 | 1151 | - docs/firestore_v1/transaction.rst | 1152 | 1152 | - docs/firestore_v1/transforms.rst | 1153 | 1153 | - docs/firestore_v1/types.rst | | 1154 | + skip_generate: true | 1154 | 1155 | skip_release: true | 1155 | 1156 | python: | 1156 | 1157 | library_type: GAPIC_COMBO | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/async_client.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1257,7 +1257,7 @@ async def sample_upgrade_cluster(): | 1257 | 1257 | # Initialize request argument(s) | 1258 | 1258 | request = alloydb_v1.UpgradeClusterRequest( | 1259 | 1259 | name="name_value", | 1260 | | - version="POSTGRES_17", | | 1260 | + version="POSTGRES_18", | 1261 | 1261 | ) | 1262 | 1262 |
| 1263 | 1263 | # Make the request | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-alloydb/google/cloud/alloydb_v1/services/alloy_db_admin/client.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1875,7 +1875,7 @@ def sample_upgrade_cluster(): | 1875 | 1875 | # Initialize request argument(s) | 1876 | 1876 | request = alloydb_v1.UpgradeClusterRequest( | 1877 | 1877 | name="name_value", | 1878 | | - version="POSTGRES_17", | | 1878 | + version="POSTGRES_18", | 1879 | 1879 | ) | 1880 | 1880 |
| 1881 | 1881 | # Make the request | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-alloydb/google/cloud/alloydb_v1/types/resources.py +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -123,6 +123,8 @@ class DatabaseVersion(proto.Enum): | 123 | 123 | The database version is Postgres 16. | 124 | 124 | POSTGRES_17 (5): | 125 | 125 | The database version is Postgres 17. | | 126 | + POSTGRES_18 (6): | | 127 | + The database version is Postgres 18. | 126 | 128 | """ | 127 | 129 |
| 128 | 130 | DATABASE_VERSION_UNSPECIFIED = 0 | @@ -131,6 +133,7 @@ class DatabaseVersion(proto.Enum): | 131 | 133 | POSTGRES_15 = 3 | 132 | 134 | POSTGRES_16 = 4 | 133 | 135 | POSTGRES_17 = 5 | | 136 | + POSTGRES_18 = 6 | 134 | 137 |
| 135 | 138 |
| 136 | 139 | class SubscriptionType(proto.Enum): | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1_generated_alloy_db_admin_upgrade_cluster_async.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -41,7 +41,7 @@ async def sample_upgrade_cluster(): | 41 | 41 | # Initialize request argument(s) | 42 | 42 | request = alloydb_v1.UpgradeClusterRequest( | 43 | 43 | name="name_value", | 44 | | - version="POSTGRES_17", | | 44 | + version="POSTGRES_18", | 45 | 45 | ) | 46 | 46 |
| 47 | 47 | # Make the request | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1_generated_alloy_db_admin_upgrade_cluster_sync.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -41,7 +41,7 @@ def sample_upgrade_cluster(): | 41 | 41 | # Initialize request argument(s) | 42 | 42 | request = alloydb_v1.UpgradeClusterRequest( | 43 | 43 | name="name_value", | 44 | | - version="POSTGRES_17", | | 44 | + version="POSTGRES_18", | 45 | 45 | ) | 46 | 46 |
| 47 | 47 | # Make the request | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ces/google/cloud/ces_v1beta/__init__.py +28-2Lines changed: 28 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 32 | 32 | from .services.tool_service import ToolServiceAsyncClient, ToolServiceClient | 33 | 33 | from .services.widget_service import WidgetServiceAsyncClient, WidgetServiceClient | 34 | 34 | from .types.agent import Agent | | 35 | +from .types.agent_card import AgentCard, AgentInterface, AgentSkill, RemoteAgentTool | 35 | 36 | from .types.agent_service import ( | 36 | 37 | BatchDeleteConversationsRequest, | 37 | 38 | BatchDeleteConversationsResponse, | | 129 | 130 | RedactionConfig, | 130 | 131 | SynthesizeSpeechConfig, | 131 | 132 | TimeZoneSettings, | | 133 | + VpcScSettings, | 132 | 134 | ) | 133 | 135 | from .types.app_version import AppSnapshot, AppVersion | 134 | 136 | from .types.auth import ( | | 158 | 160 | from .types.conversation import Conversation | 159 | 161 | from .types.data_store import DataStore | 160 | 162 | from .types.data_store_tool import DataStoreTool | 161 | | -from .types.deployment import Deployment | | 163 | +from .types.deployment import Deployment, ExperimentConfig | 162 | 164 | from .types.evaluation import ( | 163 | 165 | AggregatedMetrics, | 164 | 166 | Evaluation, | | 174 | 176 | RunEvaluationRequest, | 175 | 177 | ScheduledEvaluationRun, | 176 | 178 | ) | | 179 | +from .types.evaluation_metrics_config import EvaluationMetricsConfig | 177 | 180 | from .types.evaluation_service import ( | 178 | 181 | CreateEvaluationDatasetRequest, | 179 | 182 | CreateEvaluationExpectationRequest, | | 186 | 189 | DeleteEvaluationRunOperationMetadata, | 187 | 190 | DeleteEvaluationRunRequest, | 188 | 191 | DeleteScheduledEvaluationRunRequest, | | 192 | + ExportEvaluationResultsOperationMetadata, | | 193 | + ExportEvaluationResultsRequest, | 189 | 194 | ExportEvaluationResultsResponse, | | 195 | + ExportEvaluationRunsOperationMetadata, | | 196 | + ExportEvaluationRunsRequest, | 190 | 197 | ExportEvaluationRunsResponse, | 191 | 198 | ExportEvaluationsRequest, | 192 | 199 | ExportEvaluationsResponse, | | 216 | 223 | ListScheduledEvaluationRunsResponse, | 217 | 224 | RunEvaluationOperationMetadata, | 218 | 225 | RunEvaluationResponse, | | 226 | + RunEvaluationResultMetricsOperationMetadata, | | 227 | + RunEvaluationResultMetricsRequest, | | 228 | + RunEvaluationResultMetricsResponse, | 219 | 229 | TestPersonaVoiceRequest, | 220 | 230 | TestPersonaVoiceResponse, | 221 | 231 | UpdateEvaluationDatasetRequest, | | 242 | 252 | from .types.google_search_tool import GoogleSearchTool | 243 | 253 | from .types.guardrail import Guardrail | 244 | 254 | from .types.mcp_tool import McpTool | 245 | | -from .types.mcp_toolset import McpToolset | | 255 | +from .types.mcp_toolset import McpToolDefinition, McpToolOverride, McpToolset | 246 | 256 | from .types.mocks import MockedToolCall | 247 | 257 | from .types.omnichannel import Omnichannel, OmnichannelIntegrationConfig | 248 | 258 | from .types.omnichannel_service import OmnichannelOperationMetadata | @@ -379,7 +389,10 @@ def _get_version(dependency_name): | 379 | 389 | "WidgetServiceAsyncClient", | 380 | 390 | "Action", | 381 | 391 | "Agent", | | 392 | + "AgentCard", | | 393 | + "AgentInterface", | 382 | 394 | "AgentServiceClient", | | 395 | + "AgentSkill", | 383 | 396 | "AgentTool", | 384 | 397 | "AgentTransfer", | 385 | 398 | "AggregatedMetrics", | @@ -454,6 +467,7 @@ def _get_version(dependency_name): | 454 | 467 | "EvaluationDataset", | 455 | 468 | "EvaluationErrorInfo", | 456 | 469 | "EvaluationExpectation", | | 470 | + "EvaluationMetricsConfig", | 457 | 471 | "EvaluationMetricsThresholds", | 458 | 472 | "EvaluationPersona", | 459 | 473 | "EvaluationResult", | @@ -466,9 +480,14 @@ def _get_version(dependency_name): | 466 | 480 | "ExecuteToolRequest", | 467 | 481 | "ExecuteToolResponse", | 468 | 482 | "ExecutionType", | | 483 | + "ExperimentConfig", | 469 | 484 | "ExportAppRequest", | 470 | 485 | "ExportAppResponse", | | 486 | + "ExportEvaluationResultsOperationMetadata", | | 487 | + "ExportEvaluationResultsRequest", | 471 | 488 | "ExportEvaluationResultsResponse", | | 489 | + "ExportEvaluationRunsOperationMetadata", | | 490 | + "ExportEvaluationRunsRequest", | 472 | 491 | "ExportEvaluationRunsResponse", | 473 | 492 | "ExportEvaluationsRequest", | 474 | 493 | "ExportEvaluationsResponse", | @@ -549,6 +568,8 @@ def _get_version(dependency_name): | 549 | 568 | "ListToolsetsResponse", | 550 | 569 | "LoggingSettings", | 551 | 570 | "McpTool", | | 571 | + "McpToolDefinition", | | 572 | + "McpToolOverride", | 552 | 573 | "McpToolset", | 553 | 574 | "Message", | 554 | 575 | "MetricAnalysisSettings", | @@ -570,6 +591,7 @@ def _get_version(dependency_name): | 570 | 591 | "QualityReport", | 571 | 592 | "RecognitionResult", | 572 | 593 | "RedactionConfig", | | 594 | + "RemoteAgentTool", | 573 | 595 | "RestoreAppVersionRequest", | 574 | 596 | "RestoreAppVersionResponse", | 575 | 597 | "RetrieveToolSchemaRequest", | @@ -579,6 +601,9 @@ def _get_version(dependency_name): | 579 | 601 | "RunEvaluationOperationMetadata", | 580 | 602 | "RunEvaluationRequest", | 581 | 603 | "RunEvaluationResponse", | | 604 | + "RunEvaluationResultMetricsOperationMetadata", | | 605 | + "RunEvaluationResultMetricsRequest", | | 606 | + "RunEvaluationResultMetricsResponse", | 582 | 607 | "RunSessionRequest", | 583 | 608 | "RunSessionResponse", | 584 | 609 | "ScheduledEvaluationRun", | @@ -623,6 +648,7 @@ def _get_version(dependency_name): | 623 | 648 | "UpdateToolsetRequest", | 624 | 649 | "UploadEvaluationAudioRequest", | 625 | 650 | "UploadEvaluationAudioResponse", | | 651 | + "VpcScSettings", | 626 | 652 | "WebSearchQuery", | 627 | 653 | "WidgetServiceClient", | 628 | 654 | "WidgetTool", | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ces/google/cloud/ces_v1beta/gapic_metadata.json +45Lines changed: 45 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 844 | 844 | "delete_scheduled_evaluation_run" | 845 | 845 | ] | 846 | 846 | }, | | 847 | + "ExportEvaluationResults": { | | 848 | + "methods": [ | | 849 | + "export_evaluation_results" | | 850 | + ] | | 851 | + }, | | 852 | + "ExportEvaluationRuns": { | | 853 | + "methods": [ | | 854 | + "export_evaluation_runs" | | 855 | + ] | | 856 | + }, | 847 | 857 | "ExportEvaluations": { | 848 | 858 | "methods": [ | 849 | 859 | "export_evaluations" | | 924 | 934 | "run_evaluation" | 925 | 935 | ] | 926 | 936 | }, | | 937 | + "RunEvaluationResultMetrics": { | | 938 | + "methods": [ | | 939 | + "run_evaluation_result_metrics" | | 940 | + ] | | 941 | + }, | 927 | 942 | "TestPersonaVoice": { | 928 | 943 | "methods": [ | 929 | 944 | "test_persona_voice" | | 1009 | 1024 | "delete_scheduled_evaluation_run" | 1010 | 1025 | ] | 1011 | 1026 | }, | | 1027 | + "ExportEvaluationResults": { | | 1028 | + "methods": [ | | 1029 | + "export_evaluation_results" | | 1030 | + ] | | 1031 | + }, | | 1032 | + "ExportEvaluationRuns": { | | 1033 | + "methods": [ | | 1034 | + "export_evaluation_runs" | | 1035 | + ] | | 1036 | + }, | 1012 | 1037 | "ExportEvaluations": { | 1013 | 1038 | "methods": [ | 1014 | 1039 | "export_evaluations" | | 1089 | 1114 | "run_evaluation" | 1090 | 1115 | ] | 1091 | 1116 | }, | | 1117 | + "RunEvaluationResultMetrics": { | | 1118 | + "methods": [ | | 1119 | + "run_evaluation_result_metrics" | | 1120 | + ] | | 1121 | + }, | 1092 | 1122 | "TestPersonaVoice": { | 1093 | 1123 | "methods": [ | 1094 | 1124 | "test_persona_voice" | | 1174 | 1204 | "delete_scheduled_evaluation_run" | 1175 | 1205 | ] | 1176 | 1206 | }, | | 1207 | + "ExportEvaluationResults": { | | 1208 | + "methods": [ | | 1209 | + "export_evaluation_results" | | 1210 | + ] | | 1211 | + }, | | 1212 | + "ExportEvaluationRuns": { | | 1213 | + "methods": [ | | 1214 | + "export_evaluation_runs" | | 1215 | + ] | | 1216 | + }, | 1177 | 1217 | "ExportEvaluations": { | 1178 | 1218 | "methods": [ | 1179 | 1219 | "export_evaluations" | | 1254 | 1294 | "run_evaluation" | 1255 | 1295 | ] | 1256 | 1296 | }, | | 1297 | + "RunEvaluationResultMetrics": { | | 1298 | + "methods": [ | | 1299 | + "run_evaluation_result_metrics" | | 1300 | + ] | | 1301 | + }, | 1257 | 1302 | "TestPersonaVoice": { | 1258 | 1303 | "methods": [ | 1259 | 1304 | "test_persona_voice" | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/async_client.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 46 | 46 |
| 47 | 47 | import google.api_core.operation as operation # type: ignore | 48 | 48 | import google.api_core.operation_async as operation_async # type: ignore | | 49 | +import google.protobuf.duration_pb2 as duration_pb2 # type: ignore | 49 | 50 | import google.protobuf.empty_pb2 as empty_pb2 # type: ignore | 50 | 51 | import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore | 51 | 52 | import google.protobuf.struct_pb2 as struct_pb2 # type: ignore | | 56 | 57 | from google.cloud.ces_v1beta.services.agent_service import pagers | 57 | 58 | from google.cloud.ces_v1beta.types import ( | 58 | 59 | agent, | | 60 | + agent_card, | 59 | 61 | agent_service, | 60 | 62 | agent_tool, | 61 | 63 | agent_transfers, | |
Collapse file Copy file name to clipboardExpand all lines: packages/google-cloud-ces/google/cloud/ces_v1beta/services/agent_service/client.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 63 | 63 |
| 64 | 64 | import google.api_core.operation as operation # type: ignore | 65 | 65 | import google.api_core.operation_async as operation_async # type: ignore | | 66 | +import google.protobuf.duration_pb2 as duration_pb2 # type: ignore | 66 | 67 | import google.protobuf.empty_pb2 as empty_pb2 # type: ignore | 67 | 68 | import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore | 68 | 69 | import google.protobuf.struct_pb2 as struct_pb2 # type: ignore | | 73 | 74 | from google.cloud.ces_v1beta.services.agent_service import pagers | 74 | 75 | from google.cloud.ces_v1beta.types import ( | 75 | 76 | agent, | | 77 | + agent_card, | 76 | 78 | agent_service, | 77 | 79 | agent_tool, | 78 | 80 | agent_transfers, | |
|