From 67e93f5c348ed66d722e4d6ca3f0c7272c385473 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sun, 22 Feb 2026 02:14:11 +0000 Subject: [PATCH] Update stubs --- .../_apis/admin/directory_v1/resources.pyi | 17 ++ .../_apis/admin/directory_v1/schemas.pyi | 4 + .../_apis/admin/reports_v1/resources.pyi | 3 + .../_apis/admin/reports_v1/schemas.pyi | 7 + .../_apis/aiplatform/v1/schemas.pyi | 1 + .../_apis/aiplatform/v1beta1/resources.pyi | 58 ++++ .../_apis/aiplatform/v1beta1/schemas.pyi | 3 + .../_apis/alloydb/v1/schemas.pyi | 2 +- .../_apis/alloydb/v1alpha/schemas.pyi | 2 +- .../_apis/alloydb/v1beta/schemas.pyi | 2 +- .../_apis/artifactregistry/v1/schemas.pyi | 4 +- .../artifactregistry/v1beta1/schemas.pyi | 4 +- .../artifactregistry/v1beta2/schemas.pyi | 4 +- .../_apis/biglake/v1/resources.pyi | 47 +++ .../_apis/biglake/v1/schemas.pyi | 8 + .../_apis/bigtableadmin/v2/schemas.pyi | 4 + .../_apis/ces/v1/resources.pyi | 8 + .../_apis/ces/v1/schemas.pyi | 11 + .../_apis/ces/v1beta/resources.pyi | 8 + .../_apis/ces/v1beta/schemas.pyi | 11 + .../_apis/chat/v1/schemas.pyi | 1 + .../_apis/cloudfunctions/v2/schemas.pyi | 12 + .../_apis/cloudkms/v1/resources.pyi | 42 +++ .../_apis/cloudkms/v1/schemas.pyi | 13 + .../_apis/compute/alpha/resources.pyi | 94 +++++- .../_apis/compute/alpha/schemas.pyi | 207 ++++++++++++- .../_apis/compute/beta/schemas.pyi | 69 +++++ .../_apis/compute/v1/resources.pyi | 6 +- .../_apis/compute/v1/schemas.pyi | 19 ++ .../_apis/connectors/v2/resources.pyi | 26 ++ .../_apis/connectors/v2/schemas.pyi | 20 ++ .../_apis/container/v1/schemas.pyi | 17 +- .../_apis/container/v1beta1/schemas.pyi | 17 +- .../_apis/dataflow/v1b3/schemas.pyi | 2 + .../_apis/dataplex/v1/resources.pyi | 25 ++ .../_apis/datastream/v1/schemas.pyi | 77 +++++ .../_apis/datastream/v1alpha1/schemas.pyi | 77 +++++ .../_apis/dfareporting/v5/resources.pyi | 31 +- .../_apis/dfareporting/v5/schemas.pyi | 13 + .../_apis/discoveryengine/v1/resources.pyi | 22 ++ .../_apis/discoveryengine/v1/schemas.pyi | 174 ++++++++++- .../discoveryengine/v1alpha/resources.pyi | 127 +++----- .../_apis/discoveryengine/v1alpha/schemas.pyi | 273 ++++++++++++------ .../discoveryengine/v1beta/resources.pyi | 22 ++ .../_apis/discoveryengine/v1beta/schemas.pyi | 174 ++++++++++- .../_apis/displayvideo/v2/schemas.pyi | 1 + .../_apis/displayvideo/v3/schemas.pyi | 1 + .../_apis/displayvideo/v4/schemas.pyi | 1 + .../gmailpostmastertools/v2/__init__.pyi | 2 + .../gmailpostmastertools/v2/resources.pyi | 106 +++++++ .../_apis/gmailpostmastertools/v2/schemas.pyi | 175 +++++++++++ .../_apis/iam/v1/schemas.pyi | 5 +- .../_apis/iap/v1/schemas.pyi | 3 + .../_apis/networksecurity/v1/schemas.pyi | 15 + .../_apis/networkservices/v1/schemas.pyi | 1 + .../_apis/networkservices/v1beta1/schemas.pyi | 1 + .../_apis/ondemandscanning/v1/schemas.pyi | 1 + .../ondemandscanning/v1beta1/schemas.pyi | 1 + .../_apis/places/v1/schemas.pyi | 1 + .../_apis/recommender/v1/schemas.pyi | 1 - .../_apis/recommender/v1beta1/schemas.pyi | 1 - .../_apis/redis/v1/resources.pyi | 11 + .../_apis/redis/v1/schemas.pyi | 23 +- .../_apis/redis/v1beta1/resources.pyi | 11 + .../_apis/redis/v1beta1/schemas.pyi | 23 +- .../_apis/run/v1/schemas.pyi | 1 + .../_apis/run/v2/schemas.pyi | 3 + .../serviceconsumermanagement/v1/schemas.pyi | 6 + .../v1beta1/schemas.pyi | 6 + .../_apis/serviceusage/v1/schemas.pyi | 6 + .../_apis/serviceusage/v1beta1/schemas.pyi | 6 + .../_apis/sqladmin/v1/resources.pyi | 9 +- .../_apis/sqladmin/v1/schemas.pyi | 26 +- .../_apis/sqladmin/v1beta4/schemas.pyi | 20 ++ .../_apis/storage/v1/resources.pyi | 9 + .../storagebatchoperations/v1/schemas.pyi | 3 +- .../_apis/workloadmanager/v1/resources.pyi | 99 +++++++ .../_apis/workloadmanager/v1/schemas.pyi | 247 ++++++++++++++++ googleapiclient-stubs/discovery.pyi | 21 ++ pyproject.toml | 2 +- uv.lock | 2 +- 81 files changed, 2379 insertions(+), 239 deletions(-) create mode 100644 googleapiclient-stubs/_apis/gmailpostmastertools/v2/__init__.pyi create mode 100644 googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi create mode 100644 googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi index 895067f02..7c5978a9c 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi @@ -124,6 +124,15 @@ class DirectoryResource(googleapiclient.discovery.Resource): body: BatchChangeChromeOsDeviceStatusRequest = ..., **kwargs: typing.Any, ) -> BatchChangeChromeOsDeviceStatusResponseHttpRequest: ... + def countChromeOsDevices( + self, + *, + customerId: str, + filter: str = ..., + includeChildOrgunits: bool = ..., + orgUnitPath: str = ..., + **kwargs: typing.Any, + ) -> CountChromeOsDevicesResponseHttpRequest: ... def issueCommand( self, *, @@ -1035,6 +1044,14 @@ class ChromeOsDevicesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ChromeOsDevices: ... +@typing.type_check_only +class CountChromeOsDevicesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CountChromeOsDevicesResponse: ... + @typing.type_check_only class CustomerHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi index 298a33e19..af3f15f7b 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi @@ -301,6 +301,10 @@ class ChromeOsDevices(typing_extensions.TypedDict, total=False): class ChromeOsMoveDevicesToOu(typing_extensions.TypedDict, total=False): deviceIds: _list[str] +@typing.type_check_only +class CountChromeOsDevicesResponse(typing_extensions.TypedDict, total=False): + count: str + @typing.type_check_only class CreatePrintServerRequest(typing_extensions.TypedDict, total=False): parent: str diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index 75e1cd7c6..17959709b 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -60,16 +60,19 @@ class ReportsResource(googleapiclient.discovery.Resource): "graduation", ], actorIpAddress: str = ..., + applicationInfoFilter: str = ..., customerId: str = ..., endTime: str = ..., eventName: str = ..., filters: str = ..., groupIdFilter: str = ..., maxResults: int = ..., + networkInfoFilter: str = ..., orgUnitID: str = ..., pageToken: str = ..., resourceDetailsFilter: str = ..., startTime: str = ..., + statusFilter: str = ..., **kwargs: typing.Any, ) -> ActivitiesHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi index e6df697d4..949b999dd 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/schemas.pyi @@ -23,6 +23,13 @@ class Activity(typing_extensions.TypedDict, total=False): ownerDomain: str resourceDetails: _list[ResourceDetails] +@typing.type_check_only +class ActivityEventsStatus(typing_extensions.TypedDict, total=False): + errorCode: str + errorMessage: str + eventStatus: str + httpStatusCode: int + @typing.type_check_only class ActivityNetworkInfo(typing_extensions.TypedDict, total=False): ipAsn: _list[int] diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index 7bae33c77..f2faf1ad9 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -836,6 +836,7 @@ class GoogleCloudAiplatformV1CandidateResponse( typing_extensions.TypedDict, total=False ): candidate: str + error: GoogleRpcStatus text: str value: typing.Any diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index 46935856f..9f204cba9 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -631,6 +631,34 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... + @typing.type_check_only + class EvaluationMetricsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class EvaluationRunsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -2908,6 +2936,34 @@ class AiplatformResource(googleapiclient.discovery.Resource): ): ... def operations(self) -> OperationsResource: ... + @typing.type_check_only + class EvaluationMetricsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class EvaluationRunsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -7905,6 +7961,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def edgeDevices(self) -> EdgeDevicesResource: ... def endpoints(self) -> EndpointsResource: ... def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationMetrics(self) -> EvaluationMetricsResource: ... def evaluationRuns(self) -> EvaluationRunsResource: ... def evaluationSets(self) -> EvaluationSetsResource: ... def evaluationTasks(self) -> EvaluationTasksResource: ... @@ -9084,6 +9141,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def edgeDevices(self) -> EdgeDevicesResource: ... def endpoints(self) -> EndpointsResource: ... def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationMetrics(self) -> EvaluationMetricsResource: ... def evaluationRuns(self) -> EvaluationRunsResource: ... def evaluationSets(self) -> EvaluationSetsResource: ... def evaluationTasks(self) -> EvaluationTasksResource: ... diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index c09cf2252..4084f9d08 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -955,6 +955,7 @@ class GoogleCloudAiplatformV1beta1CandidateResponse( ): agentData: GoogleCloudAiplatformV1beta1AgentData candidate: str + error: GoogleRpcStatus events: _list[GoogleCloudAiplatformV1beta1Content] text: str value: typing.Any @@ -4199,6 +4200,7 @@ class GoogleCloudAiplatformV1beta1GeminiExample( generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig labels: dict[str, typing.Any] model: str + modelArmorConfig: GoogleCloudAiplatformV1beta1ModelArmorConfig safetySettings: _list[GoogleCloudAiplatformV1beta1SafetySetting] systemInstruction: GoogleCloudAiplatformV1beta1Content toolConfig: GoogleCloudAiplatformV1beta1ToolConfig @@ -9671,6 +9673,7 @@ class GoogleCloudAiplatformV1beta1Schedule(typing_extensions.TypedDict, total=Fa lastPauseTime: str lastResumeTime: str lastScheduledRunResponse: GoogleCloudAiplatformV1beta1ScheduleRunResponse + maxConcurrentActiveRunCount: str maxConcurrentRunCount: str maxRunCount: str name: str diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index d0a1d11ad..21c18d611 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -1313,6 +1313,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( typing_extensions.TypedDict, total=False ): + currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] @@ -1331,7 +1332,6 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( ] maintenanceVersion: str upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance - versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index 4c4b9f63f..aced7bcb4 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -1362,6 +1362,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( typing_extensions.TypedDict, total=False ): + currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] @@ -1380,7 +1381,6 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( ] maintenanceVersion: str upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance - versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 0c03e190f..41867bd2a 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -1356,6 +1356,7 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( typing_extensions.TypedDict, total=False ): + currentVersionReleaseDate: GoogleTypeDate denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] @@ -1374,7 +1375,6 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( ] maintenanceVersion: str upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance - versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi index 3767f1129..c87321763 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi @@ -232,7 +232,9 @@ class GoogleDevtoolsArtifactregistryV1Rule(typing_extensions.TypedDict, total=Fa @typing.type_check_only class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5"] + type: typing_extensions.Literal[ + "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" + ] value: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi index fc18c9962..26a714584 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta1/schemas.pyi @@ -31,7 +31,9 @@ class File(typing_extensions.TypedDict, total=False): @typing.type_check_only class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5"] + type: typing_extensions.Literal[ + "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" + ] value: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi index 79b3e3650..ee3d49b9e 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi @@ -47,7 +47,9 @@ class GoogleDevtoolsArtifactregistryV1beta2File( @typing.type_check_only class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5"] + type: typing_extensions.Literal[ + "HASH_TYPE_UNSPECIFIED", "SHA256", "MD5", "DIRSUM_SHA256" + ] value: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi index a73a77869..c1be22136 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi @@ -19,6 +19,30 @@ class BigLakeServiceResource(googleapiclient.discovery.Resource): class CatalogsResource(googleapiclient.discovery.Resource): @typing.type_check_only class NamespacesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class TablesResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def getIamPolicy( self, *, @@ -33,6 +57,14 @@ class BigLakeServiceResource(googleapiclient.discovery.Resource): body: SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... + def tables(self) -> TablesResource: ... def getIamPolicy( self, @@ -48,6 +80,13 @@ class BigLakeServiceResource(googleapiclient.discovery.Resource): body: SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestIamPermissionsResponseHttpRequest: ... def namespaces(self) -> NamespacesResource: ... @typing.type_check_only @@ -244,3 +283,11 @@ class TableHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Table: ... + +@typing.type_check_only +class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestIamPermissionsResponse: ... diff --git a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi index 95f12f192..463c3438c 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi @@ -110,3 +110,11 @@ class Table(typing_extensions.TypedDict, total=False): name: str type: typing_extensions.Literal["TYPE_UNSPECIFIED", "HIVE"] updateTime: str + +@typing.type_check_only +class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): + permissions: _list[str] + +@typing.type_check_only +class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): + permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi index eb559c51c..69ccf767c 100644 --- a/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigtableadmin/v2/schemas.pyi @@ -390,6 +390,9 @@ class GoogleBigtableAdminV2TypeFloat32(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleBigtableAdminV2TypeFloat64(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleBigtableAdminV2TypeGeography(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GoogleBigtableAdminV2TypeInt64(typing_extensions.TypedDict, total=False): encoding: GoogleBigtableAdminV2TypeInt64Encoding @@ -772,6 +775,7 @@ class Type(typing_extensions.TypedDict, total=False): enumType: GoogleBigtableAdminV2TypeEnum float32Type: GoogleBigtableAdminV2TypeFloat32 float64Type: GoogleBigtableAdminV2TypeFloat64 + geographyType: GoogleBigtableAdminV2TypeGeography int64Type: GoogleBigtableAdminV2TypeInt64 mapType: GoogleBigtableAdminV2TypeMap protoType: GoogleBigtableAdminV2TypeProto diff --git a/googleapiclient-stubs/_apis/ces/v1/resources.pyi b/googleapiclient-stubs/_apis/ces/v1/resources.pyi index cc8c647e6..ed16c0395 100644 --- a/googleapiclient-stubs/_apis/ces/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/resources.pyi @@ -122,6 +122,14 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): source: typing_extensions.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" ] = ..., + sources: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] + | _list[ + typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] + ] = ..., **kwargs: typing.Any, ) -> ListConversationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi index cace3cb8d..5e21414be 100644 --- a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi @@ -188,6 +188,7 @@ class Blob(typing_extensions.TypedDict, total=False): class Callback(typing_extensions.TypedDict, total=False): description: str disabled: bool + proactiveExecutionEnabled: bool pythonCode: str @typing.type_check_only @@ -321,6 +322,8 @@ class Conversation(typing_extensions.TypedDict, total=False): "INPUT_TYPE_AUDIO", "INPUT_TYPE_IMAGE", "INPUT_TYPE_BLOB", + "INPUT_TYPE_TOOL_RESPONSE", + "INPUT_TYPE_VARIABLES", ] ] languageCode: str @@ -601,6 +604,12 @@ class GoogleSearchTool(typing_extensions.TypedDict, total=False): excludeDomains: _list[str] name: str preferredDomains: _list[str] + promptConfig: GoogleSearchToolPromptConfig + +@typing.type_check_only +class GoogleSearchToolPromptConfig(typing_extensions.TypedDict, total=False): + textPrompt: str + voicePrompt: str @typing.type_check_only class Guardrail(typing_extensions.TypedDict, total=False): @@ -697,6 +706,7 @@ class ImportAppRequest(typing_extensions.TypedDict, total=False): appId: str displayName: str gcsUri: str + ignoreAppLock: bool importOptions: ImportAppRequestImportOptions @typing.type_check_only @@ -1253,4 +1263,5 @@ class WidgetTool(typing_extensions.TypedDict, total=False): "SHORT_FORM", "OVERALL_SATISFACTION", "ORDER_SUMMARY", + "APPOINTMENT_DETAILS", ] diff --git a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi index 4639f04e0..ce0eaa4b3 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi @@ -129,6 +129,14 @@ class CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): source: typing_extensions.Literal[ "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" ] = ..., + sources: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] + | _list[ + typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] + ] = ..., **kwargs: typing.Any, ) -> ListConversationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi index e49494e29..b37580631 100644 --- a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi @@ -246,6 +246,7 @@ class Blob(typing_extensions.TypedDict, total=False): class Callback(typing_extensions.TypedDict, total=False): description: str disabled: bool + proactiveExecutionEnabled: bool pythonCode: str @typing.type_check_only @@ -379,6 +380,8 @@ class Conversation(typing_extensions.TypedDict, total=False): "INPUT_TYPE_AUDIO", "INPUT_TYPE_IMAGE", "INPUT_TYPE_BLOB", + "INPUT_TYPE_TOOL_RESPONSE", + "INPUT_TYPE_VARIABLES", ] ] languageCode: str @@ -1088,6 +1091,12 @@ class GoogleSearchTool(typing_extensions.TypedDict, total=False): excludeDomains: _list[str] name: str preferredDomains: _list[str] + promptConfig: GoogleSearchToolPromptConfig + +@typing.type_check_only +class GoogleSearchToolPromptConfig(typing_extensions.TypedDict, total=False): + textPrompt: str + voicePrompt: str @typing.type_check_only class Guardrail(typing_extensions.TypedDict, total=False): @@ -1184,6 +1193,7 @@ class ImportAppRequest(typing_extensions.TypedDict, total=False): appId: str displayName: str gcsUri: str + ignoreAppLock: bool importOptions: ImportAppRequestImportOptions @typing.type_check_only @@ -1907,4 +1917,5 @@ class WidgetTool(typing_extensions.TypedDict, total=False): "SHORT_FORM", "OVERALL_SATISFACTION", "ORDER_SUMMARY", + "APPOINTMENT_DETAILS", ] diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index ee925fc70..a1fed0eab 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -431,6 +431,7 @@ class GoogleAppsCardV1Condition(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleAppsCardV1DataSourceConfig(typing_extensions.TypedDict, total=False): + minCharactersTrigger: int platformDataSource: GoogleAppsCardV1PlatformDataSource remoteDataSource: GoogleAppsCardV1Action diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index 8d4407a89..726cd2bc8 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -65,6 +65,12 @@ class Date(typing_extensions.TypedDict, total=False): @typing.type_check_only class DetachFunctionRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class DirectVpcNetworkInterface(typing_extensions.TypedDict, total=False): + network: str + subnetwork: str + tags: _list[str] + @typing.type_check_only class EventFilter(typing_extensions.TypedDict, total=False): attribute: str @@ -321,6 +327,12 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): availableCpu: str availableMemory: str binaryAuthorizationPolicy: str + directVpcEgress: typing_extensions.Literal[ + "DIRECT_VPC_EGRESS_UNSPECIFIED", + "VPC_EGRESS_PRIVATE_RANGES_ONLY", + "VPC_EGRESS_ALL_TRAFFIC", + ] + directVpcNetworkInterface: _list[DirectVpcNetworkInterface] environmentVariables: dict[str, typing.Any] ingressSettings: typing_extensions.Literal[ "INGRESS_SETTINGS_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index 6f68ce30f..a1f1959ab 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -203,6 +203,9 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: DecapsulateRequest = ..., **kwargs: typing.Any, ) -> DecapsulateResponseHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def destroy( self, *, @@ -311,6 +314,9 @@ class CloudKMSResource(googleapiclient.discovery.Resource): body: DecryptRequest = ..., **kwargs: typing.Any, ) -> DecryptResponseHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def encrypt( self, *, @@ -483,6 +489,25 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class RetiredResourcesResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RetiredResourceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRetiredResourcesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRetiredResourcesResponseHttpRequest, + previous_response: ListRetiredResourcesResponse, + ) -> ListRetiredResourcesResponseHttpRequest | None: ... + @typing.type_check_only class SingleTenantHsmInstancesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -604,6 +629,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def keyHandles(self) -> KeyHandlesResource: ... def keyRings(self) -> KeyRingsResource: ... def operations(self) -> OperationsResource: ... + def retiredResources(self) -> RetiredResourcesResource: ... def singleTenantHsmInstances(self) -> SingleTenantHsmInstancesResource: ... def getAutokeyConfig( @@ -851,6 +877,14 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListRetiredResourcesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRetiredResourcesResponse: ... + @typing.type_check_only class ListSingleTenantHsmInstanceProposalsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -933,6 +967,14 @@ class RawEncryptResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RawEncryptResponse: ... +@typing.type_check_only +class RetiredResourceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetiredResource: ... + @typing.type_check_only class ShowEffectiveAutokeyConfigResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index bef7ed656..8d695756d 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -607,6 +607,12 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListRetiredResourcesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + retiredResources: _list[RetiredResource] + totalSize: str + @typing.type_check_only class ListSingleTenantHsmInstanceProposalsResponse( typing_extensions.TypedDict, total=False @@ -858,6 +864,13 @@ class RequiredActionQuorumReply(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestoreCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RetiredResource(typing_extensions.TypedDict, total=False): + deleteTime: str + name: str + originalResource: str + resourceType: str + @typing.type_check_only class ServiceResolver(typing_extensions.TypedDict, total=False): endpointFilter: str diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 46424cace..1ea290fcf 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -707,6 +707,16 @@ class ComputeResource(googleapiclient.discovery.Resource): resource: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def convert( + self, + *, + project: str, + zone: str, + disk: str, + body: DisksConvertRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def createSnapshot( self, *, @@ -2279,6 +2289,16 @@ class ComputeResource(googleapiclient.discovery.Resource): body: InstanceGroupManagersApplyUpdatesRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def configureAcceleratorTopologies( + self, + *, + project: str, + zone: str, + instanceGroupManager: str, + body: InstanceGroupManagersConfigureAcceleratorTopologiesRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def createInstances( self, *, @@ -6199,7 +6219,7 @@ class ComputeResource(googleapiclient.discovery.Resource): region: str, compositeHealthCheck: str, **kwargs: typing.Any, - ) -> CompositeHealthChecksGetHealthResponseHttpRequest: ... + ) -> CompositeHealthCheckHealthHttpRequest: ... def insert( self, *, @@ -6742,6 +6762,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, region: str, healthSource: str, **kwargs: typing.Any ) -> HealthSourceHttpRequest: ... + def getHealth( + self, *, project: str, region: str, healthSource: str, **kwargs: typing.Any + ) -> HealthSourceHealthHttpRequest: ... def insert( self, *, @@ -8833,6 +8856,17 @@ class ComputeResource(googleapiclient.discovery.Resource): reservationSlot: str, **kwargs: typing.Any, ) -> ReservationSlotsGetResponseHttpRequest: ... + def getVersion( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + body: ReservationSlotsGetVersionRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def list( self, *, @@ -8851,6 +8885,17 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: ReservationSlotsListResponseHttpRequest, previous_response: ReservationSlotsListResponse, ) -> ReservationSlotsListResponseHttpRequest | None: ... + def update( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + body: ReservationSlot = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class ReservationSubBlocksResource(googleapiclient.discovery.Resource): @@ -8868,6 +8913,17 @@ class ComputeResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> ReservationSubBlocksGetResponseHttpRequest: ... + def getVersion( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSubBlock: str, + body: ReservationSubBlocksGetVersionRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def list( self, *, @@ -9205,6 +9261,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: RolloutsListResponseHttpRequest, previous_response: RolloutsListResponse, ) -> RolloutsListResponseHttpRequest | None: ... + def pause( + self, + *, + project: str, + rollout: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def resume( + self, + *, + project: str, + rollout: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... @typing.type_check_only class RoutersResource(googleapiclient.discovery.Resource): @@ -12058,22 +12132,20 @@ class CompositeHealthCheckAggregatedListHttpRequest(googleapiclient.http.HttpReq ) -> CompositeHealthCheckAggregatedList: ... @typing.type_check_only -class CompositeHealthCheckListHttpRequest(googleapiclient.http.HttpRequest): +class CompositeHealthCheckHealthHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> CompositeHealthCheckList: ... + ) -> CompositeHealthCheckHealth: ... @typing.type_check_only -class CompositeHealthChecksGetHealthResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class CompositeHealthCheckListHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> CompositeHealthChecksGetHealthResponse: ... + ) -> CompositeHealthCheckList: ... @typing.type_check_only class CrossSiteNetworkHttpRequest(googleapiclient.http.HttpRequest): @@ -12449,6 +12521,14 @@ class HealthSourceAggregatedListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HealthSourceAggregatedList: ... +@typing.type_check_only +class HealthSourceHealthHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthSourceHealth: ... + @typing.type_check_only class HealthSourceListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index 0c0038371..1ce63792f 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -202,6 +202,7 @@ class AllocationAggregateReservation(typing_extensions.TypedDict, total=False): "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -512,6 +513,7 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerEndpoint: float maxRatePerInstance: float maxUtilization: float + orchestrationInfo: BackendBackendOrchestrationInfo preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] @@ -520,6 +522,10 @@ class Backend(typing_extensions.TypedDict, total=False): "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" ] +@typing.type_check_only +class BackendBackendOrchestrationInfo(typing_extensions.TypedDict, total=False): + resourceUri: str + @typing.type_check_only class BackendBucket(typing_extensions.TypedDict, total=False): bucketName: str @@ -690,6 +696,7 @@ class BackendService(typing_extensions.TypedDict, total=False): name: str network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy + orchestrationInfo: BackendServiceOrchestrationInfo outlierDetection: OutlierDetection params: BackendServiceParams port: int @@ -944,6 +951,10 @@ class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( ] spilloverRatio: float +@typing.type_check_only +class BackendServiceOrchestrationInfo(typing_extensions.TypedDict, total=False): + resourceUri: str + @typing.type_check_only class BackendServiceParams(typing_extensions.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @@ -1233,6 +1244,7 @@ class CapacityAdviceRequestInstanceProperties(typing_extensions.TypedDict, total class CapacityAdviceRequestInstancePropertiesScheduling( typing_extensions.TypedDict, total=False ): + maxRunDuration: str provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -1251,6 +1263,7 @@ class CapacityAdviceResponseRecommendationScores( typing_extensions.TypedDict, total=False ): estimatedUptime: str + estimatedWaitDuration: str obtainability: float uptimeScore: float @@ -1435,6 +1448,12 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class CompositeHealthCheckHealth(typing_extensions.TypedDict, total=False): + healthSources: _list[CompositeHealthChecksGetHealthResponseHealthSourceHealth] + healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + kind: str + @typing.type_check_only class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): id: str @@ -1444,11 +1463,6 @@ class CompositeHealthCheckList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] -@typing.type_check_only -class CompositeHealthChecksGetHealthResponse(typing_extensions.TypedDict, total=False): - healthSources: _list[CompositeHealthChecksGetHealthResponseHealthSourceHealth] - healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] - @typing.type_check_only class CompositeHealthChecksGetHealthResponseHealthSourceHealth( typing_extensions.TypedDict, total=False @@ -1560,6 +1574,18 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DateTime(typing_extensions.TypedDict, total=False): + day: int + hours: int + minutes: int + month: int + nanos: int + seconds: int + timeZone: TimeZone + utcOffset: str + year: int + @typing.type_check_only class DeprecationStatus(typing_extensions.TypedDict, total=False): deleted: str @@ -1660,6 +1686,15 @@ class DiskAsyncReplication(typing_extensions.TypedDict, total=False): class DiskAsyncReplicationList(typing_extensions.TypedDict, total=False): asyncReplicationDisk: DiskAsyncReplication +@typing.type_check_only +class DiskConvertParams(typing_extensions.TypedDict, total=False): + forceStopInProgressSnapshot: bool + provisionedIops: str + provisionedThroughput: str + quickConversionOnly: bool + resetSupportedVmFamilies: bool + targetDiskType: str + @typing.type_check_only class DiskInstantiationConfig(typing_extensions.TypedDict, total=False): autoDelete: bool @@ -1788,6 +1823,10 @@ class DiskTypesScopedList(typing_extensions.TypedDict, total=False): class DisksAddResourcePoliciesRequest(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] +@typing.type_check_only +class DisksConvertRequest(typing_extensions.TypedDict, total=False): + params: DiskConvertParams + @typing.type_check_only class DisksRemoveResourcePoliciesRequest(typing_extensions.TypedDict, total=False): resourcePolicies: _list[str] @@ -2231,11 +2270,15 @@ class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class FutureReservation(typing_extensions.TypedDict, total=False): + advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration autoDeleteAutoCreatedReservations: bool commitmentInfo: FutureReservationCommitmentInfo + confidentialComputeType: typing_extensions.Literal[ + "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" + ] creationTimestamp: str deploymentType: typing_extensions.Literal[ "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" @@ -2445,6 +2488,7 @@ class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=F "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT3P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P", "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT5P", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7", "VM_FAMILY_CLOUD_TPU_POD_SLICE_TPU7X", ] workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] @@ -2501,6 +2545,15 @@ class GetAsyncReplicationStatusResponse(typing_extensions.TypedDict, total=False class GetOwnerInstanceResponse(typing_extensions.TypedDict, total=False): instance: str +@typing.type_check_only +class GetVersionOperationMetadata(typing_extensions.TypedDict, total=False): + inlineSbomInfo: GetVersionOperationMetadataSbomInfo + +@typing.type_check_only +class GetVersionOperationMetadataSbomInfo(typing_extensions.TypedDict, total=False): + currentComponentVersions: dict[str, typing.Any] + targetComponentVersions: dict[str, typing.Any] + @typing.type_check_only class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): description: str @@ -3043,6 +3096,12 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class HealthSourceHealth(typing_extensions.TypedDict, total=False): + healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + kind: str + sources: _list[HealthSourcesGetHealthResponseSourceInfo] + @typing.type_check_only class HealthSourceList(typing_extensions.TypedDict, total=False): id: str @@ -3052,6 +3111,22 @@ class HealthSourceList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class HealthSourcesGetHealthResponseSourceInfo( + typing_extensions.TypedDict, total=False +): + backends: _list[HealthSourcesGetHealthResponseSourceInfoBackendInfo] + forwardingRule: str + source: str + +@typing.type_check_only +class HealthSourcesGetHealthResponseSourceInfoBackendInfo( + typing_extensions.TypedDict, total=False +): + endpointCount: int + group: str + healthyEndpointCount: int + @typing.type_check_only class HealthSourcesScopedList(typing_extensions.TypedDict, total=False): healthSources: _list[HealthSource] @@ -3538,6 +3613,7 @@ class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=Fals recreating: int refreshing: int restarting: int + restartingInPlace: int resuming: int starting: int stopping: int @@ -3793,13 +3869,16 @@ class InstanceGroupManagerTargetSizePolicy(typing_extensions.TypedDict, total=Fa @typing.type_check_only class InstanceGroupManagerUpdatePolicy(typing_extensions.TypedDict, total=False): + disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] instanceRedistributionType: typing_extensions.Literal["NONE", "PROACTIVE"] maxSurge: FixedOrPercent maxUnavailable: FixedOrPercent minReadySec: int - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + minimalAction: typing_extensions.Literal[ + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" + ] mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] replacementMethod: typing_extensions.Literal["RECREATE", "SUBSTITUTE"] type: typing_extensions.Literal["OPPORTUNISTIC", "PROACTIVE"] @@ -3822,13 +3901,24 @@ class InstanceGroupManagersApplyUpdatesRequest( typing_extensions.TypedDict, total=False ): allInstances: bool + disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] instances: _list[str] - maximalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + maximalAction: typing_extensions.Literal[ + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" + ] + minimalAction: typing_extensions.Literal[ + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" + ] mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] +@typing.type_check_only +class InstanceGroupManagersConfigureAcceleratorTopologiesRequest( + typing_extensions.TypedDict, total=False +): + acceleratorTopologyActions: dict[str, typing.Any] + @typing.type_check_only class InstanceGroupManagersCreateInstancesRequest( typing_extensions.TypedDict, total=False @@ -3854,6 +3944,7 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( typing_extensions.TypedDict, total=False ): acceleratorTopologiesInfo: dict[str, typing.Any] + multiMig: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( @@ -3861,8 +3952,27 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorT ): acceleratorTopology: str acceleratorTopologyHealth: typing_extensions.Literal[ - "DEGRADED", "HEALTHY", "UNHEALTHY" + "DEGRADED", "HEALTHY", "UNHEALTHY", "UNKNOWN" + ] + acceleratorTopologyState: InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState + instancesHealth: typing_extensions.Literal["ALL_HEALTHY", "UNHEALTHY_OR_MISSING"] + parent: str + +@typing.type_check_only +class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState( + typing_extensions.TypedDict, total=False +): + currentState: typing_extensions.Literal[ + "ACTIVATING", + "ACTIVE", + "ACTIVE_DEGRADED", + "DEACTIVATING", + "FAILED", + "INACTIVE", + "INCOMPLETE", ] + error: dict[str, typing.Any] + errorTimestamp: str @typing.type_check_only class InstanceGroupManagersListErrorsResponse(typing_extensions.TypedDict, total=False): @@ -6796,6 +6906,7 @@ class Operation(typing_extensions.TypedDict, total=False): description: str endTime: str error: dict[str, typing.Any] + getVersionOperationMetadata: GetVersionOperationMetadata httpErrorMessage: str httpErrorStatusCode: int id: str @@ -6996,6 +7107,22 @@ class PerInstanceConfig(typing_extensions.TypedDict, total=False): "APPLYING", "DELETING", "EFFECTIVE", "NONE", "UNAPPLIED", "UNAPPLIED_DELETION" ] +@typing.type_check_only +class PeriodicPartialMaintenanceSchedule(typing_extensions.TypedDict, total=False): + subType: typing_extensions.Literal[ + "MAINTENANCE_SUBTYPE_UNSPECIFIED", + "MAINTENANCE_TYPE_CUSTOMER_MAINTENANCE", + "MAINTENANCE_TYPE_DISRUPTIVE_UPGRADE", + "MAINTENANCE_TYPE_STABLE", + "MAINTENANCE_TYPE_TRANSITION", + ] + targetResource: str + type: typing_extensions.Literal[ + "MAINTENANCE_TYPE_UNSPECIFIED", "PRIVATE_ZONE_MAINTENANCE" + ] + windowEndTime: DateTime + windowStartTime: DateTime + @typing.type_check_only class Permission(typing_extensions.TypedDict, total=False): constraints: _list[PermissionConstraint] @@ -7816,11 +7943,16 @@ class RegionInstanceGroupManagersApplyUpdatesRequest( typing_extensions.TypedDict, total=False ): allInstances: bool + disruptionMode: typing_extensions.Literal["LEGACY", "OPTIMIZED"] instances: _list[str] - maximalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] - minimalAction: typing_extensions.Literal["NONE", "REFRESH", "REPLACE", "RESTART"] + maximalAction: typing_extensions.Literal[ + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" + ] + minimalAction: typing_extensions.Literal[ + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" + ] mostDisruptiveAllowedAction: typing_extensions.Literal[ - "NONE", "REFRESH", "REPLACE", "RESTART" + "NONE", "REFRESH", "REPLACE", "RESTART", "RESTART_IN_PLACE" ] @typing.type_check_only @@ -8054,6 +8186,9 @@ class Reservation(typing_extensions.TypedDict, total=False): advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation commitment: str + confidentialComputeType: typing_extensions.Literal[ + "CONFIDENTIAL_COMPUTE_TYPE_TDX", "CONFIDENTIAL_COMPUTE_TYPE_UNSPECIFIED" + ] creationTimestamp: str deleteAfterDuration: Duration deleteAtTime: str @@ -8061,6 +8196,9 @@ class Reservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + earlyAccessMaintenance: typing_extensions.Literal[ + "NO_EARLY_ACCESS", "WAVE1", "WAVE2" + ] enableEmergentMaintenance: bool id: str kind: str @@ -8229,6 +8367,16 @@ class ReservationSlotStatus(typing_extensions.TypedDict, total=False): class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): resource: ReservationSlot +@typing.type_check_only +class ReservationSlotsGetVersionRequest(typing_extensions.TypedDict, total=False): + sbomSelections: _list[ + typing_extensions.Literal[ + "SBOM_SELECTION_CURRENT", + "SBOM_SELECTION_TARGET", + "SBOM_SELECTION_UNSPECIFIED", + ] + ] + @typing.type_check_only class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): id: str @@ -8276,6 +8424,16 @@ class ReservationSubBlockPhysicalTopology(typing_extensions.TypedDict, total=Fal class ReservationSubBlocksGetResponse(typing_extensions.TypedDict, total=False): resource: ReservationSubBlock +@typing.type_check_only +class ReservationSubBlocksGetVersionRequest(typing_extensions.TypedDict, total=False): + sbomSelections: _list[ + typing_extensions.Literal[ + "SBOM_SELECTION_CURRENT", + "SBOM_SELECTION_TARGET", + "SBOM_SELECTION_UNSPECIFIED", + ] + ] + @typing.type_check_only class ReservationSubBlocksListResponse(typing_extensions.TypedDict, total=False): id: str @@ -8575,6 +8733,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total enableOsInventoryMetadataValue: bool enableOsconfigMetadataValue: bool enableOsloginMetadataValue: bool + gceContainerDeclarationMetadataValue: bool serialPortEnableMetadataValue: bool serialPortLoggingEnableMetadataValue: bool vmDnsSettingMetadataValue: str @@ -8844,7 +9003,14 @@ class Route(typing_extensions.TypedDict, total=False): nextHopVpnTunnel: str params: RouteParams priority: int - routeStatus: typing_extensions.Literal["ACTIVE", "DROPPED", "INACTIVE", "PENDING"] + routeStatus: typing_extensions.Literal[ + "ACTIVE", + "DROPPED", + "INACTIVE", + "OVERRIDDEN_BY_HUB", + "OVERRIDDEN_BY_PEERING", + "PENDING", + ] routeType: typing_extensions.Literal["BGP", "STATIC", "SUBNET", "TRANSIT"] selfLink: str selfLinkWithId: str @@ -10201,6 +10367,7 @@ class SslPolicy(typing_extensions.TypedDict, total=False): kind: str minTlsVersion: typing_extensions.Literal["TLS_1_0", "TLS_1_1", "TLS_1_2", "TLS_1_3"] name: str + postQuantumKeyExchange: typing_extensions.Literal["DEFAULT", "DEFERRED", "ENABLED"] profile: typing_extensions.Literal[ "COMPATIBLE", "CUSTOM", "FIPS_202205", "MODERN", "RESTRICTED" ] @@ -10986,6 +11153,11 @@ class TestPermissionsRequest(typing_extensions.TypedDict, total=False): class TestPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class TimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str + @typing.type_check_only class TlsCertificateContext(typing_extensions.TypedDict, total=False): certificatePaths: TlsCertificatePaths @@ -11634,6 +11806,7 @@ class Zone(typing_extensions.TypedDict, total=False): kind: str name: str region: str + resourceStatus: ZoneResourceStatus selfLink: str status: typing_extensions.Literal["DOWN", "UP"] supportsPzs: bool @@ -11647,6 +11820,10 @@ class ZoneList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ZoneResourceStatus(typing_extensions.TypedDict, total=False): + upcomingMaintenances: _list[PeriodicPartialMaintenanceSchedule] + @typing.type_check_only class ZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): labelFingerprint: str diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index dca81b2ba..74fc24607 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -1051,6 +1051,36 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringBlacklist: _list[str] queryStringWhitelist: _list[str] +@typing.type_check_only +class CachePolicy(typing_extensions.TypedDict, total=False): + cacheBypassRequestHeaderNames: _list[str] + cacheKeyPolicy: CachePolicyCacheKeyPolicy + cacheMode: typing_extensions.Literal[ + "CACHE_ALL_STATIC", "FORCE_CACHE_ALL", "USE_ORIGIN_HEADERS" + ] + clientTtl: Duration + defaultTtl: Duration + maxTtl: Duration + negativeCaching: bool + negativeCachingPolicy: _list[CachePolicyNegativeCachingPolicy] + requestCoalescing: bool + serveWhileStale: Duration + +@typing.type_check_only +class CachePolicyCacheKeyPolicy(typing_extensions.TypedDict, total=False): + excludedQueryParameters: _list[str] + includeHost: bool + includeProtocol: bool + includeQueryString: bool + includedCookieNames: _list[str] + includedHeaderNames: _list[str] + includedQueryParameters: _list[str] + +@typing.type_check_only +class CachePolicyNegativeCachingPolicy(typing_extensions.TypedDict, total=False): + code: int + ttl: Duration + @typing.type_check_only class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): futureResourcesSpecs: dict[str, typing.Any] @@ -1878,6 +1908,7 @@ class ForwardingRulesScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class FutureReservation(typing_extensions.TypedDict, total=False): + advancedDeploymentControl: ReservationAdvancedDeploymentControl aggregateReservation: AllocationAggregateReservation autoCreatedReservationsDeleteTime: str autoCreatedReservationsDuration: Duration @@ -2651,6 +2682,7 @@ class HttpRetryPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class HttpRouteAction(typing_extensions.TypedDict, total=False): + cachePolicy: CachePolicy corsPolicy: CorsPolicy faultInjectionPolicy: HttpFaultInjection maxStreamDuration: Duration @@ -2849,6 +2881,7 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig zone: str @typing.type_check_only @@ -3113,6 +3146,7 @@ class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig autoscaler: str bulkInstanceOperation: InstanceGroupManagerStatusBulkInstanceOperation + currentInstanceStatuses: InstanceGroupManagerStatusInstanceStatusSummary isStable: bool stateful: InstanceGroupManagerStatusStateful versionTarget: InstanceGroupManagerStatusVersionTarget @@ -3138,6 +3172,24 @@ class InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck( error: dict[str, typing.Any] timestamp: str +@typing.type_check_only +class InstanceGroupManagerStatusInstanceStatusSummary( + typing_extensions.TypedDict, total=False +): + deprovisioning: int + nonExistent: int + pending: int + pendingStop: int + provisioning: int + repairing: int + running: int + staging: int + stopped: int + stopping: int + suspended: int + suspending: int + terminated: int + @typing.type_check_only class InstanceGroupManagerStatusStateful(typing_extensions.TypedDict, total=False): hasStatefulConfig: bool @@ -3453,6 +3505,7 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): shieldedInstanceConfig: ShieldedInstanceConfig shieldedVmConfig: ShieldedVmConfig tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig @typing.type_check_only class InstancePropertiesPatch(typing_extensions.TypedDict, total=False): @@ -3657,6 +3710,7 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] name: str + params: InstantSnapshotParams region: str resourceStatus: InstantSnapshotResourceStatus satisfiesPzi: bool @@ -3722,6 +3776,10 @@ class InstantSnapshotList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class InstantSnapshotParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InstantSnapshotResourceStatus(typing_extensions.TypedDict, total=False): storageSizeBytes: str @@ -5201,6 +5259,7 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] + enableVpcScopedDns: bool fingerprint: str igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int @@ -6843,6 +6902,9 @@ class Reservation(typing_extensions.TypedDict, total=False): "DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED", "FLEXIBLE" ] description: str + earlyAccessMaintenance: typing_extensions.Literal[ + "NO_EARLY_ACCESS", "WAVE1", "WAVE2" + ] enableEmergentMaintenance: bool id: str kind: str @@ -7294,6 +7356,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total enableOsInventoryMetadataValue: bool enableOsconfigMetadataValue: bool enableOsloginMetadataValue: bool + gceContainerDeclarationMetadataValue: bool serialPortEnableMetadataValue: bool serialPortLoggingEnableMetadataValue: bool vmDnsSettingMetadataValue: str @@ -7891,6 +7954,7 @@ class Scheduling(typing_extensions.TypedDict, total=False): onHostMaintenance: typing_extensions.Literal["MIGRATE", "TERMINATE"] onInstanceStopAction: SchedulingOnInstanceStopAction preemptible: bool + preemptionNoticeDuration: Duration provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -9960,6 +10024,11 @@ class WireProperties(typing_extensions.TypedDict, total=False): bandwidthUnmetered: str faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] +@typing.type_check_only +class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): + identity: str + identityCertificateEnabled: bool + @typing.type_check_only class XpnHostList(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index fde8e9b3f..ff61a7a3a 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -920,7 +920,11 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_response: FirewallPolicyList, ) -> FirewallPolicyListHttpRequest | None: ... def listAssociations( - self, *, targetResource: str = ..., **kwargs: typing.Any + self, + *, + includeInheritedPolicies: bool = ..., + targetResource: str = ..., + **kwargs: typing.Any, ) -> FirewallPoliciesListAssociationsResponseHttpRequest: ... def move( self, diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 04fc557ce..98c46902f 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -2507,6 +2507,7 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig zone: str @typing.type_check_only @@ -2667,6 +2668,9 @@ class InstanceGroupManagerInstanceLifecyclePolicy( ): defaultActionOnFailure: typing_extensions.Literal["DO_NOTHING", "REPAIR"] forceUpdateOnRepair: typing_extensions.Literal["NO", "YES"] + onFailedHealthCheck: typing_extensions.Literal[ + "DEFAULT_ACTION", "DO_NOTHING", "REPAIR" + ] @typing.type_check_only class InstanceGroupManagerList(typing_extensions.TypedDict, total=False): @@ -3014,6 +3018,7 @@ class InstanceProperties(typing_extensions.TypedDict, total=False): serviceAccounts: _list[ServiceAccount] shieldedInstanceConfig: ShieldedInstanceConfig tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig @typing.type_check_only class InstancePropertiesPatch(typing_extensions.TypedDict, total=False): @@ -3202,6 +3207,7 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] name: str + params: InstantSnapshotParams region: str resourceStatus: InstantSnapshotResourceStatus satisfiesPzi: bool @@ -3234,6 +3240,10 @@ class InstantSnapshotList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class InstantSnapshotParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InstantSnapshotResourceStatus(typing_extensions.TypedDict, total=False): storageSizeBytes: str @@ -4579,6 +4589,7 @@ class NetworkFirewallPolicyAggregatedList(typing_extensions.TypedDict, total=Fal class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] + enableVpcScopedDns: bool fingerprint: str igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int @@ -6059,6 +6070,9 @@ class Reservation(typing_extensions.TypedDict, total=False): deleteAtTime: str deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] description: str + earlyAccessMaintenance: typing_extensions.Literal[ + "NO_EARLY_ACCESS", "WAVE1", "WAVE2" + ] enableEmergentMaintenance: bool id: str kind: str @@ -8794,6 +8808,11 @@ class WireProperties(typing_extensions.TypedDict, total=False): bandwidthUnmetered: str faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] +@typing.type_check_only +class WorkloadIdentityConfig(typing_extensions.TypedDict, total=False): + identity: str + identityCertificateEnabled: bool + @typing.type_check_only class XpnHostList(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi index 09b865877..64d3ad8ca 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi @@ -242,6 +242,16 @@ class ConnectorsResource(googleapiclient.discovery.Resource): body: ExecuteSqlQueryRequest = ..., **kwargs: typing.Any, ) -> ExecuteSqlQueryResponseHttpRequest: ... + def generateConnectionToolspecOverride( + self, + *, + name: str, + body: GenerateCustomToolspecRequest = ..., + **kwargs: typing.Any, + ) -> GenerateCustomToolspecResponseHttpRequest: ... + def listCustomToolNames( + self, *, name: str, **kwargs: typing.Any + ) -> ListCustomToolNamesResponseHttpRequest: ... def refreshAccessToken( self, *, @@ -352,6 +362,14 @@ class ExecuteToolResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ExecuteToolResponse: ... +@typing.type_check_only +class GenerateCustomToolspecResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateCustomToolspecResponse: ... + @typing.type_check_only class GetResourceResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -368,6 +386,14 @@ class ListActionsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListActionsResponse: ... +@typing.type_check_only +class ListCustomToolNamesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCustomToolNamesResponse: ... + @typing.type_check_only class ListEntitiesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index 4d753e972..6a41229ca 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -181,6 +181,14 @@ class Field(typing_extensions.TypedDict, total=False): nullable: bool reference: Reference +@typing.type_check_only +class GenerateCustomToolspecRequest(typing_extensions.TypedDict, total=False): + toolNames: _list[ToolName] + +@typing.type_check_only +class GenerateCustomToolspecResponse(typing_extensions.TypedDict, total=False): + toolSpec: ToolSpec + @typing.type_check_only class GetResourcePostRequest(typing_extensions.TypedDict, total=False): executionConfig: ExecutionConfig @@ -343,6 +351,10 @@ class ListActionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unsupportedActionNames: _list[str] +@typing.type_check_only +class ListCustomToolNamesResponse(typing_extensions.TypedDict, total=False): + toolNames: _list[ToolName] + @typing.type_check_only class ListEntitiesResponse(typing_extensions.TypedDict, total=False): entities: _list[Entity] @@ -616,6 +628,14 @@ class ToolAnnotations(typing_extensions.TypedDict, total=False): readOnlyHint: bool title: str +@typing.type_check_only +class ToolName(typing_extensions.TypedDict, total=False): + entityName: str + name: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + @typing.type_check_only class ToolSpec(typing_extensions.TypedDict, total=False): toolDefinitions: _list[dict[str, typing.Any]] diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index c89cdcbde..deda1e5e3 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -327,7 +327,7 @@ class Cluster(typing_extensions.TypedDict, total=False): @typing.type_check_only class ClusterAutoscaling(typing_extensions.TypedDict, total=False): autopilotGeneralProfile: typing_extensions.Literal[ - "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE" + "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE", "NONE" ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults @@ -506,6 +506,10 @@ class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): class CostManagementConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class CrashLoopBackOffConfig(typing_extensions.TypedDict, total=False): + maxContainerRestartPeriod: str + @typing.type_check_only class CreateClusterRequest(typing_extensions.TypedDict, total=False): cluster: Cluster @@ -582,6 +586,13 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DisruptionBudget(typing_extensions.TypedDict, total=False): + lastDisruptionTime: str + lastMinorVersionDisruptionTime: str + minorVersionDisruptionInterval: str + patchVersionDisruptionInterval: str + @typing.type_check_only class DisruptionEvent(typing_extensions.TypedDict, total=False): disruptionType: typing_extensions.Literal[ @@ -948,6 +959,7 @@ class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): + disruptionBudget: DisruptionBudget resourceVersion: str window: MaintenanceWindow @@ -1177,6 +1189,7 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): cpuCfsQuota: bool cpuCfsQuotaPeriod: str cpuManagerPolicy: str + crashLoopBackOff: CrashLoopBackOffConfig evictionMaxPodGracePeriodSeconds: int evictionMinimumReclaim: EvictionMinimumReclaim evictionSoft: EvictionSignals @@ -1189,6 +1202,8 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): maxParallelImagePulls: int memoryManager: MemoryManager podPidsLimit: str + shutdownGracePeriodCriticalPodsSeconds: int + shutdownGracePeriodSeconds: int singleProcessOomKill: bool topologyManager: TopologyManager diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 1e66abc40..e78c1346b 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -359,7 +359,7 @@ class Cluster(typing_extensions.TypedDict, total=False): @typing.type_check_only class ClusterAutoscaling(typing_extensions.TypedDict, total=False): autopilotGeneralProfile: typing_extensions.Literal[ - "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE" + "AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED", "NO_PERFORMANCE", "NONE" ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults @@ -563,6 +563,10 @@ class ControlPlaneEndpointsConfig(typing_extensions.TypedDict, total=False): class CostManagementConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class CrashLoopBackOffConfig(typing_extensions.TypedDict, total=False): + maxContainerRestartPeriod: str + @typing.type_check_only class CreateClusterRequest(typing_extensions.TypedDict, total=False): cluster: Cluster @@ -645,6 +649,13 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DisruptionBudget(typing_extensions.TypedDict, total=False): + lastDisruptionTime: str + lastMinorVersionDisruptionTime: str + minorVersionDisruptionInterval: str + patchVersionDisruptionInterval: str + @typing.type_check_only class DisruptionEvent(typing_extensions.TypedDict, total=False): disruptionType: typing_extensions.Literal[ @@ -1043,6 +1054,7 @@ class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenancePolicy(typing_extensions.TypedDict, total=False): + disruptionBudget: DisruptionBudget resourceVersion: str window: MaintenanceWindow @@ -1283,6 +1295,7 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): cpuCfsQuota: bool cpuCfsQuotaPeriod: str cpuManagerPolicy: str + crashLoopBackOff: CrashLoopBackOffConfig evictionMaxPodGracePeriodSeconds: int evictionMinimumReclaim: EvictionMinimumReclaim evictionSoft: EvictionSignals @@ -1295,6 +1308,8 @@ class NodeKubeletConfig(typing_extensions.TypedDict, total=False): maxParallelImagePulls: int memoryManager: MemoryManager podPidsLimit: str + shutdownGracePeriodCriticalPodsSeconds: int + shutdownGracePeriodSeconds: int singleProcessOomKill: bool topologyManager: TopologyManager diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 0c3327d69..f1910c5c0 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -542,6 +542,7 @@ class Job(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] location: str name: str + pausable: bool pipelineDescription: PipelineDescription projectId: str replaceJobId: str @@ -997,6 +998,7 @@ class RuntimeMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class RuntimeUpdatableParams(typing_extensions.TypedDict, total=False): acceptableBacklogDuration: str + autoscalingTier: str maxNumWorkers: int minNumWorkers: int workerUtilizationHint: float diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index b4871ab40..d0d2f3a28 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -1866,6 +1866,30 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class PolicyIntentsResource(googleapiclient.discovery.Resource): + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudLocationLocationHttpRequest: ... @@ -1928,6 +1952,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def metadataFeeds(self) -> MetadataFeedsResource: ... def metadataJobs(self) -> MetadataJobsResource: ... def operations(self) -> OperationsResource: ... + def policyIntents(self) -> PolicyIntentsResource: ... def locations(self) -> LocationsResource: ... diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index cef09f471..9db8d5627 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -40,6 +40,10 @@ class BackfillJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class BadRequest(typing_extensions.TypedDict, total=False): + fieldViolations: _list[FieldViolation] + @typing.type_check_only class BasicEncryption(typing_extensions.TypedDict, total=False): ... @@ -124,6 +128,11 @@ class DatasetTemplate(typing_extensions.TypedDict, total=False): kmsKeyName: str location: str +@typing.type_check_only +class DebugInfo(typing_extensions.TypedDict, total=False): + detail: str + stackEntries: _list[str] + @typing.type_check_only class DestinationConfig(typing_extensions.TypedDict, total=False): bigqueryDestinationConfig: BigQueryDestinationConfig @@ -176,6 +185,12 @@ class Error(typing_extensions.TypedDict, total=False): message: str reason: str +@typing.type_check_only +class ErrorInfo(typing_extensions.TypedDict, total=False): + domain: str + metadata: dict[str, typing.Any] + reason: str + @typing.type_check_only class EventFilter(typing_extensions.TypedDict, total=False): sqlWhereClause: str @@ -185,6 +200,13 @@ class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str staticIps: _list[str] +@typing.type_check_only +class FieldViolation(typing_extensions.TypedDict, total=False): + description: str + field: str + localizedMessage: LocalizedMessage + reason: str + @typing.type_check_only class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): hostname: str @@ -209,6 +231,10 @@ class GcsProfile(typing_extensions.TypedDict, total=False): @typing.type_check_only class Gtid(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Help(typing_extensions.TypedDict, total=False): + links: _list[Link] + @typing.type_check_only class HostAddress(typing_extensions.TypedDict, total=False): hostname: str @@ -240,6 +266,11 @@ class JsonFileFormat(typing_extensions.TypedDict, total=False): "SCHEMA_FILE_FORMAT_UNSPECIFIED", "NO_SCHEMA_FILE", "AVRO_SCHEMA_FILE" ] +@typing.type_check_only +class Link(typing_extensions.TypedDict, total=False): + description: str + url: str + @typing.type_check_only class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] @@ -280,6 +311,11 @@ class ListStreamsResponse(typing_extensions.TypedDict, total=False): streams: _list[Stream] unreachable: _list[str] +@typing.type_check_only +class LocalizedMessage(typing_extensions.TypedDict, total=False): + locale: str + message: str + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -594,6 +630,16 @@ class PostgresqlTable(typing_extensions.TypedDict, total=False): postgresqlColumns: _list[PostgresqlColumn] table: str +@typing.type_check_only +class PreconditionFailure(typing_extensions.TypedDict, total=False): + violations: _list[PreconditionFailureViolation] + +@typing.type_check_only +class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): + description: str + subject: str + type: str + @typing.type_check_only class PrivateConnection(typing_extensions.TypedDict, total=False): createTime: str @@ -623,6 +669,37 @@ class PrivateConnectivity(typing_extensions.TypedDict, total=False): class PscInterfaceConfig(typing_extensions.TypedDict, total=False): networkAttachment: str +@typing.type_check_only +class QuotaFailure(typing_extensions.TypedDict, total=False): + violations: _list[QuotaFailureViolation] + +@typing.type_check_only +class QuotaFailureViolation(typing_extensions.TypedDict, total=False): + apiService: str + description: str + futureQuotaValue: str + quotaDimensions: dict[str, typing.Any] + quotaId: str + quotaMetric: str + quotaValue: str + subject: str + +@typing.type_check_only +class RequestInfo(typing_extensions.TypedDict, total=False): + requestId: str + servingData: str + +@typing.type_check_only +class ResourceInfo(typing_extensions.TypedDict, total=False): + description: str + owner: str + resourceName: str + resourceType: str + +@typing.type_check_only +class RetryInfo(typing_extensions.TypedDict, total=False): + retryDelay: str + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi index 63cd6be42..cbe085706 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi @@ -32,6 +32,10 @@ class BackfillJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class BadRequest(typing_extensions.TypedDict, total=False): + fieldViolations: _list[FieldViolation] + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -50,6 +54,11 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): staticServiceIpConnectivity: StaticServiceIpConnectivity updateTime: str +@typing.type_check_only +class DebugInfo(typing_extensions.TypedDict, total=False): + detail: str + stackEntries: _list[str] + @typing.type_check_only class DestinationConfig(typing_extensions.TypedDict, total=False): destinationConnectionProfileName: str @@ -83,6 +92,12 @@ class Error(typing_extensions.TypedDict, total=False): message: str reason: str +@typing.type_check_only +class ErrorInfo(typing_extensions.TypedDict, total=False): + domain: str + metadata: dict[str, typing.Any] + reason: str + @typing.type_check_only class FetchErrorsRequest(typing_extensions.TypedDict, total=False): ... @@ -95,6 +110,13 @@ class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str staticIps: _list[str] +@typing.type_check_only +class FieldViolation(typing_extensions.TypedDict, total=False): + description: str + field: str + localizedMessage: LocalizedMessage + reason: str + @typing.type_check_only class ForwardSshTunnelConnectivity(typing_extensions.TypedDict, total=False): hostname: str @@ -117,6 +139,10 @@ class GcsProfile(typing_extensions.TypedDict, total=False): bucketName: str rootPath: str +@typing.type_check_only +class Help(typing_extensions.TypedDict, total=False): + links: _list[Link] + @typing.type_check_only class JsonFileFormat(typing_extensions.TypedDict, total=False): compression: typing_extensions.Literal[ @@ -126,6 +152,11 @@ class JsonFileFormat(typing_extensions.TypedDict, total=False): "SCHEMA_FILE_FORMAT_UNSPECIFIED", "NO_SCHEMA_FILE", "AVRO_SCHEMA_FILE" ] +@typing.type_check_only +class Link(typing_extensions.TypedDict, total=False): + description: str + url: str + @typing.type_check_only class ListConnectionProfilesResponse(typing_extensions.TypedDict, total=False): connectionProfiles: _list[ConnectionProfile] @@ -166,6 +197,11 @@ class ListStreamsResponse(typing_extensions.TypedDict, total=False): streams: _list[Stream] unreachable: _list[str] +@typing.type_check_only +class LocalizedMessage(typing_extensions.TypedDict, total=False): + locale: str + message: str + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -293,6 +329,16 @@ class OracleTable(typing_extensions.TypedDict, total=False): oracleColumns: _list[OracleColumn] tableName: str +@typing.type_check_only +class PreconditionFailure(typing_extensions.TypedDict, total=False): + violations: _list[PreconditionFailureViolation] + +@typing.type_check_only +class PreconditionFailureViolation(typing_extensions.TypedDict, total=False): + description: str + subject: str + type: str + @typing.type_check_only class PrivateConnection(typing_extensions.TypedDict, total=False): createTime: str @@ -315,6 +361,37 @@ class PrivateConnection(typing_extensions.TypedDict, total=False): class PrivateConnectivity(typing_extensions.TypedDict, total=False): privateConnectionName: str +@typing.type_check_only +class QuotaFailure(typing_extensions.TypedDict, total=False): + violations: _list[QuotaFailureViolation] + +@typing.type_check_only +class QuotaFailureViolation(typing_extensions.TypedDict, total=False): + apiService: str + description: str + futureQuotaValue: str + quotaDimensions: dict[str, typing.Any] + quotaId: str + quotaMetric: str + quotaValue: str + subject: str + +@typing.type_check_only +class RequestInfo(typing_extensions.TypedDict, total=False): + requestId: str + servingData: str + +@typing.type_check_only +class ResourceInfo(typing_extensions.TypedDict, total=False): + description: str + owner: str + resourceName: str + resourceType: str + +@typing.type_check_only +class RetryInfo(typing_extensions.TypedDict, total=False): + retryDelay: str + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi index 100bf5432..dad8b6803 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/resources.pyi @@ -1909,7 +1909,24 @@ class DfareportingResource(googleapiclient.discovery.Resource): @typing.type_check_only class TvCampaignDetailsResource(googleapiclient.discovery.Resource): def get( - self, *, profileId: str, id: str, accountId: str = ..., **kwargs: typing.Any + self, + *, + profileId: str, + id: str, + accountId: str = ..., + countryDartId: str = ..., + tvDataProvider: typing_extensions.Literal[ + "INVALID_TV_DATA_PROVIDER", + "IBOPE_AR", + "IBOPE_BR", + "IBOPE_CL", + "IBOPE_CO", + "TNS_VN", + "COMSCORE_NATIONAL_US", + "COMSCORE_CA", + "SAMBA_AU", + ] = ..., + **kwargs: typing.Any, ) -> TvCampaignDetailHttpRequest: ... @typing.type_check_only @@ -1919,7 +1936,19 @@ class DfareportingResource(googleapiclient.discovery.Resource): *, profileId: str, accountId: str = ..., + countryDartId: str = ..., name: str = ..., + tvDataProvider: typing_extensions.Literal[ + "INVALID_TV_DATA_PROVIDER", + "IBOPE_AR", + "IBOPE_BR", + "IBOPE_CL", + "IBOPE_CO", + "TNS_VN", + "COMSCORE_NATIONAL_US", + "COMSCORE_CA", + "SAMBA_AU", + ] = ..., **kwargs: typing.Any, ) -> TvCampaignSummariesListResponseHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi index baba122c5..06f3fe1dc 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi @@ -645,6 +645,19 @@ class Country(typing_extensions.TypedDict, total=False): kind: str name: str sslEnabled: bool + tvDataProviders: _list[ + typing_extensions.Literal[ + "INVALID_TV_DATA_PROVIDER", + "IBOPE_AR", + "IBOPE_BR", + "IBOPE_CL", + "IBOPE_CO", + "TNS_VN", + "COMSCORE_NATIONAL_US", + "COMSCORE_CA", + "SAMBA_AU", + ] + ] @typing.type_check_only class Creative(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index b4e6c2b90..3125a2933 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -1276,6 +1276,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1EngineHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1301,6 +1308,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1EngineHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def assistants(self) -> AssistantsResource: ... def completionConfig(self) -> CompletionConfigResource: ... def controls(self) -> ControlsResource: ... @@ -2879,6 +2893,14 @@ class GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1WidgetConfig: ... +@typing.type_check_only +class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleIamV1Policy: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 322e0914d..2361401e9 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -1403,6 +1403,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ @@ -1642,6 +1643,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str @@ -1785,6 +1787,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -2062,6 +2065,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -2166,6 +2170,7 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -2469,6 +2474,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -2476,7 +2483,12 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -2493,6 +2505,7 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -2690,10 +2703,23 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -3470,6 +3496,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -3865,6 +3892,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] uiBranding: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings uiSettings: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings @@ -4119,6 +4147,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -4714,6 +4743,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -4887,9 +4917,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -4988,6 +5020,18 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( typing_extensions.TypedDict, total=False @@ -5036,6 +5080,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -5287,6 +5332,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -5407,6 +5453,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -5696,6 +5743,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -5703,7 +5752,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -5720,6 +5774,7 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -5824,10 +5879,23 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -5933,9 +6001,57 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): + parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPart( + typing_extensions.TypedDict, total=False +): + documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference + driveDocumentReference: ( + GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference + ) + mimeType: str + personReference: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference + text: str + uiJsonPayload: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + fileId: str + iconUri: str + urlForConnector: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + driveId: str + fileId: str + iconUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayName: str + displayPhotoUri: str + documentName: str + email: str + fileId: str + personId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( typing_extensions.TypedDict, total=False @@ -6070,6 +6186,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -6250,6 +6367,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -6718,6 +6836,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ @@ -6881,6 +7000,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -7070,6 +7190,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -7176,6 +7297,7 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -7364,6 +7486,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -7371,7 +7495,12 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -7388,6 +7517,7 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -7464,10 +7594,23 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -7590,6 +7733,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -7769,6 +7913,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @@ -8067,6 +8212,22 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): + condition: GoogleTypeExpr + members: _list[str] + role: str + +@typing.type_check_only +class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): + bindings: _list[GoogleIamV1Binding] + etag: str + version: int + +@typing.type_check_only +class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: GoogleIamV1Policy + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False @@ -8152,6 +8313,13 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): utcOffset: str year: int +@typing.type_check_only +class GoogleTypeExpr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + @typing.type_check_only class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index b22b064d7..ec9303e6f 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -1211,39 +1211,9 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def disableAgent( - self, - *, - name: str, - revisionId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... - def enableAgent( - self, - *, - name: str, - revisionId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... - def getAgentView( - self, - *, - name: str, - adminView: bool = ..., - languageCode: str = ..., - maxSuggestedPrompts: int = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaGetAgentViewResponseHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1269,20 +1239,6 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def suspendAgent( - self, - *, - name: str, - suspensionReason: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... def files(self) -> FilesResource: ... def operations(self) -> OperationsResource: ... @@ -1364,33 +1320,6 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): GoogleCloudDiscoveryengineV1alphaListAssistantsResponseHttpRequest | None ): ... - def listAvailableAgentViews( - self, - *, - parent: str, - adminView: bool = ..., - agentOrigin: typing_extensions.Literal[ - "AGENT_ORIGIN_UNSPECIFIED", - "GOOGLE", - "ORGANIZATION", - "USER", - ] = ..., - filter: str = ..., - languageCode: str = ..., - maxSuggestedPrompts: int = ..., - pageSize: int = ..., - pageToken: str = ..., - sortBy: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponseHttpRequest: ... - def listAvailableAgentViews_next( - self, - previous_request: GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponseHttpRequest, - previous_response: GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse, - ) -> ( - GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponseHttpRequest - | None - ): ... def patch( self, *, @@ -1784,6 +1713,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaEngineHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def getWorkspaceSettings( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -1830,6 +1766,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaResumeEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaEngineHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def tune( self, *, @@ -3250,6 +3193,18 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def userLicenses(self) -> UserLicensesResource: ... + def completeExternalIdentities( + self, + *, + parent: str, + entityTypeFilter: typing_extensions.Literal[ + "ENTITY_TYPE_FILTER_UNSPECIFIED", "USERS", "GROUPS" + ] = ..., + maxSuggestions: int = ..., + prefixQuery: str = ..., + useScimIdentities: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponseHttpRequest: ... def estimateDataSize( self, *, @@ -3627,6 +3582,16 @@ class GoogleCloudDiscoveryengineV1alphaCollectionHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaCollection: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3767,16 +3732,6 @@ class GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse: ... -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetAgentViewResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse: ... - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3857,16 +3812,6 @@ class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse: ... -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse: ... - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 6c4c495c1..69fb547f4 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -384,6 +384,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ @@ -540,6 +541,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str @@ -683,6 +685,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -891,6 +894,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -995,6 +999,7 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -1125,6 +1130,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -1132,7 +1139,12 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -1149,6 +1161,7 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -1203,10 +1216,23 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -1388,6 +1414,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -1805,67 +1832,6 @@ class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt( ): text: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgentView( - typing_extensions.TypedDict, total=False -): - agentOrigin: typing_extensions.Literal[ - "AGENT_ORIGIN_UNSPECIFIED", "GOOGLE", "ORGANIZATION", "USER" - ] - agentSharingState: typing_extensions.Literal[ - "AGENT_SHARING_STATE_UNSPECIFIED", "NOT_SHARED", "PENDING", "SHARED", "REJECTED" - ] - agentType: typing_extensions.Literal[ - "AGENT_TYPE_UNSPECIFIED", - "NO_CODE", - "HTTP", - "ADK", - "MANAGED", - "A2A", - "DIALOGFLOW", - "LOW_CODE", - ] - customPlaceholderText: str - deploymentFailureReason: str - description: str - displayName: str - icon: GoogleCloudDiscoveryengineV1alphaAgentImage - name: str - rejectionReason: str - state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", - "CONFIGURED", - "DEPLOYING", - "DISABLED", - "DEPLOYMENT_FAILED", - "PRIVATE", - "ENABLED", - "SUSPENDED", - ] - suggestedPrompts: _list[GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt] - suspensionReason: str - updateTime: str - userAnnotations: GoogleCloudDiscoveryengineV1alphaUserAnnotations - userPermissions: GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgentViewSuggestedPrompt( - typing_extensions.TypedDict, total=False -): - text: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaAgentViewUserPermissions( - typing_extensions.TypedDict, total=False -): - canDelete: bool - canEdit: bool - canProposeUsers: bool - canRequestReview: bool - canRun: bool - canView: bool - canWithdraw: bool - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig( typing_extensions.TypedDict, total=False @@ -1894,6 +1860,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -2879,6 +2846,8 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate geminiBundle: bool licenseConfigDistributions: dict[str, typing.Any] @@ -2887,7 +2856,7 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( procurementEntitlementId: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED", "DEACTIVATING" ] subscriptionDisplayName: str subscriptionName: str @@ -2906,6 +2875,7 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -3162,6 +3132,12 @@ class GoogleCloudDiscoveryengineV1alphaCollection( displayName: str name: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCompleteExternalIdentitiesResponse( + typing_extensions.TypedDict, total=False +): + externalIdentities: _list[GoogleCloudDiscoveryengineV1alphaExternalIdentity] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse( typing_extensions.TypedDict, total=False @@ -3307,6 +3283,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -3566,9 +3543,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -3667,6 +3646,18 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( typing_extensions.TypedDict, total=False @@ -3715,6 +3706,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -4066,6 +4058,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -4186,6 +4179,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -4297,6 +4291,28 @@ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExternalIdentity( + typing_extensions.TypedDict, total=False +): + displayName: str + externalId: str + groupMetadata: GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata + userMetadata: GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExternalIdentityGroupMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaExternalIdentityUserMetadata( + typing_extensions.TypedDict, total=False +): + familyName: str + givenName: str + primaryEmail: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaFactChunk( typing_extensions.TypedDict, total=False @@ -4452,12 +4468,6 @@ class GoogleCloudDiscoveryengineV1alphaGcsSource( dataSchema: str inputUris: _list[str] -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse( - typing_extensions.TypedDict, total=False -): - agentView: GoogleCloudDiscoveryengineV1alphaAgentView - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse( typing_extensions.TypedDict, total=False @@ -4805,6 +4815,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -4812,7 +4824,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -4829,6 +4846,7 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -4864,13 +4882,6 @@ class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse( authorizations: _list[GoogleCloudDiscoveryengineV1alphaAuthorization] nextPageToken: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse( - typing_extensions.TypedDict, total=False -): - agentViews: _list[GoogleCloudDiscoveryengineV1alphaAgentView] - nextPageToken: str - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse( typing_extensions.TypedDict, total=False @@ -5216,10 +5227,23 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -5395,6 +5419,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): + parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str @@ -5430,6 +5455,53 @@ class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsRespons ] totalUsage: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPart( + typing_extensions.TypedDict, total=False +): + documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference + driveDocumentReference: ( + GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference + ) + mimeType: str + personReference: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference + text: str + uiJsonPayload: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + fileId: str + iconUri: str + urlForConnector: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + driveId: str + fileId: str + iconUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayName: str + displayPhotoUri: str + documentName: str + email: str + fileId: str + personId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRankRequest( typing_extensions.TypedDict, total=False @@ -5791,6 +5863,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -5971,6 +6044,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -6437,6 +6511,7 @@ class GoogleCloudDiscoveryengineV1alphaServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -6592,12 +6667,19 @@ class GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest( class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest( typing_extensions.TypedDict, total=False ): + actionSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec generationSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec query: GoogleCloudDiscoveryengineV1alphaQuery session: str toolsSpec: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec userMetadata: GoogleCloudDiscoveryengineV1alphaAssistUserMetadata +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec( + typing_extensions.TypedDict, total=False +): + actionDisabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec( typing_extensions.TypedDict, total=False @@ -6814,13 +6896,6 @@ class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( createTime: str updateTime: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUserAnnotations( - typing_extensions.TypedDict, total=False -): - pinned: bool - viewed: bool - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserEvent( typing_extensions.TypedDict, total=False @@ -6957,6 +7032,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] uiBranding: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings uiSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings @@ -7301,6 +7377,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ @@ -7464,6 +7541,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -7653,6 +7731,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -7759,6 +7838,7 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -7947,6 +8027,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -7954,7 +8036,12 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -7971,6 +8058,7 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -8047,10 +8135,23 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -8173,6 +8274,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -8352,6 +8454,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi index ba6277604..2e9c9cbfc 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -1263,6 +1263,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1betaEngineHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -1304,6 +1311,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaResumeEngineRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaEngineHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def tune( self, *, @@ -3096,6 +3110,14 @@ class GoogleCloudDiscoveryengineV1betaUserStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaUserStore: ... +@typing.type_check_only +class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleIamV1Policy: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 6d7152cde..6fb4ce34a 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -384,6 +384,7 @@ class GoogleCloudDiscoveryengineV1Control(typing_extensions.TypedDict, total=Fal "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1ControlSynonymsAction useCases: _list[ @@ -540,6 +541,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str @@ -683,6 +685,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -891,6 +894,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -995,6 +999,7 @@ class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -1125,6 +1130,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -1132,7 +1139,12 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -1149,6 +1161,7 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -1203,10 +1216,23 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -1388,6 +1414,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -1614,6 +1641,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -2209,6 +2237,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -2382,9 +2411,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -2483,6 +2514,18 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity( params: dict[str, typing.Any] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDataStore( typing_extensions.TypedDict, total=False @@ -2531,6 +2574,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -2782,6 +2826,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -2902,6 +2947,7 @@ class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -3191,6 +3237,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -3198,7 +3246,12 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -3215,6 +3268,7 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -3319,10 +3373,23 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -3428,9 +3495,57 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): + parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPart( + typing_extensions.TypedDict, total=False +): + documentReference: GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference + driveDocumentReference: ( + GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference + ) + mimeType: str + personReference: GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference + text: str + uiJsonPayload: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + fileId: str + iconUri: str + urlForConnector: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartDriveDocumentReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayTitle: str + documentName: str + driveId: str + fileId: str + iconUri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference( + typing_extensions.TypedDict, total=False +): + destinationUri: str + displayName: str + displayPhotoUri: str + documentName: str + email: str + fileId: str + personId: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata( typing_extensions.TypedDict, total=False @@ -3565,6 +3680,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -3745,6 +3861,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -5376,6 +5493,7 @@ class GoogleCloudDiscoveryengineV1betaControl(typing_extensions.TypedDict, total "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1betaControlSynonymsAction useCases: _list[ @@ -5625,6 +5743,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -5893,6 +6012,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] updateTime: str @@ -5999,6 +6119,7 @@ class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -6372,6 +6493,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -6379,7 +6502,12 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( name: str startDate: GoogleTypeDate state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + "STATE_UNSPECIFIED", + "ACTIVE", + "EXPIRED", + "NOT_STARTED", + "WITHDRAWN", + "DEACTIVATING", ] subscriptionTerm: typing_extensions.Literal[ "SUBSCRIPTION_TERM_UNSPECIFIED", @@ -6396,6 +6524,7 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_ENTERPRISE_EMERGING", "SUBSCRIPTION_TIER_EDU", "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", @@ -6673,10 +6802,23 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): + dataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig optOutNotebookSharing: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + sensitiveDataProtectionPolicy: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigDataProtectionPolicySensitiveDataProtectionPolicy( + typing_extensions.TypedDict, total=False +): + policy: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( typing_extensions.TypedDict, total=False @@ -7044,6 +7186,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -7223,6 +7366,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @@ -7683,6 +7827,7 @@ class GoogleCloudDiscoveryengineV1betaServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -8069,6 +8214,22 @@ class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleIamV1Binding(typing_extensions.TypedDict, total=False): + condition: GoogleTypeExpr + members: _list[str] + role: str + +@typing.type_check_only +class GoogleIamV1Policy(typing_extensions.TypedDict, total=False): + bindings: _list[GoogleIamV1Binding] + etag: str + version: int + +@typing.type_check_only +class GoogleIamV1SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: GoogleIamV1Policy + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False @@ -8154,6 +8315,13 @@ class GoogleTypeDateTime(typing_extensions.TypedDict, total=False): utcOffset: str year: int +@typing.type_check_only +class GoogleTypeExpr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + @typing.type_check_only class GoogleTypeTimeZone(typing_extensions.TypedDict, total=False): id: str diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index 25cd91b0b..fc5e56674 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -4221,3 +4221,4 @@ class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", ] + videoAssetId: str diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index 08d03567f..4559bb344 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -5025,3 +5025,4 @@ class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", ] + videoAssetId: str diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 201cec1b1..a518f2526 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -5214,3 +5214,4 @@ class YoutubeVideoDetails(typing_extensions.TypedDict, total=False): "VIDEO_UNAVAILABLE_REASON_PRIVATE", "VIDEO_UNAVAILABLE_REASON_DELETED", ] + videoAssetId: str diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/__init__.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi new file mode 100644 index 000000000..e1cd4ba62 --- /dev/null +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/resources.pyi @@ -0,0 +1,106 @@ +import collections.abc +import typing + +import httplib2 +import typing_extensions + +import googleapiclient.discovery +import googleapiclient.http + +from .schemas import * + +_list = list + +@typing.type_check_only +class PostmasterToolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DomainStatsResource(googleapiclient.discovery.Resource): + def batchQuery( + self, *, body: BatchQueryDomainStatsRequest = ..., **kwargs: typing.Any + ) -> BatchQueryDomainStatsResponseHttpRequest: ... + + @typing.type_check_only + class DomainsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DomainStatsResource(googleapiclient.discovery.Resource): + def query( + self, + *, + parent: str, + body: QueryDomainStatsRequest = ..., + **kwargs: typing.Any, + ) -> QueryDomainStatsResponseHttpRequest: ... + def query_next( + self, + previous_request: QueryDomainStatsResponseHttpRequest, + previous_response: QueryDomainStatsResponse, + ) -> QueryDomainStatsResponseHttpRequest | None: ... + + def get(self, *, name: str, **kwargs: typing.Any) -> DomainHttpRequest: ... + def getComplianceStatus( + self, *, name: str, **kwargs: typing.Any + ) -> DomainComplianceStatusHttpRequest: ... + def list( + self, *, pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any + ) -> ListDomainsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainsResponseHttpRequest, + previous_response: ListDomainsResponse, + ) -> ListDomainsResponseHttpRequest | None: ... + def domainStats(self) -> DomainStatsResource: ... + + def new_batch_http_request( + self, + callback: collections.abc.Callable[ + [ + str, + googleapiclient.http.HttpRequest, + googleapiclient.errors.HttpError | None, + ], + typing.Any, + ] + | None = None, + ) -> googleapiclient.http.BatchHttpRequest: ... + def domainStats(self) -> DomainStatsResource: ... + def domains(self) -> DomainsResource: ... + +@typing.type_check_only +class BatchQueryDomainStatsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BatchQueryDomainStatsResponse: ... + +@typing.type_check_only +class DomainHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Domain: ... + +@typing.type_check_only +class DomainComplianceStatusHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DomainComplianceStatus: ... + +@typing.type_check_only +class ListDomainsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDomainsResponse: ... + +@typing.type_check_only +class QueryDomainStatsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryDomainStatsResponse: ... diff --git a/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi new file mode 100644 index 000000000..32c92cd8d --- /dev/null +++ b/googleapiclient-stubs/_apis/gmailpostmastertools/v2/schemas.pyi @@ -0,0 +1,175 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class BaseMetric(typing_extensions.TypedDict, total=False): + standardMetric: typing_extensions.Literal[ + "STANDARD_METRIC_UNSPECIFIED", + "FEEDBACK_LOOP_ID", + "FEEDBACK_LOOP_SPAM_RATE", + "SPAM_RATE", + "AUTH_SUCCESS_RATE", + "TLS_ENCRYPTION_MESSAGE_COUNT", + "TLS_ENCRYPTION_RATE", + "DELIVERY_ERROR_COUNT", + "DELIVERY_ERROR_RATE", + ] + +@typing.type_check_only +class BatchQueryDomainStatsRequest(typing_extensions.TypedDict, total=False): + requests: _list[QueryDomainStatsRequest] + +@typing.type_check_only +class BatchQueryDomainStatsResponse(typing_extensions.TypedDict, total=False): + results: _list[BatchQueryDomainStatsResult] + +@typing.type_check_only +class BatchQueryDomainStatsResult(typing_extensions.TypedDict, total=False): + error: Status + response: QueryDomainStatsResponse + +@typing.type_check_only +class ComplianceRowData(typing_extensions.TypedDict, total=False): + requirement: typing_extensions.Literal[ + "COMPLIANCE_REQUIREMENT_UNSPECIFIED", + "SPF", + "DKIM", + "SPF_AND_DKIM", + "DMARC_POLICY", + "DMARC_ALIGNMENT", + "MESSAGE_FORMATTING", + "DNS_RECORDS", + "ENCRYPTION", + "USER_REPORTED_SPAM_RATE", + "ONE_CLICK_UNSUBSCRIBE", + "HONOR_UNSUBSCRIBE", + ] + status: ComplianceStatus + +@typing.type_check_only +class ComplianceStatus(typing_extensions.TypedDict, total=False): + status: typing_extensions.Literal["STATE_UNSPECIFIED", "COMPLIANT", "NEEDS_WORK"] + +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + +@typing.type_check_only +class DateList(typing_extensions.TypedDict, total=False): + dates: _list[Date] + +@typing.type_check_only +class DateRange(typing_extensions.TypedDict, total=False): + end: Date + start: Date + +@typing.type_check_only +class DateRanges(typing_extensions.TypedDict, total=False): + dateRanges: _list[DateRange] + +@typing.type_check_only +class Domain(typing_extensions.TypedDict, total=False): + createTime: str + lastVerifyTime: str + name: str + permission: typing_extensions.Literal[ + "PERMISSION_UNSPECIFIED", "READER", "OWNER", "NONE" + ] + verificationState: typing_extensions.Literal[ + "VERIFICATION_STATE_UNSPECIFIED", "UNVERIFIED", "VERIFIED" + ] + +@typing.type_check_only +class DomainComplianceData(typing_extensions.TypedDict, total=False): + domainId: str + honorUnsubscribeVerdict: HonorUnsubscribeVerdict + oneClickUnsubscribeVerdict: OneClickUnsubscribeVerdict + rowData: _list[ComplianceRowData] + +@typing.type_check_only +class DomainComplianceStatus(typing_extensions.TypedDict, total=False): + complianceData: DomainComplianceData + name: str + subdomainComplianceData: DomainComplianceData + +@typing.type_check_only +class DomainStat(typing_extensions.TypedDict, total=False): + date: Date + metric: str + name: str + value: StatisticValue + +@typing.type_check_only +class HonorUnsubscribeVerdict(typing_extensions.TypedDict, total=False): + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "NOT_HONORING", + "NOT_HONORING_TOO_FEW_CAMPAIGNS", + "NOT_HONORING_TOO_MANY_CAMPAIGNS", + ] + status: ComplianceStatus + +@typing.type_check_only +class ListDomainsResponse(typing_extensions.TypedDict, total=False): + domains: _list[Domain] + nextPageToken: str + +@typing.type_check_only +class MetricDefinition(typing_extensions.TypedDict, total=False): + baseMetric: BaseMetric + filter: str + name: str + +@typing.type_check_only +class OneClickUnsubscribeVerdict(typing_extensions.TypedDict, total=False): + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "NO_UNSUB_GENERAL", + "NO_UNSUB_SPAM_REPORTS", + "NO_UNSUB_PROMO_SPAM_REPORTS", + ] + status: ComplianceStatus + +@typing.type_check_only +class QueryDomainStatsRequest(typing_extensions.TypedDict, total=False): + aggregationGranularity: typing_extensions.Literal[ + "AGGREGATION_GRANULARITY_UNSPECIFIED", "DAILY", "OVERALL" + ] + metricDefinitions: _list[MetricDefinition] + pageSize: int + pageToken: str + parent: str + timeQuery: TimeQuery + +@typing.type_check_only +class QueryDomainStatsResponse(typing_extensions.TypedDict, total=False): + domainStats: _list[DomainStat] + nextPageToken: str + +@typing.type_check_only +class StatisticValue(typing_extensions.TypedDict, total=False): + doubleValue: float + floatValue: float + intValue: str + stringList: StringList + stringValue: str + +@typing.type_check_only +class Status(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class StringList(typing_extensions.TypedDict, total=False): + values: _list[str] + +@typing.type_check_only +class TimeQuery(typing_extensions.TypedDict, total=False): + dateList: DateList + dateRanges: DateRanges diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index aa8c8f0cf..0bb455ad9 100644 --- a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi @@ -128,10 +128,7 @@ class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client( typing_extensions.TypedDict, total=False ): attributesType: typing_extensions.Literal[ - "ATTRIBUTES_TYPE_UNSPECIFIED", - "AZURE_AD_GROUPS_MAIL", - "AZURE_AD_GROUPS_ID", - "AZURE_AD_GROUPS_DISPLAY_NAME", + "ATTRIBUTES_TYPE_UNSPECIFIED", "AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID" ] clientId: str clientSecret: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret diff --git a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi index 1cda92e07..abc082b9e 100644 --- a/googleapiclient-stubs/_apis/iap/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iap/v1/schemas.pyi @@ -131,6 +131,9 @@ class OAuth2(typing_extensions.TypedDict, total=False): @typing.type_check_only class OAuthSettings(typing_extensions.TypedDict, total=False): + clientId: str + clientSecret: str + clientSecretSha256: str loginHint: str programmaticClients: _list[str] diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index 3e7dcb9d7..7639b14ca 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -836,8 +836,10 @@ class SecurityProfile(typing_extensions.TypedDict, total=False): "THREAT_PREVENTION", "CUSTOM_MIRRORING", "CUSTOM_INTERCEPT", + "URL_FILTERING", ] updateTime: str + urlFilteringProfile: UrlFilteringProfile @typing.type_check_only class SecurityProfileGroup(typing_extensions.TypedDict, total=False): @@ -851,6 +853,7 @@ class SecurityProfileGroup(typing_extensions.TypedDict, total=False): name: str threatPreventionProfile: str updateTime: str + urlFilteringProfile: str @typing.type_check_only class ServerTlsPolicy(typing_extensions.TypedDict, total=False): @@ -925,6 +928,18 @@ class TlsInspectionPolicy(typing_extensions.TypedDict, total=False): trustConfig: str updateTime: str +@typing.type_check_only +class UrlFilter(typing_extensions.TypedDict, total=False): + filteringAction: typing_extensions.Literal[ + "URL_FILTERING_ACTION_UNSPECIFIED", "ALLOW", "DENY" + ] + priority: int + urls: _list[str] + +@typing.type_check_only +class UrlFilteringProfile(typing_extensions.TypedDict, total=False): + urlFilters: _list[UrlFilter] + @typing.type_check_only class UrlList(typing_extensions.TypedDict, total=False): createTime: str diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index cb4e5f063..fd52114c6 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -722,6 +722,7 @@ class TlsRoute(typing_extensions.TypedDict, total=False): name: str rules: _list[TlsRouteRouteRule] selfLink: str + targetProxies: _list[str] updateTime: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index 7d790af97..e796d1fab 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -696,6 +696,7 @@ class TlsRoute(typing_extensions.TypedDict, total=False): name: str rules: _list[TlsRouteRouteRule] selfLink: str + targetProxies: _list[str] updateTime: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index 6b961cc3a..bcb88d85b 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -53,6 +53,7 @@ class AttestationOccurrence(typing_extensions.TypedDict, total=False): class BaseImage(typing_extensions.TypedDict, total=False): layerCount: int name: str + registry: str repository: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi index e20db5cd2..cc0456d4a 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -52,6 +52,7 @@ class AttestationOccurrence(typing_extensions.TypedDict, total=False): class BaseImage(typing_extensions.TypedDict, total=False): layerCount: int name: str + registry: str repository: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index fc68737ba..c5a1948a2 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -302,6 +302,7 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): goodForGroups: bool goodForWatchingSports: bool googleMapsLinks: GoogleMapsPlacesV1PlaceGoogleMapsLinks + googleMapsTypeLabel: GoogleTypeLocalizedText googleMapsUri: str iconBackgroundColor: str iconMaskBaseUri: str diff --git a/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi b/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi index 11e2d3d38..b9351996f 100644 --- a/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1/schemas.pyi @@ -22,7 +22,6 @@ class GoogleCloudRecommenderV1Impact(typing_extensions.TypedDict, total=False): "RELIABILITY", ] costProjection: GoogleCloudRecommenderV1CostProjection - impactComponents: _list[GoogleCloudRecommenderV1Impact] reliabilityProjection: GoogleCloudRecommenderV1ReliabilityProjection securityProjection: GoogleCloudRecommenderV1SecurityProjection service: str diff --git a/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi index fac7735fc..7773c5598 100644 --- a/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recommender/v1beta1/schemas.pyi @@ -42,7 +42,6 @@ class GoogleCloudRecommenderV1beta1Impact(typing_extensions.TypedDict, total=Fal "RELIABILITY", ] costProjection: GoogleCloudRecommenderV1beta1CostProjection - impactComponents: _list[GoogleCloudRecommenderV1beta1Impact] reliabilityProjection: GoogleCloudRecommenderV1beta1ReliabilityProjection securityProjection: GoogleCloudRecommenderV1beta1SecurityProjection service: str diff --git a/googleapiclient-stubs/_apis/redis/v1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1/resources.pyi index cf33100a8..37c3026c3 100644 --- a/googleapiclient-stubs/_apis/redis/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/resources.pyi @@ -229,6 +229,9 @@ class CloudRedisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getSharedRegionalCertificateAuthority( + self, *, name: str, **kwargs: typing.Any + ) -> SharedRegionalCertificateAuthorityHttpRequest: ... def list( self, *, @@ -384,3 +387,11 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Operation: ... + +@typing.type_check_only +class SharedRegionalCertificateAuthorityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SharedRegionalCertificateAuthority: ... diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index 603a462a2..8f233d526 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -158,8 +158,16 @@ class Cluster(typing_extensions.TypedDict, total=False): pscServiceAttachments: _list[PscServiceAttachment] redisConfigs: dict[str, typing.Any] replicaCount: int + rotateServerCertificate: bool satisfiesPzi: bool satisfiesPzs: bool + serverCaMode: typing_extensions.Literal[ + "SERVER_CA_MODE_UNSPECIFIED", + "SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA", + "SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA", + "SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA", + ] + serverCaPool: str shardCount: int simulateMaintenanceEvent: bool sizeGb: int @@ -1096,6 +1104,14 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class RegionalCertChain(typing_extensions.TypedDict, total=False): + certificates: _list[str] + +@typing.type_check_only +class RegionalManagedCertificateAuthority(typing_extensions.TypedDict, total=False): + caCerts: _list[RegionalCertChain] + @typing.type_check_only class RemoteCluster(typing_extensions.TypedDict, total=False): cluster: str @@ -1131,6 +1147,7 @@ class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): + currentVersionReleaseDate: Date denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule @@ -1145,7 +1162,6 @@ class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): ] maintenanceVersion: str upcomingMaintenance: UpcomingMaintenance - versionUpdateTime: str @typing.type_check_only class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -1178,6 +1194,11 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): timeBasedRetention: str timestampBasedRetentionTime: str +@typing.type_check_only +class SharedRegionalCertificateAuthority(typing_extensions.TypedDict, total=False): + managedServerCa: RegionalManagedCertificateAuthority + name: str + @typing.type_check_only class StateInfo(typing_extensions.TypedDict, total=False): updateInfo: UpdateInfo diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi index cf33100a8..37c3026c3 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/resources.pyi @@ -229,6 +229,9 @@ class CloudRedisResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getSharedRegionalCertificateAuthority( + self, *, name: str, **kwargs: typing.Any + ) -> SharedRegionalCertificateAuthorityHttpRequest: ... def list( self, *, @@ -384,3 +387,11 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Operation: ... + +@typing.type_check_only +class SharedRegionalCertificateAuthorityHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SharedRegionalCertificateAuthority: ... diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index 1465ce0ba..1feaf1f45 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -158,8 +158,16 @@ class Cluster(typing_extensions.TypedDict, total=False): pscServiceAttachments: _list[PscServiceAttachment] redisConfigs: dict[str, typing.Any] replicaCount: int + rotateServerCertificate: bool satisfiesPzi: bool satisfiesPzs: bool + serverCaMode: typing_extensions.Literal[ + "SERVER_CA_MODE_UNSPECIFIED", + "SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA", + "SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA", + "SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA", + ] + serverCaPool: str shardCount: int simulateMaintenanceEvent: bool sizeGb: int @@ -1096,6 +1104,14 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class RegionalCertChain(typing_extensions.TypedDict, total=False): + certificates: _list[str] + +@typing.type_check_only +class RegionalManagedCertificateAuthority(typing_extensions.TypedDict, total=False): + caCerts: _list[RegionalCertChain] + @typing.type_check_only class RemoteCluster(typing_extensions.TypedDict, total=False): cluster: str @@ -1131,6 +1147,7 @@ class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): + currentVersionReleaseDate: Date denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule @@ -1145,7 +1162,6 @@ class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): ] maintenanceVersion: str upcomingMaintenance: UpcomingMaintenance - versionUpdateTime: str @typing.type_check_only class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -1178,6 +1194,11 @@ class RetentionSettings(typing_extensions.TypedDict, total=False): timeBasedRetention: str timestampBasedRetentionTime: str +@typing.type_check_only +class SharedRegionalCertificateAuthority(typing_extensions.TypedDict, total=False): + managedServerCa: RegionalManagedCertificateAuthority + name: str + @typing.type_check_only class StateInfo(typing_extensions.TypedDict, total=False): updateInfo: UpdateInfo diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index 2e07d4bc4..23dfc74cc 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -698,6 +698,7 @@ class InstanceSpec(typing_extensions.TypedDict, total=False): containers: _list[Container] nodeSelector: dict[str, typing.Any] serviceAccountName: str + timeout: str volumes: _list[Volume] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index 7348dfed3..3d551cf00 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -329,6 +329,7 @@ class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): satisfiesPzs: bool serviceAccount: str terminalCondition: GoogleCloudRunV2Condition + timeout: str uid: str updateTime: str urls: _list[str] @@ -532,6 +533,8 @@ class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudRunV2RevisionScaling(typing_extensions.TypedDict, total=False): + concurrencyUtilization: float + cpuUtilization: float maxInstanceCount: int minInstanceCount: int diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 321ad9189..904772aa7 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -30,8 +30,14 @@ class ApplyTenantProjectConfigRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Aspect(typing_extensions.TypedDict, total=False): kind: str + rules: _list[AspectRule] spec: dict[str, typing.Any] +@typing.type_check_only +class AspectRule(typing_extensions.TypedDict, total=False): + config: dict[str, typing.Any] + selector: str + @typing.type_check_only class AttachTenantProjectRequest(typing_extensions.TypedDict, total=False): externalResource: str diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index 5086bda6a..b6dadadba 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -20,8 +20,14 @@ class Api(typing_extensions.TypedDict, total=False): @typing.type_check_only class Aspect(typing_extensions.TypedDict, total=False): kind: str + rules: _list[AspectRule] spec: dict[str, typing.Any] +@typing.type_check_only +class AspectRule(typing_extensions.TypedDict, total=False): + config: dict[str, typing.Any] + selector: str + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index ebd207677..62af3ce99 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -61,8 +61,14 @@ class Api(typing_extensions.TypedDict, total=False): @typing.type_check_only class Aspect(typing_extensions.TypedDict, total=False): kind: str + rules: _list[AspectRule] spec: dict[str, typing.Any] +@typing.type_check_only +class AspectRule(typing_extensions.TypedDict, total=False): + config: dict[str, typing.Any] + selector: str + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index 41fbbab9d..c89cceda6 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -61,8 +61,14 @@ class Api(typing_extensions.TypedDict, total=False): @typing.type_check_only class Aspect(typing_extensions.TypedDict, total=False): kind: str + rules: _list[AspectRule] spec: dict[str, typing.Any] +@typing.type_check_only +class AspectRule(typing_extensions.TypedDict, total=False): + config: dict[str, typing.Any] + selector: str + @typing.type_check_only class AuthProvider(typing_extensions.TypedDict, total=False): audiences: str diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index 7a514700f..1937fa891 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -343,14 +343,6 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: InstancesRestoreBackupRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... - def restoreBackupMcp( - self, - *, - targetProject: str, - targetInstance: str, - body: SqlInstancesRestoreBackupMcpRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... def rotateServerCa( self, *, @@ -550,6 +542,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): databaseRoles: str | _list[str] = ..., host: str = ..., name: str = ..., + revokeExistingRoles: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index 65fed66bf..973499c30 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -99,6 +99,9 @@ class Backup(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] description: str error: OperationError @@ -227,6 +230,9 @@ class BackupRun(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] description: str diskEncryptionConfiguration: DiskEncryptionConfiguration @@ -277,6 +283,8 @@ class CloneContext(typing_extensions.TypedDict, total=False): binLogCoordinates: BinLogCoordinates databaseNames: _list[str] destinationInstanceName: str + destinationNetwork: str + destinationProject: str kind: str pitrTimestampMs: str pointInTime: str @@ -354,6 +362,9 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] dnsName: str dnsNames: _list[DnsNameMapping] @@ -470,6 +481,9 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus @@ -706,6 +720,9 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] ] flagScope: typing_extensions.Literal[ @@ -1211,6 +1228,9 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] @typing.type_check_only @@ -1493,12 +1513,6 @@ class SqlInstancesRescheduleMaintenanceRequestBody( @typing.type_check_only class SqlInstancesResetReplicaSizeRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class SqlInstancesRestoreBackupMcpRequest(typing_extensions.TypedDict, total=False): - backupId: str - sourceInstance: str - sourceProject: str - @typing.type_check_only class SqlInstancesStartExternalSyncRequest(typing_extensions.TypedDict, total=False): migrationType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index 8db1bb820..973499c30 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -99,6 +99,9 @@ class Backup(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] description: str error: OperationError @@ -227,6 +230,9 @@ class BackupRun(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] description: str diskEncryptionConfiguration: DiskEncryptionConfiguration @@ -277,6 +283,8 @@ class CloneContext(typing_extensions.TypedDict, total=False): binLogCoordinates: BinLogCoordinates databaseNames: _list[str] destinationInstanceName: str + destinationNetwork: str + destinationProject: str kind: str pitrTimestampMs: str pointInTime: str @@ -354,6 +362,9 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] dnsName: str dnsNames: _list[DnsNameMapping] @@ -470,6 +481,9 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] diskEncryptionConfiguration: DiskEncryptionConfiguration diskEncryptionStatus: DiskEncryptionStatus @@ -706,6 +720,9 @@ class Flag(typing_extensions.TypedDict, total=False): "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] ] flagScope: typing_extensions.Literal[ @@ -1211,6 +1228,9 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "SQLSERVER_2022_ENTERPRISE", "SQLSERVER_2022_EXPRESS", "SQLSERVER_2022_WEB", + "SQLSERVER_2025_STANDARD", + "SQLSERVER_2025_ENTERPRISE", + "SQLSERVER_2025_EXPRESS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index 98a48dbe7..1f2a396f4 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -339,6 +339,15 @@ class StorageResource(googleapiclient.discovery.Resource): ifMetagenerationNotMatch: str = ..., **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... + def deleteRecursive( + self, + *, + bucket: str, + folder: str, + ifMetagenerationMatch: str = ..., + ifMetagenerationNotMatch: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi index 89ae7d681..87b08b0b5 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -96,6 +96,7 @@ class Job(typing_extensions.TypedDict, total=False): description: str dryRun: bool errorSummaries: _list[ErrorSummary] + isMultiBucketJob: bool loggingConfig: LoggingConfig name: str putMetadata: PutMetadata @@ -103,7 +104,7 @@ class Job(typing_extensions.TypedDict, total=False): rewriteObject: RewriteObject scheduleTime: str state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED" + "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED", "QUEUED" ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi index 9d6162c36..e2dd10c80 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi @@ -17,6 +17,72 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DeploymentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ActuationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Actuation = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ActuationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListActuationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListActuationsResponseHttpRequest, + previous_response: ListActuationsResponse, + ) -> ListActuationsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: Deployment = ..., + deploymentId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDeploymentsResponseHttpRequest, + previous_response: ListDeploymentsResponse, + ) -> ListDeploymentsResponseHttpRequest | None: ... + def actuations(self) -> ActuationsResource: ... + @typing.type_check_only class DiscoveredprofilesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -243,6 +309,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def deployments(self) -> DeploymentsResource: ... def discoveredprofiles(self) -> DiscoveredprofilesResource: ... def evaluations(self) -> EvaluationsResource: ... def insights(self) -> InsightsResource: ... @@ -265,6 +332,22 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class ActuationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Actuation: ... + +@typing.type_check_only +class DeploymentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Deployment: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -289,6 +372,22 @@ class ExecutionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Execution: ... +@typing.type_check_only +class ListActuationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListActuationsResponse: ... + +@typing.type_check_only +class ListDeploymentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDeploymentsResponse: ... + @typing.type_check_only class ListDiscoveredProfilesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi index c78990c53..17ba96a0b 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi @@ -4,6 +4,60 @@ import typing_extensions _list = list +@typing.type_check_only +class ActiveDirectory(typing_extensions.TypedDict, total=False): + dnsAddress: str + domain: str + domainUsername: str + secretManagerSecret: str + type: typing_extensions.Literal[ + "ACTIVE_DIRECTORY_TYPE_UNSPECIFIED", "GCP_MANAGED", "SELF_MANAGED" + ] + +@typing.type_check_only +class Actuation(typing_extensions.TypedDict, total=False): + actuationOutput: ActuationOutput + deploymentOutput: _list[DeploymentOutput] + endTime: str + name: str + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "INFRA_CREATING", + "SUCCEEDED", + "FAILED", + "POST_INFRA_CONFIGURING", + "INFRA_DESTROYING", + "TIMEOUT", + ] + +@typing.type_check_only +class ActuationOutput(typing_extensions.TypedDict, total=False): + actuateLogs: str + ansibleError: str + ansibleFailedTask: _list[str] + blueprintId: str + cloudbuildId: str + errorCode: typing_extensions.Literal[ + "ERROR_CODE_UNSPECIFIED", + "TERRAFORM_FAILED", + "PERMISSION_DENIED_IN_TERRAFORM", + "QUOTA_EXCEED_IN_TERRAFORM", + "ANSIBLE_FAILED", + "CONSTRAINT_VIOLATION_IN_TERRAFORM", + "RESOURCE_ALREADY_EXISTS_IN_TERRAFORM", + "RESOURCE_UNAVAILABLE_IN_TERRAFORM", + "PERMISSION_DENIED_IN_ANSIBLE", + "INVALID_SECRET_IN_ANSIBLE", + "TERRAFORM_DELETION_FAILED", + "RESOURCE_IN_USE_IN_TERRAFORM_DELETION", + "ANSIBLE_START_FAILED", + ] + errorLogs: str + hasUserFacingErrorMsg: bool + terraformError: str + terraformTemplate: str + @typing.type_check_only class AgentCommand(typing_extensions.TypedDict, total=False): command: str @@ -74,6 +128,25 @@ class AgentStatusServiceStatus(typing_extensions.TypedDict, total=False): ] unspecifiedStateMessage: str +@typing.type_check_only +class AppDetails(typing_extensions.TypedDict, total=False): + appInstanceId: str + appServiceAccount: str + appVmNames: _list[str] + ascsImage: str + ascsInstanceId: str + ascsMachineType: str + ascsServiceAccount: str + ascsVm: str + ersInstanceId: str + ersVm: str + image: str + machineType: str + secretManagerSecret: str + sharedStorage: str + sid: str + vmsMultiplier: int + @typing.type_check_only class BackupProperties(typing_extensions.TypedDict, total=False): latestBackupStatus: typing_extensions.Literal[ @@ -125,6 +198,34 @@ class ComponentHealth(typing_extensions.TypedDict, total=False): ] subComponentsHealth: _list[ComponentHealth] +@typing.type_check_only +class Database(typing_extensions.TypedDict, total=False): + diskType: str + floatingIpAddress: str + machineType: str + secondarySoleTenantNode: str + secondarySoleTenantNodeType: str + secretManagerSecret: str + smt: bool + soleTenantNode: str + soleTenantNodeType: str + tempdbOnSsd: bool + tenancyModel: typing_extensions.Literal[ + "TENANCY_MODEL_UNSPECIFIED", "SHARED", "SOLE_TENANT" + ] + +@typing.type_check_only +class DatabaseDetails(typing_extensions.TypedDict, total=False): + databaseServiceAccount: str + diskType: str + image: str + instanceId: str + machineType: str + primaryDbVm: str + secondaryDbVm: str + secretManagerSecret: str + sid: str + @typing.type_check_only class DatabaseProperties(typing_extensions.TypedDict, total=False): backupProperties: BackupProperties @@ -138,6 +239,29 @@ class DatabaseProperties(typing_extensions.TypedDict, total=False): "ASE", ] +@typing.type_check_only +class Deployment(typing_extensions.TypedDict, total=False): + createTime: str + description: str + name: str + sapSystemS4Config: SapSystemS4Config + serviceAccount: str + sqlServerWorkload: SqlServerWorkload + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED" + ] + terraformVariables: dict[str, typing.Any] + updateTime: str + workerPool: str + workloadType: typing_extensions.Literal[ + "WORKLOAD_TYPE_UNSPECIFIED", "SAP_S4", "SQL_SERVER", "ORACLE" + ] + +@typing.type_check_only +class DeploymentOutput(typing_extensions.TypedDict, total=False): + name: str + type: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -255,6 +379,18 @@ class InvalidRule(typing_extensions.TypedDict, total=False): class InvalidRulesWrapper(typing_extensions.TypedDict, total=False): invalidRules: _list[InvalidRule] +@typing.type_check_only +class ListActuationsResponse(typing_extensions.TypedDict, total=False): + actuations: _list[Actuation] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): + deployments: _list[Deployment] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListDiscoveredProfilesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -307,6 +443,23 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class LocationDetails(typing_extensions.TypedDict, total=False): + createCommsFirewall: bool + customTags: _list[str] + deploymentDnsEnabled: bool + dnsZone: str + dnsZoneNameSuffix: str + internetAccess: typing_extensions.Literal[ + "INTERNETACCESS_UNSPECIFIED", "ALLOW_EXTERNAL_IP", "CONFIGURE_NAT" + ] + networkProject: str + regionName: str + subnetName: str + vpcName: str + zone1Name: str + zone2Name: str + @typing.type_check_only class Notice(typing_extensions.TypedDict, total=False): message: str @@ -334,6 +487,15 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Pacemaker(typing_extensions.TypedDict, total=False): + bucketNameNodeCertificates: str + pacemakerCluster: str + pacemakerClusterSecret: str + pacemakerClusterUsername: str + sqlPacemakerSecret: str + sqlPacemakerUsername: str + @typing.type_check_only class Product(typing_extensions.TypedDict, total=False): name: str @@ -592,6 +754,30 @@ class SapInstanceProperties(typing_extensions.TypedDict, total=False): agentStates: AgentStates numbers: _list[str] +@typing.type_check_only +class SapSystemS4Config(typing_extensions.TypedDict, total=False): + allowStoppingForUpdate: bool + ansibleRunnerServiceAccount: str + app: AppDetails + database: DatabaseDetails + deploymentModel: typing_extensions.Literal[ + "DEPLOYMENT_MODEL_UNSPECIFIED", "DISTRIBUTED", "DISTRIBUTED_HA" + ] + environmentType: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "NON_PRODUCTION", "PRODUCTION" + ] + gcpProjectId: str + location: LocationDetails + mediaBucketName: str + sapBootDiskImage: str + scalingMethod: typing_extensions.Literal[ + "SCALE_METHOD_UNSPECIFIED", "SCALE_UP", "SCALE_OUT" + ] + version: typing_extensions.Literal[ + "VERSION_UNSPECIFIED", "S4_HANA_2021", "S4_HANA_2022", "S4_HANA_2023" + ] + vmPrefix: str + @typing.type_check_only class SapValidation(typing_extensions.TypedDict, total=False): projectId: str @@ -652,6 +838,63 @@ class ShellCommand(typing_extensions.TypedDict, total=False): command: str timeoutSeconds: int +@typing.type_check_only +class SqlLocationDetails(typing_extensions.TypedDict, total=False): + dnsZone: str + gcpProjectId: str + internetAccess: typing_extensions.Literal[ + "INTERNET_ACCESS_UNSPECIFIED", "ALLOW_EXTERNAL_IP", "CONFIGURE_NAT" + ] + network: str + primaryZone: str + region: str + secondaryZone: str + subnetwork: str + tertiaryZone: str + +@typing.type_check_only +class SqlServerWorkload(typing_extensions.TypedDict, total=False): + activeDirectory: ActiveDirectory + computeEngineServiceAccount: str + database: Database + deploymentModel: typing_extensions.Literal[ + "DEPLOYMENT_MODEL_UNSPECIFIED", "HIGH_AVAILABILITY", "SINGLE_INSTANCE" + ] + environmentType: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "NON_PRODUCTION", "PRODUCTION" + ] + fciType: typing_extensions.Literal["FCI_TYPE_UNSPECIFIED", "SHARED_DISK", "S2D"] + haType: typing_extensions.Literal["HA_TYPE_UNSPECIFIED", "AOAG", "FCI"] + isSqlPayg: bool + location: SqlLocationDetails + mediaBucket: str + operatingSystemType: typing_extensions.Literal[ + "OPERATING_SYSTEM_TYPE_UNSPECIFIED", + "WINDOWS", + "UBUNTU", + "RED_HAT_ENTERPRISE_LINUX", + "SUSE", + ] + osImage: str + osImageType: typing_extensions.Literal[ + "OS_IMAGE_TYPE_UNSPECIFIED", "PUBLIC_IMAGE", "CUSTOM_IMAGE" + ] + pacemaker: Pacemaker + sqlServerEdition: typing_extensions.Literal[ + "SQL_SERVER_EDITION_TYPE_UNSPECIFIED", + "SQL_SERVER_EDITION_TYPE_DEVELOPER", + "SQL_SERVER_EDITION_TYPE_ENTERPRISE", + "SQL_SERVER_EDITION_TYPE_STANDARD", + "SQL_SERVER_EDITION_TYPE_WEB", + ] + sqlServerVersion: typing_extensions.Literal[ + "SQL_SERVER_VERSION_TYPE_UNSPECIFIED", + "SQL_SERVER_VERSION_TYPE_2017", + "SQL_SERVER_VERSION_TYPE_2019", + "SQL_SERVER_VERSION_TYPE_2022", + ] + vmPrefix: str + @typing.type_check_only class SqlserverValidation(typing_extensions.TypedDict, total=False): agentVersion: str @@ -694,6 +937,10 @@ class Summary(typing_extensions.TypedDict, total=False): newFailures: str newFixes: str +@typing.type_check_only +class TerraformVariable(typing_extensions.TypedDict, total=False): + inputValue: typing.Any + @typing.type_check_only class TorsoValidation(typing_extensions.TypedDict, total=False): agentVersion: str diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 06fa6edd7..20e6e00ba 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -303,6 +303,7 @@ import googleapiclient._apis.gkeonprem.v1 import googleapiclient._apis.gmail.v1 import googleapiclient._apis.gmailpostmastertools.v1 import googleapiclient._apis.gmailpostmastertools.v1beta1 +import googleapiclient._apis.gmailpostmastertools.v2 import googleapiclient._apis.groupsmigration.v1 import googleapiclient._apis.groupssettings.v1 import googleapiclient._apis.healthcare.v1 @@ -6542,6 +6543,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.gmailpostmastertools.v1beta1.PostmasterToolsResource: ... @overload +def build( + serviceName: Literal["gmailpostmastertools"], + version: Literal["v2"], + http: httplib2.Http | HttpMock | None = None, + discoveryServiceUrl: str | None = None, + developerKey: str | None = None, + model: Model | None = None, + requestBuilder: _RequestBuilder = HttpRequest, + credentials: oauth2client.Credentials + | google.auth.credentials.Credentials + | None = None, + cache_discovery: bool = True, + cache: Cache | None = None, + client_options: dict[str, Any] | ClientOptions | None = None, + adc_cert_path: str | None = None, + adc_key_path: str | None = None, + num_retries: int = 1, + static_discovery: bool | None = None, +) -> googleapiclient._apis.gmailpostmastertools.v2.PostmasterToolsResource: ... +@overload def build( serviceName: Literal["groupsmigration"], version: Literal["v1"], diff --git a/pyproject.toml b/pyproject.toml index ceae12785..1d7fa42be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "google-api-python-client-stubs" -version = "1.32.0" +version = "1.33.0" description = "Type stubs for google-api-python-client" authors = [ { name = "Henrik BruÄsdal", email = "henrik.bruasdal@gmail.com" }, diff --git a/uv.lock b/uv.lock index 0bb5bdf19..adadd922f 100644 --- a/uv.lock +++ b/uv.lock @@ -181,7 +181,7 @@ wheels = [ [[package]] name = "google-api-python-client-stubs" -version = "1.32.0" +version = "1.33.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" },