From f9ca3b14c8b446a4e47a3001523d4a0789e25053 Mon Sep 17 00:00:00 2001 From: henribru <6639509+henribru@users.noreply.github.com> Date: Sun, 1 Mar 2026 02:27:53 +0000 Subject: [PATCH] Update stubs --- .../accesscontextmanager/v1/resources.pyi | 20 + .../_apis/accesscontextmanager/v1/schemas.pyi | 5 + .../_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/apigee/v1/resources.pyi | 19 +- .../_apis/apigee/v1/schemas.pyi | 11 + .../_apis/appengine/v1beta/schemas.pyi | 18 - .../_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 | 14 + .../_apis/compute/alpha/resources.pyi | 94 +++- .../_apis/compute/alpha/schemas.pyi | 214 ++++++++- .../_apis/compute/beta/resources.pyi | 162 +++++++ .../_apis/compute/beta/schemas.pyi | 195 +++++++- .../_apis/compute/v1/resources.pyi | 118 ++++- .../_apis/compute/v1/schemas.pyi | 103 +++- .../_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/containeranalysis/v1/schemas.pyi | 1 + .../containeranalysis/v1alpha1/schemas.pyi | 1 + .../_apis/dataflow/v1b3/schemas.pyi | 4 + .../_apis/datamanager/v1/resources.pyi | 270 +++++++++++ .../_apis/datamanager/v1/schemas.pyi | 334 +++++++++++++ .../_apis/dataplex/v1/resources.pyi | 53 +++ .../_apis/dataplex/v1/schemas.pyi | 32 ++ .../_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/dialogflow/v2beta1/schemas.pyi | 1 + .../_apis/discoveryengine/v1/resources.pyi | 168 +++++++ .../_apis/discoveryengine/v1/schemas.pyi | 450 +++++++++++++++++- .../discoveryengine/v1alpha/resources.pyi | 127 ++--- .../_apis/discoveryengine/v1alpha/schemas.pyi | 282 +++++++---- .../discoveryengine/v1beta/resources.pyi | 22 + .../_apis/discoveryengine/v1beta/schemas.pyi | 182 ++++++- .../_apis/displayvideo/v2/schemas.pyi | 1 + .../_apis/displayvideo/v3/schemas.pyi | 1 + .../_apis/displayvideo/v4/schemas.pyi | 1 + .../_apis/documentai/v1/schemas.pyi | 16 +- .../_apis/documentai/v1beta3/schemas.pyi | 12 +- .../_apis/firebaseml/v2beta/schemas.pyi | 3 + .../_apis/firestore/v1/schemas.pyi | 5 +- .../_apis/gkebackup/v1/schemas.pyi | 2 + .../_apis/gkehub/v1alpha/schemas.pyi | 55 +-- .../_apis/gkehub/v1beta/schemas.pyi | 52 +- .../gmailpostmastertools/v2/__init__.pyi | 2 + .../gmailpostmastertools/v2/resources.pyi | 106 +++++ .../_apis/gmailpostmastertools/v2/schemas.pyi | 175 +++++++ .../_apis/healthcare/v1/resources.pyi | 7 + .../_apis/healthcare/v1/schemas.pyi | 9 + .../_apis/healthcare/v1beta1/resources.pyi | 7 + .../_apis/healthcare/v1beta1/schemas.pyi | 9 + .../_apis/iam/v1/schemas.pyi | 7 +- .../_apis/iap/v1/schemas.pyi | 3 + .../_apis/looker/v1/resources.pyi | 7 - .../_apis/looker/v1/schemas.pyi | 12 +- .../merchantapi/ordertracking_v1/schemas.pyi | 1 + .../_apis/monitoring/v1/schemas.pyi | 6 + .../_apis/netapp/v1/schemas.pyi | 7 + .../_apis/netapp/v1beta1/resources.pyi | 56 +++ .../_apis/netapp/v1beta1/schemas.pyi | 40 ++ .../_apis/networkmanagement/v1/schemas.pyi | 6 + .../networkmanagement/v1beta1/schemas.pyi | 6 + .../_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 + .../v1alpha1/schemas.pyi | 21 + .../_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/resources.pyi | 1 + .../_apis/run/v2/schemas.pyi | 3 + .../_apis/saasservicemgmt/v1beta1/schemas.pyi | 2 + .../_apis/secretmanager/v1/resources.pyi | 44 -- .../_apis/secretmanager/v1/schemas.pyi | 6 - .../_apis/secretmanager/v1beta2/resources.pyi | 44 -- .../_apis/secretmanager/v1beta2/schemas.pyi | 6 - .../_apis/securitycenter/v1/schemas.pyi | 36 ++ .../_apis/securitycenter/v1beta1/schemas.pyi | 36 ++ .../_apis/securitycenter/v1beta2/schemas.pyi | 36 ++ .../serviceconsumermanagement/v1/schemas.pyi | 6 + .../v1beta1/schemas.pyi | 6 + .../_apis/servicemanagement/v1/schemas.pyi | 6 + .../_apis/servicenetworking/v1/schemas.pyi | 6 + .../servicenetworking/v1beta/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 +- .../threatintelligence/v1beta/resources.pyi | 30 -- .../threatintelligence/v1beta/schemas.pyi | 276 ----------- .../_apis/vmmigration/v1alpha1/schemas.pyi | 12 +- .../_apis/workloadmanager/v1/resources.pyi | 99 ++++ .../_apis/workloadmanager/v1/schemas.pyi | 247 ++++++++++ googleapiclient-stubs/discovery.pyi | 21 + pyproject.toml | 2 +- uv.lock | 8 +- 129 files changed, 4415 insertions(+), 770 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/accesscontextmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi index ca8df5773..e5319f465 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/resources.pyi @@ -282,6 +282,17 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): def gcpUserAccessBindings(self) -> GcpUserAccessBindingsResource: ... + @typing.type_check_only + class PermissionsResource(googleapiclient.discovery.Resource): + def list( + self, *, pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any + ) -> ListSupportedPermissionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSupportedPermissionsResponseHttpRequest, + previous_response: ListSupportedPermissionsResponse, + ) -> ListSupportedPermissionsResponseHttpRequest | None: ... + @typing.type_check_only class ServicesResource(googleapiclient.discovery.Resource): def get( @@ -311,6 +322,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource): def accessPolicies(self) -> AccessPoliciesResource: ... def operations(self) -> OperationsResource: ... def organizations(self) -> OrganizationsResource: ... + def permissions(self) -> PermissionsResource: ... def services(self) -> ServicesResource: ... @typing.type_check_only @@ -401,6 +413,14 @@ class ListServicePerimetersResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListServicePerimetersResponse: ... +@typing.type_check_only +class ListSupportedPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSupportedPermissionsResponse: ... + @typing.type_check_only class ListSupportedServicesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi index b9a8c5cd4..f216dfd3c 100644 --- a/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi @@ -256,6 +256,11 @@ class ListServicePerimetersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str servicePerimeters: _list[ServicePerimeter] +@typing.type_check_only +class ListSupportedPermissionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + supportedPermissions: _list[str] + @typing.type_check_only class ListSupportedServicesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str 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/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index 1b2cac5f1..a54cac7f4 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -2288,10 +2288,22 @@ class ApigeeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] = ..., + **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] = ..., + **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SecurityMonitoringConditionHttpRequest: ... def list( self, @@ -2300,6 +2312,9 @@ class ApigeeResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] = ..., **kwargs: typing.Any, ) -> ( GoogleCloudApigeeV1ListSecurityMonitoringConditionsResponseHttpRequest diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index 7c604aa34..355e212c1 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -2326,6 +2326,13 @@ class GoogleCloudApigeeV1SecurityAssessmentResultResource( apiHubDeploymentDetails: ( GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails ) + apiHubGatewayType: typing_extensions.Literal[ + "API_HUB_GATEWAY_TYPE_UNSPECIFIED", + "APIGEE_X", + "APIGEE_HYBRID", + "APIGEE_EDGE", + "APIGEE_OPDK", + ] name: str resourceRevisionId: str type: typing_extensions.Literal[ @@ -2439,6 +2446,7 @@ class GoogleCloudApigeeV1SecurityIncident(typing_extensions.TypedDict, total=Fal class GoogleCloudApigeeV1SecurityMonitoringCondition( typing_extensions.TypedDict, total=False ): + apiHubGateway: str createTime: str include: ( GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray @@ -2448,6 +2456,9 @@ class GoogleCloudApigeeV1SecurityMonitoringCondition( ) name: str profile: str + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] scope: str totalDeployedResources: int totalMonitoredResources: int diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index dd7ee0918..c115a491a 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -618,11 +618,6 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class SubnetworkKey(typing_extensions.TypedDict, total=False): - hostProjectId: str - subnet: str - @typing.type_check_only class TrafficSplit(typing_extensions.TypedDict, total=False): allocations: dict[str, typing.Any] @@ -741,7 +736,6 @@ class Version(typing_extensions.TypedDict, total=False): vm: bool vpcAccess: VpcAccess vpcAccessConnector: VpcAccessConnector - vpcEgress: VpcEgress zones: _list[str] @typing.type_check_only @@ -764,24 +758,12 @@ class VpcAccessConnector(typing_extensions.TypedDict, total=False): ] name: str -@typing.type_check_only -class VpcEgress(typing_extensions.TypedDict, total=False): - egressSetting: typing_extensions.Literal[ - "EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" - ] - networkTags: _list[VpcNetworkTag] - subnetworkKey: SubnetworkKey - @typing.type_check_only class VpcNetworkInterface(typing_extensions.TypedDict, total=False): network: str subnet: str tags: _list[str] -@typing.type_check_only -class VpcNetworkTag(typing_extensions.TypedDict, total=False): - value: str - @typing.type_check_only class ZipInfo(typing_extensions.TypedDict, total=False): filesCount: int 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..ea3e009ce 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -346,6 +346,7 @@ class DestroyCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Digest(typing_extensions.TypedDict, total=False): + externalMu: str sha256: str sha384: str sha512: str @@ -607,6 +608,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 +865,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..c62c80e85 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"] @@ -311,7 +312,6 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): shieldedInstanceInitialState: InitialStateConfig source: str type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] - userLicenses: _list[str] @typing.type_check_only class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): @@ -512,6 +512,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 +521,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 +695,7 @@ class BackendService(typing_extensions.TypedDict, total=False): name: str network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy + orchestrationInfo: BackendServiceOrchestrationInfo outlierDetection: OutlierDetection params: BackendServiceParams port: int @@ -944,6 +950,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 +1243,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 +1262,7 @@ class CapacityAdviceResponseRecommendationScores( typing_extensions.TypedDict, total=False ): estimatedUptime: str + estimatedWaitDuration: str obtainability: float uptimeScore: float @@ -1435,6 +1447,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 +1462,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 +1573,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 @@ -1635,7 +1660,6 @@ class Disk(typing_extensions.TypedDict, total=False): storagePool: str storageType: typing_extensions.Literal["HDD", "SSD"] type: str - userLicenses: _list[str] users: _list[str] zone: str @@ -1660,6 +1684,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 +1821,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 +2268,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 +2486,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 +2543,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 +3094,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 +3109,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] @@ -3304,7 +3377,6 @@ class Image(typing_extensions.TypedDict, total=False): sourceType: typing_extensions.Literal["RAW"] status: typing_extensions.Literal["DELETING", "FAILED", "PENDING", "READY"] storageLocations: _list[str] - userLicenses: _list[str] @typing.type_check_only class ImageFamilyView(typing_extensions.TypedDict, total=False): @@ -3538,6 +3610,7 @@ class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=Fals recreating: int refreshing: int restarting: int + restartingInPlace: int resuming: int starting: int stopping: int @@ -3793,13 +3866,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 +3898,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 +3941,7 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( typing_extensions.TypedDict, total=False ): acceleratorTopologiesInfo: dict[str, typing.Any] + multiMig: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( @@ -3861,8 +3949,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 +6903,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 +7104,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] @@ -7673,7 +7797,6 @@ class RecoverableSnapshotOriginalSnapshot(typing_extensions.TypedDict, total=Fal storageBytes: str storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] - userLicenses: _list[str] @typing.type_check_only class RecoverableSnapshotsScopedList(typing_extensions.TypedDict, total=False): @@ -7816,11 +7939,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 +8182,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 +8192,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 +8363,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 +8420,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 +8729,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total enableOsInventoryMetadataValue: bool enableOsconfigMetadataValue: bool enableOsloginMetadataValue: bool + gceContainerDeclarationMetadataValue: bool serialPortEnableMetadataValue: bool serialPortLoggingEnableMetadataValue: bool vmDnsSettingMetadataValue: str @@ -8844,7 +8999,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 @@ -9947,7 +10109,6 @@ class Snapshot(typing_extensions.TypedDict, total=False): storageBytes: str storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] - userLicenses: _list[str] @typing.type_check_only class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): @@ -10201,6 +10362,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 +11148,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 @@ -11311,6 +11478,7 @@ class VmExtensionState(typing_extensions.TypedDict, total=False): "ROLLING_BACK", "SERVICE_DISABLED", ] + healthMsg: str healthStatus: typing_extensions.Literal[ "CRASHED", "HEALTH_STATUS_UNSPECIFIED", @@ -11321,7 +11489,6 @@ class VmExtensionState(typing_extensions.TypedDict, total=False): ] name: str policyId: str - unhealthyMsg: str version: str @typing.type_check_only @@ -11634,6 +11801,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 +11815,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/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index 0dc696db4..a7935bb31 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -2111,6 +2111,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, *, @@ -8703,6 +8713,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def deleteNamedSet( + self, + *, + project: str, + region: str, + router: str, + namedSet: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def deleteRoutePolicy( self, *, @@ -8716,6 +8736,15 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, region: str, router: str, **kwargs: typing.Any ) -> RouterHttpRequest: ... + def getNamedSet( + self, + *, + project: str, + region: str, + router: str, + namedSet: str = ..., + **kwargs: typing.Any, + ) -> RoutersGetNamedSetResponseHttpRequest: ... def getNatIpInfo( self, *, @@ -8807,6 +8836,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: RoutersListBgpRoutesHttpRequest, previous_response: RoutersListBgpRoutes, ) -> RoutersListBgpRoutesHttpRequest | None: ... + def listNamedSets( + self, + *, + project: str, + region: str, + router: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RoutersListNamedSetsHttpRequest: ... + def listNamedSets_next( + self, + previous_request: RoutersListNamedSetsHttpRequest, + previous_response: RoutersListNamedSets, + ) -> RoutersListNamedSetsHttpRequest | None: ... def listRoutePolicies( self, *, @@ -8835,6 +8882,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def patchNamedSet( + self, + *, + project: str, + region: str, + router: str, + body: NamedSet = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patchRoutePolicy( self, *, @@ -8873,6 +8930,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def updateNamedSet( + self, + *, + project: str, + region: str, + router: str, + body: NamedSet = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def updateRoutePolicy( self, *, @@ -9160,6 +9227,68 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class SnapshotGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + snapshotGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, snapshotGroup: str, **kwargs: typing.Any + ) -> SnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + body: SnapshotGroup = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListSnapshotGroupsHttpRequest: ... + def list_next( + self, + previous_request: ListSnapshotGroupsHttpRequest, + previous_response: ListSnapshotGroups, + ) -> ListSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + resource: str, + body: GlobalSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class SnapshotSettingsResource(googleapiclient.discovery.Resource): def get( @@ -10989,6 +11118,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def routes(self) -> RoutesResource: ... def securityPolicies(self) -> SecurityPoliciesResource: ... def serviceAttachments(self) -> ServiceAttachmentsResource: ... + def snapshotGroups(self) -> SnapshotGroupsResource: ... def snapshotSettings(self) -> SnapshotSettingsResource: ... def snapshots(self) -> SnapshotsResource: ... def sslCertificates(self) -> SslCertificatesResource: ... @@ -11990,6 +12120,14 @@ class ListInstantSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListInstantSnapshotGroups: ... +@typing.type_check_only +class ListSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSnapshotGroups: ... + @typing.type_check_only class MachineImageHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12762,6 +12900,14 @@ class RouterStatusResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RouterStatusResponse: ... +@typing.type_check_only +class RoutersGetNamedSetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersGetNamedSetResponse: ... + @typing.type_check_only class RoutersGetRoutePolicyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12778,6 +12924,14 @@ class RoutersListBgpRoutesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RoutersListBgpRoutes: ... +@typing.type_check_only +class RoutersListNamedSetsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RoutersListNamedSets: ... + @typing.type_check_only class RoutersListRoutePoliciesHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12916,6 +13070,14 @@ class SnapshotAggregatedListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SnapshotAggregatedList: ... +@typing.type_check_only +class SnapshotGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SnapshotGroup: ... + @typing.type_check_only class SnapshotListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index dca81b2ba..d18346565 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -279,7 +279,6 @@ class AttachedDisk(typing_extensions.TypedDict, total=False): shieldedInstanceInitialState: InitialStateConfig source: str type: typing_extensions.Literal["PERSISTENT", "SCRATCH"] - userLicenses: _list[str] @typing.type_check_only class AttachedDiskInitializeParams(typing_extensions.TypedDict, total=False): @@ -466,6 +465,7 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerEndpoint: float maxRatePerInstance: float maxUtilization: float + orchestrationInfo: BackendBackendOrchestrationInfo preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] @@ -473,6 +473,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 @@ -640,6 +644,7 @@ class BackendService(typing_extensions.TypedDict, total=False): name: str network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy + orchestrationInfo: BackendServiceOrchestrationInfo outlierDetection: OutlierDetection params: BackendServiceParams port: int @@ -857,6 +862,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] @@ -991,6 +1000,7 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): instantSnapshotGroupParameters: InstantSnapshotGroupParameters + snapshotGroupParameters: SnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only @@ -1051,6 +1061,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] @@ -1364,7 +1404,6 @@ class Disk(typing_extensions.TypedDict, total=False): storagePool: str storageType: typing_extensions.Literal["HDD", "SSD"] type: str - userLicenses: _list[str] users: _list[str] zone: str @@ -1878,6 +1917,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 +2691,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 @@ -2750,7 +2791,6 @@ class Image(typing_extensions.TypedDict, total=False): sourceType: typing_extensions.Literal["RAW"] status: typing_extensions.Literal["DELETING", "FAILED", "PENDING", "READY"] storageLocations: _list[str] - userLicenses: _list[str] @typing.type_check_only class ImageFamilyView(typing_extensions.TypedDict, total=False): @@ -2849,6 +2889,7 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig zone: str @typing.type_check_only @@ -3113,6 +3154,7 @@ class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig autoscaler: str bulkInstanceOperation: InstanceGroupManagerStatusBulkInstanceOperation + currentInstanceStatuses: InstanceGroupManagerStatusInstanceStatusSummary isStable: bool stateful: InstanceGroupManagerStatusStateful versionTarget: InstanceGroupManagerStatusVersionTarget @@ -3138,6 +3180,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 @@ -3194,6 +3254,12 @@ class InstanceGroupManagersApplyUpdatesRequest( "NONE", "REFRESH", "REPLACE", "RESTART" ] +@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 @@ -3218,6 +3284,7 @@ class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( typing_extensions.TypedDict, total=False ): acceleratorTopologiesInfo: dict[str, typing.Any] + multiMig: str @typing.type_check_only class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( @@ -3225,8 +3292,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): @@ -3453,6 +3539,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 +3744,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 +3810,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 @@ -4611,6 +4703,17 @@ class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ListSnapshotGroups(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[SnapshotGroup] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class LocalDisk(typing_extensions.TypedDict, total=False): diskCount: int @@ -4626,6 +4729,7 @@ class LocalizedMessage(typing_extensions.TypedDict, total=False): class LocationPolicy(typing_extensions.TypedDict, total=False): locations: dict[str, typing.Any] targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] + zones: _list[LocationPolicyZoneConfiguration] @typing.type_check_only class LocationPolicyLocation(typing_extensions.TypedDict, total=False): @@ -4636,6 +4740,10 @@ class LocationPolicyLocation(typing_extensions.TypedDict, total=False): class LocationPolicyLocationConstraints(typing_extensions.TypedDict, total=False): maxCount: int +@typing.type_check_only +class LocationPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): + zone: str + @typing.type_check_only class MachineImage(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -4898,6 +5006,14 @@ class NamedPort(typing_extensions.TypedDict, total=False): name: str port: int +@typing.type_check_only +class NamedSet(typing_extensions.TypedDict, total=False): + description: str + elements: _list[Expr] + fingerprint: str + name: str + type: typing_extensions.Literal["NAMED_SET_TYPE_COMMUNITY", "NAMED_SET_TYPE_PREFIX"] + @typing.type_check_only class NatIpInfo(typing_extensions.TypedDict, total=False): natIpInfoMappings: _list[NatIpInfoNatIpInfoMapping] @@ -5201,6 +5317,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,11 +6960,15 @@ 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 linkedCommitments: _list[str] name: str + params: ReservationParams protectionTier: typing_extensions.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] @@ -6971,6 +7092,10 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class ReservationSlot(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -6982,7 +7107,7 @@ class ReservationSlot(typing_extensions.TypedDict, total=False): selfLinkWithId: str shareSettings: ShareSettings state: typing_extensions.Literal[ - "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED" + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: ReservationSlotStatus zone: str @@ -7294,6 +7419,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total enableOsInventoryMetadataValue: bool enableOsconfigMetadataValue: bool enableOsloginMetadataValue: bool + gceContainerDeclarationMetadataValue: bool serialPortEnableMetadataValue: bool serialPortLoggingEnableMetadataValue: bool vmDnsSettingMetadataValue: str @@ -7791,6 +7917,11 @@ class RouterStatusResponse(typing_extensions.TypedDict, total=False): kind: str result: RouterStatus +@typing.type_check_only +class RoutersGetNamedSetResponse(typing_extensions.TypedDict, total=False): + etag: str + resource: NamedSet + @typing.type_check_only class RoutersGetRoutePolicyResponse(typing_extensions.TypedDict, total=False): resource: RoutePolicy @@ -7806,6 +7937,17 @@ class RoutersListBgpRoutes(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class RoutersListNamedSets(typing_extensions.TypedDict, total=False): + etag: str + id: str + kind: str + nextPageToken: str + result: _list[NamedSet] + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RoutersListRoutePolicies(typing_extensions.TypedDict, total=False): etag: str @@ -7891,6 +8033,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" ] @@ -8475,6 +8618,8 @@ class Snapshot(typing_extensions.TypedDict, total=False): satisfiesPzs: bool selfLink: str snapshotEncryptionKey: CustomerEncryptionKey + snapshotGroupId: str + snapshotGroupName: str snapshotType: typing_extensions.Literal["ARCHIVE", "STANDARD"] sourceDisk: str sourceDiskEncryptionKey: CustomerEncryptionKey @@ -8491,7 +8636,6 @@ class Snapshot(typing_extensions.TypedDict, total=False): storageBytes: str storageBytesStatus: typing_extensions.Literal["UPDATING", "UP_TO_DATE"] storageLocations: _list[str] - userLicenses: _list[str] @typing.type_check_only class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): @@ -8504,6 +8648,40 @@ class SnapshotAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class SnapshotGroup(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + name: str + selfLink: str + selfLinkWithId: str + sourceInfo: SnapshotGroupSourceInfo + sourceInstantSnapshotGroup: str + sourceInstantSnapshotGroupInfo: SnapshotGroupSourceInstantSnapshotGroupInfo + status: typing_extensions.Literal[ + "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN", "UPLOADING" + ] + +@typing.type_check_only +class SnapshotGroupParameters(typing_extensions.TypedDict, total=False): + replicaZones: _list[str] + sourceSnapshotGroup: str + type: str + +@typing.type_check_only +class SnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): + consistencyGroup: str + consistencyGroupId: str + +@typing.type_check_only +class SnapshotGroupSourceInstantSnapshotGroupInfo( + typing_extensions.TypedDict, total=False +): + instantSnapshotGroup: str + instantSnapshotGroupId: str + @typing.type_check_only class SnapshotList(typing_extensions.TypedDict, total=False): id: str @@ -9960,6 +10138,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..53d9fb04e 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, @@ -5406,6 +5410,89 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionHealthAggregationPoliciesResource(googleapiclient.discovery.Resource): + def aggregatedList( + self, + *, + project: str, + filter: str = ..., + includeAllScopes: bool = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + serviceProjectNumber: str = ..., + **kwargs: typing.Any, + ) -> HealthAggregationPolicyAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: HealthAggregationPolicyAggregatedListHttpRequest, + previous_response: HealthAggregationPolicyAggregatedList, + ) -> HealthAggregationPolicyAggregatedListHttpRequest | None: ... + def delete( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + **kwargs: typing.Any, + ) -> HealthAggregationPolicyHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: HealthAggregationPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> HealthAggregationPolicyListHttpRequest: ... + def list_next( + self, + previous_request: HealthAggregationPolicyListHttpRequest, + previous_response: HealthAggregationPolicyList, + ) -> HealthAggregationPolicyListHttpRequest | None: ... + def patch( + self, + *, + project: str, + region: str, + healthAggregationPolicy: str, + body: HealthAggregationPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class RegionHealthCheckServicesResource(googleapiclient.discovery.Resource): def delete( @@ -9373,6 +9460,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionCommitments(self) -> RegionCommitmentsResource: ... def regionDiskTypes(self) -> RegionDiskTypesResource: ... def regionDisks(self) -> RegionDisksResource: ... + def regionHealthAggregationPolicies( + self, + ) -> RegionHealthAggregationPoliciesResource: ... def regionHealthCheckServices(self) -> RegionHealthCheckServicesResource: ... def regionHealthChecks(self) -> RegionHealthChecksResource: ... def regionInstanceGroupManagers(self) -> RegionInstanceGroupManagersResource: ... @@ -9790,6 +9880,32 @@ class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GuestAttributes: ... +@typing.type_check_only +class HealthAggregationPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicy: ... + +@typing.type_check_only +class HealthAggregationPolicyAggregatedListHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicyAggregatedList: ... + +@typing.type_check_only +class HealthAggregationPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HealthAggregationPolicyList: ... + @typing.type_check_only class HealthCheckHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index 04fc557ce..dd0303814 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -445,10 +445,15 @@ class Backend(typing_extensions.TypedDict, total=False): maxRatePerEndpoint: float maxRatePerInstance: float maxUtilization: float + orchestrationInfo: BackendBackendOrchestrationInfo preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] +@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 @@ -589,6 +594,7 @@ class BackendService(typing_extensions.TypedDict, total=False): name: str network: str networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy + orchestrationInfo: BackendServiceOrchestrationInfo outlierDetection: OutlierDetection params: BackendServiceParams port: int @@ -796,6 +802,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] @@ -1443,6 +1453,7 @@ class ExternalVpnGateway(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] name: str + params: ExternalVpnGatewayParams redundancyType: typing_extensions.Literal[ "FOUR_IPS_REDUNDANCY", "SINGLE_IP_INTERNALLY_REDUNDANT", "TWO_IPS_REDUNDANCY" ] @@ -1464,6 +1475,10 @@ class ExternalVpnGatewayList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ExternalVpnGatewayParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class FileContentBuffer(typing_extensions.TypedDict, total=False): content: str @@ -2098,6 +2113,47 @@ class HTTPSHealthCheck(typing_extensions.TypedDict, total=False): requestPath: str response: str +@typing.type_check_only +class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): + healthAggregationPolicies: _list[HealthAggregationPolicy] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthAggregationPolicy(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + fingerprint: str + healthyPercentThreshold: int + id: str + kind: str + minHealthyThreshold: int + name: str + policyType: typing_extensions.Literal[ + "BACKEND_SERVICE_POLICY", "DNS_PUBLIC_IP_POLICY" + ] + region: str + selfLink: str + selfLinkWithId: str + +@typing.type_check_only +class HealthAggregationPolicyAggregatedList(typing_extensions.TypedDict, total=False): + id: str + items: dict[str, typing.Any] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class HealthAggregationPolicyList(typing_extensions.TypedDict, total=False): + id: str + items: _list[HealthAggregationPolicy] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class HealthCheck(typing_extensions.TypedDict, total=False): checkIntervalSec: int @@ -2507,6 +2563,7 @@ class Instance(typing_extensions.TypedDict, total=False): ] statusMessage: str tags: Tags + workloadIdentityConfig: WorkloadIdentityConfig zone: str @typing.type_check_only @@ -2667,6 +2724,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 +3074,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 +3263,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 +3296,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 @@ -4127,6 +4193,7 @@ class LocalizedMessage(typing_extensions.TypedDict, total=False): class LocationPolicy(typing_extensions.TypedDict, total=False): locations: dict[str, typing.Any] targetShape: typing_extensions.Literal["ANY", "ANY_SINGLE_ZONE", "BALANCED"] + zones: _list[LocationPolicyZoneConfiguration] @typing.type_check_only class LocationPolicyLocation(typing_extensions.TypedDict, total=False): @@ -4137,6 +4204,10 @@ class LocationPolicyLocation(typing_extensions.TypedDict, total=False): class LocationPolicyLocationConstraints(typing_extensions.TypedDict, total=False): maxCount: int +@typing.type_check_only +class LocationPolicyZoneConfiguration(typing_extensions.TypedDict, total=False): + zone: str + @typing.type_check_only class MachineImage(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -4579,6 +4650,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,11 +6131,15 @@ 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 linkedCommitments: _list[str] name: str + params: ReservationParams protectionTier: typing_extensions.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] @@ -6179,6 +6255,10 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class ReservationSlot(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -6190,7 +6270,7 @@ class ReservationSlot(typing_extensions.TypedDict, total=False): selfLinkWithId: str shareSettings: ShareSettings state: typing_extensions.Literal[ - "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED" + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" ] status: ReservationSlotStatus zone: str @@ -6496,6 +6576,7 @@ class ResourceStatusEffectiveInstanceMetadata(typing_extensions.TypedDict, total enableOsInventoryMetadataValue: bool enableOsconfigMetadataValue: bool enableOsloginMetadataValue: bool + gceContainerDeclarationMetadataValue: bool serialPortEnableMetadataValue: bool serialPortLoggingEnableMetadataValue: bool vmDnsSettingMetadataValue: str @@ -8298,6 +8379,7 @@ class TargetVpnGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str network: str + params: TargetVpnGatewayParams region: str selfLink: str status: typing_extensions.Literal["CREATING", "DELETING", "FAILED", "READY"] @@ -8322,6 +8404,10 @@ class TargetVpnGatewayList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class TargetVpnGatewayParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class TargetVpnGatewaysScopedList(typing_extensions.TypedDict, total=False): targetVpnGateways: _list[TargetVpnGateway] @@ -8563,6 +8649,7 @@ class VpnGateway(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str network: str + params: VpnGatewayParams region: str selfLink: str stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] @@ -8587,6 +8674,10 @@ class VpnGatewayList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VpnGatewayParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class VpnGatewayStatus(typing_extensions.TypedDict, total=False): vpnConnections: _list[VpnGatewayStatusVpnConnection] @@ -8642,6 +8733,7 @@ class VpnTunnel(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] localTrafficSelector: _list[str] name: str + params: VpnTunnelParams peerExternalGateway: str peerExternalGatewayInterface: int peerGcpGateway: str @@ -8695,6 +8787,10 @@ class VpnTunnelList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VpnTunnelParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class VpnTunnelPhase1Algorithms(typing_extensions.TypedDict, total=False): dh: _list[str] @@ -8794,6 +8890,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/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index 73a5fca91..e6590b485 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -47,6 +47,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/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index a3ea06e87..f01128dbd 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -45,6 +45,7 @@ class AttestationAuthorityHint(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/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 0c3327d69..a04b54ef6 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 @@ -1581,6 +1583,8 @@ class WorkerPool(typing_extensions.TypedDict, total=False): "DEFAULT_PACKAGE_SET_JAVA", "DEFAULT_PACKAGE_SET_PYTHON", ] + diskProvisionedIops: str + diskProvisionedThroughputMibps: str diskSizeGb: int diskSourceImage: str diskType: str diff --git a/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi index bee3882f2..d0a7857d5 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/resources.pyi @@ -13,6 +13,185 @@ _list = list @typing.type_check_only class DataManagerResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InsightsResource(googleapiclient.discovery.Resource): + def retrieve( + self, + *, + parent: str, + body: RetrieveInsightsRequest = ..., + **kwargs: typing.Any, + ) -> RetrieveInsightsResponseHttpRequest: ... + + @typing.type_check_only + class PartnerLinksResource(googleapiclient.discovery.Resource): + def create( + self, *, parent: str, body: PartnerLink = ..., **kwargs: typing.Any + ) -> PartnerLinkHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def search( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> SearchPartnerLinksResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchPartnerLinksResponseHttpRequest, + previous_response: SearchPartnerLinksResponse, + ) -> SearchPartnerLinksResponseHttpRequest | None: ... + + @typing.type_check_only + class UserListDirectLicensesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: UserListDirectLicense = ..., + **kwargs: typing.Any, + ) -> UserListDirectLicenseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UserListDirectLicenseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUserListDirectLicensesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUserListDirectLicensesResponseHttpRequest, + previous_response: ListUserListDirectLicensesResponse, + ) -> ListUserListDirectLicensesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: UserListDirectLicense = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> UserListDirectLicenseHttpRequest: ... + + @typing.type_check_only + class UserListGlobalLicensesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class UserListGlobalLicenseCustomerInfosResource( + googleapiclient.discovery.Resource + ): + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUserListGlobalLicenseCustomerInfosResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUserListGlobalLicenseCustomerInfosResponseHttpRequest, + previous_response: ListUserListGlobalLicenseCustomerInfosResponse, + ) -> ( + ListUserListGlobalLicenseCustomerInfosResponseHttpRequest | None + ): ... + + def create( + self, + *, + parent: str, + body: UserListGlobalLicense = ..., + **kwargs: typing.Any, + ) -> UserListGlobalLicenseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UserListGlobalLicenseHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUserListGlobalLicensesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUserListGlobalLicensesResponseHttpRequest, + previous_response: ListUserListGlobalLicensesResponse, + ) -> ListUserListGlobalLicensesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: UserListGlobalLicense = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> UserListGlobalLicenseHttpRequest: ... + def userListGlobalLicenseCustomerInfos( + self, + ) -> UserListGlobalLicenseCustomerInfosResource: ... + + @typing.type_check_only + class UserListsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: UserList = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UserListHttpRequest: ... + def delete( + self, *, name: str, validateOnly: bool = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> UserListHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListUserListsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListUserListsResponseHttpRequest, + previous_response: ListUserListsResponse, + ) -> ListUserListsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: UserList = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> UserListHttpRequest: ... + + def insights(self) -> InsightsResource: ... + def partnerLinks(self) -> PartnerLinksResource: ... + def userListDirectLicenses(self) -> UserListDirectLicensesResource: ... + def userListGlobalLicenses(self) -> UserListGlobalLicensesResource: ... + def userLists(self) -> UserListsResource: ... + + def accounts(self) -> AccountsResource: ... + @typing.type_check_only class AudienceMembersResource(googleapiclient.discovery.Resource): def ingest( @@ -46,10 +225,19 @@ class DataManagerResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def accountTypes(self) -> AccountTypesResource: ... def audienceMembers(self) -> AudienceMembersResource: ... def events(self) -> EventsResource: ... def requestStatus(self) -> RequestStatusResource: ... +@typing.type_check_only +class EmptyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Empty: ... + @typing.type_check_only class IngestAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -66,6 +254,48 @@ class IngestEventsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> IngestEventsResponse: ... +@typing.type_check_only +class ListUserListDirectLicensesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUserListDirectLicensesResponse: ... + +@typing.type_check_only +class ListUserListGlobalLicenseCustomerInfosResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUserListGlobalLicenseCustomerInfosResponse: ... + +@typing.type_check_only +class ListUserListGlobalLicensesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUserListGlobalLicensesResponse: ... + +@typing.type_check_only +class ListUserListsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListUserListsResponse: ... + +@typing.type_check_only +class PartnerLinkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PartnerLink: ... + @typing.type_check_only class RemoveAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -74,6 +304,14 @@ class RemoveAudienceMembersResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> RemoveAudienceMembersResponse: ... +@typing.type_check_only +class RetrieveInsightsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveInsightsResponse: ... + @typing.type_check_only class RetrieveRequestStatusResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -81,3 +319,35 @@ class RetrieveRequestStatusResponseHttpRequest(googleapiclient.http.HttpRequest) http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> RetrieveRequestStatusResponse: ... + +@typing.type_check_only +class SearchPartnerLinksResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchPartnerLinksResponse: ... + +@typing.type_check_only +class UserListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserList: ... + +@typing.type_check_only +class UserListDirectLicenseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserListDirectLicense: ... + +@typing.type_check_only +class UserListGlobalLicenseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserListGlobalLicense: ... diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi index 74a6be843..6ce2643ef 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -25,7 +25,9 @@ class AudienceMember(typing_extensions.TypedDict, total=False): destinationReferences: _list[str] mobileData: MobileData pairData: PairData + ppidData: PpidData userData: UserData + userIdData: UserIdData @typing.type_check_only class AwsWrappedKeyInfo(typing_extensions.TypedDict, total=False): @@ -34,6 +36,11 @@ class AwsWrappedKeyInfo(typing_extensions.TypedDict, total=False): keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] roleArn: str +@typing.type_check_only +class Baseline(typing_extensions.TypedDict, total=False): + baselineLocation: Location + locationAutoDetectionEnabled: bool + @typing.type_check_only class CartData(typing_extensions.TypedDict, total=False): items: _list[Item] @@ -51,6 +58,17 @@ class Consent(typing_extensions.TypedDict, total=False): "CONSENT_STATUS_UNSPECIFIED", "CONSENT_GRANTED", "CONSENT_DENIED" ] +@typing.type_check_only +class ContactIdInfo(typing_extensions.TypedDict, total=False): + dataSourceType: typing_extensions.Literal[ + "DATA_SOURCE_TYPE_UNSPECIFIED", + "DATA_SOURCE_TYPE_FIRST_PARTY", + "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", + "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", + "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA", + ] + matchRatePercentage: int + @typing.type_check_only class CustomVariable(typing_extensions.TypedDict, total=False): destinationReferences: _list[str] @@ -70,6 +88,9 @@ class DeviceInfo(typing_extensions.TypedDict, total=False): ipAddress: str userAgent: str +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EncryptionInfo(typing_extensions.TypedDict, total=False): awsWrappedKeyInfo: AwsWrappedKeyInfo @@ -172,7 +193,9 @@ class IngestAudienceMembersResponse(typing_extensions.TypedDict, total=False): class IngestAudienceMembersStatus(typing_extensions.TypedDict, total=False): mobileDataIngestionStatus: IngestMobileDataStatus pairDataIngestionStatus: IngestPairDataStatus + ppidDataIngestionStatus: IngestPpidDataStatus userDataIngestionStatus: IngestUserDataStatus + userIdDataIngestionStatus: IngestUserIdDataStatus @typing.type_check_only class IngestEventsRequest(typing_extensions.TypedDict, total=False): @@ -201,6 +224,11 @@ class IngestPairDataStatus(typing_extensions.TypedDict, total=False): pairIdCount: str recordCount: str +@typing.type_check_only +class IngestPpidDataStatus(typing_extensions.TypedDict, total=False): + ppidCount: str + recordCount: str + @typing.type_check_only class IngestUserDataStatus(typing_extensions.TypedDict, total=False): recordCount: str @@ -219,6 +247,30 @@ class IngestUserDataStatus(typing_extensions.TypedDict, total=False): ] userIdentifierCount: str +@typing.type_check_only +class IngestUserIdDataStatus(typing_extensions.TypedDict, total=False): + recordCount: str + userIdCount: str + +@typing.type_check_only +class IngestedUserListInfo(typing_extensions.TypedDict, total=False): + contactIdInfo: ContactIdInfo + mobileIdInfo: MobileIdInfo + pairIdInfo: PairIdInfo + partnerAudienceInfo: PartnerAudienceInfo + pseudonymousIdInfo: PseudonymousIdInfo + uploadKeyTypes: _list[ + typing_extensions.Literal[ + "UPLOAD_KEY_TYPE_UNSPECIFIED", + "CONTACT_ID", + "MOBILE_ID", + "USER_ID", + "PAIR_ID", + "PSEUDONYMOUS_ID", + ] + ] + userIdInfo: UserIdInfo + @typing.type_check_only class Item(typing_extensions.TypedDict, total=False): additionalItemParameters: _list[ItemParameter] @@ -232,14 +284,111 @@ class ItemParameter(typing_extensions.TypedDict, total=False): parameterName: str value: str +@typing.type_check_only +class ListUserListDirectLicensesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + userListDirectLicenses: _list[UserListDirectLicense] + +@typing.type_check_only +class ListUserListGlobalLicenseCustomerInfosResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + userListGlobalLicenseCustomerInfos: _list[UserListGlobalLicenseCustomerInfo] + +@typing.type_check_only +class ListUserListGlobalLicensesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + userListGlobalLicenses: _list[UserListGlobalLicense] + +@typing.type_check_only +class ListUserListsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + userLists: _list[UserList] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + regionCodes: _list[str] + +@typing.type_check_only +class MarketingDataInsight(typing_extensions.TypedDict, total=False): + attributes: _list[MarketingDataInsightsAttribute] + dimension: typing_extensions.Literal[ + "AUDIENCE_INSIGHTS_DIMENSION_UNSPECIFIED", + "AUDIENCE_INSIGHTS_DIMENSION_UNKNOWN", + "AFFINITY_USER_INTEREST", + "IN_MARKET_USER_INTEREST", + "AGE_RANGE", + "GENDER", + ] + +@typing.type_check_only +class MarketingDataInsightsAttribute(typing_extensions.TypedDict, total=False): + ageRange: typing_extensions.Literal[ + "AGE_RANGE_UNSPECIFIED", + "AGE_RANGE_UNKNOWN", + "AGE_RANGE_18_24", + "AGE_RANGE_25_34", + "AGE_RANGE_35_44", + "AGE_RANGE_45_54", + "AGE_RANGE_55_64", + "AGE_RANGE_65_UP", + ] + gender: typing_extensions.Literal[ + "GENDER_UNSPECIFIED", "GENDER_UNKNOWN", "GENDER_MALE", "GENDER_FEMALE" + ] + lift: float + userInterestId: str + @typing.type_check_only class MobileData(typing_extensions.TypedDict, total=False): mobileIds: _list[str] +@typing.type_check_only +class MobileIdInfo(typing_extensions.TypedDict, total=False): + appId: str + dataSourceType: typing_extensions.Literal[ + "DATA_SOURCE_TYPE_UNSPECIFIED", + "DATA_SOURCE_TYPE_FIRST_PARTY", + "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", + "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", + "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA", + ] + keySpace: typing_extensions.Literal["KEY_SPACE_UNSPECIFIED", "IOS", "ANDROID"] + @typing.type_check_only class PairData(typing_extensions.TypedDict, total=False): pairIds: _list[str] +@typing.type_check_only +class PairIdInfo(typing_extensions.TypedDict, total=False): + advertiserIdentifierCount: str + cleanRoomIdentifier: str + matchRatePercentage: int + publisherId: str + publisherName: str + +@typing.type_check_only +class PartnerAudienceInfo(typing_extensions.TypedDict, total=False): + commercePartner: str + partnerAudienceSource: typing_extensions.Literal[ + "PARTNER_AUDIENCE_SOURCE_UNSPECIFIED", + "COMMERCE_AUDIENCE", + "LINEAR_TV_AUDIENCE", + "AGENCY_PROVIDER_AUDIENCE", + ] + +@typing.type_check_only +class PartnerLink(typing_extensions.TypedDict, total=False): + name: str + owningAccount: ProductAccount + partnerAccount: ProductAccount + partnerLinkId: str + +@typing.type_check_only +class PpidData(typing_extensions.TypedDict, total=False): + ppids: _list[str] + @typing.type_check_only class ProductAccount(typing_extensions.TypedDict, total=False): accountId: str @@ -250,6 +399,7 @@ class ProductAccount(typing_extensions.TypedDict, total=False): "DISPLAY_VIDEO_ADVERTISER", "DATA_PARTNER", "GOOGLE_ANALYTICS_PROPERTY", + "GOOGLE_AD_MANAGER_AUDIENCE_LINK", ] product: typing_extensions.Literal[ "PRODUCT_UNSPECIFIED", @@ -259,6 +409,13 @@ class ProductAccount(typing_extensions.TypedDict, total=False): "DATA_PARTNER", ] +@typing.type_check_only +class PseudonymousIdInfo(typing_extensions.TypedDict, total=False): + billableRecordCount: str + syncStatus: typing_extensions.Literal[ + "SYNC_STATUS_UNSPECIFIED", "CREATED", "READY_FOR_USE", "FAILED" + ] + @typing.type_check_only class RemoveAudienceMembersRequest(typing_extensions.TypedDict, total=False): audienceMembers: _list[AudienceMember] @@ -275,7 +432,9 @@ class RemoveAudienceMembersResponse(typing_extensions.TypedDict, total=False): class RemoveAudienceMembersStatus(typing_extensions.TypedDict, total=False): mobileDataRemovalStatus: RemoveMobileDataStatus pairDataRemovalStatus: RemovePairDataStatus + ppidDataRemovalStatus: RemovePpidDataStatus userDataRemovalStatus: RemoveUserDataStatus + userIdDataRemovalStatus: RemoveUserIdDataStatus @typing.type_check_only class RemoveMobileDataStatus(typing_extensions.TypedDict, total=False): @@ -287,11 +446,21 @@ class RemovePairDataStatus(typing_extensions.TypedDict, total=False): pairIdCount: str recordCount: str +@typing.type_check_only +class RemovePpidDataStatus(typing_extensions.TypedDict, total=False): + ppidCount: str + recordCount: str + @typing.type_check_only class RemoveUserDataStatus(typing_extensions.TypedDict, total=False): recordCount: str userIdentifierCount: str +@typing.type_check_only +class RemoveUserIdDataStatus(typing_extensions.TypedDict, total=False): + recordCount: str + userIdCount: str + @typing.type_check_only class RequestStatusPerDestination(typing_extensions.TypedDict, total=False): audienceMembersIngestionStatus: IngestAudienceMembersStatus @@ -304,16 +473,40 @@ class RequestStatusPerDestination(typing_extensions.TypedDict, total=False): ] warningInfo: WarningInfo +@typing.type_check_only +class RetrieveInsightsRequest(typing_extensions.TypedDict, total=False): + baseline: Baseline + userListId: str + +@typing.type_check_only +class RetrieveInsightsResponse(typing_extensions.TypedDict, total=False): + marketingDataInsights: _list[MarketingDataInsight] + @typing.type_check_only class RetrieveRequestStatusResponse(typing_extensions.TypedDict, total=False): requestStatusPerDestination: _list[RequestStatusPerDestination] +@typing.type_check_only +class SearchPartnerLinksResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + partnerLinks: _list[PartnerLink] + +@typing.type_check_only +class SizeInfo(typing_extensions.TypedDict, total=False): + displayNetworkMembersCount: str + searchNetworkMembersCount: 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 TargetNetworkInfo(typing_extensions.TypedDict, total=False): + eligibleForDisplay: bool + eligibleForSearch: bool + @typing.type_check_only class TermsOfService(typing_extensions.TypedDict, total=False): customerMatchTermsOfServiceStatus: typing_extensions.Literal[ @@ -324,12 +517,153 @@ class TermsOfService(typing_extensions.TypedDict, total=False): class UserData(typing_extensions.TypedDict, total=False): userIdentifiers: _list[UserIdentifier] +@typing.type_check_only +class UserIdData(typing_extensions.TypedDict, total=False): + userId: str + +@typing.type_check_only +class UserIdInfo(typing_extensions.TypedDict, total=False): + dataSourceType: typing_extensions.Literal[ + "DATA_SOURCE_TYPE_UNSPECIFIED", + "DATA_SOURCE_TYPE_FIRST_PARTY", + "DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU", + "DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE", + "DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA", + ] + @typing.type_check_only class UserIdentifier(typing_extensions.TypedDict, total=False): address: AddressInfo emailAddress: str phoneNumber: str +@typing.type_check_only +class UserList(typing_extensions.TypedDict, total=False): + accessReason: typing_extensions.Literal[ + "ACCESS_REASON_UNSPECIFIED", + "OWNED", + "SHARED", + "LICENSED", + "SUBSCRIBED", + "AFFILIATED", + ] + accountAccessStatus: typing_extensions.Literal[ + "ACCESS_STATUS_UNSPECIFIED", "ENABLED", "DISABLED" + ] + closingReason: typing_extensions.Literal["CLOSING_REASON_UNSPECIFIED", "UNUSED"] + description: str + displayName: str + id: str + ingestedUserListInfo: IngestedUserListInfo + integrationCode: str + membershipDuration: str + membershipStatus: typing_extensions.Literal[ + "MEMBERSHIP_STATUS_UNSPECIFIED", "OPEN", "CLOSED" + ] + name: str + readOnly: bool + sizeInfo: SizeInfo + targetNetworkInfo: TargetNetworkInfo + +@typing.type_check_only +class UserListDirectLicense(typing_extensions.TypedDict, total=False): + clientAccountDisplayName: str + clientAccountId: str + clientAccountType: typing_extensions.Literal[ + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK", + ] + historicalPricings: _list[UserListLicensePricing] + metrics: UserListLicenseMetrics + name: str + pricing: UserListLicensePricing + status: typing_extensions.Literal[ + "USER_LIST_LICENSE_STATUS_UNSPECIFIED", + "USER_LIST_LICENSE_STATUS_ENABLED", + "USER_LIST_LICENSE_STATUS_DISABLED", + ] + userListDisplayName: str + userListId: str + +@typing.type_check_only +class UserListGlobalLicense(typing_extensions.TypedDict, total=False): + historicalPricings: _list[UserListLicensePricing] + licenseType: typing_extensions.Literal[ + "USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", + "USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", + "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", + "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE", + ] + metrics: UserListLicenseMetrics + name: str + pricing: UserListLicensePricing + status: typing_extensions.Literal[ + "USER_LIST_LICENSE_STATUS_UNSPECIFIED", + "USER_LIST_LICENSE_STATUS_ENABLED", + "USER_LIST_LICENSE_STATUS_DISABLED", + ] + userListDisplayName: str + userListId: str + +@typing.type_check_only +class UserListGlobalLicenseCustomerInfo(typing_extensions.TypedDict, total=False): + clientAccountDisplayName: str + clientAccountId: str + clientAccountType: typing_extensions.Literal[ + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_UNKNOWN", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_ADS", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_PARTNER", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_DISPLAY_VIDEO_ADVERTISER", + "USER_LIST_LICENSE_CLIENT_ACCOUNT_TYPE_GOOGLE_AD_MANAGER_AUDIENCE_LINK", + ] + historicalPricings: _list[UserListLicensePricing] + licenseType: typing_extensions.Literal[ + "USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED", + "USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER", + "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE", + "USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE", + ] + metrics: UserListLicenseMetrics + name: str + pricing: UserListLicensePricing + status: typing_extensions.Literal[ + "USER_LIST_LICENSE_STATUS_UNSPECIFIED", + "USER_LIST_LICENSE_STATUS_ENABLED", + "USER_LIST_LICENSE_STATUS_DISABLED", + ] + userListDisplayName: str + userListId: str + +@typing.type_check_only +class UserListLicenseMetrics(typing_extensions.TypedDict, total=False): + clickCount: str + endDate: str + impressionCount: str + revenueUsdMicros: str + startDate: str + +@typing.type_check_only +class UserListLicensePricing(typing_extensions.TypedDict, total=False): + buyerApprovalState: typing_extensions.Literal[ + "USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED", + "PENDING", + "APPROVED", + "REJECTED", + ] + costMicros: str + costType: typing_extensions.Literal[ + "USER_LIST_PRICING_COST_TYPE_UNSPECIFIED", "CPC", "CPM", "MEDIA_SHARE" + ] + currencyCode: str + endTime: str + maxCostMicros: str + pricingActive: bool + pricingId: str + startTime: str + @typing.type_check_only class UserProperties(typing_extensions.TypedDict, total=False): additionalUserProperties: _list[UserProperty] diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index b4871ab40..e0d30b024 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: ... @@ -1896,6 +1920,24 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): ] = ..., **kwargs: typing.Any, ) -> GoogleCloudDataplexV1EntryHttpRequest: ... + def lookupEntryLinks( + self, + *, + name: str, + entry: str = ..., + entryLinkTypes: str | _list[str] = ..., + entryMode: typing_extensions.Literal[ + "ENTRY_MODE_UNSPECIFIED", "SOURCE", "TARGET" + ] = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1LookupEntryLinksResponseHttpRequest: ... + def lookupEntryLinks_next( + self, + previous_request: GoogleCloudDataplexV1LookupEntryLinksResponseHttpRequest, + previous_response: GoogleCloudDataplexV1LookupEntryLinksResponse, + ) -> GoogleCloudDataplexV1LookupEntryLinksResponseHttpRequest | None: ... def searchEntries( self, *, @@ -1928,6 +1970,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: ... @@ -2426,6 +2469,16 @@ class GoogleCloudDataplexV1ListZonesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListZonesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1LookupEntryLinksResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1LookupEntryLinksResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1MetadataFeedHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index ca15badfe..8353d8926 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -716,6 +716,7 @@ class GoogleCloudDataplexV1DataQualityResultPostScanActionsResultBigQueryExportR @typing.type_check_only class GoogleCloudDataplexV1DataQualityRule(typing_extensions.TypedDict, total=False): column: str + debugQueries: _list[GoogleCloudDataplexV1DataQualityRuleDebugQuery] description: str dimension: str ignoreNull: bool @@ -736,6 +737,13 @@ class GoogleCloudDataplexV1DataQualityRule(typing_extensions.TypedDict, total=Fa threshold: float uniquenessExpectation: GoogleCloudDataplexV1DataQualityRuleUniquenessExpectation +@typing.type_check_only +class GoogleCloudDataplexV1DataQualityRuleDebugQuery( + typing_extensions.TypedDict, total=False +): + description: str + sqlStatement: str + @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleNonNullExpectation( typing_extensions.TypedDict, total=False @@ -761,6 +769,9 @@ class GoogleCloudDataplexV1DataQualityRuleResult( typing_extensions.TypedDict, total=False ): assertionRowCount: str + debugQueriesResultSets: _list[ + GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet + ] evaluatedCount: str failingRowsQuery: str nullCount: str @@ -769,6 +780,20 @@ class GoogleCloudDataplexV1DataQualityRuleResult( passedCount: str rule: GoogleCloudDataplexV1DataQualityRule +@typing.type_check_only +class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult( + typing_extensions.TypedDict, total=False +): + name: str + type: str + value: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResultSet( + typing_extensions.TypedDict, total=False +): + results: _list[GoogleCloudDataplexV1DataQualityRuleResultDebugQueryResult] + @typing.type_check_only class GoogleCloudDataplexV1DataQualityRuleRowConditionExpectation( typing_extensions.TypedDict, total=False @@ -1722,6 +1747,13 @@ class GoogleCloudDataplexV1ListZonesResponse(typing_extensions.TypedDict, total= nextPageToken: str zones: _list[GoogleCloudDataplexV1Zone] +@typing.type_check_only +class GoogleCloudDataplexV1LookupEntryLinksResponse( + typing_extensions.TypedDict, total=False +): + entryLinks: _list[GoogleCloudDataplexV1EntryLink] + nextPageToken: str + @typing.type_check_only class GoogleCloudDataplexV1MetadataFeed(typing_extensions.TypedDict, total=False): createTime: str 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/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index 4f697757d..c6e0ad938 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -3439,6 +3439,7 @@ class GoogleCloudDialogflowV2beta1ConversationProfile( timeZone: str ttsConfig: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig updateTime: str + useBidiStreaming: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo( diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index b4e6c2b90..0d8184cb4 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -900,6 +900,23 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): class AssistantsResource(googleapiclient.discovery.Resource): @typing.type_check_only class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + tenant: str, + body: A2aV1SendMessageRequest = ..., + **kwargs: typing.Any, + ) -> A2aV1SendMessageResponseHttpRequest: ... + def stream( + self, + *, + tenant: str, + body: A2aV1SendMessageRequest = ..., + **kwargs: typing.Any, + ) -> A2aV1StreamResponseHttpRequest: ... + @typing.type_check_only class OperationsResource( googleapiclient.discovery.Resource @@ -908,7 +925,86 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class TasksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PushNotificationConfigsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + tenant: str, + parent: str, + body: A2aV1TaskPushNotificationConfig = ..., + configId: str = ..., + **kwargs: typing.Any, + ) -> A2aV1TaskPushNotificationConfigHttpRequest: ... + def delete( + self, + *, + tenant: str, + name: str, + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, + *, + tenant: str, + name: str, + **kwargs: typing.Any, + ) -> A2aV1TaskPushNotificationConfigHttpRequest: ... + def list( + self, + *, + tenant: str, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> A2aV1ListTaskPushNotificationConfigResponseHttpRequest: ... + def list_next( + self, + previous_request: A2aV1ListTaskPushNotificationConfigResponseHttpRequest, + previous_response: A2aV1ListTaskPushNotificationConfigResponse, + ) -> ( + A2aV1ListTaskPushNotificationConfigResponseHttpRequest + | None + ): ... + + def cancel( + self, + *, + tenant: str, + name: str, + body: A2aV1CancelTaskRequest = ..., + **kwargs: typing.Any, + ) -> A2aV1TaskHttpRequest: ... + def get( + self, + *, + tenant: str, + name: str, + historyLength: int = ..., + **kwargs: typing.Any, + ) -> A2aV1TaskHttpRequest: ... + def subscribe( + self, + *, + tenant: str, + name: str, + **kwargs: typing.Any, + ) -> A2aV1StreamResponseHttpRequest: ... + def pushNotificationConfigs( + self, + ) -> PushNotificationConfigsResource: ... + + def getCard( + self, *, tenant: str, **kwargs: typing.Any + ) -> A2aV1AgentCardHttpRequest: ... + def message(self) -> MessageResource: ... def operations(self) -> OperationsResource: ... + def tasks(self) -> TasksResource: ... def create( self, @@ -1276,6 +1372,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 +1404,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: ... @@ -2403,6 +2513,56 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class A2aV1AgentCardHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1AgentCard: ... + +@typing.type_check_only +class A2aV1ListTaskPushNotificationConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1ListTaskPushNotificationConfigResponse: ... + +@typing.type_check_only +class A2aV1SendMessageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1SendMessageResponse: ... + +@typing.type_check_only +class A2aV1StreamResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1StreamResponse: ... + +@typing.type_check_only +class A2aV1TaskHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1Task: ... + +@typing.type_check_only +class A2aV1TaskPushNotificationConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> A2aV1TaskPushNotificationConfig: ... + @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2879,6 +3039,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..013d5ee03 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -4,6 +4,274 @@ import typing_extensions _list = list +@typing.type_check_only +class A2aV1APIKeySecurityScheme(typing_extensions.TypedDict, total=False): + description: str + location: str + name: str + +@typing.type_check_only +class A2aV1AgentCapabilities(typing_extensions.TypedDict, total=False): + extensions: _list[A2aV1AgentExtension] + pushNotifications: bool + streaming: bool + +@typing.type_check_only +class A2aV1AgentCard(typing_extensions.TypedDict, total=False): + additionalInterfaces: _list[A2aV1AgentInterface] + capabilities: A2aV1AgentCapabilities + defaultInputModes: _list[str] + defaultOutputModes: _list[str] + description: str + documentationUrl: str + iconUrl: str + name: str + preferredTransport: str + protocolVersion: str + provider: A2aV1AgentProvider + security: _list[A2aV1Security] + securitySchemes: dict[str, typing.Any] + signatures: _list[A2aV1AgentCardSignature] + skills: _list[A2aV1AgentSkill] + supportsAuthenticatedExtendedCard: bool + url: str + version: str + +@typing.type_check_only +class A2aV1AgentCardSignature(typing_extensions.TypedDict, total=False): + header: dict[str, typing.Any] + protected: str + signature: str + +@typing.type_check_only +class A2aV1AgentExtension(typing_extensions.TypedDict, total=False): + description: str + params: dict[str, typing.Any] + required: bool + uri: str + +@typing.type_check_only +class A2aV1AgentInterface(typing_extensions.TypedDict, total=False): + tenant: str + transport: str + url: str + +@typing.type_check_only +class A2aV1AgentProvider(typing_extensions.TypedDict, total=False): + organization: str + url: str + +@typing.type_check_only +class A2aV1AgentSkill(typing_extensions.TypedDict, total=False): + description: str + examples: _list[str] + id: str + inputModes: _list[str] + name: str + outputModes: _list[str] + security: _list[A2aV1Security] + tags: _list[str] + +@typing.type_check_only +class A2aV1Artifact(typing_extensions.TypedDict, total=False): + artifactId: str + description: str + extensions: _list[str] + metadata: dict[str, typing.Any] + name: str + parts: _list[A2aV1Part] + +@typing.type_check_only +class A2aV1AuthenticationInfo(typing_extensions.TypedDict, total=False): + credentials: str + schemes: _list[str] + +@typing.type_check_only +class A2aV1AuthorizationCodeOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class A2aV1CancelTaskRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class A2aV1ClientCredentialsOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class A2aV1DataPart(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + +@typing.type_check_only +class A2aV1FilePart(typing_extensions.TypedDict, total=False): + fileWithBytes: str + fileWithUri: str + mimeType: str + name: str + +@typing.type_check_only +class A2aV1HTTPAuthSecurityScheme(typing_extensions.TypedDict, total=False): + bearerFormat: str + description: str + scheme: str + +@typing.type_check_only +class A2aV1ImplicitOAuthFlow(typing_extensions.TypedDict, total=False): + authorizationUrl: str + refreshUrl: str + scopes: dict[str, typing.Any] + +@typing.type_check_only +class A2aV1ListTaskPushNotificationConfigResponse( + typing_extensions.TypedDict, total=False +): + configs: _list[A2aV1TaskPushNotificationConfig] + nextPageToken: str + +@typing.type_check_only +class A2aV1Message(typing_extensions.TypedDict, total=False): + content: _list[A2aV1Part] + contextId: str + extensions: _list[str] + messageId: str + metadata: dict[str, typing.Any] + role: typing_extensions.Literal["ROLE_UNSPECIFIED", "ROLE_USER", "ROLE_AGENT"] + taskId: str + +@typing.type_check_only +class A2aV1MutualTlsSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + +@typing.type_check_only +class A2aV1OAuth2SecurityScheme(typing_extensions.TypedDict, total=False): + description: str + flows: A2aV1OAuthFlows + oauth2MetadataUrl: str + +@typing.type_check_only +class A2aV1OAuthFlows(typing_extensions.TypedDict, total=False): + authorizationCode: A2aV1AuthorizationCodeOAuthFlow + clientCredentials: A2aV1ClientCredentialsOAuthFlow + implicit: A2aV1ImplicitOAuthFlow + password: A2aV1PasswordOAuthFlow + +@typing.type_check_only +class A2aV1OpenIdConnectSecurityScheme(typing_extensions.TypedDict, total=False): + description: str + openIdConnectUrl: str + +@typing.type_check_only +class A2aV1Part(typing_extensions.TypedDict, total=False): + data: A2aV1DataPart + file: A2aV1FilePart + metadata: dict[str, typing.Any] + text: str + +@typing.type_check_only +class A2aV1PasswordOAuthFlow(typing_extensions.TypedDict, total=False): + refreshUrl: str + scopes: dict[str, typing.Any] + tokenUrl: str + +@typing.type_check_only +class A2aV1PushNotificationConfig(typing_extensions.TypedDict, total=False): + authentication: A2aV1AuthenticationInfo + id: str + token: str + url: str + +@typing.type_check_only +class A2aV1Security(typing_extensions.TypedDict, total=False): + schemes: dict[str, typing.Any] + +@typing.type_check_only +class A2aV1SecurityScheme(typing_extensions.TypedDict, total=False): + apiKeySecurityScheme: A2aV1APIKeySecurityScheme + httpAuthSecurityScheme: A2aV1HTTPAuthSecurityScheme + mtlsSecurityScheme: A2aV1MutualTlsSecurityScheme + oauth2SecurityScheme: A2aV1OAuth2SecurityScheme + openIdConnectSecurityScheme: A2aV1OpenIdConnectSecurityScheme + +@typing.type_check_only +class A2aV1SendMessageConfiguration(typing_extensions.TypedDict, total=False): + acceptedOutputModes: _list[str] + blocking: bool + historyLength: int + pushNotification: A2aV1PushNotificationConfig + +@typing.type_check_only +class A2aV1SendMessageRequest(typing_extensions.TypedDict, total=False): + configuration: A2aV1SendMessageConfiguration + message: A2aV1Message + metadata: dict[str, typing.Any] + +@typing.type_check_only +class A2aV1SendMessageResponse(typing_extensions.TypedDict, total=False): + message: A2aV1Message + task: A2aV1Task + +@typing.type_check_only +class A2aV1StreamResponse(typing_extensions.TypedDict, total=False): + artifactUpdate: A2aV1TaskArtifactUpdateEvent + message: A2aV1Message + statusUpdate: A2aV1TaskStatusUpdateEvent + task: A2aV1Task + +@typing.type_check_only +class A2aV1StringList(typing_extensions.TypedDict, total=False): + list: _list[str] + +@typing.type_check_only +class A2aV1Task(typing_extensions.TypedDict, total=False): + artifacts: _list[A2aV1Artifact] + contextId: str + history: _list[A2aV1Message] + id: str + metadata: dict[str, typing.Any] + status: A2aV1TaskStatus + +@typing.type_check_only +class A2aV1TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): + append: bool + artifact: A2aV1Artifact + contextId: str + lastChunk: bool + metadata: dict[str, typing.Any] + taskId: str + +@typing.type_check_only +class A2aV1TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): + name: str + pushNotificationConfig: A2aV1PushNotificationConfig + +@typing.type_check_only +class A2aV1TaskStatus(typing_extensions.TypedDict, total=False): + message: A2aV1Message + state: typing_extensions.Literal[ + "TASK_STATE_UNSPECIFIED", + "TASK_STATE_SUBMITTED", + "TASK_STATE_WORKING", + "TASK_STATE_COMPLETED", + "TASK_STATE_FAILED", + "TASK_STATE_CANCELLED", + "TASK_STATE_INPUT_REQUIRED", + "TASK_STATE_REJECTED", + "TASK_STATE_AUTH_REQUIRED", + ] + timestamp: str + +@typing.type_check_only +class A2aV1TaskStatusUpdateEvent(typing_extensions.TypedDict, total=False): + contextId: str + final: bool + metadata: dict[str, typing.Any] + status: A2aV1TaskStatus + taskId: str + @typing.type_check_only class GoogleApiDistribution(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -1403,6 +1671,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 +1911,8 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str @@ -1785,6 +2056,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -2040,6 +2312,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -2062,6 +2335,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 +2440,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 +2744,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -2476,13 +2753,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -2493,6 +2776,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 +2974,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 +3767,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -3865,6 +4163,7 @@ class GoogleCloudDiscoveryengineV1WidgetConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] uiBranding: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings uiSettings: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings @@ -4119,6 +4418,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -4714,6 +5014,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -4887,9 +5188,12 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -4988,6 +5292,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 +5352,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -5259,6 +5576,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -5287,6 +5605,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 +5726,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 +6016,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -5703,13 +6025,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -5720,6 +6048,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 +6153,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 +6275,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 +6460,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -6250,6 +6641,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -6718,6 +7110,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 +7274,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -7048,6 +7442,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -7070,6 +7465,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 +7572,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 +7761,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -7371,13 +7770,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -7388,6 +7793,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 +7870,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 +8009,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -7769,6 +8189,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @@ -8067,6 +8488,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 +8589,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..c2ed922b9 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,8 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str @@ -683,6 +686,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -869,6 +873,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -891,6 +896,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 +1001,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 +1132,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -1132,13 +1141,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -1149,6 +1164,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 +1219,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 +1417,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -1805,67 +1835,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 +1863,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -2879,6 +2849,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 +2859,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 @@ -2896,6 +2868,7 @@ class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -2906,6 +2879,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 +3136,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 +3287,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -3566,9 +3547,12 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -3667,6 +3651,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 +3711,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -4038,6 +4035,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -4066,6 +4064,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 +4185,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 +4297,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 +4474,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 +4821,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -4812,13 +4830,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -4829,6 +4853,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 +4889,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 +5234,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 +5426,7 @@ class GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics( @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total=False): + parts: _list[GoogleCloudDiscoveryengineV1alphaQueryPart] queryId: str text: str @@ -5430,6 +5462,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 +5870,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -5971,6 +6051,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -6437,6 +6518,7 @@ class GoogleCloudDiscoveryengineV1alphaServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -6592,12 +6674,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 +6903,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 +7039,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] uiBranding: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings uiSettings: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings @@ -7301,6 +7384,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 +7548,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -7631,6 +7716,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -7653,6 +7739,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 +7846,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 +8035,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -7954,13 +8044,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -7971,6 +8067,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 +8144,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 +8283,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -8352,6 +8463,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..e0428158e 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,8 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str @@ -683,6 +686,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1Schema @@ -869,6 +873,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -891,6 +896,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 +1001,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 +1132,8 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -1132,13 +1141,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -1149,6 +1164,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 +1219,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 +1417,7 @@ class GoogleCloudDiscoveryengineV1ServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -1614,6 +1644,7 @@ class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig( alertPolicy: str contactDetails: _list[GoogleCloudDiscoveryengineV1alphaContactDetails] languageCode: str + regionCode: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment( @@ -2209,6 +2240,7 @@ class GoogleCloudDiscoveryengineV1alphaControl( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsAction: GoogleCloudDiscoveryengineV1alphaControlSynonymsAction useCases: _list[ @@ -2382,9 +2414,12 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_EUA", "GCNV", "GOOGLE_CHAT", + "GOOGLE_SITES", + "REMOTE_MCP", ] createEuaSaas: bool createTime: str + dataProtectionPolicy: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy dataSource: str destinationConfigs: _list[GoogleCloudDiscoveryengineV1alphaDestinationConfig] endUserConfig: GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig @@ -2483,6 +2518,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 +2578,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1alphaSchema @@ -2754,6 +2802,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -2782,6 +2831,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 +2952,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 +3242,8 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig ) autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -3198,13 +3251,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -3215,6 +3274,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 +3379,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 +3501,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 +3686,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -3745,6 +3867,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec( @@ -5376,6 +5499,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 +5749,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] ] startingSchema: GoogleCloudDiscoveryengineV1betaSchema @@ -5871,6 +5996,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", "CONFIGURABLE_BILLING_APPROACH_ENABLED", ] + connectorTenantInfo: dict[str, typing.Any] createTime: str dataStoreIds: _list[str] disableAnalytics: bool @@ -5893,6 +6019,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 +6126,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 +6500,8 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( typing_extensions.TypedDict, total=False ): autoRenew: bool + earlyTerminated: bool + earlyTerminationDate: GoogleTypeDate endDate: GoogleTypeDate freeTrial: bool geminiBundle: bool @@ -6379,13 +6509,19 @@ 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", "SUBSCRIPTION_TERM_ONE_MONTH", "SUBSCRIPTION_TERM_ONE_YEAR", "SUBSCRIPTION_TERM_THREE_YEARS", + "SUBSCRIPTION_TERM_CUSTOM", ] subscriptionTier: typing_extensions.Literal[ "SUBSCRIPTION_TIER_UNSPECIFIED", @@ -6396,6 +6532,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 +6810,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 +7194,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( imageQuery: GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery languageCode: str naturalLanguageQueryUnderstandingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec + numResultsPerDataStore: int offset: int oneBoxPageSize: int orderBy: str @@ -7223,6 +7374,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( customSearchOperators: str dataStore: str filter: str + numResults: int @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec( @@ -7683,6 +7835,7 @@ class GoogleCloudDiscoveryengineV1betaServingConfig( "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT", "SOLUTION_TYPE_GENERATIVE_CHAT", + "SOLUTION_TYPE_AI_MODE", ] synonymsControlIds: _list[str] updateTime: str @@ -8069,6 +8222,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 +8323,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/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index dc82f56e0..f44f83a79 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -343,7 +343,9 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( ): description: str displayName: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", @@ -758,7 +760,9 @@ class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( description: str enumValues: _list[str] hide: bool - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", @@ -1511,7 +1515,9 @@ class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty( typing_extensions.TypedDict, total=False ): displayName: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", @@ -2337,7 +2343,9 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( ): description: str displayName: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 6f70b992f..9152b4514 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -343,7 +343,9 @@ class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( ): description: str displayName: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", @@ -758,7 +760,9 @@ class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( description: str enumValues: _list[str] hide: bool - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", "OPTIONAL_ONCE", @@ -1895,7 +1899,9 @@ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( ): description: str displayName: str - method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + method: typing_extensions.Literal[ + "METHOD_UNSPECIFIED", "EXTRACT", "DERIVE", "RELAXED_EXTRACT" + ] name: str occurrenceType: typing_extensions.Literal[ "OCCURRENCE_TYPE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index 1400eda22..d2191cf3a 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -268,6 +268,9 @@ class GoogleCloudAiplatformV1beta1FunctionResponse( name: str parts: _list[GoogleCloudAiplatformV1beta1FunctionResponsePart] response: dict[str, typing.Any] + scheduling: typing_extensions.Literal[ + "SCHEDULING_UNSPECIFIED", "SILENT", "WHEN_IDLE", "INTERRUPT" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionResponseBlob( diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 9754ad922..2b3d3a63c 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -623,8 +623,9 @@ class GoogleFirestoreAdminV1ListUserCredsResponse( userCreds: _list[GoogleFirestoreAdminV1UserCreds] @typing.type_check_only -class GoogleFirestoreAdminV1LocationMetadata(typing_extensions.TypedDict, total=False): - availableStoragePlacements: _list[str] +class GoogleFirestoreAdminV1LocationMetadata( + typing_extensions.TypedDict, total=False +): ... @typing.type_check_only class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index 09e4178b7..5153db0ec 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -78,6 +78,7 @@ class Backup(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] manual: bool name: str + namespaceCount: int permissiveMode: bool podCount: int resourceCount: int @@ -148,6 +149,7 @@ class BackupPlan(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] lastSuccessfulBackupTime: str name: str + protectedNamespaceCount: int protectedPodCount: int retentionPolicy: RetentionPolicy rpoRiskLevel: int diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index cbd27ba65..b4d2a8651 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -71,6 +71,9 @@ class ClusterSelector(typing_extensions.TypedDict, total=False): class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] postConditions: ClusterUpgradePostConditions + upgradeEngine: typing_extensions.Literal[ + "UPGRADE_ENGINE_UNSPECIFIED", "SEQUENCING_V1", "SEQUENCING_V2" + ] upstreamFleets: _list[str] @typing.type_check_only @@ -515,16 +518,6 @@ class EdgeCluster(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class ExcludedCluster(typing_extensions.TypedDict, total=False): - membership: str - reason: typing_extensions.Literal[ - "REASON_UNSPECIFIED", - "EXCLUDED_BY_FILTER", - "ALREADY_UPGRADED", - "VERSION_TOO_OLD", - ] - @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -577,11 +570,6 @@ class FeatureState(typing_extensions.TypedDict, total=False): description: str updateTime: str -@typing.type_check_only -class FeatureUpdate(typing_extensions.TypedDict, total=False): - binaryAuthorizationConfig: BinaryAuthorizationConfig - securityPostureConfig: SecurityPostureConfig - @typing.type_check_only class Fleet(typing_extensions.TypedDict, total=False): createTime: str @@ -1256,16 +1244,13 @@ class Rollout(typing_extensions.TypedDict, total=False): deleteTime: str displayName: str etag: str - excludedClusters: _list[ExcludedCluster] - feature: FeatureUpdate labels: dict[str, typing.Any] membershipStates: dict[str, typing.Any] name: str rolloutSequence: str - schedule: Schedule stages: _list[RolloutStage] state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED", "SCHEDULED" + "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED" ] stateReason: str uid: str @@ -1287,9 +1272,29 @@ class RolloutSequence(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str stages: _list[Stage] + state: RolloutSequenceState uid: str updateTime: str +@typing.type_check_only +class RolloutSequenceState(typing_extensions.TypedDict, total=False): + lifecycleState: typing_extensions.Literal[ + "LIFECYCLE_STATE_UNSPECIFIED", + "LIFECYCLE_STATE_ACTIVE", + "LIFECYCLE_STATE_WARNING", + "LIFECYCLE_STATE_ERROR", + ] + stateReasons: _list[ + typing_extensions.Literal[ + "STATE_REASON_UNSPECIFIED", + "FLEET_FEATURE_DELETED_ERROR", + "FLEET_DELETED_ERROR", + "EMPTY_STAGE_WARNING", + "MIXED_RELEASE_CHANNELS_WARNING", + "INTERNAL_ERROR", + ] + ] + @typing.type_check_only class RolloutStage(typing_extensions.TypedDict, total=False): endTime: str @@ -1322,10 +1327,6 @@ class RolloutTarget(typing_extensions.TypedDict, total=False): "INELIGIBLE", ] -@typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - waves: _list[WaveSchedule] - @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): createTime: str @@ -1634,15 +1635,9 @@ class ValidationResult(typing_extensions.TypedDict, total=False): class VersionUpgrade(typing_extensions.TypedDict, total=False): desiredVersion: str type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL", "TYPE_CONFIG_SYNC" + "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL" ] -@typing.type_check_only -class WaveSchedule(typing_extensions.TypedDict, total=False): - waveEndTime: str - waveNumber: int - waveStartTime: str - @typing.type_check_only class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): scopeTenancyPool: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 852dbe8c1..48c447534 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -486,16 +486,6 @@ class EdgeCluster(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class ExcludedCluster(typing_extensions.TypedDict, total=False): - membership: str - reason: typing_extensions.Literal[ - "REASON_UNSPECIFIED", - "EXCLUDED_BY_FILTER", - "ALREADY_UPGRADED", - "VERSION_TOO_OLD", - ] - @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -537,11 +527,6 @@ class FeatureState(typing_extensions.TypedDict, total=False): description: str updateTime: str -@typing.type_check_only -class FeatureUpdate(typing_extensions.TypedDict, total=False): - binaryAuthorizationConfig: BinaryAuthorizationConfig - securityPostureConfig: SecurityPostureConfig - @typing.type_check_only class Fleet(typing_extensions.TypedDict, total=False): createTime: str @@ -1186,16 +1171,13 @@ class Rollout(typing_extensions.TypedDict, total=False): deleteTime: str displayName: str etag: str - excludedClusters: _list[ExcludedCluster] - feature: FeatureUpdate labels: dict[str, typing.Any] membershipStates: dict[str, typing.Any] name: str rolloutSequence: str - schedule: Schedule stages: _list[RolloutStage] state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED", "SCHEDULED" + "STATE_UNSPECIFIED", "RUNNING", "PAUSED", "CANCELLED", "COMPLETED" ] stateReason: str uid: str @@ -1217,9 +1199,29 @@ class RolloutSequence(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] name: str stages: _list[Stage] + state: RolloutSequenceState uid: str updateTime: str +@typing.type_check_only +class RolloutSequenceState(typing_extensions.TypedDict, total=False): + lifecycleState: typing_extensions.Literal[ + "LIFECYCLE_STATE_UNSPECIFIED", + "LIFECYCLE_STATE_ACTIVE", + "LIFECYCLE_STATE_WARNING", + "LIFECYCLE_STATE_ERROR", + ] + stateReasons: _list[ + typing_extensions.Literal[ + "STATE_REASON_UNSPECIFIED", + "FLEET_FEATURE_DELETED_ERROR", + "FLEET_DELETED_ERROR", + "EMPTY_STAGE_WARNING", + "MIXED_RELEASE_CHANNELS_WARNING", + "INTERNAL_ERROR", + ] + ] + @typing.type_check_only class RolloutStage(typing_extensions.TypedDict, total=False): endTime: str @@ -1252,10 +1254,6 @@ class RolloutTarget(typing_extensions.TypedDict, total=False): "INELIGIBLE", ] -@typing.type_check_only -class Schedule(typing_extensions.TypedDict, total=False): - waves: _list[WaveSchedule] - @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): createTime: str @@ -1447,15 +1445,9 @@ class TypeMeta(typing_extensions.TypedDict, total=False): class VersionUpgrade(typing_extensions.TypedDict, total=False): desiredVersion: str type: typing_extensions.Literal[ - "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL", "TYPE_CONFIG_SYNC" + "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL" ] -@typing.type_check_only -class WaveSchedule(typing_extensions.TypedDict, total=False): - waveEndTime: str - waveNumber: int - waveStartTime: str - @typing.type_check_only class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): scopeTenancyPool: 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/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index 98593ee0a..bace9fe2e 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -801,6 +801,13 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): x_type: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def bulkDelete( + self, + *, + name: str, + body: BulkDeleteResourcesRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, *, diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index f8eb2af64..e4222e25b 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -120,6 +120,15 @@ class BlobStorageSettings(typing_extensions.TypedDict, total=False): "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] +@typing.type_check_only +class BulkDeleteResourcesRequest(typing_extensions.TypedDict, total=False): + gcsDestination: GoogleCloudHealthcareV1FhirGcsDestination + type: str + until: str + versionConfig: typing_extensions.Literal[ + "VERSION_CONFIG_UNSPECIFIED", "ALL", "CURRENT_ONLY", "HISTORY_ONLY" + ] + @typing.type_check_only class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): uriPrefix: str diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index f1cf2b5f2..4c9c04aa3 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -886,6 +886,13 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): x_type: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... + def bulkDelete( + self, + *, + name: str, + body: BulkDeleteResourcesRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def configureSearch( self, *, diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi index 372492ed4..094b034c7 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi @@ -136,6 +136,15 @@ class BlobStorageSettings(typing_extensions.TypedDict, total=False): "BLOB_STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" ] +@typing.type_check_only +class BulkDeleteResourcesRequest(typing_extensions.TypedDict, total=False): + gcsDestination: GoogleCloudHealthcareV1beta1FhirGcsDestination + type: str + until: str + versionConfig: typing_extensions.Literal[ + "VERSION_CONFIG_UNSPECIFIED", "ALL", "CURRENT_ONLY", "HISTORY_ONLY" + ] + @typing.type_check_only class BulkExportGcsDestination(typing_extensions.TypedDict, total=False): uriPrefix: str diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index aa8c8f0cf..748a0b46b 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 @@ -707,7 +704,7 @@ class WorkloadIdentityPool(typing_extensions.TypedDict, total=False): inlineCertificateIssuanceConfig: InlineCertificateIssuanceConfig inlineTrustConfig: InlineTrustConfig mode: typing_extensions.Literal[ - "MODE_UNSPECIFIED", "FEDERATION_ONLY", "TRUST_DOMAIN" + "MODE_UNSPECIFIED", "FEDERATION_ONLY", "TRUST_DOMAIN", "SYSTEM_TRUST_DOMAIN" ] name: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "DELETED"] 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/looker/v1/resources.pyi b/googleapiclient-stubs/_apis/looker/v1/resources.pyi index be6b9e565..097deb632 100644 --- a/googleapiclient-stubs/_apis/looker/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/resources.pyi @@ -112,13 +112,6 @@ class LookerResource(googleapiclient.discovery.Resource): body: RestoreInstanceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... - def undelete( - self, - *, - name: str, - body: UndeleteInstanceRequest = ..., - **kwargs: typing.Any, - ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi index c1c1d1be2..1f266450e 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -86,7 +86,6 @@ class ImportInstanceRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Instance(typing_extensions.TypedDict, total=False): adminSettings: AdminSettings - catalogIntegrationEnabled: bool classType: typing_extensions.Literal["CLASS_TYPE_UNSPECIFIED", "R1", "P1"] consumerNetwork: str controlledEgressConfig: ControlledEgressConfig @@ -130,12 +129,6 @@ class Instance(typing_extensions.TypedDict, total=False): reservedRange: str satisfiesPzi: bool satisfiesPzs: bool - softDeleteReason: typing_extensions.Literal[ - "SOFT_DELETE_REASON_UNSPECIFIED", - "BILLING_ACCOUNT_ISSUE", - "TRIAL_EXPIRED", - "CUSTOMER_REQUEST", - ] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", @@ -147,7 +140,6 @@ class Instance(typing_extensions.TypedDict, total=False): "EXPORTING", "IMPORTING", ] - suspendedTime: str updateTime: str userMetadata: UserMetadata @@ -215,6 +207,7 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): class OAuthConfig(typing_extensions.TypedDict, total=False): clientId: str clientSecret: str + sharedOauthClientEnabled: bool @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): @@ -276,9 +269,6 @@ class TimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int -@typing.type_check_only -class UndeleteInstanceRequest(typing_extensions.TypedDict, total=False): ... - @typing.type_check_only class UserMetadata(typing_extensions.TypedDict, total=False): additionalDeveloperUserCount: int diff --git a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi index ce14d9153..8d0c71373 100644 --- a/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/ordertracking_v1/schemas.pyi @@ -60,6 +60,7 @@ class ProductChange(typing_extensions.TypedDict, total=False): "LOCAL_INVENTORY_ADS", "VEHICLE_INVENTORY_ADS", "FREE_LISTINGS", + "FREE_LISTINGS_UCP_CHECKOUT", "FREE_LOCAL_LISTINGS", "FREE_LOCAL_VEHICLE_LISTINGS", "YOUTUBE_AFFILIATE", diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index 72f2e9239..f661ceba1 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -110,6 +110,11 @@ class ColumnSortingOptions(typing_extensions.TypedDict, total=False): "SORT_ORDER_DESCENDING", ] +@typing.type_check_only +class CoordinatedWidget(typing_extensions.TypedDict, total=False): + primary: Widget + secondary: Widget + @typing.type_check_only class Dashboard(typing_extensions.TypedDict, total=False): annotations: DashboardAnnotations @@ -642,6 +647,7 @@ class Widget(typing_extensions.TypedDict, total=False): alertChart: AlertChart blank: Empty collapsibleGroup: CollapsibleGroup + coordinatedWidget: CoordinatedWidget errorReportingPanel: ErrorReportingPanel filterControl: FilterControl id: str diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index fefbe18dc..01aee8847 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -171,6 +171,12 @@ class CachePrePopulate(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CloneDetails(typing_extensions.TypedDict, total=False): + sharedSpaceGib: str + sourceSnapshot: str + sourceVolume: str + @typing.type_check_only class DailySchedule(typing_extensions.TypedDict, total=False): hour: float @@ -671,6 +677,7 @@ class Volume(typing_extensions.TypedDict, total=False): blockDevices: _list[BlockDevice] cacheParameters: CacheParameters capacityGib: str + cloneDetails: CloneDetails coldTierSizeGib: str createTime: str description: str diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi index 3ac2e5e6d..ecd24ed08 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi @@ -305,6 +305,29 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): @typing.type_check_only class StoragePoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OntapResource(googleapiclient.discovery.Resource): + def executeOntapDelete( + self, *, ontapPath: str, **kwargs: typing.Any + ) -> ExecuteOntapDeleteResponseHttpRequest: ... + def executeOntapGet( + self, *, ontapPath: str, **kwargs: typing.Any + ) -> ExecuteOntapGetResponseHttpRequest: ... + def executeOntapPatch( + self, + *, + ontapPath: str, + body: ExecuteOntapPatchRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteOntapPatchResponseHttpRequest: ... + def executeOntapPost( + self, + *, + ontapPath: str, + body: ExecuteOntapPostRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteOntapPostResponseHttpRequest: ... + def create( self, *, @@ -356,6 +379,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): body: ValidateDirectoryServiceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def ontap(self) -> OntapResource: ... @typing.type_check_only class VolumesResource(googleapiclient.discovery.Resource): @@ -651,6 +675,38 @@ class BackupVaultHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackupVault: ... +@typing.type_check_only +class ExecuteOntapDeleteResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteOntapDeleteResponse: ... + +@typing.type_check_only +class ExecuteOntapGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteOntapGetResponse: ... + +@typing.type_check_only +class ExecuteOntapPatchResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteOntapPatchResponse: ... + +@typing.type_check_only +class ExecuteOntapPostResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteOntapPostResponse: ... + @typing.type_check_only class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index fefbe18dc..bfbaa089d 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -171,6 +171,12 @@ class CachePrePopulate(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CloneDetails(typing_extensions.TypedDict, total=False): + sharedSpaceGib: str + sourceSnapshot: str + sourceVolume: str + @typing.type_check_only class DailySchedule(typing_extensions.TypedDict, total=False): hour: float @@ -202,6 +208,30 @@ class EstablishVolumePeeringRequest(typing_extensions.TypedDict, total=False): peerSvmName: str peerVolumeName: str +@typing.type_check_only +class ExecuteOntapDeleteResponse(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteOntapGetResponse(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteOntapPatchRequest(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteOntapPatchResponse(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteOntapPostRequest(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + +@typing.type_check_only +class ExecuteOntapPostResponse(typing_extensions.TypedDict, total=False): + body: dict[str, typing.Any] + @typing.type_check_only class ExportPolicy(typing_extensions.TypedDict, total=False): rules: _list[SimpleExportPolicyRule] @@ -284,6 +314,10 @@ class KmsConfig(typing_extensions.TypedDict, total=False): ] stateDetails: str +@typing.type_check_only +class LargeCapacityConfig(typing_extensions.TypedDict, total=False): + constituentCount: int + @typing.type_check_only class ListActiveDirectoriesResponse(typing_extensions.TypedDict, total=False): activeDirectories: _list[ActiveDirectory] @@ -590,6 +624,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): kmsConfig: str labels: dict[str, typing.Any] ldapEnabled: bool + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DEFAULT", "ONTAP"] name: str network: str psaRange: str @@ -597,6 +632,9 @@ class StoragePool(typing_extensions.TypedDict, total=False): replicaZone: str satisfiesPzi: bool satisfiesPzs: bool + scaleTier: typing_extensions.Literal[ + "SCALE_TIER_UNSPECIFIED", "SCALE_TIER_STANDARD", "SCALE_TIER_ENTERPRISE" + ] serviceLevel: typing_extensions.Literal[ "SERVICE_LEVEL_UNSPECIFIED", "PREMIUM", "EXTREME", "STANDARD", "FLEX" ] @@ -671,6 +709,7 @@ class Volume(typing_extensions.TypedDict, total=False): blockDevices: _list[BlockDevice] cacheParameters: CacheParameters capacityGib: str + cloneDetails: CloneDetails coldTierSizeGib: str createTime: str description: str @@ -685,6 +724,7 @@ class Volume(typing_extensions.TypedDict, total=False): kmsConfig: str labels: dict[str, typing.Any] largeCapacity: bool + largeCapacityConfig: LargeCapacityConfig ldapEnabled: bool mountOptions: _list[MountOption] multipleEndpoints: bool diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index bdd1b6d01..05d22505f 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -667,6 +667,10 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): region: str uri: str +@typing.type_check_only +class NgfwPacketInspectionInfo(typing_extensions.TypedDict, total=False): + securityProfileGroupUri: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -885,6 +889,7 @@ class Step(typing_extensions.TypedDict, total=False): loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo network: NetworkInfo + ngfwPacketInspection: NgfwPacketInspectionInfo projectId: str proxyConnection: ProxyConnectionInfo redisCluster: RedisClusterInfo @@ -925,6 +930,7 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_VPC_CONNECTOR", "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", + "NGFW_PACKET_INSPECTION", "NAT", "SKIP_GKE_POD_IP_MASQUERADING", "PROXY_CONNECTION", diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index bdd1b6d01..05d22505f 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -667,6 +667,10 @@ class NetworkInfo(typing_extensions.TypedDict, total=False): region: str uri: str +@typing.type_check_only +class NgfwPacketInspectionInfo(typing_extensions.TypedDict, total=False): + securityProfileGroupUri: str + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -885,6 +889,7 @@ class Step(typing_extensions.TypedDict, total=False): loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo network: NetworkInfo + ngfwPacketInspection: NgfwPacketInspectionInfo projectId: str proxyConnection: ProxyConnectionInfo redisCluster: RedisClusterInfo @@ -925,6 +930,7 @@ class Step(typing_extensions.TypedDict, total=False): "ARRIVE_AT_VPC_CONNECTOR", "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", + "NGFW_PACKET_INSPECTION", "NAT", "SKIP_GKE_POD_IP_MASQUERADING", "PROXY_CONNECTION", 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/playdeveloperreporting/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi index b6d322059..7ada07d16 100644 --- a/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/playdeveloperreporting/v1alpha1/schemas.pyi @@ -4,6 +4,27 @@ import typing_extensions _list = list +@typing.type_check_only +class ApiservingMcpMcpToolDataHandlingProfile(typing_extensions.TypedDict, total=False): + inputDataAccessLevel: typing_extensions.Literal[ + "DATA_ACCESS_LEVEL_UNSPECIFIED", + "DATA_ACCESS_LEVEL_PUBLIC", + "DATA_ACCESS_LEVEL_CONFIDENTIAL", + "DATA_ACCESS_LEVEL_NEED_TO_KNOW", + "DATA_ACCESS_LEVEL_PII", + "DATA_ACCESS_LEVEL_USER", + "DATA_ACCESS_LEVEL_NO_DATA_ACCESS", + ] + outputDataAccessLevel: typing_extensions.Literal[ + "DATA_ACCESS_LEVEL_UNSPECIFIED", + "DATA_ACCESS_LEVEL_PUBLIC", + "DATA_ACCESS_LEVEL_CONFIDENTIAL", + "DATA_ACCESS_LEVEL_NEED_TO_KNOW", + "DATA_ACCESS_LEVEL_PII", + "DATA_ACCESS_LEVEL_USER", + "DATA_ACCESS_LEVEL_NO_DATA_ACCESS", + ] + @typing.type_check_only class GooglePlayDeveloperReportingV1alpha1Anomaly( typing_extensions.TypedDict, total=False 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/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index bf7caf72b..f629f00a8 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -323,6 +323,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): name: str, body: GoogleCloudRunV2Service = ..., allowMissing: bool = ..., + forceNewRevision: bool = ..., updateMask: str = ..., validateOnly: bool = ..., **kwargs: typing.Any, 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/saasservicemgmt/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi index db195b767..393fee693 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -371,6 +371,8 @@ class UnitOperationCondition(typing_extensions.TypedDict, total=False): "TYPE_RUNNING", "TYPE_SUCCEEDED", "TYPE_CANCELLED", + "TYPE_APP_CREATED", + "TYPE_APP_COMPONENTS_REGISTERED", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi index f8f6a81b3..fc09058de 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi @@ -17,33 +17,6 @@ class SecretManagerResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - def list( - self, - *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... - @typing.type_check_only class SecretsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -174,7 +147,6 @@ class SecretManagerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... - def operations(self) -> OperationsResource: ... def secrets(self) -> SecretsResource: ... @typing.type_check_only @@ -328,14 +300,6 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... -@typing.type_check_only -class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListOperationsResponse: ... - @typing.type_check_only class ListSecretVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -360,14 +324,6 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... -@typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> Operation: ... - @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi index 5e6d7fcd8..38753c2b5 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi @@ -74,12 +74,6 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str -@typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - operations: _list[Operation] - unreachable: _list[str] - @typing.type_check_only class ListSecretVersionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi index f8f6a81b3..fc09058de 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi @@ -17,33 +17,6 @@ class SecretManagerResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> OperationHttpRequest: ... - def list( - self, - *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> ListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListOperationsResponseHttpRequest, - previous_response: ListOperationsResponse, - ) -> ListOperationsResponseHttpRequest | None: ... - @typing.type_check_only class SecretsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -174,7 +147,6 @@ class SecretManagerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... - def operations(self) -> OperationsResource: ... def secrets(self) -> SecretsResource: ... @typing.type_check_only @@ -328,14 +300,6 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... -@typing.type_check_only -class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListOperationsResponse: ... - @typing.type_check_only class ListSecretVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -360,14 +324,6 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Location: ... -@typing.type_check_only -class OperationHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> Operation: ... - @typing.type_check_only class PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi index 5e6d7fcd8..38753c2b5 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi @@ -74,12 +74,6 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str -@typing.type_check_only -class ListOperationsResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - operations: _list[Operation] - unreachable: _list[str] - @typing.type_check_only class ListSecretVersionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index 101f61fad..51fc497bb 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -564,6 +564,21 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class ExternalExposure(typing_extensions.TypedDict, total=False): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): contents: str @@ -613,6 +628,7 @@ class Finding(typing_extensions.TypedDict, total=False): disk: Disk eventTime: str exfiltration: Exfiltration + externalExposure: ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] @@ -627,6 +643,7 @@ class Finding(typing_extensions.TypedDict, total=False): "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1502,6 +1519,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ExternalExposure( + typing_extensions.TypedDict, total=False +): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class GoogleCloudSecuritycenterV2ExternalSystem( typing_extensions.TypedDict, total=False @@ -1572,6 +1606,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals disk: GoogleCloudSecuritycenterV2Disk eventTime: str exfiltration: GoogleCloudSecuritycenterV2Exfiltration + externalExposure: GoogleCloudSecuritycenterV2ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] @@ -1586,6 +1621,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index 0489a8dea..7d235be14 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -461,6 +461,21 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class ExternalExposure(typing_extensions.TypedDict, total=False): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): contents: str @@ -510,6 +525,7 @@ class Finding(typing_extensions.TypedDict, total=False): disk: Disk eventTime: str exfiltration: Exfiltration + externalExposure: ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] @@ -524,6 +540,7 @@ class Finding(typing_extensions.TypedDict, total=False): "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1419,6 +1436,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ExternalExposure( + typing_extensions.TypedDict, total=False +): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class GoogleCloudSecuritycenterV2ExternalSystem( typing_extensions.TypedDict, total=False @@ -1489,6 +1523,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals disk: GoogleCloudSecuritycenterV2Disk eventTime: str exfiltration: GoogleCloudSecuritycenterV2Exfiltration + externalExposure: GoogleCloudSecuritycenterV2ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] @@ -1503,6 +1538,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index 76a6e3483..811ca0299 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -455,6 +455,21 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class ExternalExposure(typing_extensions.TypedDict, total=False): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class File(typing_extensions.TypedDict, total=False): contents: str @@ -504,6 +519,7 @@ class Finding(typing_extensions.TypedDict, total=False): disk: Disk eventTime: str exfiltration: Exfiltration + externalExposure: ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[File] @@ -518,6 +534,7 @@ class Finding(typing_extensions.TypedDict, total=False): "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GroupMembership] iamBindings: _list[IamBinding] @@ -1385,6 +1402,23 @@ class GoogleCloudSecuritycenterV2Exfiltration(typing_extensions.TypedDict, total targets: _list[GoogleCloudSecuritycenterV2ExfilResource] totalExfiltratedBytes: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ExternalExposure( + typing_extensions.TypedDict, total=False +): + backendService: str + exposedEndpoint: str + exposedService: str + forwardingRule: str + instanceGroup: str + loadBalancerFirewallPolicy: str + networkEndpointGroup: str + privateIpAddress: str + privatePort: str + publicIpAddress: str + publicPort: str + serviceFirewallPolicy: str + @typing.type_check_only class GoogleCloudSecuritycenterV2ExternalSystem( typing_extensions.TypedDict, total=False @@ -1455,6 +1489,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals disk: GoogleCloudSecuritycenterV2Disk eventTime: str exfiltration: GoogleCloudSecuritycenterV2Exfiltration + externalExposure: GoogleCloudSecuritycenterV2ExternalExposure externalSystems: dict[str, typing.Any] externalUri: str files: _list[GoogleCloudSecuritycenterV2File] @@ -1469,6 +1504,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals "TOXIC_COMBINATION", "SENSITIVE_DATA_RISK", "CHOKEPOINT", + "EXTERNAL_EXPOSURE", ] groupMemberships: _list[GoogleCloudSecuritycenterV2GroupMembership] iamBindings: _list[GoogleCloudSecuritycenterV2IamBinding] 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/servicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi index 2c66f8c0a..47ed013f5 100644 --- a/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicemanagement/v1/schemas.pyi @@ -24,8 +24,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 AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[AuditLogConfig] diff --git a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi index 2a2de47dc..cece47a5a 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1/schemas.pyi @@ -78,8 +78,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/servicenetworking/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi index 270078973..b526973b2 100644 --- a/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicenetworking/v1beta/schemas.pyi @@ -49,8 +49,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/threatintelligence/v1beta/resources.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi index f1b8fd5b1..cad1e5761 100644 --- a/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi @@ -84,20 +84,6 @@ class ThreatIntelligenceServiceResource(googleapiclient.discovery.Resource): body: MarkAlertAsReadRequest = ..., **kwargs: typing.Any, ) -> AlertHttpRequest: ... - def refreshUriStatus( - self, - *, - name: str, - body: RefreshAlertUriStatusRequest = ..., - **kwargs: typing.Any, - ) -> RefreshAlertUriStatusResponseHttpRequest: ... - def reportAlertUri( - self, - *, - name: str, - body: ReportAlertUriRequest = ..., - **kwargs: typing.Any, - ) -> ReportAlertUriResponseHttpRequest: ... def resolve( self, *, @@ -308,22 +294,6 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... -@typing.type_check_only -class RefreshAlertUriStatusResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> RefreshAlertUriStatusResponse: ... - -@typing.type_check_only -class ReportAlertUriResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReportAlertUriResponse: ... - @typing.type_check_only class SearchFindingsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi index 123c34662..d58a6d3cb 100644 --- a/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi @@ -4,15 +4,9 @@ import typing_extensions _list = list -@typing.type_check_only -class AffectedSoftware(typing_extensions.TypedDict, total=False): - product: str - vendor: str - @typing.type_check_only class Alert(typing_extensions.TypedDict, total=False): aiSummary: str - assets: _list[str] audit: Audit configurations: _list[str] detail: AlertDetail @@ -47,8 +41,6 @@ class AlertDetail(typing_extensions.TypedDict, total=False): detailType: str initialAccessBroker: InitialAccessBrokerAlertDetail insiderThreat: InsiderThreatAlertDetail - suspiciousDomain: SuspiciousDomainAlertDetail - targetTechnology: TargetTechnologyAlertDetail @typing.type_check_only class AlertDocument(typing_extensions.TypedDict, total=False): @@ -71,47 +63,6 @@ class AlertDocumentTranslation(typing_extensions.TypedDict, total=False): translatedContent: str translatedTitle: str -@typing.type_check_only -class AssetDiscoveryConfig(typing_extensions.TypedDict, total=False): - lastScanCompleteTime: str - lastScanStartTime: str - scanFrequency: typing_extensions.Literal[ - "ASSET_DISCOVERY_SCAN_FREQUENCY_UNSPECIFIED", - "ON_DEMAND", - "WEEKLY", - "DAILY", - "MONTHLY", - ] - scopeExclusionAssets: _list[AssetDiscoverySeed] - seedAssets: _list[AssetDiscoverySeed] - workflow: typing_extensions.Literal[ - "ASSET_DISCOVERY_WORKFLOW_UNSPECIFIED", - "EXTERNAL_DISCOVERY", - "EXTERNAL_DISCOVERY_AND_ASSESSMENT", - "MOBILE_APP_DISCOVERY", - ] - -@typing.type_check_only -class AssetDiscoverySeed(typing_extensions.TypedDict, total=False): - seedType: typing_extensions.Literal[ - "ASSET_DISCOVERY_SEED_TYPE_UNSPECIFIED", "IP_ADDRESS", "NETWORK_SERVICE" - ] - seedValue: str - -@typing.type_check_only -class Association(typing_extensions.TypedDict, total=False): - id: str - type: typing_extensions.Literal[ - "THREAT_INTEL_OBJECT_TYPE_UNSPECIFIED", - "THREAT_INTEL_OBJECT_TYPE_THREAT_ACTOR", - "THREAT_INTEL_OBJECT_TYPE_MALWARE", - "THREAT_INTEL_OBJECT_TYPE_REPORT", - "THREAT_INTEL_OBJECT_TYPE_CAMPAIGN", - "THREAT_INTEL_OBJECT_TYPE_IOC_COLLECTION", - "THREAT_INTEL_OBJECT_TYPE_SOFTWARE_AND_TOOLKITS", - "THREAT_INTEL_OBJECT_TYPE_VULNERABILITY", - ] - @typing.type_check_only class Audit(typing_extensions.TypedDict, total=False): createTime: str @@ -119,22 +70,6 @@ class Audit(typing_extensions.TypedDict, total=False): updateTime: str updater: str -@typing.type_check_only -class CompromisedCredentialsFindingDetail(typing_extensions.TypedDict, total=False): - author: str - credentialService: str - darkWebDoc: str - externalReferenceUri: str - fileDump: str - fileDumpHashes: _list[str] - fileDumpSizeBytes: str - forum: str - malwareFamily: str - postedTime: str - sourceUri: str - userKey: str - userSecretEvidence: str - @typing.type_check_only class Configuration(typing_extensions.TypedDict, total=False): audit: Audit @@ -150,12 +85,8 @@ class Configuration(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConfigurationDetail(typing_extensions.TypedDict, total=False): - assetDiscovery: AssetDiscoveryConfig customerProfile: CustomerProfileConfig detailType: str - domainMonitoring: DomainMonitoringConfig - initialAccessBroker: InitialAccessBrokerConfig - technologyWatchlist: TechnologyWatchListConfig @typing.type_check_only class ConfigurationRevision(typing_extensions.TypedDict, total=False): @@ -268,25 +199,6 @@ class DataLeakFindingDetail(typing_extensions.TypedDict, total=False): "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] -@typing.type_check_only -class DomainMonitoringConfig(typing_extensions.TypedDict, total=False): - domains: _list[DomainMonitoringDomain] - -@typing.type_check_only -class DomainMonitoringDomain(typing_extensions.TypedDict, total=False): - domain: str - -@typing.type_check_only -class EntityProfile(typing_extensions.TypedDict, total=False): - countries: _list[str] - domains: _list[str] - industries: _list[str] - name: str - operationalAreas: _list[str] - profileSummary: str - regions: _list[str] - subIndustries: _list[str] - @typing.type_check_only class EnumerateAlertFacetsResponse(typing_extensions.TypedDict, total=False): facets: _list[Facet] @@ -314,12 +226,10 @@ class FacetCount(typing_extensions.TypedDict, total=False): class Finding(typing_extensions.TypedDict, total=False): aiSummary: str alert: str - asset: str audit: Audit configurations: _list[str] detail: FindingDetail displayName: str - issue: str name: str provider: str relevanceAnalysis: RelevanceAnalysis @@ -329,53 +239,21 @@ class Finding(typing_extensions.TypedDict, total=False): @typing.type_check_only class FindingDetail(typing_extensions.TypedDict, total=False): - compromisedCredentials: CompromisedCredentialsFindingDetail dataLeak: DataLeakFindingDetail detailType: str - inbandVulnerability: InbandVulnerabilityFindingDetail initialAccessBroker: InitialAccessBrokerFindingDetail insiderThreat: InsiderThreatFindingDetail - misconfiguration: MisconfigurationFindingDetail - suspiciousDomain: SuspiciousDomainFindingDetail - targetTechnology: TargetTechnologyFindingDetail @typing.type_check_only class GenerateOrgProfileConfigurationRequest(typing_extensions.TypedDict, total=False): displayName: str domain: str -@typing.type_check_only -class InbandVulnerability(typing_extensions.TypedDict, total=False): - affectedSoftware: _list[AffectedSoftware] - authors: _list[str] - cveId: str - cvssV31Score: float - cvssV31ScoreTemporal: float - description: str - disclosureTime: str - exploitationState: str - externalVulnerabilityId: str - isExploitedWild: bool - referenceUrls: _list[str] - remediation: str - riskRating: str - title: str - -@typing.type_check_only -class InbandVulnerabilityFindingDetail(typing_extensions.TypedDict, total=False): - formattedProofDetails: str - requestUri: str - vulnerability: InbandVulnerability - @typing.type_check_only class InitialAccessBrokerAlertDetail(typing_extensions.TypedDict, total=False): discoveryDocumentIds: _list[str] severity: str -@typing.type_check_only -class InitialAccessBrokerConfig(typing_extensions.TypedDict, total=False): - entityProfile: EntityProfile - @typing.type_check_only class InitialAccessBrokerFindingDetail(typing_extensions.TypedDict, total=False): documentId: str @@ -445,24 +323,6 @@ class MarkAlertAsTrackedExternallyRequest(typing_extensions.TypedDict, total=Fal @typing.type_check_only class MarkAlertAsTriagedRequest(typing_extensions.TypedDict, total=False): ... -@typing.type_check_only -class MisconfigurationFindingDetail(typing_extensions.TypedDict, total=False): - misconfigurationMetadata: MisconfigurationMetadata - -@typing.type_check_only -class MisconfigurationMetadata(typing_extensions.TypedDict, total=False): - description: str - displayName: str - misconfigurationId: str - references: _list[MisconfigurationReference] - remediation: str - vulnerableUri: str - -@typing.type_check_only -class MisconfigurationReference(typing_extensions.TypedDict, total=False): - type: str - uri: str - @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -488,20 +348,6 @@ class PriorityAnalysis(typing_extensions.TypedDict, total=False): ] reasoning: str -@typing.type_check_only -class RefreshAlertUriStatusRequest(typing_extensions.TypedDict, total=False): ... - -@typing.type_check_only -class RefreshAlertUriStatusResponse(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED", - ] - @typing.type_check_only class RelevanceAnalysis(typing_extensions.TypedDict, total=False): confidence: typing_extensions.Literal[ @@ -520,20 +366,6 @@ class RelevanceAnalysis(typing_extensions.TypedDict, total=False): ] relevant: bool -@typing.type_check_only -class ReportAlertUriRequest(typing_extensions.TypedDict, total=False): ... - -@typing.type_check_only -class ReportAlertUriResponse(typing_extensions.TypedDict, total=False): - state: typing_extensions.Literal[ - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED", - ] - @typing.type_check_only class SearchFindingsResponse(typing_extensions.TypedDict, total=False): findings: _list[Finding] @@ -561,114 +393,6 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str -@typing.type_check_only -class SuspiciousDomainAlertDetail(typing_extensions.TypedDict, total=False): - dns: SuspiciousDomainDnsDetails - domain: str - gtiDetails: SuspiciousDomainGtiDetails - webRiskOperation: str - webRiskState: typing_extensions.Literal[ - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_UNSPECIFIED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_NOT_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_SUBMITTED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_PROCESSING", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_ADDED", - "SUSPICIOUS_DOMAIN_WEB_RISK_STATE_REJECTED", - ] - whois: SuspiciousDomainWhoIsDetails - -@typing.type_check_only -class SuspiciousDomainDnsDetails(typing_extensions.TypedDict, total=False): - dnsRecords: _list[SuspiciousDomainDnsRecord] - retrievalTime: str - -@typing.type_check_only -class SuspiciousDomainDnsRecord(typing_extensions.TypedDict, total=False): - record: str - ttl: int - type: str - value: str - -@typing.type_check_only -class SuspiciousDomainFindingDetail(typing_extensions.TypedDict, total=False): - dns: SuspiciousDomainDnsDetails - domain: str - gtiDetails: SuspiciousDomainGtiDetails - matchScore: float - severity: typing_extensions.Literal[ - "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" - ] - whois: SuspiciousDomainWhoIsDetails - -@typing.type_check_only -class SuspiciousDomainGtiDetails(typing_extensions.TypedDict, total=False): - threatScore: int - verdict: typing_extensions.Literal[ - "SUSPICIOUS_DOMAIN_GTI_VERDICT_UNSPECIFIED", - "SUSPICIOUS_DOMAIN_GTI_VERDICT_BENIGN", - "SUSPICIOUS_DOMAIN_GTI_VERDICT_UNDETECTED", - "SUSPICIOUS_DOMAIN_GTI_VERDICT_SUSPICIOUS", - "SUSPICIOUS_DOMAIN_GTI_VERDICT_MALICIOUS", - "SUSPICIOUS_DOMAIN_GTI_VERDICT_UNKNOWN", - ] - virustotalUri: str - -@typing.type_check_only -class SuspiciousDomainWhoIsDetails(typing_extensions.TypedDict, total=False): - retrievalTime: str - whois: str - -@typing.type_check_only -class TargetTechnologyAlertDetail(typing_extensions.TypedDict, total=False): - vulnerabilityMatch: VulnerabilityMatch - -@typing.type_check_only -class TargetTechnologyFindingDetail(typing_extensions.TypedDict, total=False): - vulnerabilityMatch: VulnerabilityMatch - -@typing.type_check_only -class TechnologyWatchListAlertThreshold(typing_extensions.TypedDict, total=False): - cvssScoreMinimum: float - epssScoreMinimum: float - exploitationStates: _list[ - typing_extensions.Literal[ - "EXPLOITATION_STATE_UNSPECIFIED", - "EXPLOITATION_STATE_NO_KNOWN", - "EXPLOITATION_STATE_REPORTED", - "EXPLOITATION_STATE_SUSPECTED", - "EXPLOITATION_STATE_CONFIRMED", - "EXPLOITATION_STATE_WIDESPREAD", - ] - ] - priorityMinimum: typing_extensions.Literal[ - "PRIORITY_UNSPECIFIED", "P0", "P1", "P2", "P3", "P4" - ] - -@typing.type_check_only -class TechnologyWatchListConfig(typing_extensions.TypedDict, total=False): - alertThreshold: TechnologyWatchListAlertThreshold - technologies: _list[str] - @typing.type_check_only class UpsertConfigurationResponse(typing_extensions.TypedDict, total=False): configuration: str - -@typing.type_check_only -class VulnerabilityMatch(typing_extensions.TypedDict, total=False): - associations: _list[Association] - collectionId: str - cveId: str - cvss3Score: float - description: str - exploitationState: typing_extensions.Literal[ - "EXPLOITATION_STATE_UNSPECIFIED", - "EXPLOITATION_STATE_NO_KNOWN", - "EXPLOITATION_STATE_REPORTED", - "EXPLOITATION_STATE_SUSPECTED", - "EXPLOITATION_STATE_CONFIRMED", - "EXPLOITATION_STATE_WIDESPREAD", - ] - riskRating: typing_extensions.Literal[ - "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL", "UNRATED" - ] - technologies: _list[str] diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index d55712806..16d3cdcde 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -186,6 +186,7 @@ class BootDiskDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_SSD", "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] encryption: Encryption image: DiskImageDefaults @@ -251,6 +252,7 @@ class ComputeEngineDisk(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_SSD", "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] replicaZones: _list[str] zone: str @@ -290,6 +292,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_SSD", "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] enableIntegrityMonitoring: bool enableVtpm: bool @@ -334,6 +337,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_SSD", "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] enableIntegrityMonitoring: bool enableVtpm: bool @@ -903,6 +907,7 @@ class PersistentDiskDefaults(typing_extensions.TypedDict, total=False): "COMPUTE_ENGINE_DISK_TYPE_SSD", "COMPUTE_ENGINE_DISK_TYPE_BALANCED", "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] encryption: Encryption sourceDiskNumber: int @@ -1027,7 +1032,12 @@ class TargetVMDetails(typing_extensions.TypedDict, total=False): bootOption: typing_extensions.Literal["BOOT_OPTION_UNSPECIFIED", "EFI", "BIOS"] computeScheduling: ComputeScheduling diskType: typing_extensions.Literal[ - "DISK_TYPE_UNSPECIFIED", "STANDARD", "BALANCED", "SSD", "HYPERDISK_BALANCED" + "DISK_TYPE_UNSPECIFIED", + "STANDARD", + "BALANCED", + "SSD", + "HYPERDISK_BALANCED", + "HYPERDISK_BALANCED_HIGH_AVAILABILITY", ] externalIp: str internalIp: str 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..80c717f02 100644 --- a/uv.lock +++ b/uv.lock @@ -19,11 +19,11 @@ wheels = [ [[package]] name = "certifi" -version = "2026.1.4" +version = "2026.2.25" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e0/2d/a891ca51311197f6ad14a7ef42e2399f36cf2f9bd44752b3dc4eab60fdc5/certifi-2026.1.4.tar.gz", hash = "sha256:ac726dd470482006e014ad384921ed6438c457018f4b3d204aea4281258b2120", size = 154268, upload-time = "2026-01-04T02:42:41.825Z" } +sdist = { url = "https://files.pythonhosted.org/packages/af/2d/7bf41579a8986e348fa033a31cdd0e4121114f6bce2457e8876010b092dd/certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7", size = 155029, upload-time = "2026-02-25T02:54:17.342Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" }, + { url = "https://files.pythonhosted.org/packages/9a/3c/c17fb3ca2d9c3acff52e30b309f538586f9f5b9c9cf454f3845fc9af4881/certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa", size = 153684, upload-time = "2026-02-25T02:54:15.766Z" }, ] [[package]] @@ -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" },