diff --git a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi index 2100d464d..c900da29a 100644 --- a/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/accessapproval/v1/schemas.pyi @@ -13,6 +13,7 @@ class AccessApprovalServiceAccount(typing_extensions.TypedDict, total=False): class AccessApprovalSettings(typing_extensions.TypedDict, total=False): activeKeyVersion: str ancestorHasActiveKeyVersion: bool + ancestorsEnrolledServices: _list[EnrolledService] approvalPolicy: CustomerApprovalApprovalPolicy effectiveApprovalPolicy: CustomerApprovalApprovalPolicy enrolledAncestor: bool @@ -168,6 +169,9 @@ class SignatureInfo(typing_extensions.TypedDict, total=False): "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] googlePublicKeyPem: str serializedApprovalRequest: str diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi index f9c15430e..895067f02 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi @@ -774,6 +774,9 @@ class DirectoryResource(googleapiclient.discovery.Resource): self, *, userKey: str, body: UserPhoto = ..., **kwargs: typing.Any ) -> UserPhotoHttpRequest: ... + def createGuest( + self, *, body: DirectoryUsersCreateGuestRequest = ..., **kwargs: typing.Any + ) -> UserHttpRequest: ... def delete( self, *, userKey: str, **kwargs: typing.Any ) -> googleapiclient.http.HttpRequest: ... diff --git a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi index c7e85f76f..298a33e19 100644 --- a/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi @@ -111,6 +111,11 @@ class BatchDeletePrintersResponse(typing_extensions.TypedDict, total=False): failedPrinters: _list[FailureInfo] printerIds: _list[str] +@typing.type_check_only +class BluetoothAdapterInfo(typing_extensions.TypedDict, total=False): + address: str + numConnectedDevices: int + @typing.type_check_only class Building(typing_extensions.TypedDict, total=False): address: BuildingAddress @@ -205,6 +210,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False): autoUpdateExpiration: str autoUpdateThrough: str backlightInfo: _list[BacklightInfo] + bluetoothAdapterInfo: _list[BluetoothAdapterInfo] bootMode: str chromeOsType: typing_extensions.Literal[ "chromeOsTypeUnspecified", "chromeOsFlex", "chromeOs" @@ -391,6 +397,11 @@ class DirectoryChromeosdevicesIssueCommandResponse( ): commandId: str +@typing.type_check_only +class DirectoryUsersCreateGuestRequest(typing_extensions.TypedDict, total=False): + customer: str + primaryGuestEmail: str + @typing.type_check_only class DomainAlias(typing_extensions.TypedDict, total=False): creationTime: str @@ -503,6 +514,10 @@ class Groups(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str +@typing.type_check_only +class GuestAccountInfo(typing_extensions.TypedDict, total=False): + primaryGuestEmail: str + @typing.type_check_only class ListPrintServersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -799,6 +814,7 @@ class User(typing_extensions.TypedDict, total=False): etag: str externalIds: typing.Any gender: typing.Any + guestAccountInfo: GuestAccountInfo hashFunction: str id: str ims: typing.Any @@ -808,6 +824,7 @@ class User(typing_extensions.TypedDict, total=False): isDelegatedAdmin: bool isEnforcedIn2Sv: bool isEnrolledIn2Sv: bool + isGuestUser: bool isMailboxSetup: bool keywords: typing.Any kind: str diff --git a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi index dbbf5b24d..75e1cd7c6 100644 --- a/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/admin/reports_v1/resources.pyi @@ -45,6 +45,19 @@ class ReportsResource(googleapiclient.discovery.Resource): "vault", "gemini_in_workspace_apps", "classroom", + "assignments", + "cloud_search", + "tasks", + "data_migration", + "meet_hardware", + "directory_sync", + "ldap", + "profile", + "access_evaluation", + "admin_data_action", + "contacts", + "takeout", + "graduation", ], actorIpAddress: str = ..., customerId: str = ..., @@ -55,6 +68,7 @@ class ReportsResource(googleapiclient.discovery.Resource): maxResults: int = ..., orgUnitID: str = ..., pageToken: str = ..., + resourceDetailsFilter: str = ..., startTime: str = ..., **kwargs: typing.Any, ) -> ActivitiesHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi index 39b415359..cbdfb95e3 100644 --- a/googleapiclient-stubs/_apis/adsense/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/adsense/v2/resources.pyi @@ -329,6 +329,12 @@ class AdsenseResource(googleapiclient.discovery.Resource): "CUSTOM_SEARCH_STYLE_ID", "DOMAIN_REGISTRANT", "WEBSEARCH_QUERY_STRING", + "OS_TYPE_NAME", + "OS_TYPE_CODE", + "BROWSER_TYPE_NAME", + "BROWSER_TYPE_CODE", + "WEBVIEW_TYPE_NAME", + "WEBVIEW_TYPE_CODE", ] | _list[ typing_extensions.Literal[ @@ -383,6 +389,12 @@ class AdsenseResource(googleapiclient.discovery.Resource): "CUSTOM_SEARCH_STYLE_ID", "DOMAIN_REGISTRANT", "WEBSEARCH_QUERY_STRING", + "OS_TYPE_NAME", + "OS_TYPE_CODE", + "BROWSER_TYPE_NAME", + "BROWSER_TYPE_CODE", + "WEBVIEW_TYPE_NAME", + "WEBVIEW_TYPE_CODE", ] ] = ..., endDate_day: int = ..., @@ -549,6 +561,12 @@ class AdsenseResource(googleapiclient.discovery.Resource): "CUSTOM_SEARCH_STYLE_ID", "DOMAIN_REGISTRANT", "WEBSEARCH_QUERY_STRING", + "OS_TYPE_NAME", + "OS_TYPE_CODE", + "BROWSER_TYPE_NAME", + "BROWSER_TYPE_CODE", + "WEBVIEW_TYPE_NAME", + "WEBVIEW_TYPE_CODE", ] | _list[ typing_extensions.Literal[ @@ -603,6 +621,12 @@ class AdsenseResource(googleapiclient.discovery.Resource): "CUSTOM_SEARCH_STYLE_ID", "DOMAIN_REGISTRANT", "WEBSEARCH_QUERY_STRING", + "OS_TYPE_NAME", + "OS_TYPE_CODE", + "BROWSER_TYPE_NAME", + "BROWSER_TYPE_CODE", + "WEBVIEW_TYPE_NAME", + "WEBVIEW_TYPE_CODE", ] ] = ..., endDate_day: int = ..., diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi index 2f452d025..39e2d7db6 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/resources.pyi @@ -43,8 +43,179 @@ class AiplatformResource(googleapiclient.discovery.Resource): GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest | None ): ... + @typing.type_check_only + class CustomJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DataLabelingJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationSpecsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DataItemsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def annotations(self) -> AnnotationsResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class DatasetVersionsResource(googleapiclient.discovery.Resource): def create( @@ -90,6 +261,70 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SavedQueriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + def create( self, *, @@ -127,7 +362,45 @@ class AiplatformResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... + def annotationSpecs(self) -> AnnotationSpecsResource: ... + def dataItems(self) -> DataItemsResource: ... def datasetVersions(self) -> DatasetVersionsResource: ... + def operations(self) -> OperationsResource: ... + def savedQueries(self) -> SavedQueriesResource: ... + + @typing.type_check_only + class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... @typing.type_check_only class EndpointsResource(googleapiclient.discovery.Resource): @@ -141,6 +414,36 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleApiHttpBodyHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def computeTokens( self, *, @@ -191,105 +494,140 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... def chat(self) -> ChatResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only - class MediaResource(googleapiclient.discovery.Resource): - def upload( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1UploadRagFileRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1UploadRagFileResponseHttpRequest: ... - - @typing.type_check_only - class ProjectsResource(googleapiclient.discovery.Resource): + class FeatureGroupsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class LocationsResource(googleapiclient.discovery.Resource): + class FeaturesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class BatchPredictionJobsResource(googleapiclient.discovery.Resource): - def cancel( + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def listWait( self, *, name: str, - body: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchPredictionJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... - def list( - self, - *, - parent: str, filter: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest - ): ... - def list_next( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listWait_next( self, - previous_request: GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListBatchPredictionJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest - | None - ): ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @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 listWait( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listWait_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeatureViewsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class CachedContentsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1CachedContent = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... - def list( + ) -> GoogleLongrunningOperationHttpRequest: ... + def listWait( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListCachedContentsResponse, - ) -> ( - GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest | None - ): ... - def patch( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listWait_next( self, - *, - name: str, - body: GoogleCloudAiplatformV1CachedContent = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @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 listWait( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listWait_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def featureViews(self) -> FeatureViewsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class FeaturestoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EntityTypesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class CustomJobsResource(googleapiclient.discovery.Resource): + class FeaturesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -320,1031 +658,833 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelCustomJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1CustomJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CustomJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1CustomJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListCustomJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest | None - ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class DataLabelingJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - + class OperationsResource(googleapiclient.discovery.Resource): def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelDataLabelingJobRequest = ..., - **kwargs: typing.Any, + self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1DataLabelingJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1DataLabelingJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1DataLabelingJobHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListDataLabelingJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class DatasetsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationSpecsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1AnnotationSpecHttpRequest: ... - def operations(self) -> OperationsResource: ... + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class DataItemsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListAnnotationsResponse, - ) -> ( - GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + def entityTypes(self) -> EntityTypesResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListDataItemsResponse, - ) -> ( - GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest | None - ): ... - def annotations(self) -> AnnotationsResource: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class DatasetVersionsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1DatasetVersion = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListDatasetVersionsResponse, - ) -> ( - GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1DatasetVersion = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... - def restore( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class IndexEndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class SavedQueriesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class IndexesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListSavedQueriesResponse, - ) -> ( - GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Dataset = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class MediaResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1UploadRagFileRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1UploadRagFileResponseHttpRequest: ... + + @typing.type_check_only + class MetadataStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ArtifactsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def export( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ExportDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... - def import_( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ImportDataRequest = ..., - **kwargs: typing.Any, + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListDatasetsResponse, - ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest | None: ... - def patch( + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ContextsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - body: GoogleCloudAiplatformV1Dataset = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... - def searchDataItems( - self, - *, - dataset: str, - annotationFilters: str | _list[str] = ..., - annotationsFilter: str = ..., - annotationsLimit: int = ..., - dataItemFilter: str = ..., - dataLabelingJob: str = ..., - fieldMask: str = ..., - orderBy: str = ..., - orderByAnnotation_orderBy: str = ..., - orderByAnnotation_savedQuery: str = ..., - orderByDataItem: str = ..., + filter: str = ..., pageSize: int = ..., pageToken: str = ..., - savedQuery: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest: ... - def searchDataItems_next( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - previous_request: GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1SearchDataItemsResponse, - ) -> ( - GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest | None - ): ... - def annotationSpecs(self) -> AnnotationSpecsResource: ... - def dataItems(self) -> DataItemsResource: ... - def datasetVersions(self) -> DatasetVersionsResource: ... - def operations(self) -> OperationsResource: ... - def savedQueries(self) -> SavedQueriesResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class ExecutionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1DeploymentResourcePoolHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse, - ) -> ( - GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1DeploymentResourcePool = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def queryDeployedModels( - self, - *, - deploymentResourcePool: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest: ... - def queryDeployedModels_next( - self, - previous_request: GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1QueryDeployedModelsResponse, - ) -> ( - GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest | None - ): ... - def operations(self) -> OperationsResource: ... - @typing.type_check_only - class EndpointsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ChatResource(googleapiclient.discovery.Resource): - def completions( - self, - *, - endpoint: str, - body: GoogleApiHttpBody = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class DeployedModelsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class InvokeResource(googleapiclient.discovery.Resource): - def invoke( - self, - *, - endpoint: str, - deployedModelId: str, - invokeId: str, - body: GoogleCloudAiplatformV1InvokeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def invoke(self) -> InvokeResource: ... + def artifacts(self) -> ArtifactsResource: ... + def contexts(self) -> ContextsResource: ... + def executions(self) -> ExecutionsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class InvokeResource(googleapiclient.discovery.Resource): - def invoke( - self, - *, - endpoint: str, - invokeId: str, - body: GoogleCloudAiplatformV1InvokeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + @typing.type_check_only + class MigratableResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class OpenapiResource(googleapiclient.discovery.Resource): - def embeddings( - self, - *, - endpoint: str, - body: GoogleApiHttpBody = ..., - deployedModelId: str = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class ModelDeploymentMonitoringJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def computeTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... - def countTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1CountTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Endpoint = ..., - endpointId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EvaluationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def deployModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1DeployModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def directPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1DirectPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1DirectPredictResponseHttpRequest: ... - def directRawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1DirectRawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1DirectRawPredictResponseHttpRequest: ... - def explain( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1ExplainRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ExplainResponseHttpRequest: ... - def fetchPredictOperation( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def generateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1EndpointHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - gdcZone: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListEndpointsResponse, - ) -> GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest | None: ... - def mutateDeployedModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1MutateDeployedModelRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Endpoint = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EndpointHttpRequest: ... - def predict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... - def predictLongRunning( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def rawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1RawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def serverStreamingPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1StreamingPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1StreamingPredictResponseHttpRequest: ... - def streamGenerateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... - def streamRawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1StreamRawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def undeployModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1UndeployModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def update( + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def evaluations(self) -> EvaluationsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + filter: str = ..., + name: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class PersistentResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class PipelineJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BatchPredictionJobsResource(googleapiclient.discovery.Resource): + def cancel( self, *, name: str, - body: GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest = ..., + body: GoogleCloudAiplatformV1CancelBatchPredictionJobRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def chat(self) -> ChatResource: ... - def deployedModels(self) -> DeployedModelsResource: ... - def invoke(self) -> InvokeResource: ... - def openapi(self) -> OpenapiResource: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class EvaluationItemsResource(googleapiclient.discovery.Resource): + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1EvaluationItem = ..., + body: GoogleCloudAiplatformV1BatchPredictionJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... + ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... + ) -> GoogleCloudAiplatformV1BatchPredictionJobHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListEvaluationItemsResponse, + previous_request: GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListBatchPredictionJobsResponse, ) -> ( - GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest | None + GoogleCloudAiplatformV1ListBatchPredictionJobsResponseHttpRequest + | None ): ... @typing.type_check_only - class EvaluationRunsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelEvaluationRunRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... + class CachedContentsResource(googleapiclient.discovery.Resource): def create( self, *, parent: str, - body: GoogleCloudAiplatformV1EvaluationRun = ..., + body: GoogleCloudAiplatformV1CachedContent = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... def list( self, *, parent: str, - filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListEvaluationRunsResponse, + previous_request: GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListCachedContentsResponse, ) -> ( - GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest | None + GoogleCloudAiplatformV1ListCachedContentsResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CachedContent = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CachedContentHttpRequest: ... @typing.type_check_only - class EvaluationSetsResource(googleapiclient.discovery.Resource): + class CustomJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelCustomJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1EvaluationSet = ..., + body: GoogleCloudAiplatformV1CustomJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + ) -> GoogleCloudAiplatformV1CustomJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + ) -> GoogleCloudAiplatformV1CustomJobHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListEvaluationSetsResponse, + previous_request: GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListCustomJobsResponse, ) -> ( - GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest | None + GoogleCloudAiplatformV1ListCustomJobsResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1EvaluationSet = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only - class FeatureGroupsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class FeaturesResource(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 listWait( - self, - *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def listWait_next( - self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> ( - GoogleLongrunningListOperationsResponseHttpRequest | None - ): ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchCreateFeaturesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Feature = ..., - featureId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - latestStatsCount: int = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeaturesResponse, - ) -> ( - GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Feature = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - + class DataLabelingJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def listWait( + def list( self, *, name: str, @@ -1354,7 +1494,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def listWait_next( + def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -1363,27 +1503,26 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelDataLabelingJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1FeatureGroup = ..., - featureGroupId: str = ..., + body: GoogleCloudAiplatformV1DataLabelingJob = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1DataLabelingJobHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureGroupHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1DataLabelingJobHttpRequest: ... def list( self, *, @@ -1392,77 +1531,136 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeatureGroupsResponse, + previous_request: GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDataLabelingJobsResponse, ) -> ( - GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest | None + GoogleCloudAiplatformV1ListDataLabelingJobsResponseHttpRequest + | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1FeatureGroup = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def features(self) -> FeaturesResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): + class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class FeatureViewsResource(googleapiclient.discovery.Resource): + class AnnotationSpecsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class FeatureViewSyncsResource(googleapiclient.discovery.Resource): + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureViewSyncHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeatureViewSyncsResponse, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, ) -> ( - GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest - | None + GoogleLongrunningListOperationsResponseHttpRequest | None ): ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1AnnotationSpecHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DataItemsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListAnnotationsResponse, + ) -> ( + GoogleCloudAiplatformV1ListAnnotationsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def listWait( + def list( self, *, name: str, @@ -1472,7 +1670,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def listWait_next( + def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -1483,53 +1681,42 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def create( + def list( self, *, parent: str, - body: GoogleCloudAiplatformV1FeatureView = ..., - featureViewId: str = ..., - runSyncImmediately: bool = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def directWrite( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1FeatureViewDirectWriteRequest = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1FeatureViewDirectWriteResponseHttpRequest - ): ... - def fetchFeatureValues( + ) -> GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest: ... + def list_next( self, - *, - featureView: str, - body: GoogleCloudAiplatformV1FetchFeatureValuesRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDataItemsResponse, ) -> ( - GoogleCloudAiplatformV1FetchFeatureValuesResponseHttpRequest + GoogleCloudAiplatformV1ListDataItemsResponseHttpRequest | None ): ... - def generateFetchAccessToken( + def annotations(self) -> AnnotationsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DatasetVersionsResource(googleapiclient.discovery.Resource): + def create( self, *, - featureView: str, - body: GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1DatasetVersion = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateFetchAccessTokenResponseHttpRequest: ... - def get( + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureViewHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... def list( self, *, @@ -1538,66 +1725,43 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeatureViewsResponse, + previous_request: GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDatasetVersionsResponse, ) -> ( - GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest + GoogleCloudAiplatformV1ListDatasetVersionsResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1FeatureView = ..., + body: GoogleCloudAiplatformV1DatasetVersion = ..., updateMask: str = ..., **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1DatasetVersionHttpRequest: ... + def restore( + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def searchNearestEntities( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1SearchNearestEntitiesResponseHttpRequest - ): ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def sync( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1SyncFeatureViewRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1SyncFeatureViewResponseHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def featureViewSyncs(self) -> FeatureViewSyncsResource: ... - def operations(self) -> OperationsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def listWait( + def list( self, *, name: str, @@ -1607,7 +1771,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def listWait_next( + def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -1616,20 +1780,84 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class SavedQueriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSavedQueriesResponse, + ) -> ( + GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1FeatureOnlineStore = ..., - featureOnlineStoreId: str = ..., + body: GoogleCloudAiplatformV1Dataset = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureOnlineStoreHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def export( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExportDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... def getIamPolicy( self, *, @@ -1637,6 +1865,13 @@ class AiplatformResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def import_( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ImportDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, @@ -1645,26 +1880,48 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse, - ) -> ( - GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest - | None - ): ... + previous_request: GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDatasetsResponse, + ) -> GoogleCloudAiplatformV1ListDatasetsResponseHttpRequest | None: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1FeatureOnlineStore = ..., + body: GoogleCloudAiplatformV1Dataset = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1DatasetHttpRequest: ... + def searchDataItems( + self, + *, + dataset: str, + annotationFilters: str | _list[str] = ..., + annotationsFilter: str = ..., + annotationsLimit: int = ..., + dataItemFilter: str = ..., + dataLabelingJob: str = ..., + fieldMask: str = ..., + orderBy: str = ..., + orderByAnnotation_orderBy: str = ..., + orderByAnnotation_savedQuery: str = ..., + orderByDataItem: str = ..., + pageSize: int = ..., + pageToken: str = ..., + savedQuery: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest: ... + def searchDataItems_next( + self, + previous_request: GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1SearchDataItemsResponse, + ) -> ( + GoogleCloudAiplatformV1SearchDataItemsResponseHttpRequest | None + ): ... def setIamPolicy( self, *, @@ -1679,268 +1936,35 @@ class AiplatformResource(googleapiclient.discovery.Resource): permissions: str | _list[str] = ..., **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def featureViews(self) -> FeatureViewsResource: ... + def annotationSpecs(self) -> AnnotationSpecsResource: ... + def dataItems(self) -> DataItemsResource: ... + def datasetVersions(self) -> DatasetVersionsResource: ... def operations(self) -> OperationsResource: ... + def savedQueries(self) -> SavedQueriesResource: ... @typing.type_check_only - class FeaturestoresResource(googleapiclient.discovery.Resource): + class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class EntityTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class FeaturesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchCreateFeaturesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Feature = ..., - featureId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - latestStatsCount: int = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeaturesResponse, - ) -> ( - GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Feature = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1EntityType = ..., - entityTypeId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def deleteFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1DeleteFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def exportFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1ExportFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1EntityTypeHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def importFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1ImportFeatureValuesRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListEntityTypesResponse, - ) -> ( - GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1EntityType = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EntityTypeHttpRequest: ... - def readFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1ReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ReadFeatureValuesResponseHttpRequest - ): ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def streamingReadFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ReadFeatureValuesResponseHttpRequest - ): ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def writeFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1WriteFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1WriteFeatureValuesResponseHttpRequest - ): ... - def features(self) -> FeaturesResource: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, @@ -1950,95 +1974,133 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def batchReadFeatureValues( - self, - *, - featurestore: str, - body: GoogleCloudAiplatformV1BatchReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1Featurestore = ..., - featurestoreId: str = ..., + body: GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1FeaturestoreHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1DeploymentResourcePoolHttpRequest: ... def list( self, *, parent: str, - filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListFeaturestoresResponse, + previous_request: GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse, ) -> ( - GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest | None + GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponseHttpRequest + | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1Featurestore = ..., + body: GoogleCloudAiplatformV1DeploymentResourcePool = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def searchFeatures( + def queryDeployedModels( self, *, - location: str, + deploymentResourcePool: str, pageSize: int = ..., pageToken: str = ..., - query: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest: ... - def searchFeatures_next( + ) -> GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest: ... + def queryDeployedModels_next( self, - previous_request: GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1SearchFeaturesResponse, + previous_request: GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1QueryDeployedModelsResponse, ) -> ( - GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest | None + GoogleCloudAiplatformV1QueryDeployedModelsResponseHttpRequest | None ): ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def entityTypes(self) -> EntityTypesResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): + class EndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChatResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class DeployedModelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InvokeResource(googleapiclient.discovery.Resource): + def invoke( + self, + *, + endpoint: str, + deployedModelId: str, + invokeId: str, + body: GoogleCloudAiplatformV1InvokeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + def invoke(self) -> InvokeResource: ... + + @typing.type_check_only + class GoogleResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ScienceResource(googleapiclient.discovery.Resource): + def inference( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + def science(self) -> ScienceResource: ... + + @typing.type_check_only + class InvokeResource(googleapiclient.discovery.Resource): + def invoke( + self, + *, + endpoint: str, + invokeId: str, + body: GoogleCloudAiplatformV1InvokeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class OpenapiResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def embeddings( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -2069,263 +2131,308 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( + def computeTokens( self, *, - name: str, - body: GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest = ..., + endpoint: str, + body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... + ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1HyperparameterTuningJob = ..., + body: GoogleCloudAiplatformV1Endpoint = ..., + endpointId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest: ... - def list( + def deployModel( self, *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., + endpoint: str, + body: GoogleCloudAiplatformV1DeployModelRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest: ... - def list_next( + ) -> GoogleLongrunningOperationHttpRequest: ... + def directPredict( self, - previous_request: GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class IndexEndpointsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( + *, + endpoint: str, + body: GoogleCloudAiplatformV1DirectPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1DirectPredictResponseHttpRequest: ... + def directRawPredict( self, *, - parent: str, - body: GoogleCloudAiplatformV1IndexEndpoint = ..., + endpoint: str, + body: GoogleCloudAiplatformV1DirectRawPredictRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def deployIndex( + ) -> GoogleCloudAiplatformV1DirectRawPredictResponseHttpRequest: ... + def explain( self, *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1DeployIndexRequest = ..., + endpoint: str, + body: GoogleCloudAiplatformV1ExplainRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExplainResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def findNeighbors( + def generateContent( self, *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1FindNeighborsRequest = ..., + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1FindNeighborsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1IndexEndpointHttpRequest: ... + ) -> GoogleCloudAiplatformV1EndpointHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + gdcZone: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListIndexEndpointsResponse, - ) -> ( - GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest | None - ): ... - def mutateDeployedIndex( + previous_request: GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEndpointsResponse, + ) -> GoogleCloudAiplatformV1ListEndpointsResponseHttpRequest | None: ... + def mutateDeployedModel( self, *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1DeployedIndex = ..., + endpoint: str, + body: GoogleCloudAiplatformV1MutateDeployedModelRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1IndexEndpoint = ..., + body: GoogleCloudAiplatformV1Endpoint = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1IndexEndpointHttpRequest: ... - def readIndexDatapoints( + ) -> GoogleCloudAiplatformV1EndpointHttpRequest: ... + def predict( self, *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1ReadIndexDatapointsRequest = ..., + endpoint: str, + body: GoogleCloudAiplatformV1PredictRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ReadIndexDatapointsResponseHttpRequest: ... - def undeployIndex( + ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... + def predictLongRunning( self, *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1UndeployIndexRequest = ..., + endpoint: str, + body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def rawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1RawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def serverStreamingPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1StreamingPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1StreamingPredictResponseHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def streamRawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1StreamRawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def undeployModel( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1UndeployModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def update( + self, + *, + name: str, + body: GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def chat(self) -> ChatResource: ... + def deployedModels(self) -> DeployedModelsResource: ... + def google(self) -> GoogleResource: ... + def invoke(self) -> InvokeResource: ... + def openapi(self) -> OpenapiResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class IndexesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - + class EvaluationItemsResource(googleapiclient.discovery.Resource): def create( self, *, parent: str, - body: GoogleCloudAiplatformV1Index = ..., + body: GoogleCloudAiplatformV1EvaluationItem = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1IndexHttpRequest: ... + ) -> GoogleCloudAiplatformV1EvaluationItemHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListIndexesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListIndexesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListIndexesResponse, - ) -> GoogleCloudAiplatformV1ListIndexesResponseHttpRequest | None: ... - def patch( + previous_request: GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationItemsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationItemsResponseHttpRequest | None + ): ... + + @typing.type_check_only + class EvaluationRunsResource(googleapiclient.discovery.Resource): + def cancel( self, *, name: str, - body: GoogleCloudAiplatformV1Index = ..., - updateMask: str = ..., + body: GoogleCloudAiplatformV1CancelEvaluationRunRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def removeDatapoints( + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( self, *, - index: str, - body: GoogleCloudAiplatformV1RemoveDatapointsRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1EvaluationRun = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1RemoveDatapointsResponseHttpRequest: ... - def upsertDatapoints( + ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1EvaluationRunHttpRequest: ... + def list( self, *, - index: str, - body: GoogleCloudAiplatformV1UpsertDatapointsRequest = ..., + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1UpsertDatapointsResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... + ) -> GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationRunsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationRunsResponseHttpRequest | None + ): ... @typing.type_check_only - class MetadataStoresResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ArtifactsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 = ..., + class EvaluationSetsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1EvaluationSet = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEvaluationSetsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1EvaluationSet = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluationSetHttpRequest: ... + + @typing.type_check_only + class FeatureGroupsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeaturesResource(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 listWait( + self, + *, + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( + def listWait_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -2336,77 +2443,183 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchCreateFeaturesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1Artifact = ..., - artifactId: str = ..., + body: GoogleCloudAiplatformV1Feature = ..., + featureId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, etag: str = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... + ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + latestStatsCount: int = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListArtifactsResponse, + previous_request: GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeaturesResponse, ) -> ( - GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest | None + GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1Artifact = ..., - allowMissing: bool = ..., + body: GoogleCloudAiplatformV1Feature = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... - def purge( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1PurgeArtifactsRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def queryArtifactLineageSubgraph( + def operations(self) -> OperationsResource: ... + + @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 listWait( self, *, - artifact: str, + name: str, filter: str = ..., - maxHops: int = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... - def operations(self) -> OperationsResource: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def listWait_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1FeatureGroup = ..., + featureGroupId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1FeatureGroupHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeatureGroupsResponse, + ) -> ( + GoogleCloudAiplatformV1ListFeatureGroupsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1FeatureGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ContextsResource(googleapiclient.discovery.Resource): + class FeatureViewsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( + class FeatureViewSyncsResource(googleapiclient.discovery.Resource): + def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + ) -> GoogleCloudAiplatformV1FeatureViewSyncHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeatureViewSyncsResponse, + ) -> ( + GoogleCloudAiplatformV1ListFeatureViewSyncsResponseHttpRequest + | None + ): ... + + @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( + def listWait( self, *, name: str, @@ -2416,7 +2629,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( + def listWait_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -2427,41 +2640,53 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def addContextArtifactsAndExecutions( + def create( self, *, - context: str, - body: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1FeatureView = ..., + featureViewId: str = ..., + runSyncImmediately: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponseHttpRequest: ... - def addContextChildren( + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def directWrite( self, *, - context: str, - body: GoogleCloudAiplatformV1AddContextChildrenRequest = ..., + featureView: str, + body: GoogleCloudAiplatformV1FeatureViewDirectWriteRequest = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1AddContextChildrenResponseHttpRequest + GoogleCloudAiplatformV1FeatureViewDirectWriteResponseHttpRequest ): ... - def create( + def fetchFeatureValues( self, *, - parent: str, - body: GoogleCloudAiplatformV1Context = ..., - contextId: str = ..., + featureView: str, + body: GoogleCloudAiplatformV1FetchFeatureValuesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... - def delete( + ) -> ( + GoogleCloudAiplatformV1FetchFeatureValuesResponseHttpRequest + ): ... + def generateFetchAccessToken( self, *, - name: str, - etag: str = ..., - force: bool = ..., + featureView: str, + body: GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1GenerateFetchAccessTokenResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... + ) -> GoogleCloudAiplatformV1FeatureViewHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -2471,184 +2696,65 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListContextsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListContextsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListContextsResponse, + previous_request: GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeatureViewsResponse, ) -> ( - GoogleCloudAiplatformV1ListContextsResponseHttpRequest | None + GoogleCloudAiplatformV1ListFeatureViewsResponseHttpRequest + | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1Context = ..., - allowMissing: bool = ..., + body: GoogleCloudAiplatformV1FeatureView = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... - def purge( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1PurgeContextsRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def queryContextLineageSubgraph( - self, *, context: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... - def removeContextChildren( - self, - *, - context: str, - body: GoogleCloudAiplatformV1RemoveContextChildrenRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1RemoveContextChildrenResponseHttpRequest - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ExecutionsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def addExecutionEvents( + def searchNearestEntities( self, *, - execution: str, - body: GoogleCloudAiplatformV1AddExecutionEventsRequest = ..., + featureView: str, + body: GoogleCloudAiplatformV1SearchNearestEntitiesRequest = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1AddExecutionEventsResponseHttpRequest + GoogleCloudAiplatformV1SearchNearestEntitiesResponseHttpRequest ): ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Execution = ..., - executionId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... - def delete( - self, *, name: str, etag: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... - def list( + def setIamPolicy( self, *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListExecutionsResponse, - ) -> ( - GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest | None - ): ... - def patch( + ) -> GoogleIamV1PolicyHttpRequest: ... + def sync( self, *, - name: str, - body: GoogleCloudAiplatformV1Execution = ..., - allowMissing: bool = ..., - updateMask: str = ..., + featureView: str, + body: GoogleCloudAiplatformV1SyncFeatureViewRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... - def purge( + ) -> GoogleCloudAiplatformV1SyncFeatureViewResponseHttpRequest: ... + def testIamPermissions( self, *, - parent: str, - body: GoogleCloudAiplatformV1PurgeExecutionsRequest = ..., + resource: str, + permissions: str | _list[str] = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def queryExecutionInputsAndOutputs( - self, *, execution: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def featureViewSyncs(self) -> FeatureViewSyncsResource: ... def operations(self) -> OperationsResource: ... - @typing.type_check_only - class MetadataSchemasResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1MetadataSchema = ..., - metadataSchemaId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1MetadataSchemaHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1MetadataSchemaHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListMetadataSchemasResponse, - ) -> ( - GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest - | None - ): ... - @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def list( + def listWait( self, *, name: str, @@ -2658,7 +2764,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( + def listWait_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, @@ -2671,8 +2777,8 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1MetadataStore = ..., - metadataStoreId: str = ..., + body: GoogleCloudAiplatformV1FeatureOnlineStore = ..., + featureOnlineStoreId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -2680,194 +2786,153 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1MetadataStoreHttpRequest: ... + ) -> GoogleCloudAiplatformV1FeatureOnlineStoreHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListMetadataStoresResponse, + previous_request: GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse, ) -> ( - GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest | None + GoogleCloudAiplatformV1ListFeatureOnlineStoresResponseHttpRequest + | None ): ... - def artifacts(self) -> ArtifactsResource: ... - def contexts(self) -> ContextsResource: ... - def executions(self) -> ExecutionsResource: ... - def metadataSchemas(self) -> MetadataSchemasResource: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1FeatureOnlineStore = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def featureViews(self) -> FeatureViewsResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class MigratableResourcesResource(googleapiclient.discovery.Resource): + class FeaturestoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchMigrate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchMigrateResourcesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def search( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1SearchMigratableResourcesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest - ): ... - def search_next( - self, - previous_request: GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1SearchMigratableResourcesResponse, - ) -> ( - GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ModelDeploymentMonitoringJobsResource( - googleapiclient.discovery.Resource - ): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + class EntityTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeaturesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1ModelDeploymentMonitoringJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ModelDeploymentMonitoringJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ModelDeploymentMonitoringJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ModelDeploymentMonitoringJob = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def pause( - self, - *, - name: str, - body: GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def resume( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def searchModelDeploymentMonitoringStatsAnomalies( - self, - *, - modelDeploymentMonitoringJob: str, - body: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest: ... - def searchModelDeploymentMonitoringStatsAnomalies_next( - self, - previous_request: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse, - ) -> ( - GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchCreateFeaturesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Feature = ..., + featureId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + latestStatsCount: int = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeaturesResponse, + ) -> ( + GoogleCloudAiplatformV1ListFeaturesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Feature = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1FeatureHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class EvaluationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -2900,69 +2965,117 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class SlicesResource(googleapiclient.discovery.Resource): - def batchImport( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ModelEvaluationSliceHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse, - ) -> ( - GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest - | None - ): ... - + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1EntityType = ..., + entityTypeId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def deleteFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1DeleteFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def exportFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1ExportFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ModelEvaluationHttpRequest: ... - def import_( + ) -> GoogleCloudAiplatformV1EntityTypeHttpRequest: ... + def getIamPolicy( self, *, - parent: str, - body: GoogleCloudAiplatformV1ImportModelEvaluationRequest = ..., + resource: str, + options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ModelEvaluationHttpRequest: ... + ) -> GoogleIamV1PolicyHttpRequest: ... + def importFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1ImportFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEntityTypesResponse, ) -> ( - GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest + GoogleCloudAiplatformV1ListEntityTypesResponseHttpRequest | None ): ... - def list_next( + def patch( self, - previous_request: GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelEvaluationsResponse, + *, + name: str, + body: GoogleCloudAiplatformV1EntityType = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EntityTypeHttpRequest: ... + def readFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1ReadFeatureValuesRequest = ..., + **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest - | None + GoogleCloudAiplatformV1ReadFeatureValuesResponseHttpRequest + ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def streamingReadFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ReadFeatureValuesResponseHttpRequest + ): ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def writeFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1WriteFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1WriteFeatureValuesResponseHttpRequest ): ... + def features(self) -> FeaturesResource: ... def operations(self) -> OperationsResource: ... - def slices(self) -> SlicesResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -2994,29 +3107,27 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def copy( + def batchReadFeatureValues( self, *, - parent: str, - body: GoogleCloudAiplatformV1CopyModelRequest = ..., + featurestore: str, + body: GoogleCloudAiplatformV1BatchReadFeatureValuesRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def deleteVersion( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def export( + def create( self, *, - name: str, - body: GoogleCloudAiplatformV1ExportModelRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1Featurestore = ..., + featurestoreId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... + ) -> GoogleCloudAiplatformV1FeaturestoreHttpRequest: ... def getIamPolicy( self, *, @@ -3034,61 +3145,38 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListModelsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelsResponse, - ) -> GoogleCloudAiplatformV1ListModelsResponseHttpRequest | None: ... - def listCheckpoints( + previous_request: GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListFeaturestoresResponse, + ) -> ( + GoogleCloudAiplatformV1ListFeaturestoresResponseHttpRequest | None + ): ... + def patch( self, *, name: str, - pageSize: int = ..., - pageToken: str = ..., + body: GoogleCloudAiplatformV1Featurestore = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest: ... - def listCheckpoints_next( - self, - previous_request: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse, - ) -> ( - GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest - | None - ): ... - def listVersions( + ) -> GoogleLongrunningOperationHttpRequest: ... + def searchFeatures( self, *, - name: str, - filter: str = ..., - orderBy: str = ..., + location: str, pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + query: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest: ... - def listVersions_next( + ) -> GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest: ... + def searchFeatures_next( self, - previous_request: GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListModelVersionsResponse, + previous_request: GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1SearchFeaturesResponse, ) -> ( - GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest | None + GoogleCloudAiplatformV1SearchFeaturesResponseHttpRequest | None ): ... - def mergeVersionAliases( - self, - *, - name: str, - body: GoogleCloudAiplatformV1MergeVersionAliasesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Model = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... def setIamPolicy( self, *, @@ -3103,69 +3191,61 @@ class AiplatformResource(googleapiclient.discovery.Resource): permissions: str | _list[str] = ..., **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def updateExplanationDataset( - self, - *, - model: str, - body: GoogleCloudAiplatformV1UpdateExplanationDatasetRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def upload( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1UploadModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluations(self) -> EvaluationsResource: ... + def entityTypes(self) -> EntityTypesResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class NasJobsResource(googleapiclient.discovery.Resource): + class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class NasTrialDetailsResource(googleapiclient.discovery.Resource): + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1NasTrialDetailHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListNasTrialDetailsResponse, - ) -> ( - GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest - | None - ): ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def cancel( self, *, name: str, - body: GoogleCloudAiplatformV1CancelNasJobRequest = ..., + body: GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest = ..., **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1NasJob = ..., + body: GoogleCloudAiplatformV1HyperparameterTuningJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1NasJobHttpRequest: ... + ) -> GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1NasJobHttpRequest: ... + ) -> GoogleCloudAiplatformV1HyperparameterTuningJobHttpRequest: ... def list( self, *, @@ -3175,16 +3255,19 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListNasJobsResponse, - ) -> GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest | None: ... - def nasTrialDetails(self) -> NasTrialDetailsResource: ... + previous_request: GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... @typing.type_check_only - class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): + class IndexEndpointsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -3219,149 +3302,79 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1NotebookExecutionJob = ..., - notebookExecutionJobId: str = ..., + body: GoogleCloudAiplatformV1IndexEndpoint = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, - *, - name: str, - view: typing_extensions.Literal[ - "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", - "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", - "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", - ] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1NotebookExecutionJobHttpRequest: ... - def list( + def deployIndex( self, *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - view: typing_extensions.Literal[ - "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", - "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", - "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", - ] = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1DeployIndexRequest = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( + ) -> GoogleLongrunningOperationHttpRequest: ... + def findNeighbors( self, *, - parent: str, - body: GoogleCloudAiplatformV1NotebookRuntimeTemplate = ..., - notebookRuntimeTemplateId: str = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1FindNeighborsRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1FindNeighborsResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1NotebookRuntimeTemplateHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1IndexEndpointHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse, + previous_request: GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListIndexEndpointsResponse, ) -> ( - GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest - | None + GoogleCloudAiplatformV1ListIndexEndpointsResponseHttpRequest | None ): ... + def mutateDeployedIndex( + self, + *, + indexEndpoint: str, + body: GoogleCloudAiplatformV1DeployedIndex = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1NotebookRuntimeTemplate = ..., + body: GoogleCloudAiplatformV1IndexEndpoint = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1NotebookRuntimeTemplateHttpRequest: ... - def setIamPolicy( + ) -> GoogleCloudAiplatformV1IndexEndpointHttpRequest: ... + def readIndexDatapoints( self, *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1ReadIndexDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( + ) -> GoogleCloudAiplatformV1ReadIndexDatapointsResponseHttpRequest: ... + def undeployIndex( self, *, - resource: str, - permissions: str | _list[str] = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1UndeployIndexRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class NotebookRuntimesResource(googleapiclient.discovery.Resource): + class IndexesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -3392,11 +3405,11 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def assign( + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1AssignNotebookRuntimeRequest = ..., + body: GoogleCloudAiplatformV1Index = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -3404,358 +3417,50 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1NotebookRuntimeHttpRequest: ... + ) -> GoogleCloudAiplatformV1IndexHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListIndexesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListNotebookRuntimesResponse, - ) -> ( - GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest - | None - ): ... - def start( + previous_request: GoogleCloudAiplatformV1ListIndexesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListIndexesResponse, + ) -> GoogleCloudAiplatformV1ListIndexesResponseHttpRequest | None: ... + def patch( self, *, name: str, - body: GoogleCloudAiplatformV1StartNotebookRuntimeRequest = ..., + body: GoogleCloudAiplatformV1Index = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def stop( + def removeDatapoints( self, *, - name: str, - body: GoogleCloudAiplatformV1StopNotebookRuntimeRequest = ..., + index: str, + body: GoogleCloudAiplatformV1RemoveDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def upgrade( + ) -> GoogleCloudAiplatformV1RemoveDatapointsResponseHttpRequest: ... + def upsertDatapoints( self, *, - name: str, - body: GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest = ..., + index: str, + body: GoogleCloudAiplatformV1UpsertDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1UpsertDatapointsResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - @typing.type_check_only - class PersistentResourcesResource(googleapiclient.discovery.Resource): + class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1PersistentResource = ..., - persistentResourceId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1PersistentResourceHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListPersistentResourcesResponse, - ) -> ( - GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1PersistentResource = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def reboot( - self, - *, - name: str, - body: GoogleCloudAiplatformV1RebootPersistentResourceRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class PipelineJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCancel( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def batchDelete( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelPipelineJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1PipelineJob = ..., - pipelineJobId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1PipelineJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1PipelineJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListPipelineJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class PublishersResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - def computeTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... - def countTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1CountTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... - def fetchPredictOperation( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def generateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... - def predict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... - def predictLongRunning( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def rawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1RawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def serverStreamingPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1StreamingPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1StreamingPredictResponseHttpRequest: ... - def streamGenerateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... - def streamRawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1StreamRawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - def models(self) -> ModelsResource: ... - - @typing.type_check_only - class RagCorporaResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - @typing.type_check_only - class RagFilesResource(googleapiclient.discovery.Resource): + class ArtifactsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -3788,284 +3493,307 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( + def create( self, *, - name: str, - forceDelete: bool = ..., + parent: str, + body: GoogleCloudAiplatformV1Artifact = ..., + artifactId: str = ..., **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1RagFileHttpRequest: ... - def import_( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1ImportRagFilesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( + ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... + def list( self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListRagFilesResponse, + previous_request: GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListArtifactsResponse, ) -> ( - GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest | None + GoogleCloudAiplatformV1ListArtifactsResponseHttpRequest | None ): ... - def operations(self) -> OperationsResource: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1RagCorpus = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1RagCorpusHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListRagCorporaResponse, - ) -> ( - GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1RagCorpus = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - def ragFiles(self) -> RagFilesResource: ... - - @typing.type_check_only - class RagEngineConfigResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( + def patch( self, *, name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., + body: GoogleCloudAiplatformV1Artifact = ..., + allowMissing: bool = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( + ) -> GoogleCloudAiplatformV1ArtifactHttpRequest: ... + def purge( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + *, + parent: str, + body: GoogleCloudAiplatformV1PurgeArtifactsRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def queryArtifactLineageSubgraph( + self, + *, + artifact: str, + filter: str = ..., + maxHops: int = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... + def operations(self) -> OperationsResource: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ReasoningEnginesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + class ContextsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addContextArtifactsAndExecutions( + self, + *, + context: str, + body: GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponseHttpRequest: ... + def addContextChildren( + self, + *, + context: str, + body: GoogleCloudAiplatformV1AddContextChildrenRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1AddContextChildrenResponseHttpRequest + ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Context = ..., + contextId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... 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 = ..., + etag: str = ..., + force: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1ReasoningEngine = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ReasoningEngineHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListReasoningEnginesResponse, - ) -> ( - GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ReasoningEngine = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def query( - self, - *, - name: str, - body: GoogleCloudAiplatformV1QueryReasoningEngineRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1QueryReasoningEngineResponseHttpRequest: ... - def streamQuery( - self, - *, - name: str, - body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class SchedulesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... def list( self, *, - name: str, + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListContextsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + previous_request: GoogleCloudAiplatformV1ListContextsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListContextsResponse, + ) -> ( + GoogleCloudAiplatformV1ListContextsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Context = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ContextHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PurgeContextsRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def queryContextLineageSubgraph( + self, *, context: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... + def removeContextChildren( + self, + *, + context: str, + body: GoogleCloudAiplatformV1RemoveContextChildrenRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1RemoveContextChildrenResponseHttpRequest + ): ... + def operations(self) -> OperationsResource: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Schedule = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListSchedulesResponse, - ) -> GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Schedule = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... - def pause( - self, - *, - name: str, - body: GoogleCloudAiplatformV1PauseScheduleRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def resume( - self, - *, - name: str, - body: GoogleCloudAiplatformV1ResumeScheduleRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ExecutionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addExecutionEvents( + self, + *, + execution: str, + body: GoogleCloudAiplatformV1AddExecutionEventsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1AddExecutionEventsResponseHttpRequest + ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Execution = ..., + executionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListExecutionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Execution = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExecutionHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PurgeExecutionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def queryExecutionInputsAndOutputs( + self, *, execution: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1LineageSubgraphHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MetadataSchemasResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1MetadataSchema = ..., + metadataSchemaId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1MetadataSchemaHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MetadataSchemaHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMetadataSchemasResponse, + ) -> ( + GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest + | None + ): ... - @typing.type_check_only - class SpecialistPoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4100,7 +3828,8 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1SpecialistPool = ..., + body: GoogleCloudAiplatformV1MetadataStore = ..., + metadataStoreId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -4108,35 +3837,30 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1SpecialistPoolHttpRequest: ... + ) -> GoogleCloudAiplatformV1MetadataStoreHttpRequest: ... def list( self, *, parent: str, pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListSpecialistPoolsResponse, + previous_request: GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMetadataStoresResponse, ) -> ( - GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest | None + GoogleCloudAiplatformV1ListMetadataStoresResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1SpecialistPool = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + def artifacts(self) -> ArtifactsResource: ... + def contexts(self) -> ContextsResource: ... + def executions(self) -> ExecutionsResource: ... + def metadataSchemas(self) -> MetadataSchemasResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class StudiesResource(googleapiclient.discovery.Resource): + class MigratableResourcesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4167,154 +3891,140 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class TrialsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def batchMigrate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchMigrateResourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def search( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1SearchMigratableResourcesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest + ): ... + def search_next( + self, + previous_request: GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1SearchMigratableResourcesResponse, + ) -> ( + GoogleCloudAiplatformV1SearchMigratableResourcesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... - def addTrialMeasurement( - self, - *, - trialName: str, - body: GoogleCloudAiplatformV1AddTrialMeasurementRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... - def checkTrialEarlyStoppingState( - self, - *, - trialName: str, - body: GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def complete( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CompleteTrialRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1Trial = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + @typing.type_check_only + class ModelDeploymentMonitoringJobsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTrialsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListTrialsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTrialsResponse, - ) -> ( - GoogleCloudAiplatformV1ListTrialsResponseHttpRequest | None - ): ... - def listOptimalTrials( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1ListOptimalTrialsRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListOptimalTrialsResponseHttpRequest - ): ... - def stop( - self, - *, - name: str, - body: GoogleCloudAiplatformV1StopTrialRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... - def suggest( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1SuggestTrialsRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1Study = ..., + body: GoogleCloudAiplatformV1ModelDeploymentMonitoringJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + ) -> GoogleCloudAiplatformV1ModelDeploymentMonitoringJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + ) -> GoogleCloudAiplatformV1ModelDeploymentMonitoringJobHttpRequest: ... def list( self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListStudiesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListStudiesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListStudiesResponse, - ) -> GoogleCloudAiplatformV1ListStudiesResponseHttpRequest | None: ... - def lookup( + previous_request: GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponseHttpRequest + | None + ): ... + def patch( self, *, - parent: str, - body: GoogleCloudAiplatformV1LookupStudyRequest = ..., + name: str, + body: GoogleCloudAiplatformV1ModelDeploymentMonitoringJob = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def pause( + self, + *, + name: str, + body: GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def resume( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def searchModelDeploymentMonitoringStatsAnomalies( + self, + *, + modelDeploymentMonitoringJob: str, + body: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest: ... + def searchModelDeploymentMonitoringStatsAnomalies_next( + self, + previous_request: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse, + ) -> ( + GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest + | None + ): ... def operations(self) -> OperationsResource: ... - def trials(self) -> TrialsResource: ... @typing.type_check_only - class TensorboardsResource(googleapiclient.discovery.Resource): + class ModelsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ExperimentsResource(googleapiclient.discovery.Resource): + class EvaluationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4348,443 +4058,2982 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... @typing.type_check_only - class RunsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - - @typing.type_check_only - class TimeSeriesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource( - googleapiclient.discovery.Resource - ): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1TensorboardTimeSeries = ..., - tensorboardTimeSeriesId: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest - ): ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def exportTensorboardTimeSeries( - self, - *, - tensorboardTimeSeries: str, - body: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest: ... - def exportTensorboardTimeSeries_next( - self, - previous_request: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse, - ) -> ( - GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest - | None - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest - ): ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse, - ) -> ( - GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1TensorboardTimeSeries = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest - ): ... - def read( - self, - *, - tensorboardTimeSeries: str, - filter: str = ..., - maxDataPoints: int = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponseHttpRequest: ... - def readBlobData( - self, - *, - timeSeries: str, - blobIds: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ReadTensorboardBlobDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... - - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponseHttpRequest: ... - def create( + class SlicesResource(googleapiclient.discovery.Resource): + def batchImport( self, *, parent: str, - body: GoogleCloudAiplatformV1TensorboardRun = ..., - tensorboardRunId: str = ..., + body: GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... + ) -> GoogleCloudAiplatformV1ModelEvaluationSliceHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTensorboardRunsResponse, + previous_request: GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse, ) -> ( - GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest + GoogleCloudAiplatformV1ListModelEvaluationSlicesResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1TensorboardRun = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... - def write( - self, - *, - tensorboardRun: str, - body: GoogleCloudAiplatformV1WriteTensorboardRunDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1WriteTensorboardRunDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... - def timeSeries(self) -> TimeSeriesResource: ... - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1TensorboardExperiment = ..., - tensorboardExperimentId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTensorboardExperimentsResponse, - ) -> ( - GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1TensorboardExperiment = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... - def write( - self, - *, - tensorboardExperiment: str, - body: GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... - def runs(self) -> RunsResource: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ModelEvaluationHttpRequest: ... + def import_( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1ImportModelEvaluationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ModelEvaluationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelEvaluationsResponse, + ) -> ( + GoogleCloudAiplatformV1ListModelEvaluationsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + def slices(self) -> SlicesResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def copy( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1CopyModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def deleteVersion( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def export( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExportModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListModelsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelsResponse, + ) -> GoogleCloudAiplatformV1ListModelsResponseHttpRequest | None: ... + def listCheckpoints( + self, + *, + name: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest: ... + def listCheckpoints_next( + self, + previous_request: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelVersionCheckpointsResponse, + ) -> ( + GoogleCloudAiplatformV1ListModelVersionCheckpointsResponseHttpRequest + | None + ): ... + def listVersions( + self, + *, + name: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest: ... + def listVersions_next( + self, + previous_request: GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListModelVersionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListModelVersionsResponseHttpRequest | None + ): ... + def mergeVersionAliases( + self, + *, + name: str, + body: GoogleCloudAiplatformV1MergeVersionAliasesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Model = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ModelHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def updateExplanationDataset( + self, + *, + model: str, + body: GoogleCloudAiplatformV1UpdateExplanationDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def upload( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1UploadModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluations(self) -> EvaluationsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NasJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NasTrialDetailsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1NasTrialDetailHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListNasTrialDetailsResponse, + ) -> ( + GoogleCloudAiplatformV1ListNasTrialDetailsResponseHttpRequest + | None + ): ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelNasJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1NasJob = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1NasJobHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1NasJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListNasJobsResponse, + ) -> GoogleCloudAiplatformV1ListNasJobsResponseHttpRequest | None: ... + def nasTrialDetails(self) -> NasTrialDetailsResource: ... + + @typing.type_check_only + class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1NotebookExecutionJob = ..., + notebookExecutionJobId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", + "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", + "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1NotebookExecutionJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", + "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", + "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListNotebookExecutionJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListNotebookExecutionJobsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1NotebookRuntimeTemplate = ..., + notebookRuntimeTemplateId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1NotebookRuntimeTemplateHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse, + ) -> ( + GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1NotebookRuntimeTemplate = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1NotebookRuntimeTemplateHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def assign( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1AssignNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1NotebookRuntimeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListNotebookRuntimesResponse, + ) -> ( + GoogleCloudAiplatformV1ListNotebookRuntimesResponseHttpRequest + | None + ): ... + def start( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StartNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def stop( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StopNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def upgrade( + self, + *, + name: str, + body: GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class PersistentResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PersistentResource = ..., + persistentResourceId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1PersistentResourceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListPersistentResourcesResponse, + ) -> ( + GoogleCloudAiplatformV1ListPersistentResourcesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1PersistentResource = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def reboot( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RebootPersistentResourceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class PipelineJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchCancel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelPipelineJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PipelineJob = ..., + pipelineJobId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PipelineJobHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1PipelineJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListPipelineJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListPipelineJobsResponseHttpRequest | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def embedContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1EmbedContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EmbedContentResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def rawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1RawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def serverStreamingPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1StreamingPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1StreamingPredictResponseHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def streamRawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1StreamRawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + def models(self) -> ModelsResource: ... + + @typing.type_check_only + class RagCorporaResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RagFilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def delete( + self, + *, + name: str, + forceDelete: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1RagFileHttpRequest: ... + def import_( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1ImportRagFilesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListRagFilesResponse, + ) -> ( + GoogleCloudAiplatformV1ListRagFilesResponseHttpRequest | None + ): ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RagCorpus = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1RagCorpusHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListRagCorporaResponse, + ) -> ( + GoogleCloudAiplatformV1ListRagCorporaResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RagCorpus = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def ragFiles(self) -> RagFilesResource: ... + + @typing.type_check_only + class RagEngineConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MemoryRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMemoryRevisionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Memory = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1GenerateMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListMemoriesResponse, + ) -> ( + GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Memory = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1PurgeMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RetrieveMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1RetrieveMemoriesResponseHttpRequest: ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RollbackMemoryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1SandboxEnvironment = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def execute( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1SandboxEnvironmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse, + ) -> ( + GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListEventsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListEventsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListEventsResponse, + ) -> ( + GoogleCloudAiplatformV1ListEventsResponseHttpRequest | None + ): ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def appendEvent( + self, + *, + name: str, + body: GoogleCloudAiplatformV1SessionEvent = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1AppendEventResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Session = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1SessionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSessionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSessionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSessionsResponse, + ) -> ( + GoogleCloudAiplatformV1ListSessionsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Session = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1SessionHttpRequest: ... + def events(self) -> EventsResource: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def executeCode( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExecuteCodeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExecuteCodeResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ReasoningEngineHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListReasoningEnginesResponse, + ) -> ( + GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def query( + self, + *, + name: str, + body: GoogleCloudAiplatformV1QueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1QueryReasoningEngineResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... + def sessions(self) -> SessionsResource: ... + + @typing.type_check_only + class SchedulesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Schedule = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSchedulesResponse, + ) -> GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Schedule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ScheduleHttpRequest: ... + def pause( + self, + *, + name: str, + body: GoogleCloudAiplatformV1PauseScheduleRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def resume( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ResumeScheduleRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SpecialistPoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1SpecialistPool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1SpecialistPoolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSpecialistPoolsResponse, + ) -> ( + GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1SpecialistPool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class StudiesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class TrialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addTrialMeasurement( + self, + *, + trialName: str, + body: GoogleCloudAiplatformV1AddTrialMeasurementRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + def checkTrialEarlyStoppingState( + self, + *, + trialName: str, + body: GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def complete( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CompleteTrialRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Trial = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTrialsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTrialsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTrialsResponse, + ) -> ( + GoogleCloudAiplatformV1ListTrialsResponseHttpRequest | None + ): ... + def listOptimalTrials( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1ListOptimalTrialsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListOptimalTrialsResponseHttpRequest + ): ... + def stop( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StopTrialRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TrialHttpRequest: ... + def suggest( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1SuggestTrialsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Study = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListStudiesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListStudiesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListStudiesResponse, + ) -> GoogleCloudAiplatformV1ListStudiesResponseHttpRequest | None: ... + def lookup( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1LookupStudyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1StudyHttpRequest: ... + def operations(self) -> OperationsResource: ... + def trials(self) -> TrialsResource: ... + + @typing.type_check_only + class TensorboardsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ExperimentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RunsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class TimeSeriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1TensorboardTimeSeries = ..., + tensorboardTimeSeriesId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def exportTensorboardTimeSeries( + self, + *, + tensorboardTimeSeries: str, + body: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest: ... + def exportTensorboardTimeSeries_next( + self, + previous_request: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse, + ) -> ( + GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponseHttpRequest + | None + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse, + ) -> ( + GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1TensorboardTimeSeries = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1TensorboardTimeSeriesHttpRequest + ): ... + def read( + self, + *, + tensorboardTimeSeries: str, + filter: str = ..., + maxDataPoints: int = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ReadTensorboardTimeSeriesDataResponseHttpRequest: ... + def readBlobData( + self, + *, + timeSeries: str, + blobIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ReadTensorboardBlobDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1TensorboardRun = ..., + tensorboardRunId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTensorboardRunsResponse, + ) -> ( + GoogleCloudAiplatformV1ListTensorboardRunsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1TensorboardRun = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TensorboardRunHttpRequest: ... + def write( + self, + *, + tensorboardRun: str, + body: GoogleCloudAiplatformV1WriteTensorboardRunDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1WriteTensorboardRunDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + def timeSeries(self) -> TimeSeriesResource: ... + + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1TensorboardExperiment = ..., + tensorboardExperimentId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTensorboardExperimentsResponse, + ) -> ( + GoogleCloudAiplatformV1ListTensorboardExperimentsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1TensorboardExperiment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TensorboardExperimentHttpRequest: ... + def write( + self, + *, + tensorboardExperiment: str, + body: GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1WriteTensorboardExperimentDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + def runs(self) -> RunsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchRead( + self, + *, + tensorboard: str, + timeSeries: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1Tensorboard = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TensorboardHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTensorboardsResponse, + ) -> ( + GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1Tensorboard = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def readSize( + self, *, tensorboard: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ReadTensorboardSizeResponseHttpRequest: ... + def readUsage( + self, *, tensorboard: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ReadTensorboardUsageResponseHttpRequest: ... + def experiments(self) -> ExperimentsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TrainingPipelinesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelTrainingPipelineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1TrainingPipeline = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TrainingPipelineHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TrainingPipelineHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTrainingPipelinesResponse, + ) -> ( + GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CancelTuningJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1TuningJob = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1TuningJobHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1TuningJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListTuningJobsResponse, + ) -> ( + GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest | None + ): ... + def rebaseTunedModel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RebaseTunedModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def augmentPrompt( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1AugmentPromptRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1AugmentPromptResponseHttpRequest: ... + def corroborateContent( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1CorroborateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CorroborateContentResponseHttpRequest: ... + def deploy( + self, + *, + destination: str, + body: GoogleCloudAiplatformV1DeployRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateDataset( + self, + *, + location: str, + body: GoogleCloudAiplatformV1EvaluateDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateInstances( + self, + *, + location: str, + body: GoogleCloudAiplatformV1EvaluateInstancesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1EvaluateInstancesResponseHttpRequest: ... + def generateInstanceRubrics( + self, + *, + location: str, + body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateInstanceRubricsResponseHttpRequest: ... + def generateSyntheticData( + self, + *, + location: str, + body: GoogleCloudAiplatformV1GenerateSyntheticDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateSyntheticDataResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudLocationLocationHttpRequest: ... + def getRagEngineConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1RagEngineConfigHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, + previous_response: GoogleCloudLocationListLocationsResponse, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... + def retrieveContexts( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1RetrieveContextsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1RetrieveContextsResponseHttpRequest: ... + def updateRagEngineConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1RagEngineConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... + def cachedContents(self) -> CachedContentsResource: ... + def customJobs(self) -> CustomJobsResource: ... + def dataLabelingJobs(self) -> DataLabelingJobsResource: ... + def datasets(self) -> DatasetsResource: ... + def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... + def endpoints(self) -> EndpointsResource: ... + def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationRuns(self) -> EvaluationRunsResource: ... + def evaluationSets(self) -> EvaluationSetsResource: ... + def featureGroups(self) -> FeatureGroupsResource: ... + def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... + def featurestores(self) -> FeaturestoresResource: ... + def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... + def indexEndpoints(self) -> IndexEndpointsResource: ... + def indexes(self) -> IndexesResource: ... + def metadataStores(self) -> MetadataStoresResource: ... + def migratableResources(self) -> MigratableResourcesResource: ... + def modelDeploymentMonitoringJobs( + self, + ) -> ModelDeploymentMonitoringJobsResource: ... + def models(self) -> ModelsResource: ... + def nasJobs(self) -> NasJobsResource: ... + def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... + def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... + def notebookRuntimes(self) -> NotebookRuntimesResource: ... + def operations(self) -> OperationsResource: ... + def persistentResources(self) -> PersistentResourcesResource: ... + def pipelineJobs(self) -> PipelineJobsResource: ... + def publishers(self) -> PublishersResource: ... + def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... + def reasoningEngines(self) -> ReasoningEnginesResource: ... + def schedules(self) -> SchedulesResource: ... + def specialistPools(self) -> SpecialistPoolsResource: ... + def studies(self) -> StudiesResource: ... + def tensorboards(self) -> TensorboardsResource: ... + def trainingPipelines(self) -> TrainingPipelinesResource: ... + def tuningJobs(self) -> TuningJobsResource: ... + + def getCacheConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1CacheConfigHttpRequest: ... + def updateCacheConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1CacheConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + def get( + self, + *, + name: str, + huggingFaceToken: str = ..., + isHuggingFaceModel: bool = ..., + languageCode: str = ..., + view: typing_extensions.Literal[ + "PUBLISHER_MODEL_VIEW_UNSPECIFIED", + "PUBLISHER_MODEL_VIEW_BASIC", + "PUBLISHER_MODEL_VIEW_FULL", + "PUBLISHER_MODEL_VERSION_VIEW_BASIC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PublisherModelHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + + def models(self) -> ModelsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class RagCorporaResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def batchRead( + @typing.type_check_only + class RagFilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - tensorboard: str, - timeSeries: str | _list[str] = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponseHttpRequest: ... - def create( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + def operations(self) -> OperationsResource: ... + def ragFiles(self) -> RagFilesResource: ... + + @typing.type_check_only + class RagEngineConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - parent: str, - body: GoogleCloudAiplatformV1Tensorboard = ..., + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1SandboxEnvironment = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def execute( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponseHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1SandboxEnvironmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse, + ) -> ( + GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TensorboardHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTensorboardsResponse, - ) -> ( - GoogleCloudAiplatformV1ListTensorboardsResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1Tensorboard = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def readSize( - self, *, tensorboard: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ReadTensorboardSizeResponseHttpRequest: ... - def readUsage( - self, *, tensorboard: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ReadTensorboardUsageResponseHttpRequest: ... - def experiments(self) -> ExperimentsResource: ... - def operations(self) -> OperationsResource: ... - @typing.type_check_only - class TrainingPipelinesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def executeCode( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ExecuteCodeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ExecuteCodeResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1ReasoningEngineHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1ListReasoningEnginesResponse, + ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1ReasoningEngine = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def query( + self, + *, + name: str, + body: GoogleCloudAiplatformV1QueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1QueryReasoningEngineResponseHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... + def sessions(self) -> SessionsResource: ... + + @typing.type_check_only + class SchedulesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SpecialistPoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class StudiesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class TrialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelTrainingPipelineRequest = ..., - **kwargs: typing.Any, + self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... - def create( + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - parent: str, - body: GoogleCloudAiplatformV1TrainingPipeline = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TrainingPipelineHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + def operations(self) -> OperationsResource: ... + def trials(self) -> TrialsResource: ... + + @typing.type_check_only + class TensorboardsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ExperimentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TrainingPipelineHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTrainingPipelinesResponse, - ) -> ( - GoogleCloudAiplatformV1ListTrainingPipelinesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... @typing.type_check_only - class TuningJobsResource(googleapiclient.discovery.Resource): + class RunsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4811,307 +7060,170 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CancelTuningJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1TuningJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1TuningJobHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1TuningJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListTuningJobsResponse, - ) -> ( - GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest | None - ): ... - def rebaseTunedModel( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1RebaseTunedModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... + @typing.type_check_only + class TimeSeriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def augmentPrompt( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1AugmentPromptRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1AugmentPromptResponseHttpRequest: ... - def corroborateContent( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1CorroborateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CorroborateContentResponseHttpRequest: ... - def deploy( - self, - *, - destination: str, - body: GoogleCloudAiplatformV1DeployRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluateDataset( - self, - *, - location: str, - body: GoogleCloudAiplatformV1EvaluateDatasetRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluateInstances( - self, - *, - location: str, - body: GoogleCloudAiplatformV1EvaluateInstancesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1EvaluateInstancesResponseHttpRequest: ... - def generateInstanceRubrics( - self, - *, - location: str, - body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateInstanceRubricsResponseHttpRequest: ... - def generateSyntheticData( - self, - *, - location: str, - body: GoogleCloudAiplatformV1GenerateSyntheticDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateSyntheticDataResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudLocationLocationHttpRequest: ... - def getRagEngineConfig( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1RagEngineConfigHttpRequest: ... - def list( - self, - *, - name: str, - extraLocationTypes: str | _list[str] = ..., - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudLocationListLocationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, - previous_response: GoogleCloudLocationListLocationsResponse, - ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... - def retrieveContexts( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1RetrieveContextsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1RetrieveContextsResponseHttpRequest: ... - def updateRagEngineConfig( - self, - *, - name: str, - body: GoogleCloudAiplatformV1RagEngineConfig = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... - def cachedContents(self) -> CachedContentsResource: ... - def customJobs(self) -> CustomJobsResource: ... - def dataLabelingJobs(self) -> DataLabelingJobsResource: ... - def datasets(self) -> DatasetsResource: ... - def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... - def endpoints(self) -> EndpointsResource: ... - def evaluationItems(self) -> EvaluationItemsResource: ... - def evaluationRuns(self) -> EvaluationRunsResource: ... - def evaluationSets(self) -> EvaluationSetsResource: ... - def featureGroups(self) -> FeatureGroupsResource: ... - def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... - def featurestores(self) -> FeaturestoresResource: ... - def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... - def indexEndpoints(self) -> IndexEndpointsResource: ... - def indexes(self) -> IndexesResource: ... - def metadataStores(self) -> MetadataStoresResource: ... - def migratableResources(self) -> MigratableResourcesResource: ... - def modelDeploymentMonitoringJobs( - self, - ) -> ModelDeploymentMonitoringJobsResource: ... - def models(self) -> ModelsResource: ... - def nasJobs(self) -> NasJobsResource: ... - def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... - def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... - def notebookRuntimes(self) -> NotebookRuntimesResource: ... - def operations(self) -> OperationsResource: ... - def persistentResources(self) -> PersistentResourcesResource: ... - def pipelineJobs(self) -> PipelineJobsResource: ... - def publishers(self) -> PublishersResource: ... - def ragCorpora(self) -> RagCorporaResource: ... - def ragEngineConfig(self) -> RagEngineConfigResource: ... - def reasoningEngines(self) -> ReasoningEnginesResource: ... - def schedules(self) -> SchedulesResource: ... - def specialistPools(self) -> SpecialistPoolsResource: ... - def studies(self) -> StudiesResource: ... - def tensorboards(self) -> TensorboardsResource: ... - def trainingPipelines(self) -> TrainingPipelinesResource: ... - def tuningJobs(self) -> TuningJobsResource: ... + def operations(self) -> OperationsResource: ... + + def operations(self) -> OperationsResource: ... + def timeSeries(self) -> TimeSeriesResource: ... - def getCacheConfig( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1CacheConfigHttpRequest: ... - def updateCacheConfig( - self, - *, - name: str, - body: GoogleCloudAiplatformV1CacheConfig = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def locations(self) -> LocationsResource: ... + def operations(self) -> OperationsResource: ... + def runs(self) -> RunsResource: ... - @typing.type_check_only - class PublishersResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - def computeTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1ComputeTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ComputeTokensResponseHttpRequest: ... - def countTokens( + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1CountTokensRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1CountTokensResponseHttpRequest: ... - def fetchPredictOperation( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1FetchPredictOperationRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def generateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + + def experiments(self) -> ExperimentsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TrainingPipelinesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - huggingFaceToken: str = ..., - isHuggingFaceModel: bool = ..., - languageCode: str = ..., - view: typing_extensions.Literal[ - "PUBLISHER_MODEL_VIEW_UNSPECIFIED", - "PUBLISHER_MODEL_VIEW_BASIC", - "PUBLISHER_MODEL_VIEW_FULL", - "PUBLISHER_MODEL_VERSION_VIEW_BASIC", - ] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1PublisherModelHttpRequest: ... - def predict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictRequest = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1PredictResponseHttpRequest: ... - def predictLongRunning( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1PredictLongRunningRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def streamGenerateContent( + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - model: str, - body: GoogleCloudAiplatformV1GenerateContentRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1GenerateContentResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def models(self) -> ModelsResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only - class ReasoningEnginesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - body: GoogleCloudAiplatformV1ReasoningEngine = ..., - parent: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1ReasoningEngineHttpRequest: ... - def list( - self, - *, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - parent: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1ListReasoningEnginesResponse, - ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest | None: ... - def patch( + class V1Resource(googleapiclient.discovery.Resource): + def evaluateDataset( self, *, - name: str, - body: GoogleCloudAiplatformV1ReasoningEngine = ..., - updateMask: str = ..., + body: GoogleCloudAiplatformV1EvaluateDatasetRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def query( + def evaluateInstances( self, *, - name: str, - body: GoogleCloudAiplatformV1QueryReasoningEngineRequest = ..., + body: GoogleCloudAiplatformV1EvaluateInstancesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1QueryReasoningEngineResponseHttpRequest: ... - def streamQuery( + ) -> GoogleCloudAiplatformV1EvaluateInstancesResponseHttpRequest: ... + def generateInstanceRubrics( self, *, - name: str, - body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest = ..., + body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest = ..., **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + ) -> GoogleCloudAiplatformV1GenerateInstanceRubricsResponseHttpRequest: ... def new_batch_http_request( self, @@ -5126,12 +7238,42 @@ class AiplatformResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... + def customJobs(self) -> CustomJobsResource: ... + def dataLabelingJobs(self) -> DataLabelingJobsResource: ... def datasets(self) -> DatasetsResource: ... + def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... def endpoints(self) -> EndpointsResource: ... + def featureGroups(self) -> FeatureGroupsResource: ... + def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... + def featurestores(self) -> FeaturestoresResource: ... + def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... + def indexEndpoints(self) -> IndexEndpointsResource: ... + def indexes(self) -> IndexesResource: ... def media(self) -> MediaResource: ... + def metadataStores(self) -> MetadataStoresResource: ... + def migratableResources(self) -> MigratableResourcesResource: ... + def modelDeploymentMonitoringJobs( + self, + ) -> ModelDeploymentMonitoringJobsResource: ... + def models(self) -> ModelsResource: ... + def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... + def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... + def notebookRuntimes(self) -> NotebookRuntimesResource: ... + def operations(self) -> OperationsResource: ... + def persistentResources(self) -> PersistentResourcesResource: ... + def pipelineJobs(self) -> PipelineJobsResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... + def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... + def schedules(self) -> SchedulesResource: ... + def specialistPools(self) -> SpecialistPoolsResource: ... + def studies(self) -> StudiesResource: ... + def tensorboards(self) -> TensorboardsResource: ... + def trainingPipelines(self) -> TrainingPipelinesResource: ... + def tuningJobs(self) -> TuningJobsResource: ... + def v1(self) -> V1Resource: ... @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): @@ -5181,6 +7323,16 @@ class GoogleCloudAiplatformV1AnnotationSpecHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1AnnotationSpec: ... +@typing.type_check_only +class GoogleCloudAiplatformV1AppendEventResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1AppendEventResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ArtifactHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -5369,6 +7521,16 @@ class GoogleCloudAiplatformV1DirectRawPredictResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1DirectRawPredictResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1EmbedContentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1EmbedContentResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1EndpointHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -5421,6 +7583,26 @@ class GoogleCloudAiplatformV1EvaluationSetHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> GoogleCloudAiplatformV1EvaluationSet: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteCodeResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ExecuteCodeResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ExecutionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -5767,6 +7949,16 @@ class GoogleCloudAiplatformV1ListEvaluationSetsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListEvaluationSetsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListEventsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListEventsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListExecutionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -5867,6 +8059,26 @@ class GoogleCloudAiplatformV1ListIndexesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListIndexesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListMemoriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListMemoriesResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1ListMemoryRevisionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListMemoryRevisionsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListMetadataSchemasResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6057,6 +8269,16 @@ class GoogleCloudAiplatformV1ListReasoningEnginesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListReasoningEnginesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListSandboxEnvironmentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListSavedQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6077,6 +8299,16 @@ class GoogleCloudAiplatformV1ListSchedulesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListSchedulesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1ListSessionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1ListSessionsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1ListSpecialistPoolsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -6167,6 +8399,24 @@ class GoogleCloudAiplatformV1ListTuningJobsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1ListTuningJobsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1Memory: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryRevisionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1MemoryRevision: ... + @typing.type_check_only class GoogleCloudAiplatformV1MetadataSchemaHttpRequest( googleapiclient.http.HttpRequest @@ -6455,6 +8705,26 @@ class GoogleCloudAiplatformV1RetrieveContextsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1RetrieveContextsResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1RetrieveMemoriesResponse: ... + +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironmentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1SandboxEnvironment: ... + @typing.type_check_only class GoogleCloudAiplatformV1ScheduleHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -6515,6 +8785,14 @@ class GoogleCloudAiplatformV1SearchNearestEntitiesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1SearchNearestEntitiesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1SessionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1Session: ... + @typing.type_check_only class GoogleCloudAiplatformV1SpecialistPoolHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi index f8dc8117e..7bae33c77 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1/schemas.pyi @@ -197,6 +197,37 @@ class GoogleCloudAiplatformV1AddTrialMeasurementRequest( ): measurement: GoogleCloudAiplatformV1Measurement +@typing.type_check_only +class GoogleCloudAiplatformV1AggregationOutput( + typing_extensions.TypedDict, total=False +): + aggregationResults: _list[GoogleCloudAiplatformV1AggregationResult] + dataset: GoogleCloudAiplatformV1EvaluationDataset + +@typing.type_check_only +class GoogleCloudAiplatformV1AggregationResult( + typing_extensions.TypedDict, total=False +): + aggregationMetric: typing_extensions.Literal[ + "AGGREGATION_METRIC_UNSPECIFIED", + "AVERAGE", + "MODE", + "STANDARD_DEVIATION", + "VARIANCE", + "MINIMUM", + "MAXIMUM", + "MEDIAN", + "PERCENTILE_P90", + "PERCENTILE_P95", + "PERCENTILE_P99", + ] + bleuMetricValue: GoogleCloudAiplatformV1BleuMetricValue + customCodeExecutionResult: GoogleCloudAiplatformV1CustomCodeExecutionResult + exactMatchMetricValue: GoogleCloudAiplatformV1ExactMatchMetricValue + pairwiseMetricResult: GoogleCloudAiplatformV1PairwiseMetricResult + pointwiseMetricResult: GoogleCloudAiplatformV1PointwiseMetricResult + rougeMetricValue: GoogleCloudAiplatformV1RougeMetricValue + @typing.type_check_only class GoogleCloudAiplatformV1Annotation(typing_extensions.TypedDict, total=False): annotationSource: GoogleCloudAiplatformV1UserActionReference @@ -227,6 +258,11 @@ class GoogleCloudAiplatformV1ApiAuthApiKeyConfig( apiKeySecretVersion: str apiKeyString: str +@typing.type_check_only +class GoogleCloudAiplatformV1AppendEventResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudAiplatformV1Artifact(typing_extensions.TypedDict, total=False): createTime: str @@ -545,6 +581,7 @@ class GoogleCloudAiplatformV1BatchPredictionJobInputConfig( bigquerySource: GoogleCloudAiplatformV1BigQuerySource gcsSource: GoogleCloudAiplatformV1GcsSource instancesFormat: str + vertexMultimodalDatasetSource: GoogleCloudAiplatformV1VertexMultimodalDatasetSource @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig( @@ -562,6 +599,9 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputConfig( bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1GcsDestination predictionsFormat: str + vertexMultimodalDatasetDestination: ( + GoogleCloudAiplatformV1VertexMultimodalDatasetDestination + ) @typing.type_check_only class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo( @@ -570,6 +610,7 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo( bigqueryOutputDataset: str bigqueryOutputTable: str gcsOutputDirectory: str + vertexMultimodalDatasetName: str @typing.type_check_only class GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata( @@ -832,6 +873,12 @@ class GoogleCloudAiplatformV1Checkpoint(typing_extensions.TypedDict, total=False epoch: str step: str +@typing.type_check_only +class GoogleCloudAiplatformV1Chunk(typing_extensions.TypedDict, total=False): + data: str + metadata: GoogleCloudAiplatformV1Metadata + mimeType: str + @typing.type_check_only class GoogleCloudAiplatformV1Citation(typing_extensions.TypedDict, total=False): endIndex: int @@ -932,6 +979,15 @@ class GoogleCloudAiplatformV1CompletionStats(typing_extensions.TypedDict, total= successfulCount: str successfulForecastPointCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1ComputationBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + parameters: dict[str, typing.Any] + type: typing_extensions.Literal[ + "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" + ] + @typing.type_check_only class GoogleCloudAiplatformV1ComputeTokensRequest( typing_extensions.TypedDict, total=False @@ -1092,6 +1148,8 @@ class GoogleCloudAiplatformV1CreateEndpointOperationMetadata( "STARTING_MODEL_SERVER", "FINISHING_UP", "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY", ] genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @@ -1238,6 +1296,18 @@ class GoogleCloudAiplatformV1CsvDestination(typing_extensions.TypedDict, total=F class GoogleCloudAiplatformV1CsvSource(typing_extensions.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1GcsSource +@typing.type_check_only +class GoogleCloudAiplatformV1CustomCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1CustomCodeExecutionSpec( + typing_extensions.TypedDict, total=False +): + evaluationFunction: str + @typing.type_check_only class GoogleCloudAiplatformV1CustomJob(typing_extensions.TypedDict, total=False): createTime: str @@ -1366,6 +1436,27 @@ class GoogleCloudAiplatformV1Dataset(typing_extensions.TypedDict, total=False): savedQueries: _list[GoogleCloudAiplatformV1SavedQuery] updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1DatasetDistribution( + typing_extensions.TypedDict, total=False +): + buckets: _list[GoogleCloudAiplatformV1DatasetDistributionDistributionBucket] + max: float + mean: float + median: float + min: float + p5: float + p95: float + sum: float + +@typing.type_check_only +class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket( + typing_extensions.TypedDict, total=False +): + count: str + left: float + right: float + @typing.type_check_only class GoogleCloudAiplatformV1DatasetVersion(typing_extensions.TypedDict, total=False): bigQueryDatasetName: str @@ -1488,6 +1579,8 @@ class GoogleCloudAiplatformV1DeployModelOperationMetadata( "STARTING_MODEL_SERVER", "FINISHING_UP", "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY", ] genericMetadata: GoogleCloudAiplatformV1GenericOperationMetadata @@ -1706,6 +1799,40 @@ class GoogleCloudAiplatformV1DynamicRetrievalConfig( dynamicThreshold: float mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] +@typing.type_check_only +class GoogleCloudAiplatformV1EmbedContentRequest( + typing_extensions.TypedDict, total=False +): + autoTruncate: bool + content: GoogleCloudAiplatformV1Content + outputDimensionality: int + taskType: typing_extensions.Literal[ + "UNSPECIFIED", + "RETRIEVAL_QUERY", + "RETRIEVAL_DOCUMENT", + "SEMANTIC_SIMILARITY", + "CLASSIFICATION", + "CLUSTERING", + "QUESTION_ANSWERING", + "FACT_VERIFICATION", + "CODE_RETRIEVAL_QUERY", + ] + title: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EmbedContentResponse( + typing_extensions.TypedDict, total=False +): + embedding: GoogleCloudAiplatformV1EmbedContentResponseEmbedding + truncated: bool + usageMetadata: GoogleCloudAiplatformV1UsageMetadata + +@typing.type_check_only +class GoogleCloudAiplatformV1EmbedContentResponseEmbedding( + typing_extensions.TypedDict, total=False +): + values: _list[float] + @typing.type_check_only class GoogleCloudAiplatformV1EncryptionSpec(typing_extensions.TypedDict, total=False): kmsKeyName: str @@ -1802,9 +1929,17 @@ class GoogleCloudAiplatformV1EvaluateDatasetRequest( ): autoraterConfig: GoogleCloudAiplatformV1AutoraterConfig dataset: GoogleCloudAiplatformV1EvaluationDataset + location: str metrics: _list[GoogleCloudAiplatformV1Metric] outputConfig: GoogleCloudAiplatformV1OutputConfig +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluateDatasetResponse( + typing_extensions.TypedDict, total=False +): + aggregationOutput: GoogleCloudAiplatformV1AggregationOutput + outputInfo: GoogleCloudAiplatformV1OutputInfo + @typing.type_check_only class GoogleCloudAiplatformV1EvaluateInstancesRequest( typing_extensions.TypedDict, total=False @@ -1818,6 +1953,7 @@ class GoogleCloudAiplatformV1EvaluateInstancesRequest( fulfillmentInput: GoogleCloudAiplatformV1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1GroundednessInput instance: GoogleCloudAiplatformV1EvaluationInstance + location: str metrics: _list[GoogleCloudAiplatformV1Metric] metricxInput: GoogleCloudAiplatformV1MetricxInput pairwiseMetricInput: GoogleCloudAiplatformV1PairwiseMetricInput @@ -1950,12 +2086,74 @@ class GoogleCloudAiplatformV1EvaluationDataset( class GoogleCloudAiplatformV1EvaluationInstance( typing_extensions.TypedDict, total=False ): + agentData: GoogleCloudAiplatformV1EvaluationInstanceAgentData + agentEvalData: GoogleCloudAiplatformV1EvaluationInstanceAgentData otherData: GoogleCloudAiplatformV1EvaluationInstanceMapInstance prompt: GoogleCloudAiplatformV1EvaluationInstanceInstanceData reference: GoogleCloudAiplatformV1EvaluationInstanceInstanceData response: GoogleCloudAiplatformV1EvaluationInstanceInstanceData rubricGroups: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig( + typing_extensions.TypedDict, total=False +): + agentId: str + agentType: str + description: str + developerInstruction: GoogleCloudAiplatformV1EvaluationInstanceInstanceData + subAgents: _list[str] + tools: GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools + toolsText: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools( + typing_extensions.TypedDict, total=False +): + tool: _list[GoogleCloudAiplatformV1Tool] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentData( + typing_extensions.TypedDict, total=False +): + agentConfig: GoogleCloudAiplatformV1EvaluationInstanceAgentConfig + agents: dict[str, typing.Any] + developerInstruction: GoogleCloudAiplatformV1EvaluationInstanceInstanceData + events: GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents + tools: GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools + toolsText: str + turns: _list[GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent( + typing_extensions.TypedDict, total=False +): + activeTools: _list[GoogleCloudAiplatformV1Tool] + author: str + content: GoogleCloudAiplatformV1Content + eventTime: str + stateDelta: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn( + typing_extensions.TypedDict, total=False +): + events: _list[GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent] + turnId: str + turnIndex: int + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents( + typing_extensions.TypedDict, total=False +): + event: _list[GoogleCloudAiplatformV1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools( + typing_extensions.TypedDict, total=False +): + tool: _list[GoogleCloudAiplatformV1Tool] + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationInstanceInstanceData( typing_extensions.TypedDict, total=False @@ -2112,13 +2310,26 @@ class GoogleCloudAiplatformV1EvaluationRunInferenceConfig( class GoogleCloudAiplatformV1EvaluationRunMetric( typing_extensions.TypedDict, total=False ): + computationBasedMetricSpec: ( + GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec + ) llmBasedMetricSpec: GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec metric: str + metricConfig: GoogleCloudAiplatformV1Metric predefinedMetricSpec: GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec rubricBasedMetricSpec: ( GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec ) +@typing.type_check_only +class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + parameters: dict[str, typing.Any] + type: typing_extensions.Literal[ + "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" + ] + @typing.type_check_only class GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec( typing_extensions.TypedDict, total=False @@ -2193,6 +2404,25 @@ class GoogleCloudAiplatformV1Event(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] type: typing_extensions.Literal["TYPE_UNSPECIFIED", "INPUT", "OUTPUT"] +@typing.type_check_only +class GoogleCloudAiplatformV1EventActions(typing_extensions.TypedDict, total=False): + artifactDelta: dict[str, typing.Any] + escalate: bool + requestedAuthConfigs: dict[str, typing.Any] + skipSummarization: bool + stateDelta: dict[str, typing.Any] + transferAgent: str + +@typing.type_check_only +class GoogleCloudAiplatformV1EventMetadata(typing_extensions.TypedDict, total=False): + branch: str + customMetadata: dict[str, typing.Any] + groundingMetadata: GoogleCloudAiplatformV1GroundingMetadata + interrupted: bool + longRunningToolIds: _list[str] + partial: bool + turnComplete: bool + @typing.type_check_only class GoogleCloudAiplatformV1ExactMatchInput(typing_extensions.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1ExactMatchInstance] @@ -2259,6 +2489,30 @@ class GoogleCloudAiplatformV1ExecutableCode(typing_extensions.TypedDict, total=F code: str language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteCodeRequest( + typing_extensions.TypedDict, total=False +): + inputs: _list[GoogleCloudAiplatformV1Chunk] + +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteCodeResponse( + typing_extensions.TypedDict, total=False +): + outputs: _list[GoogleCloudAiplatformV1Chunk] + +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest( + typing_extensions.TypedDict, total=False +): + inputs: _list[GoogleCloudAiplatformV1Chunk] + +@typing.type_check_only +class GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse( + typing_extensions.TypedDict, total=False +): + outputs: _list[GoogleCloudAiplatformV1Chunk] + @typing.type_check_only class GoogleCloudAiplatformV1Execution(typing_extensions.TypedDict, total=False): createTime: str @@ -2693,6 +2947,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable( autoScaling: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling bigtableMetadata: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata enableDirectBigtableAccess: bool + zone: str @typing.type_check_only class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling( @@ -3172,6 +3427,8 @@ class GoogleCloudAiplatformV1FulfillmentSpec(typing_extensions.TypedDict, total= class GoogleCloudAiplatformV1FunctionCall(typing_extensions.TypedDict, total=False): args: dict[str, typing.Any] name: str + partialArgs: _list[GoogleCloudAiplatformV1PartialArg] + willContinue: bool @typing.type_check_only class GoogleCloudAiplatformV1FunctionCallingConfig( @@ -3179,6 +3436,7 @@ class GoogleCloudAiplatformV1FunctionCallingConfig( ): allowedFunctionNames: _list[str] mode: typing_extensions.Literal["MODE_UNSPECIFIED", "AUTO", "ANY", "NONE"] + streamFunctionCallArguments: bool @typing.type_check_only class GoogleCloudAiplatformV1FunctionDeclaration( @@ -3194,8 +3452,32 @@ class GoogleCloudAiplatformV1FunctionDeclaration( @typing.type_check_only class GoogleCloudAiplatformV1FunctionResponse(typing_extensions.TypedDict, total=False): name: str + parts: _list[GoogleCloudAiplatformV1FunctionResponsePart] response: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudAiplatformV1FunctionResponseBlob( + typing_extensions.TypedDict, total=False +): + data: str + displayName: str + mimeType: str + +@typing.type_check_only +class GoogleCloudAiplatformV1FunctionResponseFileData( + typing_extensions.TypedDict, total=False +): + displayName: str + fileUri: str + mimeType: str + +@typing.type_check_only +class GoogleCloudAiplatformV1FunctionResponsePart( + typing_extensions.TypedDict, total=False +): + fileData: GoogleCloudAiplatformV1FunctionResponseFileData + inlineData: GoogleCloudAiplatformV1FunctionResponseBlob + @typing.type_check_only class GoogleCloudAiplatformV1GcsDestination(typing_extensions.TypedDict, total=False): outputUriPrefix: str @@ -3208,6 +3490,20 @@ class GoogleCloudAiplatformV1GcsSource(typing_extensions.TypedDict, total=False) class GoogleCloudAiplatformV1GdcConfig(typing_extensions.TypedDict, total=False): zone: str +@typing.type_check_only +class GoogleCloudAiplatformV1GeminiPreferenceExample( + typing_extensions.TypedDict, total=False +): + completions: _list[GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion] + contents: _list[GoogleCloudAiplatformV1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion( + typing_extensions.TypedDict, total=False +): + completion: GoogleCloudAiplatformV1Content + score: float + @typing.type_check_only class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig( typing_extensions.TypedDict, total=False @@ -3277,7 +3573,11 @@ class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] totalTokenCount: int trafficType: typing_extensions.Literal[ - "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "ON_DEMAND_PRIORITY", + "ON_DEMAND_FLEX", + "PROVISIONED_THROUGHPUT", ] @typing.type_check_only @@ -3296,7 +3596,9 @@ class GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse( class GoogleCloudAiplatformV1GenerateInstanceRubricsRequest( typing_extensions.TypedDict, total=False ): + agentConfig: GoogleCloudAiplatformV1EvaluationInstanceAgentConfig contents: _list[GoogleCloudAiplatformV1Content] + location: str predefinedRubricGenerationSpec: GoogleCloudAiplatformV1PredefinedMetricSpec rubricGenerationSpec: GoogleCloudAiplatformV1RubricGenerationSpec @@ -3306,6 +3608,70 @@ class GoogleCloudAiplatformV1GenerateInstanceRubricsResponse( ): generatedRubrics: _list[GoogleCloudAiplatformV1Rubric] +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequest( + typing_extensions.TypedDict, total=False +): + directContentsSource: ( + GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource + ) + directMemoriesSource: ( + GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource + ) + disableConsolidation: bool + disableMemoryRevisions: bool + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing_extensions.Literal[ + "METADATA_MERGE_STRATEGY_UNSPECIFIED", + "OVERWRITE", + "MERGE", + "REQUIRE_EXACT_MATCH", + ] + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str + scope: dict[str, typing.Any] + vertexSessionSource: ( + GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource( + typing_extensions.TypedDict, total=False +): + events: _list[ + GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1Content + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource( + typing_extensions.TypedDict, total=False +): + directMemories: _list[ + GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory( + typing_extensions.TypedDict, total=False +): + fact: str + topics: _list[GoogleCloudAiplatformV1MemoryTopicId] + +@typing.type_check_only +class GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource( + typing_extensions.TypedDict, total=False +): + endTime: str + session: str + startTime: str + @typing.type_check_only class GoogleCloudAiplatformV1GenerateSyntheticDataRequest( typing_extensions.TypedDict, total=False @@ -3397,6 +3763,9 @@ class GoogleCloudAiplatformV1GenerationConfigThinkingConfig( ): includeThoughts: bool thinkingBudget: int + thinkingLevel: typing_extensions.Literal[ + "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" + ] @typing.type_check_only class GoogleCloudAiplatformV1GenericOperationMetadata( @@ -3579,6 +3948,18 @@ class GoogleCloudAiplatformV1IdMatcher(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudAiplatformV1ImageConfig(typing_extensions.TypedDict, total=False): aspectRatio: str + imageOutputOptions: GoogleCloudAiplatformV1ImageConfigImageOutputOptions + imageSize: str + personGeneration: typing_extensions.Literal[ + "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1ImageConfigImageOutputOptions( + typing_extensions.TypedDict, total=False +): + compressionQuality: int + mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1ImportDataConfig(typing_extensions.TypedDict, total=False): @@ -3806,6 +4187,12 @@ class GoogleCloudAiplatformV1IntegratedGradientsAttribution( smoothGradConfig: GoogleCloudAiplatformV1SmoothGradConfig stepCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1IntermediateExtractedMemory( + typing_extensions.TypedDict, total=False +): + fact: str + @typing.type_check_only class GoogleCloudAiplatformV1InvokeRequest(typing_extensions.TypedDict, total=False): deployedModelId: str @@ -3961,6 +4348,13 @@ class GoogleCloudAiplatformV1ListEvaluationSetsResponse( evaluationSets: _list[GoogleCloudAiplatformV1EvaluationSet] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1ListEventsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sessionEvents: _list[GoogleCloudAiplatformV1SessionEvent] + @typing.type_check_only class GoogleCloudAiplatformV1ListExecutionsResponse( typing_extensions.TypedDict, total=False @@ -4031,6 +4425,20 @@ class GoogleCloudAiplatformV1ListIndexesResponse( indexes: _list[GoogleCloudAiplatformV1Index] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1ListMemoriesResponse( + typing_extensions.TypedDict, total=False +): + memories: _list[GoogleCloudAiplatformV1Memory] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ListMemoryRevisionsResponse( + typing_extensions.TypedDict, total=False +): + memoryRevisions: _list[GoogleCloudAiplatformV1MemoryRevision] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1ListMetadataSchemasResponse( typing_extensions.TypedDict, total=False @@ -4170,6 +4578,13 @@ class GoogleCloudAiplatformV1ListReasoningEnginesResponse( nextPageToken: str reasoningEngines: _list[GoogleCloudAiplatformV1ReasoningEngine] +@typing.type_check_only +class GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sandboxEnvironments: _list[GoogleCloudAiplatformV1SandboxEnvironment] + @typing.type_check_only class GoogleCloudAiplatformV1ListSavedQueriesResponse( typing_extensions.TypedDict, total=False @@ -4184,6 +4599,13 @@ class GoogleCloudAiplatformV1ListSchedulesResponse( nextPageToken: str schedules: _list[GoogleCloudAiplatformV1Schedule] +@typing.type_check_only +class GoogleCloudAiplatformV1ListSessionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + sessions: _list[GoogleCloudAiplatformV1Session] + @typing.type_check_only class GoogleCloudAiplatformV1ListSpecialistPoolsResponse( typing_extensions.TypedDict, total=False @@ -4303,6 +4725,7 @@ class GoogleCloudAiplatformV1MachineSpec(typing_extensions.TypedDict, total=Fals "TPU_V4_POD", "TPU_V5_LITEPOD", ] + gpuPartitionSize: str machineType: str reservationAffinity: GoogleCloudAiplatformV1ReservationAffinity tpuTopology: str @@ -4320,11 +4743,142 @@ class GoogleCloudAiplatformV1Measurement(typing_extensions.TypedDict, total=Fals stepCount: str @typing.type_check_only -class GoogleCloudAiplatformV1MeasurementMetric( - typing_extensions.TypedDict, total=False -): - metricId: str - value: float +class GoogleCloudAiplatformV1MeasurementMetric( + typing_extensions.TypedDict, total=False +): + metricId: str + value: float + +@typing.type_check_only +class GoogleCloudAiplatformV1Memory(typing_extensions.TypedDict, total=False): + createTime: str + description: str + disableMemoryRevisions: bool + displayName: str + expireTime: str + fact: str + metadata: dict[str, typing.Any] + name: str + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str + scope: dict[str, typing.Any] + topics: _list[GoogleCloudAiplatformV1MemoryTopicId] + ttl: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfig( + typing_extensions.TypedDict, total=False +): + enableThirdPersonMemories: bool + generateMemoriesExamples: _list[ + GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample + ] + memoryTopics: _list[GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic] + scopeKeys: _list[str] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample( + typing_extensions.TypedDict, total=False +): + conversationSource: GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource + generatedMemories: _list[ + GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSource( + typing_extensions.TypedDict, total=False +): + events: _list[ + GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleConversationSourceEvent( + typing_extensions.TypedDict, total=False +): + content: GoogleCloudAiplatformV1Content + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExampleGeneratedMemory( + typing_extensions.TypedDict, total=False +): + fact: str + topics: _list[GoogleCloudAiplatformV1MemoryTopicId] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopic( + typing_extensions.TypedDict, total=False +): + customMemoryTopic: ( + GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic + ) + managedMemoryTopic: GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic( + typing_extensions.TypedDict, total=False +): + description: str + label: str + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic( + typing_extensions.TypedDict, total=False +): + managedTopicEnum: typing_extensions.Literal[ + "MANAGED_TOPIC_ENUM_UNSPECIFIED", + "USER_PERSONAL_INFO", + "USER_PREFERENCES", + "KEY_CONVERSATION_DETAILS", + "EXPLICIT_INSTRUCTIONS", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryConjunctionFilter( + typing_extensions.TypedDict, total=False +): + filters: _list[GoogleCloudAiplatformV1MemoryFilter] + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryFilter(typing_extensions.TypedDict, total=False): + key: str + negate: bool + op: typing_extensions.Literal[ + "OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN" + ] + value: GoogleCloudAiplatformV1MemoryMetadataValue + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryMetadataValue( + typing_extensions.TypedDict, total=False +): + boolValue: bool + doubleValue: float + stringValue: str + timestampValue: str + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryRevision(typing_extensions.TypedDict, total=False): + createTime: str + expireTime: str + extractedMemories: _list[GoogleCloudAiplatformV1IntermediateExtractedMemory] + fact: str + labels: dict[str, typing.Any] + name: str + +@typing.type_check_only +class GoogleCloudAiplatformV1MemoryTopicId(typing_extensions.TypedDict, total=False): + customMemoryTopicLabel: str + managedMemoryTopic: typing_extensions.Literal[ + "MANAGED_TOPIC_ENUM_UNSPECIFIED", + "USER_PERSONAL_INFO", + "USER_PREFERENCES", + "KEY_CONVERSATION_DETAILS", + "EXPLICIT_INSTRUCTIONS", + ] @typing.type_check_only class GoogleCloudAiplatformV1MergeVersionAliasesRequest( @@ -4332,6 +4886,10 @@ class GoogleCloudAiplatformV1MergeVersionAliasesRequest( ): versionAliases: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1Metadata(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1MetadataSchema(typing_extensions.TypedDict, total=False): createTime: str @@ -4386,6 +4944,8 @@ class GoogleCloudAiplatformV1Metric(typing_extensions.TypedDict, total=False): ] ] bleuSpec: GoogleCloudAiplatformV1BleuSpec + computationBasedMetricSpec: GoogleCloudAiplatformV1ComputationBasedMetricSpec + customCodeExecutionSpec: GoogleCloudAiplatformV1CustomCodeExecutionSpec exactMatchSpec: GoogleCloudAiplatformV1ExactMatchSpec llmBasedMetricSpec: GoogleCloudAiplatformV1LLMBasedMetricSpec pairwiseMetricSpec: GoogleCloudAiplatformV1PairwiseMetricSpec @@ -5410,6 +5970,10 @@ class GoogleCloudAiplatformV1OutputFieldSpec(typing_extensions.TypedDict, total= ] guidance: str +@typing.type_check_only +class GoogleCloudAiplatformV1OutputInfo(typing_extensions.TypedDict, total=False): + gcsOutputDirectory: str + @typing.type_check_only class GoogleCloudAiplatformV1PSCAutomationConfig( typing_extensions.TypedDict, total=False @@ -5535,11 +6099,33 @@ class GoogleCloudAiplatformV1Part(typing_extensions.TypedDict, total=False): functionCall: GoogleCloudAiplatformV1FunctionCall functionResponse: GoogleCloudAiplatformV1FunctionResponse inlineData: GoogleCloudAiplatformV1Blob + mediaResolution: GoogleCloudAiplatformV1PartMediaResolution text: str thought: bool thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1VideoMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1PartMediaResolution( + typing_extensions.TypedDict, total=False +): + level: typing_extensions.Literal[ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH", + "MEDIA_RESOLUTION_ULTRA_HIGH", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1PartialArg(typing_extensions.TypedDict, total=False): + boolValue: bool + jsonPath: str + nullValue: typing_extensions.Literal["NULL_VALUE"] + numberValue: float + stringValue: str + willContinue: bool + @typing.type_check_only class GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest( typing_extensions.TypedDict, total=False @@ -5815,6 +6401,7 @@ class GoogleCloudAiplatformV1PredictLongRunningRequest( @typing.type_check_only class GoogleCloudAiplatformV1PredictRequest(typing_extensions.TypedDict, total=False): instances: _list[typing.Any] + labels: dict[str, typing.Any] parameters: typing.Any @typing.type_check_only @@ -5840,6 +6427,47 @@ class GoogleCloudAiplatformV1PredictSchemata(typing_extensions.TypedDict, total= parametersSchemaUri: str predictionSchemaUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1PreferenceOptimizationDataStats( + typing_extensions.TypedDict, total=False +): + droppedExampleIndices: _list[str] + droppedExampleReasons: _list[str] + scoreVariancePerExampleDistribution: GoogleCloudAiplatformV1DatasetDistribution + scoresDistribution: GoogleCloudAiplatformV1DatasetDistribution + totalBillableTokenCount: str + tuningDatasetExampleCount: str + tuningStepCount: str + userDatasetExamples: _list[GoogleCloudAiplatformV1GeminiPreferenceExample] + userInputTokenDistribution: GoogleCloudAiplatformV1DatasetDistribution + userOutputTokenDistribution: GoogleCloudAiplatformV1DatasetDistribution + +@typing.type_check_only +class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters( + typing_extensions.TypedDict, total=False +): + adapterSize: typing_extensions.Literal[ + "ADAPTER_SIZE_UNSPECIFIED", + "ADAPTER_SIZE_ONE", + "ADAPTER_SIZE_TWO", + "ADAPTER_SIZE_FOUR", + "ADAPTER_SIZE_EIGHT", + "ADAPTER_SIZE_SIXTEEN", + "ADAPTER_SIZE_THIRTY_TWO", + ] + beta: float + epochCount: str + learningRateMultiplier: float + +@typing.type_check_only +class GoogleCloudAiplatformV1PreferenceOptimizationSpec( + typing_extensions.TypedDict, total=False +): + exportLastCheckpointOnly: bool + hyperParameters: GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters + trainingDatasetUri: str + validationDatasetUri: str + @typing.type_check_only class GoogleCloudAiplatformV1Presets(typing_extensions.TypedDict, total=False): modality: typing_extensions.Literal[ @@ -6133,6 +6761,14 @@ class GoogleCloudAiplatformV1PurgeExecutionsResponse( purgeCount: str purgeSample: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1PurgeMemoriesRequest( + typing_extensions.TypedDict, total=False +): + filter: str + filterGroups: _list[GoogleCloudAiplatformV1MemoryConjunctionFilter] + force: bool + @typing.type_check_only class GoogleCloudAiplatformV1PythonPackageSpec( typing_extensions.TypedDict, total=False @@ -6322,6 +6958,8 @@ class GoogleCloudAiplatformV1RagCorpus(typing_extensions.TypedDict, total=False) displayName: str encryptionSpec: GoogleCloudAiplatformV1EncryptionSpec name: str + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str vectorDbConfig: GoogleCloudAiplatformV1RagVectorDbConfig vertexAiSearchConfig: GoogleCloudAiplatformV1VertexAiSearchConfig @@ -6410,6 +7048,8 @@ class GoogleCloudAiplatformV1RagManagedDbConfig( ): basic: GoogleCloudAiplatformV1RagManagedDbConfigBasic scaled: GoogleCloudAiplatformV1RagManagedDbConfigScaled + serverless: GoogleCloudAiplatformV1RagManagedDbConfigServerless + spanner: GoogleCloudAiplatformV1RagManagedDbConfigSpanner unprovisioned: GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned @typing.type_check_only @@ -6422,6 +7062,19 @@ class GoogleCloudAiplatformV1RagManagedDbConfigScaled( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfigServerless( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1RagManagedDbConfigSpanner( + typing_extensions.TypedDict, total=False +): + basic: GoogleCloudAiplatformV1RagManagedDbConfigBasic + scaled: GoogleCloudAiplatformV1RagManagedDbConfigScaled + unprovisioned: GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned + @typing.type_check_only class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned( typing_extensions.TypedDict, total=False @@ -6632,6 +7285,7 @@ class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData( @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total=False): + contextSpec: GoogleCloudAiplatformV1ReasoningEngineContextSpec createTime: str description: str displayName: str @@ -6642,6 +7296,52 @@ class GoogleCloudAiplatformV1ReasoningEngine(typing_extensions.TypedDict, total= spec: GoogleCloudAiplatformV1ReasoningEngineSpec updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpec( + typing_extensions.TypedDict, total=False +): + memoryBankConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfig( + typing_extensions.TypedDict, total=False +): + customizationConfigs: _list[GoogleCloudAiplatformV1MemoryBankCustomizationConfig] + disableMemoryRevisions: bool + generationConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig + similaritySearchConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig + ttlConfig: ( + GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig( + typing_extensions.TypedDict, total=False +): + model: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig( + typing_extensions.TypedDict, total=False +): + embeddingModel: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfig( + typing_extensions.TypedDict, total=False +): + defaultTtl: str + granularTtlConfig: GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig + memoryRevisionDefaultTtl: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig( + typing_extensions.TypedDict, total=False +): + createTtl: str + generateCreatedTtl: str + generateUpdatedTtl: str + @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpec( typing_extensions.TypedDict, total=False @@ -6649,8 +7349,13 @@ class GoogleCloudAiplatformV1ReasoningEngineSpec( agentFramework: str classMethods: _list[dict[str, typing.Any]] deploymentSpec: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec + effectiveIdentity: str + identityType: typing_extensions.Literal[ + "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "AGENT_IDENTITY" + ] packageSpec: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec serviceAccount: str + sourceCodeSpec: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec @typing.type_check_only class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec( @@ -6673,6 +7378,47 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec( pythonVersion: str requirementsGcsUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec( + typing_extensions.TypedDict, total=False +): + developerConnectSource: ( + GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource + ) + inlineSource: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource + pythonSpec: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig( + typing_extensions.TypedDict, total=False +): + dir: str + gitRepositoryLink: str + revision: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource( + typing_extensions.TypedDict, total=False +): + config: ( + GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource( + typing_extensions.TypedDict, total=False +): + sourceArchive: str + +@typing.type_check_only +class GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec( + typing_extensions.TypedDict, total=False +): + entrypointModule: str + entrypointObject: str + requirementsFile: str + version: str + @typing.type_check_only class GoogleCloudAiplatformV1RebaseTunedModelRequest( typing_extensions.TypedDict, total=False @@ -6716,6 +7462,13 @@ class GoogleCloudAiplatformV1RemoveDatapointsResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1ReplicatedVoiceConfig( + typing_extensions.TypedDict, total=False +): + mimeType: str + voiceSampleAudio: str + @typing.type_check_only class GoogleCloudAiplatformV1ReservationAffinity( typing_extensions.TypedDict, total=False @@ -6823,6 +7576,56 @@ class GoogleCloudAiplatformV1RetrieveContextsResponse( ): contexts: GoogleCloudAiplatformV1RagContexts +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesRequest( + typing_extensions.TypedDict, total=False +): + filter: str + filterGroups: _list[GoogleCloudAiplatformV1MemoryConjunctionFilter] + scope: dict[str, typing.Any] + similaritySearchParams: ( + GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams + ) + simpleRetrievalParams: ( + GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams( + typing_extensions.TypedDict, total=False +): + searchQuery: str + topK: int + +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams( + typing_extensions.TypedDict, total=False +): + pageSize: int + pageToken: str + +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + retrievedMemories: _list[ + GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory( + typing_extensions.TypedDict, total=False +): + distance: float + memory: GoogleCloudAiplatformV1Memory + +@typing.type_check_only +class GoogleCloudAiplatformV1RollbackMemoryRequest( + typing_extensions.TypedDict, total=False +): + targetRevisionId: str + @typing.type_check_only class GoogleCloudAiplatformV1RougeInput(typing_extensions.TypedDict, total=False): instances: _list[GoogleCloudAiplatformV1RougeInstance] @@ -7031,6 +7834,54 @@ class GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig( ): sampleRate: float +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironment( + typing_extensions.TypedDict, total=False +): + connectionInfo: GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo + createTime: str + displayName: str + expireTime: str + name: str + spec: GoogleCloudAiplatformV1SandboxEnvironmentSpec + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "STATE_PROVISIONING", + "STATE_RUNNING", + "STATE_DEPROVISIONING", + "STATE_TERMINATED", + "STATE_DELETED", + ] + ttl: str + updateTime: str + +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo( + typing_extensions.TypedDict, total=False +): + loadBalancerHostname: str + loadBalancerIp: str + sandboxInternalIp: str + +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironmentSpec( + typing_extensions.TypedDict, total=False +): + codeExecutionEnvironment: ( + GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment + ) + +@typing.type_check_only +class GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment( + typing_extensions.TypedDict, total=False +): + codeLanguage: typing_extensions.Literal[ + "LANGUAGE_UNSPECIFIED", "LANGUAGE_PYTHON", "LANGUAGE_JAVASCRIPT" + ] + machineConfig: typing_extensions.Literal[ + "MACHINE_CONFIG_UNSPECIFIED", "MACHINE_CONFIG_VCPU4_RAM4GIB" + ] + @typing.type_check_only class GoogleCloudAiplatformV1SavedQuery(typing_extensions.TypedDict, total=False): annotationFilter: str @@ -7787,6 +8638,24 @@ class GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue( ): partList: GoogleCloudAiplatformV1SchemaPromptSpecPartList +@typing.type_check_only +class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData( + typing_extensions.TypedDict, total=False +): + codeRepositoryState: str + framework: typing_extensions.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] + linkedResources: _list[ + GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource( + typing_extensions.TypedDict, total=False +): + displayName: str + name: str + type: str + @typing.type_check_only class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt( typing_extensions.TypedDict, total=False @@ -7830,6 +8699,7 @@ class GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList( class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt( typing_extensions.TypedDict, total=False ): + appBuilderData: GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData context: GoogleCloudAiplatformV1Content examples: _list[GoogleCloudAiplatformV1SchemaPromptSpecPartList] infillPrefix: str @@ -8837,6 +9707,30 @@ class GoogleCloudAiplatformV1ServiceAccountSpec( enableCustomServiceAccount: bool serviceAccount: str +@typing.type_check_only +class GoogleCloudAiplatformV1Session(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + expireTime: str + labels: dict[str, typing.Any] + name: str + sessionState: dict[str, typing.Any] + ttl: str + updateTime: str + userId: str + +@typing.type_check_only +class GoogleCloudAiplatformV1SessionEvent(typing_extensions.TypedDict, total=False): + actions: GoogleCloudAiplatformV1EventActions + author: str + content: GoogleCloudAiplatformV1Content + errorCode: str + errorMessage: str + eventMetadata: GoogleCloudAiplatformV1EventMetadata + invocationId: str + name: str + timestamp: str + @typing.type_check_only class GoogleCloudAiplatformV1SharePointSources( typing_extensions.TypedDict, total=False @@ -9556,11 +10450,13 @@ class GoogleCloudAiplatformV1TokensInfo(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudAiplatformV1Tool(typing_extensions.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1ToolCodeExecution + computerUse: GoogleCloudAiplatformV1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1EnterpriseWebSearch functionDeclarations: _list[GoogleCloudAiplatformV1FunctionDeclaration] googleMaps: GoogleCloudAiplatformV1GoogleMaps googleSearch: GoogleCloudAiplatformV1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1GoogleSearchRetrieval + parallelAiSearch: GoogleCloudAiplatformV1ToolParallelAiSearch retrieval: GoogleCloudAiplatformV1Retrieval urlContext: GoogleCloudAiplatformV1UrlContext @@ -9605,6 +10501,13 @@ class GoogleCloudAiplatformV1ToolCodeExecution( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1ToolComputerUse(typing_extensions.TypedDict, total=False): + environment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER" + ] + excludedPredefinedFunctions: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1ToolConfig(typing_extensions.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1FunctionCallingConfig @@ -9654,6 +10557,13 @@ class GoogleCloudAiplatformV1ToolNameMatchSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1ToolParallelAiSearch( + typing_extensions.TypedDict, total=False +): + apiKey: str + customConfigs: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1ToolParameterKVMatchInput( typing_extensions.TypedDict, total=False @@ -10012,6 +10922,9 @@ class GoogleCloudAiplatformV1TunedModelRef(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudAiplatformV1TuningDataStats(typing_extensions.TypedDict, total=False): + preferenceOptimizationDataStats: ( + GoogleCloudAiplatformV1PreferenceOptimizationDataStats + ) supervisedTuningDataStats: GoogleCloudAiplatformV1SupervisedTuningDataStats @typing.type_check_only @@ -10026,6 +10939,7 @@ class GoogleCloudAiplatformV1TuningJob(typing_extensions.TypedDict, total=False) labels: dict[str, typing.Any] name: str preTunedModel: GoogleCloudAiplatformV1PreTunedModel + preferenceOptimizationSpec: GoogleCloudAiplatformV1PreferenceOptimizationSpec serviceAccount: str startTime: str state: typing_extensions.Literal[ @@ -10269,6 +11183,26 @@ class GoogleCloudAiplatformV1UrlMetadata(typing_extensions.TypedDict, total=Fals "URL_RETRIEVAL_STATUS_ERROR", ] +@typing.type_check_only +class GoogleCloudAiplatformV1UsageMetadata(typing_extensions.TypedDict, total=False): + cacheTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] + cachedContentTokenCount: int + candidatesTokenCount: int + candidatesTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] + promptTokenCount: int + promptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] + thoughtsTokenCount: int + toolUsePromptTokenCount: int + toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1ModalityTokenCount] + totalTokenCount: int + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "ON_DEMAND_PRIORITY", + "ON_DEMAND_FLEX", + "PROVISIONED_THROUGHPUT", + ] + @typing.type_check_only class GoogleCloudAiplatformV1UserActionReference( typing_extensions.TypedDict, total=False @@ -10304,6 +11238,19 @@ class GoogleCloudAiplatformV1VertexAiSearchConfig( ): servingConfig: str +@typing.type_check_only +class GoogleCloudAiplatformV1VertexMultimodalDatasetDestination( + typing_extensions.TypedDict, total=False +): + bigqueryDestination: GoogleCloudAiplatformV1BigQueryDestination + displayName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1VertexMultimodalDatasetSource( + typing_extensions.TypedDict, total=False +): + datasetName: str + @typing.type_check_only class GoogleCloudAiplatformV1VertexRagStore(typing_extensions.TypedDict, total=False): ragResources: _list[GoogleCloudAiplatformV1VertexRagStoreRagResource] @@ -10327,6 +11274,7 @@ class GoogleCloudAiplatformV1VideoMetadata(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudAiplatformV1VoiceConfig(typing_extensions.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1PrebuiltVoiceConfig + replicatedVoiceConfig: GoogleCloudAiplatformV1ReplicatedVoiceConfig @typing.type_check_only class GoogleCloudAiplatformV1WorkerPoolSpec(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi index a0ac84be7..46935856f 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/resources.pyi @@ -13,6 +13,74 @@ _list = list @typing.type_check_only class AiplatformResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class AppsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class BatchPredictionJobsResource(googleapiclient.discovery.Resource): def create( @@ -44,8 +112,179 @@ class AiplatformResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class CustomJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DataLabelingJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationSpecsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class DataItemsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def annotations(self) -> AnnotationsResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only class DatasetVersionsResource(googleapiclient.discovery.Resource): def create( @@ -92,6 +331,70 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SavedQueriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + def create( self, *, @@ -129,21 +432,123 @@ class AiplatformResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... + def annotationSpecs(self) -> AnnotationSpecsResource: ... + def dataItems(self) -> DataItemsResource: ... def datasetVersions(self) -> DatasetVersionsResource: ... + def operations(self) -> OperationsResource: ... + def savedQueries(self) -> SavedQueriesResource: ... @typing.type_check_only - class EndpointsResource(googleapiclient.discovery.Resource): + class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ChatResource(googleapiclient.discovery.Resource): - def completions( + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleApiHttpBody = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def computeTokens( + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EdgeDevicesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChatResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def computeTokens( self, *, endpoint: str, @@ -193,245 +598,398 @@ class AiplatformResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... def chat(self) -> ChatResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only - class MediaResource(googleapiclient.discovery.Resource): - def upload( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1UploadRagFileRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1UploadRagFileResponseHttpRequest: ... + class EvaluationItemsResource(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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... @typing.type_check_only - class ProjectsResource(googleapiclient.discovery.Resource): + class EvaluationRunsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AgentsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class AppsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class EvaluationSetsResource(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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class BatchPredictionJobsResource(googleapiclient.discovery.Resource): - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchPredictionJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest - | None - ): ... + @typing.type_check_only + class EvaluationTasksResource(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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class CachedContentsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1CachedContent = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... - def list( - self, - *, - parent: str, + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ExampleStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ExtensionControllersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ExtensionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class FeatureGroupsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeatureMonitorsResource(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, - ) -> ( - GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListCachedContentsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CachedContent = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class CustomJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - def cancel( + @typing.type_check_only + class FeaturesResource(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, - body: GoogleCloudAiplatformV1beta1CancelCustomJobRequest = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1CustomJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CustomJobHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def featureMonitors(self) -> FeatureMonitorsResource: ... + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeatureViewsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1CustomJobHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListCustomJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest | None - ): ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def featureViews(self) -> FeatureViewsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class FeaturestoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EntityTypesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class DataLabelingJobsResource(googleapiclient.discovery.Resource): + class FeaturesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -462,542 +1020,709 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - body: GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def entityTypes(self) -> EntityTypesResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class IndexEndpointsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class IndexesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MediaResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1UploadRagFileRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1UploadRagFileResponseHttpRequest: ... + + @typing.type_check_only + class MetadataStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ArtifactsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1DataLabelingJob = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1DataLabelingJobHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ContextsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1DataLabelingJobHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ExecutionsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class DatasetsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationSpecsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1AnnotationSpecHttpRequest: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class DataItemsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnnotationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListAnnotationsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + def artifacts(self) -> ArtifactsResource: ... + def contexts(self) -> ContextsResource: ... + def executions(self) -> ExecutionsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class MigratableResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListDataItemsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest - | None - ): ... - def annotations(self) -> AnnotationsResource: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class DatasetVersionsResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... - def restore( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class ModelDeploymentMonitoringJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class SavedQueriesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSavedQueriesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ModelMonitorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def assemble( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1AssembleDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def assess( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1AssessDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Dataset = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def export( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ExportDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, readMask: str = ..., **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... - def import_( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ImportDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListDatasetsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Dataset = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... - def searchDataItems( - self, - *, - dataset: str, - annotationFilters: str | _list[str] = ..., - annotationsFilter: str = ..., - annotationsLimit: int = ..., - dataItemFilter: str = ..., - dataLabelingJob: str = ..., - fieldMask: str = ..., - orderBy: str = ..., - orderByAnnotation_orderBy: str = ..., - orderByAnnotation_savedQuery: str = ..., - orderByDataItem: str = ..., - pageSize: int = ..., - pageToken: str = ..., - savedQuery: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest: ... - def searchDataItems_next( - self, - previous_request: GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchDataItemsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest - | None - ): ... - def annotationSpecs(self) -> AnnotationSpecsResource: ... - def dataItems(self) -> DataItemsResource: ... - def datasetVersions(self) -> DatasetVersionsResource: ... - def operations(self) -> OperationsResource: ... - def savedQueries(self) -> SavedQueriesResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EvaluationsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1CreateDeploymentResourcePoolRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1DeploymentResourcePoolHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1DeploymentResourcePool = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def queryDeployedModels( - self, - *, - deploymentResourcePool: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest - ): ... - def queryDeployedModels_next( - self, - previous_request: GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - @typing.type_check_only - class EdgeDevicesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def evaluations(self) -> EvaluationsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NotebookRuntimesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + filter: str = ..., + name: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class PersistentResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class PipelineJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any @@ -1024,55 +1749,7 @@ class AiplatformResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... @typing.type_check_only - class EndpointsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ChatResource(googleapiclient.discovery.Resource): - def completions( - self, - *, - endpoint: str, - body: GoogleApiHttpBody = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - @typing.type_check_only - class DeployedModelsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class InvokeResource(googleapiclient.discovery.Resource): - def invoke( - self, - *, - endpoint: str, - deployedModelId: str, - invokeId: str, - body: GoogleCloudAiplatformV1beta1InvokeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - def invoke(self) -> InvokeResource: ... - - @typing.type_check_only - class InvokeResource(googleapiclient.discovery.Resource): - def invoke( - self, - *, - endpoint: str, - invokeId: str, - body: GoogleCloudAiplatformV1beta1InvokeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - @typing.type_check_only - class OpenapiResource(googleapiclient.discovery.Resource): - def embeddings( - self, - *, - endpoint: str, - body: GoogleApiHttpBody = ..., - deployedModelId: str = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - + class AppsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1103,200 +1780,98 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def computeTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... - def countTokens( + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class BatchPredictionJobsResource(googleapiclient.discovery.Resource): + def cancel( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Endpoint = ..., - endpointId: str = ..., + body: GoogleCloudAiplatformV1beta1BatchPredictionJob = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def deployModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1DeployModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def directPredict( + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1BatchPredictionJobHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1DirectPredictRequest = ..., + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1DirectPredictResponseHttpRequest: ... - def directRawPredict( + ) -> GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest: ... + def list_next( self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1DirectRawPredictRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse, ) -> ( - GoogleCloudAiplatformV1beta1DirectRawPredictResponseHttpRequest + GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponseHttpRequest + | None ): ... - def explain( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1ExplainRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExplainResponseHttpRequest: ... - def fetchPredictOperation( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def generateContent( + + @typing.type_check_only + class CachedContentsResource(googleapiclient.discovery.Resource): + def create( self, *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1CachedContent = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1EndpointHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... def list( self, *, parent: str, - filter: str = ..., - gdcZone: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEndpointsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListCachedContentsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListCachedContentsResponseHttpRequest + | None ): ... - def mutateDeployedModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1MutateDeployedModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Endpoint = ..., + body: GoogleCloudAiplatformV1beta1CachedContent = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EndpointHttpRequest: ... - def predict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... - def predictLongRunning( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def rawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1RawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def serverStreamingPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1StreamingPredictRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1StreamingPredictResponseHttpRequest - ): ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def streamGenerateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... - def streamRawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def undeployModel( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1UndeployModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def update( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1UpdateEndpointLongRunningRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def chat(self) -> ChatResource: ... - def deployedModels(self) -> DeployedModelsResource: ... - def invoke(self) -> InvokeResource: ... - def openapi(self) -> OpenapiResource: ... - def operations(self) -> OperationsResource: ... + ) -> GoogleCloudAiplatformV1beta1CachedContentHttpRequest: ... @typing.type_check_only - class EvaluationItemsResource(googleapiclient.discovery.Resource): + class CustomJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -1322,45 +1897,52 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelCustomJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1EvaluationItem = ..., + body: GoogleCloudAiplatformV1beta1CustomJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EvaluationItemHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1CustomJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1EvaluationItemHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1CustomJobHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListCustomJobsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1ListCustomJobsResponseHttpRequest | None ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class EvaluationRunsResource(googleapiclient.discovery.Resource): + class DataLabelingJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -1390,22 +1972,22 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, - body: GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest = ..., + body: GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest = ..., **kwargs: typing.Any, ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1EvaluationRun = ..., + body: GoogleCloudAiplatformV1beta1DataLabelingJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EvaluationRunHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1DataLabelingJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1EvaluationRunHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1DataLabelingJobHttpRequest: ... def list( self, *, @@ -1414,125 +1996,226 @@ class AiplatformResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListDataLabelingJobsResponseHttpRequest | None ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class EvaluationSetsResource(googleapiclient.discovery.Resource): + class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + class AnnotationSpecsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1AnnotationSpecHttpRequest: ... + def operations(self) -> OperationsResource: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1EvaluationSet = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1EvaluationSet = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... - def operations(self) -> OperationsResource: ... + @typing.type_check_only + class DataItemsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AnnotationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListAnnotationsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListAnnotationsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDataItemsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListDataItemsResponseHttpRequest + | None + ): ... + def annotations(self) -> AnnotationsResource: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class EvaluationTasksResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): + class DatasetVersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... def list( self, *, - name: str, + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + previous_request: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListDatasetVersionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1DatasetVersion = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1DatasetVersionHttpRequest: ... + def restore( + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ExampleStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1563,90 +2246,189 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - exampleStore_createTime: str = ..., - exampleStore_description: str = ..., - exampleStore_displayName: str = ..., - exampleStore_exampleStoreConfig_vertexEmbeddingModel: str = ..., - exampleStore_name: str = ..., - exampleStore_updateTime: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def fetchExamples( - self, - *, - exampleStore: str, - body: GoogleCloudAiplatformV1beta1FetchExamplesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest: ... - def fetchExamples_next( - self, - previous_request: GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1FetchExamplesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest | None - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest - ): ... + @typing.type_check_only + class SavedQueriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSavedQueriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSavedQueriesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + def assemble( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AssembleDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def assess( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1AssessDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Dataset = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def export( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExportDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, readMask: str = ..., **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def import_( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ImportDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListExampleStoresResponse, + previous_request: GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDatasetsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1ListDatasetsResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1ExampleStore = ..., + body: GoogleCloudAiplatformV1beta1Dataset = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def removeExamples( + ) -> GoogleCloudAiplatformV1beta1DatasetHttpRequest: ... + def searchDataItems( self, *, - exampleStore: str, - body: GoogleCloudAiplatformV1beta1RemoveExamplesRequest = ..., + dataset: str, + annotationFilters: str | _list[str] = ..., + annotationsFilter: str = ..., + annotationsLimit: int = ..., + dataItemFilter: str = ..., + dataLabelingJob: str = ..., + fieldMask: str = ..., + orderBy: str = ..., + orderByAnnotation_orderBy: str = ..., + orderByAnnotation_savedQuery: str = ..., + orderByDataItem: str = ..., + pageSize: int = ..., + pageToken: str = ..., + savedQuery: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1RemoveExamplesResponseHttpRequest: ... - def searchExamples( + ) -> GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest: ... + def searchDataItems_next( + self, + previous_request: GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchDataItemsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1SearchDataItemsResponseHttpRequest + | None + ): ... + def setIamPolicy( self, *, - exampleStore: str, - body: GoogleCloudAiplatformV1beta1SearchExamplesRequest = ..., + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchExamplesResponseHttpRequest: ... - def upsertExamples( + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( self, *, - exampleStore: str, - body: GoogleCloudAiplatformV1beta1UpsertExamplesRequest = ..., + resource: str, + permissions: str | _list[str] = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1UpsertExamplesResponseHttpRequest: ... + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def annotationSpecs(self) -> AnnotationSpecsResource: ... + def dataItems(self) -> DataItemsResource: ... + def datasetVersions(self) -> DatasetVersionsResource: ... def operations(self) -> OperationsResource: ... + def savedQueries(self) -> SavedQueriesResource: ... @typing.type_check_only - class ExtensionControllersResource(googleapiclient.discovery.Resource): + class DeploymentResourcePoolsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1677,10 +2459,65 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1CreateDeploymentResourcePoolRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1DeploymentResourcePoolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListDeploymentResourcePoolsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1DeploymentResourcePool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def queryDeployedModels( + self, + *, + deploymentResourcePool: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest + ): ... + def queryDeployedModels_next( + self, + previous_request: GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1QueryDeployedModelsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1QueryDeployedModelsResponseHttpRequest + | None + ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class ExtensionsResource(googleapiclient.discovery.Resource): + class EdgeDevicesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -1711,284 +2548,102 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def execute( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ExecuteExtensionRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ExecuteExtensionResponseHttpRequest - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ExtensionHttpRequest: ... - def import_( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Extension = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListExtensionsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Extension = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExtensionHttpRequest: ... - def query( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1QueryExtensionRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1QueryExtensionResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class FeatureGroupsResource(googleapiclient.discovery.Resource): + class EndpointsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class FeatureMonitorsResource(googleapiclient.discovery.Resource): + class ChatResource(googleapiclient.discovery.Resource): + def completions( + self, + *, + endpoint: str, + body: GoogleApiHttpBody = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class DeployedModelsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class FeatureMonitorJobsResource( - googleapiclient.discovery.Resource - ): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1FeatureMonitorJob = ..., - featureMonitorJobId: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1FeatureMonitorJobHttpRequest - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1FeatureMonitorJobHttpRequest - ): ... - def list( + class InvokeResource(googleapiclient.discovery.Resource): + def invoke( self, *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., + endpoint: str, + deployedModelId: str, + invokeId: str, + body: GoogleCloudAiplatformV1beta1InvokeRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest - | None - ): ... + ) -> GoogleApiHttpBodyHttpRequest: ... + + def invoke(self) -> InvokeResource: ... + @typing.type_check_only + class GoogleResource(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( + class ScienceResource(googleapiclient.discovery.Resource): + def inference( self, *, - name: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - returnPartialSuccess: bool = ..., + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> ( - GoogleLongrunningListOperationsResponseHttpRequest | None - ): ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleApiHttpBodyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1FeatureMonitor = ..., - featureMonitorId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1FeatureMonitorHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest - | None - ): ... - def patch( + def science(self) -> ScienceResource: ... + + @typing.type_check_only + class InvokeResource(googleapiclient.discovery.Resource): + def invoke( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1FeatureMonitor = ..., - updateMask: str = ..., + endpoint: str, + invokeId: str, + body: GoogleCloudAiplatformV1beta1InvokeRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def featureMonitorJobs(self) -> FeatureMonitorJobsResource: ... - def operations(self) -> OperationsResource: ... + ) -> GoogleApiHttpBodyHttpRequest: ... @typing.type_check_only - class FeaturesResource(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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCreate( + class OpenapiResource(googleapiclient.discovery.Resource): + def completions( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest = ..., + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def create( + ) -> GoogleApiHttpBodyHttpRequest: ... + def embeddings( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1Feature = ..., - featureId: str = ..., + endpoint: str, + body: GoogleApiHttpBody = ..., + deployedModelId: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( - self, - *, - name: str, - featureStatsAndAnomalySpec_latestStatsCount: int = ..., - featureStatsAndAnomalySpec_statsTimeRange_endTime: str = ..., - featureStatsAndAnomalySpec_statsTimeRange_startTime: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - latestStatsCount: int = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeaturesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Feature = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @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: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, previous_request: GoogleLongrunningListOperationsResponseHttpRequest, @@ -1998,20 +2653,78 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1FeatureGroup = ..., - featureGroupId: str = ..., + body: GoogleCloudAiplatformV1beta1Endpoint = ..., + endpointId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def deployModel( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1DeployModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def directPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1DirectPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1DirectPredictResponseHttpRequest: ... + def directRawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1DirectRawPredictRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1DirectRawPredictResponseHttpRequest + ): ... + def explain( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ExplainRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExplainResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1FeatureGroupHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1EndpointHttpRequest: ... def getIamPolicy( self, *, @@ -2024,29 +2737,64 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., - orderBy: str = ..., + gdcZone: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEndpointsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1ListEndpointsResponseHttpRequest | None ): ... + def mutateDeployedModel( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1MutateDeployedModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1FeatureGroup = ..., + body: GoogleCloudAiplatformV1beta1Endpoint = ..., updateMask: str = ..., **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EndpointHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def rawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1RawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def serverStreamingPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1StreamingPredictRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1StreamingPredictResponseHttpRequest + ): ... def setIamPolicy( self, *, @@ -2054,6 +2802,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> GoogleIamV1PolicyHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def streamRawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... def testIamPermissions( self, *, @@ -2061,178 +2823,164 @@ class AiplatformResource(googleapiclient.discovery.Resource): permissions: str | _list[str] = ..., **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def featureMonitors(self) -> FeatureMonitorsResource: ... - def features(self) -> FeaturesResource: ... + def undeployModel( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1UndeployModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def update( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1UpdateEndpointLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def chat(self) -> ChatResource: ... + def deployedModels(self) -> DeployedModelsResource: ... + def google(self) -> GoogleResource: ... + def invoke(self) -> InvokeResource: ... + def openapi(self) -> OpenapiResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): + class EvaluationItemsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class FeatureViewsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class FeatureViewSyncsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1FeatureViewSyncHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest - | None - ): ... - - @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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1FeatureView = ..., - featureViewId: str = ..., - runSyncImmediately: bool = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def directWrite( + def list( self, *, - featureView: str, - body: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseHttpRequest: ... - def fetchFeatureValues( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseHttpRequest: ... - def generateFetchAccessToken( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - featureView: str, - body: GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponseHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1EvaluationItem = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EvaluationItemHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1EvaluationItemHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListEvaluationItemsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EvaluationRunsResource(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 - ) -> GoogleCloudAiplatformV1beta1FeatureViewHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureViewsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1FeatureView = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def searchNearestEntities( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponseHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def streamingFetchFeatureValues( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponseHttpRequest: ... - def sync( - self, - *, - featureView: str, - body: GoogleCloudAiplatformV1beta1SyncFeatureViewRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1SyncFeatureViewResponseHttpRequest - ): ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def featureViewSyncs(self) -> FeatureViewSyncsResource: ... - def operations(self) -> OperationsResource: ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1EvaluationRun = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EvaluationRunHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1EvaluationRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListEvaluationRunsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class EvaluationSetsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def delete( @@ -2264,23 +3012,15 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1beta1FeatureOnlineStore = ..., - featureOnlineStoreId: str = ..., + body: GoogleCloudAiplatformV1beta1EvaluationSet = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1FeatureOnlineStoreHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... def list( self, *, @@ -2290,287 +3030,60 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse, + previous_request: GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest + GoogleCloudAiplatformV1beta1ListEvaluationSetsResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1FeatureOnlineStore = ..., + body: GoogleCloudAiplatformV1beta1EvaluationSet = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def featureViews(self) -> FeatureViewsResource: ... + ) -> GoogleCloudAiplatformV1beta1EvaluationSetHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class FeaturestoresResource(googleapiclient.discovery.Resource): + class EvaluationTasksResource(googleapiclient.discovery.Resource): @typing.type_check_only - class EntityTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class FeaturesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Feature = ..., - featureId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, - *, - name: str, - featureStatsAndAnomalySpec_latestStatsCount: int = ..., - featureStatsAndAnomalySpec_statsTimeRange_endTime: str = ..., - featureStatsAndAnomalySpec_statsTimeRange_startTime: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - latestStatsCount: int = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeaturesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Feature = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1EntityType = ..., - entityTypeId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def deleteFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def exportFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1ExportFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1EntityTypeHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def importFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1ImportFeatureValuesRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEntityTypesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1EntityType = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EntityTypeHttpRequest: ... - def readFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1ReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHttpRequest - ): ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def streamingReadFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1StreamingReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHttpRequest - ): ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def writeFeatureValues( - self, - *, - entityType: str, - body: GoogleCloudAiplatformV1beta1WriteFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1WriteFeatureValuesResponseHttpRequest: ... - def features(self) -> FeaturesResource: ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ExampleStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -2601,98 +3114,90 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def batchReadFeatureValues( - self, - *, - featurestore: str, - body: GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Featurestore = ..., - featurestoreId: str = ..., + exampleStore_createTime: str = ..., + exampleStore_description: str = ..., + exampleStore_displayName: str = ..., + exampleStore_exampleStoreConfig_vertexEmbeddingModel: str = ..., + exampleStore_name: str = ..., + exampleStore_updateTime: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1FeaturestoreHttpRequest: ... - def getIamPolicy( + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetchExamples( self, *, - resource: str, - body: GoogleIamV1GetIamPolicyRequest = ..., + exampleStore: str, + body: GoogleCloudAiplatformV1beta1FetchExamplesRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def list( + ) -> GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest: ... + def fetchExamples_next( self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., + previous_request: GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1FetchExamplesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1FetchExamplesResponseHttpRequest | None + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest + GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListFeaturestoresResponse, + previous_request: GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListExampleStoresResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest + GoogleCloudAiplatformV1beta1ListExampleStoresResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Featurestore = ..., + body: GoogleCloudAiplatformV1beta1ExampleStore = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def searchFeatures( + def removeExamples( self, *, - location: str, - pageSize: int = ..., - pageToken: str = ..., - query: str = ..., + exampleStore: str, + body: GoogleCloudAiplatformV1beta1RemoveExamplesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest: ... - def searchFeatures_next( - self, - previous_request: GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchFeaturesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest | None - ): ... - def setIamPolicy( + ) -> GoogleCloudAiplatformV1beta1RemoveExamplesResponseHttpRequest: ... + def searchExamples( self, *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., + exampleStore: str, + body: GoogleCloudAiplatformV1beta1SearchExamplesRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( + ) -> GoogleCloudAiplatformV1beta1SearchExamplesResponseHttpRequest: ... + def upsertExamples( self, *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., + exampleStore: str, + body: GoogleCloudAiplatformV1beta1UpsertExamplesRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def entityTypes(self) -> EntityTypesResource: ... + ) -> GoogleCloudAiplatformV1beta1UpsertExamplesResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): + class ExtensionControllersResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -2723,48 +3228,10 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CancelHyperparameterTuningJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1HyperparameterTuningJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1HyperparameterTuningJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1HyperparameterTuningJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest - | None - ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class IndexEndpointsResource(googleapiclient.discovery.Resource): + class ExtensionsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -2795,136 +3262,26 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1IndexEndpoint = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def deployIndex( - self, - *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1beta1DeployIndexRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def findNeighbors( - self, - *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1beta1FindNeighborsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1FindNeighborsResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1IndexEndpointHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListIndexEndpointsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest - | None - ): ... - def mutateDeployedIndex( - self, - *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1beta1DeployedIndex = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def patch( + def execute( self, *, name: str, - body: GoogleCloudAiplatformV1beta1IndexEndpoint = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1IndexEndpointHttpRequest: ... - def readIndexDatapoints( - self, - *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1beta1ReadIndexDatapointsRequest = ..., + body: GoogleCloudAiplatformV1beta1ExecuteExtensionRequest = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ReadIndexDatapointsResponseHttpRequest + GoogleCloudAiplatformV1beta1ExecuteExtensionResponseHttpRequest ): ... - def undeployIndex( - self, - *, - indexEndpoint: str, - body: GoogleCloudAiplatformV1beta1UndeployIndexRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class IndexesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Index = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1IndexHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ExtensionHttpRequest: ... def import_( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1ImportIndexRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1Extension = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def list( @@ -2932,149 +3289,79 @@ class AiplatformResource(googleapiclient.discovery.Resource): *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListIndexesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListExtensionsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListExtensionsResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Index = ..., + body: GoogleCloudAiplatformV1beta1Extension = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def removeDatapoints( - self, - *, - index: str, - body: GoogleCloudAiplatformV1beta1RemoveDatapointsRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1RemoveDatapointsResponseHttpRequest - ): ... - def upsertDatapoints( + ) -> GoogleCloudAiplatformV1beta1ExtensionHttpRequest: ... + def query( self, *, - index: str, - body: GoogleCloudAiplatformV1beta1UpsertDatapointsRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1QueryExtensionRequest = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1UpsertDatapointsResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1QueryExtensionResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class MetadataStoresResource(googleapiclient.discovery.Resource): + class FeatureGroupsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ArtifactsResource(googleapiclient.discovery.Resource): + class FeatureMonitorsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + class FeatureMonitorJobsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1FeatureMonitorJob = ..., + featureMonitorJobId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1FeatureMonitorJobHttpRequest + ): ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1FeatureMonitorJobHttpRequest + ): ... def list( self, *, - name: str, + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponse, ) -> ( - GoogleLongrunningListOperationsResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListFeatureMonitorJobsResponseHttpRequest + | None ): ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Artifact = ..., - artifactId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... - def delete( - self, *, name: str, etag: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListArtifactsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Artifact = ..., - allowMissing: bool = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... - def purge( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1PurgeArtifactsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def queryArtifactLineageSubgraph( - self, - *, - artifact: str, - filter: str = ..., - maxHops: int = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... - def operations(self) -> OperationsResource: ... - @typing.type_check_only - class ContextsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -3102,39 +3389,20 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def addContextArtifactsAndExecutions( - self, - *, - context: str, - body: GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsResponseHttpRequest: ... - def addContextChildren( - self, - *, - context: str, - body: GoogleCloudAiplatformV1beta1AddContextChildrenRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AddContextChildrenResponseHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Context = ..., - contextId: str = ..., + body: GoogleCloudAiplatformV1beta1FeatureMonitor = ..., + featureMonitorId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, - *, - name: str, - etag: str = ..., - force: bool = ..., - **kwargs: typing.Any, + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1FeatureMonitorHttpRequest: ... def list( self, *, @@ -3144,52 +3412,30 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListContextsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeatureMonitorsResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Context = ..., - allowMissing: bool = ..., + body: GoogleCloudAiplatformV1beta1FeatureMonitor = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... - def purge( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1PurgeContextsRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def queryContextLineageSubgraph( - self, *, context: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... - def removeContextChildren( - self, - *, - context: str, - body: GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1RemoveContextChildrenResponseHttpRequest: ... + def featureMonitorJobs(self) -> FeatureMonitorJobsResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class ExecutionsResource(googleapiclient.discovery.Resource): + class FeaturesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -3217,135 +3463,98 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def addExecutionEvents( + def batchCreate( self, *, - execution: str, - body: GoogleCloudAiplatformV1beta1AddExecutionEventsRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AddExecutionEventsResponseHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Execution = ..., - executionId: str = ..., + body: GoogleCloudAiplatformV1beta1Feature = ..., + featureId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, etag: str = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... + self, + *, + name: str, + featureStatsAndAnomalySpec_latestStatsCount: int = ..., + featureStatsAndAnomalySpec_statsTimeRange_endTime: str = ..., + featureStatsAndAnomalySpec_statsTimeRange_startTime: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + latestStatsCount: int = ..., orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListExecutionsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeaturesResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Execution = ..., - allowMissing: bool = ..., + body: GoogleCloudAiplatformV1beta1Feature = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... - def purge( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1PurgeExecutionsRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def queryExecutionInputsAndOutputs( - self, *, execution: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class MetadataSchemasResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1MetadataSchema = ..., - metadataSchemaId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest - | None - ): ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1MetadataStore = ..., - metadataStoreId: str = ..., + body: GoogleCloudAiplatformV1beta1FeatureGroup = ..., + featureGroupId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -3353,38 +3562,230 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1MetadataStoreHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1FeatureGroupHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListMetadataStoresResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeatureGroupsResponseHttpRequest | None ): ... - def artifacts(self) -> ArtifactsResource: ... - def contexts(self) -> ContextsResource: ... - def executions(self) -> ExecutionsResource: ... - def metadataSchemas(self) -> MetadataSchemasResource: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1FeatureGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def featureMonitors(self) -> FeatureMonitorsResource: ... + def features(self) -> FeaturesResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class MigratableResourcesResource(googleapiclient.discovery.Resource): + class FeatureOnlineStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( + class FeatureViewsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeatureViewSyncsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1FeatureViewSyncHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponseHttpRequest + | None + ): ... + + @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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1FeatureView = ..., + featureViewId: str = ..., + runSyncImmediately: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def directWrite( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseHttpRequest: ... + def fetchFeatureValues( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseHttpRequest: ... + def generateFetchAccessToken( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1FeatureViewHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureViewsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeatureViewsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1FeatureView = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def searchNearestEntities( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponseHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def streamingFetchFeatureValues( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponseHttpRequest: ... + def sync( + self, + *, + featureView: str, + body: GoogleCloudAiplatformV1beta1SyncFeatureViewRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1SyncFeatureViewResponseHttpRequest + ): ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def featureViewSyncs(self) -> FeatureViewSyncsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -3410,174 +3811,316 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def batchMigrate( + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest = ..., + body: GoogleCloudAiplatformV1beta1FeatureOnlineStore = ..., + featureOnlineStoreId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def search( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest: ... - def search_next( - self, - previous_request: GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ModelDeploymentMonitoringJobsResource( - googleapiclient.discovery.Resource - ): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJobHttpRequest - ): ... def delete( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJobHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1FeatureOnlineStoreHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob = ..., + body: GoogleCloudAiplatformV1beta1FeatureOnlineStore = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def pause( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1PauseModelDeploymentMonitoringJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def resume( + def setIamPolicy( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1ResumeModelDeploymentMonitoringJobRequest = ..., + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def searchModelDeploymentMonitoringStatsAnomalies( + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( self, *, - modelDeploymentMonitoringJob: str, - body: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesRequest = ..., + resource: str, + permissions: str | _list[str] = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest: ... - def searchModelDeploymentMonitoringStatsAnomalies_next( - self, - previous_request: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest - | None - ): ... + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def featureViews(self) -> FeatureViewsResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class ModelMonitorsResource(googleapiclient.discovery.Resource): + class FeaturestoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ModelMonitoringJobsResource(googleapiclient.discovery.Resource): + class EntityTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FeaturesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Feature = ..., + featureId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, + *, + name: str, + featureStatsAndAnomalySpec_latestStatsCount: int = ..., + featureStatsAndAnomalySpec_statsTimeRange_endTime: str = ..., + featureStatsAndAnomalySpec_statsTimeRange_startTime: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + latestStatsCount: int = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeaturesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListFeaturesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Feature = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1FeatureHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1ModelMonitoringJob = ..., - modelMonitoringJobId: str = ..., + body: GoogleCloudAiplatformV1beta1EntityType = ..., + entityTypeId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ModelMonitoringJobHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def deleteFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1DeleteFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def exportFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1ExportFeatureValuesRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ModelMonitoringJobHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1EntityTypeHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def importFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1ImportFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEntityTypesResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListEntityTypesResponseHttpRequest | None ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1EntityType = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EntityTypeHttpRequest: ... + def readFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1ReadFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHttpRequest + ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def streamingReadFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1StreamingReadFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ReadFeatureValuesResponseHttpRequest + ): ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def writeFeatureValues( + self, + *, + entityType: str, + body: GoogleCloudAiplatformV1beta1WriteFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1WriteFeatureValuesResponseHttpRequest: ... + def features(self) -> FeaturesResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -3609,12 +4152,19 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def batchReadFeatureValues( + self, + *, + featurestore: str, + body: GoogleCloudAiplatformV1beta1BatchReadFeatureValuesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1ModelMonitor = ..., - modelMonitorId: str = ..., + body: GoogleCloudAiplatformV1beta1Featurestore = ..., + featurestoreId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( @@ -3622,168 +4172,150 @@ class AiplatformResource(googleapiclient.discovery.Resource): ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ModelMonitorHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1FeaturestoreHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1GetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelMonitorsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListFeaturestoresResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListFeaturestoresResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1ModelMonitor = ..., + body: GoogleCloudAiplatformV1beta1Featurestore = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def searchModelMonitoringAlerts( + def searchFeatures( self, *, - modelMonitor: str, - body: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest = ..., + location: str, + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest: ... - def searchModelMonitoringAlerts_next( + ) -> GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest: ... + def searchFeatures_next( self, - previous_request: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse, + previous_request: GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchFeaturesResponse, ) -> ( - GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1SearchFeaturesResponseHttpRequest | None ): ... - def searchModelMonitoringStats( + def setIamPolicy( self, *, - modelMonitor: str, - body: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest = ..., + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest: ... - def searchModelMonitoringStats_next( + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( self, - previous_request: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest - | None - ): ... - def modelMonitoringJobs(self) -> ModelMonitoringJobsResource: ... + *, + resource: str, + body: GoogleIamV1TestIamPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def entityTypes(self) -> EntityTypesResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): + class HyperparameterTuningJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class EvaluationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - @typing.type_check_only - class SlicesResource(googleapiclient.discovery.Resource): - def batchImport( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1ModelEvaluationSliceHttpRequest - ): ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest - | None - ): ... - + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ModelEvaluationHttpRequest: ... - def import_( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ModelEvaluationHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelEvaluationsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - def slices(self) -> SlicesResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelHyperparameterTuningJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1HyperparameterTuningJob = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1HyperparameterTuningJobHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1HyperparameterTuningJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListHyperparameterTuningJobsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class IndexEndpointsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -3814,36 +4346,33 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def copy( + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1CopyModelRequest = ..., + body: GoogleCloudAiplatformV1beta1IndexEndpoint = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def deleteVersion( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def export( + def deployIndex( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1ExportModelRequest = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1beta1DeployIndexRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... - def getIamPolicy( + def findNeighbors( self, *, - resource: str, - options_requestedPolicyVersion: int = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1beta1FindNeighborsRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1FindNeighborsResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1IndexEndpointHttpRequest: ... def list( self, *, @@ -3853,162 +4382,52 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest | None - ): ... - def listCheckpoints( - self, - *, - name: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest: ... - def listCheckpoints_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest - | None - ): ... - def listVersions( - self, - *, - name: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest ): ... - def listVersions_next( + def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListModelVersionsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListIndexEndpointsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListIndexEndpointsResponseHttpRequest | None ): ... - def mergeVersionAliases( + def mutateDeployedIndex( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1beta1DeployedIndex = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1Model = ..., + body: GoogleCloudAiplatformV1beta1IndexEndpoint = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... - def setIamPolicy( - self, - *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( - self, - *, - resource: str, - permissions: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... - def updateExplanationDataset( + ) -> GoogleCloudAiplatformV1beta1IndexEndpointHttpRequest: ... + def readIndexDatapoints( self, *, - model: str, - body: GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1beta1ReadIndexDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def upload( + ) -> ( + GoogleCloudAiplatformV1beta1ReadIndexDatapointsResponseHttpRequest + ): ... + def undeployIndex( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1UploadModelRequest = ..., + indexEndpoint: str, + body: GoogleCloudAiplatformV1beta1UndeployIndexRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluations(self) -> EvaluationsResource: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class NasJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class NasTrialDetailsResource(googleapiclient.discovery.Resource): - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1NasTrialDetailHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest - | None - ): ... - - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CancelNasJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1NasJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1NasJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1NasJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListNasJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest | None - ): ... - def nasTrialDetails(self) -> NasTrialDetailsResource: ... - - @typing.type_check_only - class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): + class IndexesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4043,583 +4462,405 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1beta1NotebookExecutionJob = ..., - notebookExecutionJobId: str = ..., + body: GoogleCloudAiplatformV1beta1Index = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def generateAccessToken( + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1IndexHttpRequest: ... + def import_( self, *, name: str, - body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest = ..., + body: GoogleCloudAiplatformV1beta1ImportIndexRequest = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1GenerateAccessTokenResponseHttpRequest - ): ... - def get( - self, - *, - name: str, - view: typing_extensions.Literal[ - "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", - "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", - "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", - ] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1NotebookExecutionJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - view: typing_extensions.Literal[ - "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", - "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", - "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", - ] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest - | None - ): ... - def reportEvent( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ReportExecutionEventRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ReportExecutionEventResponseHttpRequest - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate = ..., - notebookRuntimeTemplateId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateHttpRequest: ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def list( + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListIndexesResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1ListIndexesResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate = ..., + body: GoogleCloudAiplatformV1beta1Index = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateHttpRequest: ... - def setIamPolicy( + ) -> GoogleLongrunningOperationHttpRequest: ... + def removeDatapoints( self, *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., + index: str, + body: GoogleCloudAiplatformV1beta1RemoveDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( + ) -> ( + GoogleCloudAiplatformV1beta1RemoveDatapointsResponseHttpRequest + ): ... + def upsertDatapoints( self, *, - resource: str, - permissions: str | _list[str] = ..., + index: str, + body: GoogleCloudAiplatformV1beta1UpsertDatapointsRequest = ..., **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1UpsertDatapointsResponseHttpRequest + ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class NotebookRuntimesResource(googleapiclient.discovery.Resource): + class MetadataStoresResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + class ArtifactsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Artifact = ..., + artifactId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... def list( self, *, - name: str, + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + previous_request: GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListArtifactsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListArtifactsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Artifact = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ArtifactHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeArtifactsRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def queryArtifactLineageSubgraph( + self, + *, + artifact: str, + filter: str = ..., + maxHops: int = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... + def operations(self) -> OperationsResource: ... - def assign( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def generateAccessToken( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1GenerateAccessTokenResponseHttpRequest - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest - | None - ): ... - def reportEvent( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ReportRuntimeEventResponseHttpRequest - ): ... - def start( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1StartNotebookRuntimeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def stop( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1StopNotebookRuntimeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def upgrade( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - @typing.type_check_only - class PersistentResourcesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + class ContextsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addContextArtifactsAndExecutions( + self, + *, + context: str, + body: GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AddContextArtifactsAndExecutionsResponseHttpRequest: ... + def addContextChildren( + self, + *, + context: str, + body: GoogleCloudAiplatformV1beta1AddContextChildrenRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AddContextChildrenResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Context = ..., + contextId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... 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 = ..., + etag: str = ..., + force: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1PersistentResource = ..., - persistentResourceId: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1PersistentResourceHttpRequest: ... - def list( - self, - *, - parent: str, - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListPersistentResourcesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1PersistentResource = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def reboot( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class PipelineJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... def list( self, *, - name: str, + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest + ): ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + previous_request: GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListContextsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListContextsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Context = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ContextHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeContextsRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - - def batchCancel( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def batchDelete( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def cancel( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CancelPipelineJobRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1PipelineJob = ..., - pipelineJobId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PipelineJobHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1PipelineJobHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListPipelineJobsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class PublishersResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - def computeTokens( + def queryContextLineageSubgraph( + self, *, context: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... + def removeContextChildren( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + context: str, + body: GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest - ): ... - def countTokens( + ) -> GoogleCloudAiplatformV1beta1RemoveContextChildrenResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ExecutionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addExecutionEvents( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + execution: str, + body: GoogleCloudAiplatformV1beta1AddExecutionEventsRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... - def export( + ) -> GoogleCloudAiplatformV1beta1AddExecutionEventsResponseHttpRequest: ... + def create( self, *, parent: str, - name: str, - body: GoogleCloudAiplatformV1beta1ExportPublisherModelRequest = ..., + body: GoogleCloudAiplatformV1beta1Execution = ..., + executionId: str = ..., **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def fetchPredictOperation( + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def fetchPublisherModelConfig( - self, *, name: str, **kwargs: typing.Any ) -> ( - GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest + GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest ): ... - def generateContent( + def list_next( self, - *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListExecutionsResponse, ) -> ( - GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest + GoogleCloudAiplatformV1beta1ListExecutionsResponseHttpRequest + | None ): ... - def getIamPolicy( - self, - *, - resource: str, - options_requestedPolicyVersion: int = ..., - **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def predict( + def patch( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1Execution = ..., + allowMissing: bool = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... - def predictLongRunning( + ) -> GoogleCloudAiplatformV1beta1ExecutionHttpRequest: ... + def purge( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeExecutionsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def rawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1RawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def serverStreamingPredict( + def queryExecutionInputsAndOutputs( + self, *, execution: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1LineageSubgraphHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MetadataSchemasResource(googleapiclient.discovery.Resource): + def create( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1StreamingPredictRequest = ..., + parent: str, + body: GoogleCloudAiplatformV1beta1MetadataSchema = ..., + metadataSchemaId: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1StreamingPredictResponseHttpRequest - ): ... - def setPublisherModelConfig( + ) -> GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest: ... + def list( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def streamGenerateContent( + ) -> GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest: ... + def list_next( self, - *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse, ) -> ( - GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest + GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest + | None ): ... - def streamRawPredict( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - def models(self) -> ModelsResource: ... - @typing.type_check_only - class RagCorporaResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4650,117 +4891,245 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class RagFilesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1MetadataStore = ..., + metadataStoreId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MetadataStoreHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMetadataStoresResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMetadataStoresResponseHttpRequest + | None + ): ... + def artifacts(self) -> ArtifactsResource: ... + def contexts(self) -> ContextsResource: ... + def executions(self) -> ExecutionsResource: ... + def metadataSchemas(self) -> MetadataSchemasResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class MigratableResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - forceDelete: bool = ..., + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchMigrate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchMigrateResourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def search( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1SearchMigratableResourcesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest: ... + def search_next( + self, + previous_request: GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1SearchMigratableResourcesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ModelDeploymentMonitoringJobsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1RagFileHttpRequest: ... - def import_( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest = ..., - **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListRagFilesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1RagCorpus = ..., + body: GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJobHttpRequest + ): ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1RagCorpusHttpRequest: ... + ) -> ( + GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJobHttpRequest + ): ... def list( self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListRagCorporaResponse, + previous_request: GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListModelDeploymentMonitoringJobsResponseHttpRequest + | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1RagCorpus = ..., + body: GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def pause( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1PauseModelDeploymentMonitoringJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def resume( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ResumeModelDeploymentMonitoringJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def searchModelDeploymentMonitoringStatsAnomalies( + self, + *, + modelDeploymentMonitoringJob: str, + body: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest: ... + def searchModelDeploymentMonitoringStatsAnomalies_next( + self, + previous_request: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponseHttpRequest + | None + ): ... def operations(self) -> OperationsResource: ... - def ragFiles(self) -> RagFilesResource: ... @typing.type_check_only - class RagEngineConfigResource(googleapiclient.discovery.Resource): + class ModelMonitorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelMonitoringJobsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ModelMonitoringJob = ..., + modelMonitoringJobId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ModelMonitoringJobHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ModelMonitoringJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponseHttpRequest + | None + ): ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4791,109 +5160,85 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class ReasoningEnginesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class A2aResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class V1Resource(googleapiclient.discovery.Resource): - @typing.type_check_only - class MessageResource(googleapiclient.discovery.Resource): - def send( - self, - *, - name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def stream( - self, - *, - name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - - @typing.type_check_only - class TasksResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class PushNotificationConfigsResource( - googleapiclient.discovery.Resource - ): - def a2aGetReasoningEngine( - self, - *, - name: str, - a2aEndpoint: str, - historyLength: str = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - - def a2aGetReasoningEngine( - self, - *, - name: str, - a2aEndpoint: str, - historyLength: str = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def cancel( - self, - *, - name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def subscribe( - self, - *, - name: str, - a2aEndpoint: str, - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def pushNotificationConfigs( - self, - ) -> PushNotificationConfigsResource: ... - - def card( - self, - *, - name: str, - a2aEndpoint: str, - historyLength: str = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def message(self) -> MessageResource: ... - def tasks(self) -> TasksResource: ... - - def v1(self) -> V1Resource: ... - - @typing.type_check_only - class ExamplesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def operations(self) -> OperationsResource: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ModelMonitor = ..., + modelMonitorId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ModelMonitorHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelMonitorsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelMonitorsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ModelMonitor = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def searchModelMonitoringAlerts( + self, + *, + modelMonitor: str, + body: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest: ... + def searchModelMonitoringAlerts_next( + self, + previous_request: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponseHttpRequest + | None + ): ... + def searchModelMonitoringStats( + self, + *, + modelMonitor: str, + body: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest: ... + def searchModelMonitoringStats_next( + self, + previous_request: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponseHttpRequest + | None + ): ... + def modelMonitoringJobs(self) -> ModelMonitoringJobsResource: ... + def operations(self) -> OperationsResource: ... + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class MemoriesResource(googleapiclient.discovery.Resource): + class EvaluationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -4926,64 +5271,69 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Memory = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( + @typing.type_check_only + class SlicesResource(googleapiclient.discovery.Resource): + def batchImport( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1BatchImportEvaluatedAnnotationsResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1ModelEvaluationSliceHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelEvaluationSlicesResponseHttpRequest + | None + ): ... + + def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def generate( + ) -> GoogleCloudAiplatformV1beta1ModelEvaluationHttpRequest: ... + def import_( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., + body: GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ModelEvaluationHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelEvaluationsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + GoogleCloudAiplatformV1beta1ListModelEvaluationsResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Memory = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def retrieve( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest - ): ... def operations(self) -> OperationsResource: ... + def slices(self) -> SlicesResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -5015,199 +5365,36 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1SandboxEnvironment = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def execute( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponseHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1SandboxEnvironmentHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest - | None - ): ... - def operations(self) -> OperationsResource: ... - - @typing.type_check_only - class SessionsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class EventsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest - | None - ): ... - - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - - def appendEvent( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1SessionEvent = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Session = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Session = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... - def events(self) -> EventsResource: ... - def operations(self) -> OperationsResource: ... - - def create( + def copy( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + body: GoogleCloudAiplatformV1beta1CopyModelRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def deleteVersion( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def export( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExportModelRequest = ..., + **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, @@ -5215,139 +5402,169 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest - | None + GoogleCloudAiplatformV1beta1ListModelsResponseHttpRequest | None ): ... - def patch( + def listCheckpoints( self, *, name: str, - body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., - updateMask: str = ..., + pageSize: int = ..., + pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def query( + ) -> GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest: ... + def listCheckpoints_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelVersionCheckpointsResponseHttpRequest + | None + ): ... + def listVersions( self, *, name: str, - body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest = ..., + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1QueryReasoningEngineResponseHttpRequest + GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest ): ... - def streamQuery( + def listVersions_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListModelVersionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListModelVersionsResponseHttpRequest + | None + ): ... + def mergeVersionAliases( self, *, name: str, - body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., + body: GoogleCloudAiplatformV1beta1MergeVersionAliasesRequest = ..., **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def a2a(self) -> A2aResource: ... - def examples(self) -> ExamplesResource: ... - def memories(self) -> MemoriesResource: ... - def operations(self) -> OperationsResource: ... - def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... - def sessions(self) -> SessionsResource: ... - - @typing.type_check_only - class SchedulesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def list( - self, + ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Model = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ModelHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def updateExplanationDataset( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1UpdateExplanationDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def upload( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1UploadModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluations(self) -> EvaluationsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class NasJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NasTrialDetailsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1NasTrialDetailHttpRequest: ... + def list( + self, *, - name: str, - filter: str = ..., + parent: str, pageSize: int = ..., pageToken: str = ..., - returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + previous_request: GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListNasTrialDetailsResponseHttpRequest + | None + ): ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelNasJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Schedule = ..., + body: GoogleCloudAiplatformV1beta1NasJob = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1NasJobHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1NasJobHttpRequest: ... def list( self, *, parent: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + readMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSchedulesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListNasJobsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListNasJobsResponseHttpRequest | None ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Schedule = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... - def pause( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1PauseScheduleRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def resume( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1ResumeScheduleRequest = ..., - **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def operations(self) -> OperationsResource: ... + def nasTrialDetails(self) -> NasTrialDetailsResource: ... @typing.type_check_only - class SolversResource(googleapiclient.discovery.Resource): + class NotebookExecutionJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... @@ -5369,11 +5586,77 @@ class AiplatformResource(googleapiclient.discovery.Resource): previous_request: GoogleLongrunningListOperationsResponseHttpRequest, previous_response: GoogleLongrunningListOperationsResponse, ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1NotebookExecutionJob = ..., + notebookExecutionJobId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateAccessToken( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateAccessTokenResponseHttpRequest + ): ... + def get( + self, + *, + name: str, + view: typing_extensions.Literal[ + "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", + "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", + "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1NotebookExecutionJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED", + "NOTEBOOK_EXECUTION_JOB_VIEW_BASIC", + "NOTEBOOK_EXECUTION_JOB_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponseHttpRequest + | None + ): ... + def reportEvent( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ReportExecutionEventRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ReportExecutionEventResponseHttpRequest + ): ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class SpecialistPoolsResource(googleapiclient.discovery.Resource): + class NotebookRuntimeTemplatesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -5408,46 +5691,68 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: GoogleCloudAiplatformV1beta1SpecialistPool = ..., + body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate = ..., + notebookRuntimeTemplateId: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1SpecialistPoolHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... def list( self, *, parent: str, + filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., readMask: str = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest - ): ... + ) -> GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest + GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponseHttpRequest | None ): ... def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1SpecialistPool = ..., + body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate = ..., updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... def operations(self) -> OperationsResource: ... @typing.type_check_only - class StudiesResource(googleapiclient.discovery.Resource): + class NotebookRuntimesResource(googleapiclient.discovery.Resource): @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -5478,127 +5783,157 @@ class AiplatformResource(googleapiclient.discovery.Resource): self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - @typing.type_check_only - class TrialsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + def assign( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1AssignNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateAccessToken( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateAccessTokenResponseHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1NotebookRuntimeHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponseHttpRequest + | None + ): ... + def reportEvent( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ReportRuntimeEventResponseHttpRequest + ): ... + def start( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StartNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def stop( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StopNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def upgrade( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - def addTrialMeasurement( - self, - *, - trialName: str, - body: GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... - def checkTrialEarlyStoppingState( - self, - *, - trialName: str, - body: GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def complete( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1CompleteTrialRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Trial = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class PersistentResourcesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTrialsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest | None - ): ... - def listOptimalTrials( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1ListOptimalTrialsRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListOptimalTrialsResponseHttpRequest - ): ... - def stop( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1StopTrialRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... - def suggest( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1SuggestTrialsRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1Study = ..., + body: GoogleCloudAiplatformV1beta1PersistentResource = ..., + persistentResourceId: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1PersistentResourceHttpRequest: ... def list( self, *, @@ -5606,481 +5941,2401 @@ class AiplatformResource(googleapiclient.discovery.Resource): pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListStudiesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListPersistentResourcesResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListPersistentResourcesResponseHttpRequest + | None ): ... - def lookup( + def patch( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1LookupStudyRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1PersistentResource = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def reboot( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def operations(self) -> OperationsResource: ... - def trials(self) -> TrialsResource: ... @typing.type_check_only - class TensorboardsResource(googleapiclient.discovery.Resource): + class PipelineJobsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ExperimentsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchCancel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchCancelPipelineJobsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def batchDelete( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchDeletePipelineJobsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelPipelineJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PipelineJob = ..., + pipelineJobId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PipelineJobHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1PipelineJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListPipelineJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListPipelineJobsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest + ): ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def embedContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1EmbedContentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1EmbedContentResponseHttpRequest + ): ... + def export( + self, + *, + parent: str, + name: str, + body: GoogleCloudAiplatformV1beta1ExportPublisherModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def fetchPublisherModelConfig( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest + ): ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest + ): ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def rawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1RawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def serverStreamingPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1StreamingPredictRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1StreamingPredictResponseHttpRequest + ): ... + def setPublisherModelConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest + ): ... + def streamRawPredict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + def models(self) -> ModelsResource: ... + + @typing.type_check_only + class RagCorporaResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RagFilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def delete( + self, + *, + name: str, + forceDelete: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1RagFileHttpRequest: ... + def import_( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListRagFilesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListRagFilesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RagCorpus = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + force: bool = ..., + forceDelete: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1RagCorpusHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListRagCorporaResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListRagCorporaResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RagCorpus = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def ragFiles(self) -> RagFilesResource: ... + + @typing.type_check_only + class RagEngineConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class A2aResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class V1Resource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + name: str, + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def stream( + self, + *, + name: str, + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class TasksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PushNotificationConfigsResource( + googleapiclient.discovery.Resource + ): + def a2aGetReasoningEngine( + self, + *, + name: str, + a2aEndpoint: str, + historyLength: str = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + + def a2aGetReasoningEngine( + self, + *, + name: str, + a2aEndpoint: str, + historyLength: str = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def cancel( + self, + *, + name: str, + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def subscribe( + self, + *, + name: str, + a2aEndpoint: str, + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def pushNotificationConfigs( + self, + ) -> PushNotificationConfigsResource: ... + + def card( + self, + *, + name: str, + a2aEndpoint: str, + historyLength: str = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def message(self) -> MessageResource: ... + def tasks(self) -> TasksResource: ... + + def v1(self) -> V1Resource: ... + + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryRevisionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest + | None + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest + ): ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RollbackMemoryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1SandboxEnvironment = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def execute( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SandboxEnvironmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest + | None + ): ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def appendEvent( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SessionEvent = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Session = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Session = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def events(self) -> EventsResource: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def executeCode( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExecuteCodeResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def query( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1QueryReasoningEngineResponseHttpRequest + ): ... + def setIamPolicy( + self, + *, + resource: str, + body: GoogleIamV1SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def testIamPermissions( + self, + *, + resource: str, + permissions: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + def a2a(self) -> A2aResource: ... + def examples(self) -> ExamplesResource: ... + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... + def sessions(self) -> SessionsResource: ... + + @typing.type_check_only + class SchedulesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Schedule = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSchedulesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSchedulesResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Schedule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ScheduleHttpRequest: ... + def pause( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1PauseScheduleRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def resume( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ResumeScheduleRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SolversResource(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 SpecialistPoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1SpecialistPool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SpecialistPoolHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SpecialistPool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class StudiesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class TrialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def addTrialMeasurement( + self, + *, + trialName: str, + body: GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + def checkTrialEarlyStoppingState( + self, + *, + trialName: str, + body: GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def complete( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CompleteTrialRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Trial = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTrialsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTrialsResponseHttpRequest | None + ): ... + def listOptimalTrials( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1ListOptimalTrialsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListOptimalTrialsResponseHttpRequest + ): ... + def stop( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StopTrialRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TrialHttpRequest: ... + def suggest( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1SuggestTrialsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Study = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListStudiesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListStudiesResponseHttpRequest | None + ): ... + def lookup( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1LookupStudyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1StudyHttpRequest: ... + def operations(self) -> OperationsResource: ... + def trials(self) -> TrialsResource: ... + + @typing.type_check_only + class TensorboardsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ExperimentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RunsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class TimeSeriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, + *, + name: str, + timeout: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1TensorboardTimeSeries = ..., + tensorboardTimeSeriesId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def exportTensorboardTimeSeries( + self, + *, + tensorboardTimeSeries: str, + body: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest: ... + def exportTensorboardTimeSeries_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest + | None + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1TensorboardTimeSeries = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... + def read( + self, + *, + tensorboardTimeSeries: str, + filter: str = ..., + maxDataPoints: int = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ReadTensorboardTimeSeriesDataResponseHttpRequest: ... + def readBlobData( + self, + *, + timeSeries: str, + blobIds: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ReadTensorboardBlobDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1TensorboardRun = ..., + tensorboardRunId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTensorboardRunsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1TensorboardRun = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... + def write( + self, + *, + tensorboardRun: str, + body: GoogleCloudAiplatformV1beta1WriteTensorboardRunDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1WriteTensorboardRunDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + def timeSeries(self) -> TimeSeriesResource: ... + + def batchCreate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1TensorboardExperiment = ..., + tensorboardExperimentId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1TensorboardExperiment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest + ): ... + def write( + self, + *, + tensorboardExperiment: str, + body: GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataResponseHttpRequest: ... + def operations(self) -> OperationsResource: ... + def runs(self) -> RunsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def batchRead( + self, + *, + tensorboard: str, + timeSeries: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Tensorboard = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TensorboardHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTensorboardsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Tensorboard = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def readSize( + self, *, tensorboard: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1ReadTensorboardSizeResponseHttpRequest + ): ... + def readUsage( + self, *, tensorboard: str, **kwargs: typing.Any + ) -> ( + GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponseHttpRequest + ): ... + def experiments(self) -> ExperimentsResource: ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TrainingPipelinesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelTrainingPipelineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1TrainingPipeline = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TrainingPipelineHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TrainingPipelineHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + readMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + + def cancel( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CancelTuningJobRequest = ..., + **kwargs: typing.Any, + ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1TuningJob = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1TuningJobHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1TuningJobHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListTuningJobsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest | None + ): ... + def optimizePrompt( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1OptimizePromptRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1OptimizePromptResponseHttpRequest: ... + def rebaseTunedModel( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RebaseTunedModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... - @typing.type_check_only - class RunsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + def augmentPrompt( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1AugmentPromptRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1AugmentPromptResponseHttpRequest: ... + def corroborateContent( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1CorroborateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CorroborateContentResponseHttpRequest: ... + def deploy( + self, + *, + destination: str, + body: GoogleCloudAiplatformV1beta1DeployRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def deployPublisherModel( + self, + *, + destination: str, + body: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateDataset( + self, + *, + location: str, + body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def evaluateInstances( + self, + *, + location: str, + body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EvaluateInstancesResponseHttpRequest: ... + def generateInstanceRubrics( + self, + *, + location: str, + body: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponseHttpRequest + ): ... + def generateSyntheticData( + self, + *, + location: str, + body: GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponseHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudLocationLocationHttpRequest: ... + def getRagEngineConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1RagEngineConfigHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, + previous_response: GoogleCloudLocationListLocationsResponse, + ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... + def recommendSpec( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RecommendSpecRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RecommendSpecResponseHttpRequest: ... + def retrieveContexts( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RetrieveContextsResponseHttpRequest: ... + def updateRagEngineConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RagEngineConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def agents(self) -> AgentsResource: ... + def apps(self) -> AppsResource: ... + def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... + def cachedContents(self) -> CachedContentsResource: ... + def customJobs(self) -> CustomJobsResource: ... + def dataLabelingJobs(self) -> DataLabelingJobsResource: ... + def datasets(self) -> DatasetsResource: ... + def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... + def edgeDevices(self) -> EdgeDevicesResource: ... + def endpoints(self) -> EndpointsResource: ... + def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationRuns(self) -> EvaluationRunsResource: ... + def evaluationSets(self) -> EvaluationSetsResource: ... + def evaluationTasks(self) -> EvaluationTasksResource: ... + def exampleStores(self) -> ExampleStoresResource: ... + def extensionControllers(self) -> ExtensionControllersResource: ... + def extensions(self) -> ExtensionsResource: ... + def featureGroups(self) -> FeatureGroupsResource: ... + def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... + def featurestores(self) -> FeaturestoresResource: ... + def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... + def indexEndpoints(self) -> IndexEndpointsResource: ... + def indexes(self) -> IndexesResource: ... + def metadataStores(self) -> MetadataStoresResource: ... + def migratableResources(self) -> MigratableResourcesResource: ... + def modelDeploymentMonitoringJobs( + self, + ) -> ModelDeploymentMonitoringJobsResource: ... + def modelMonitors(self) -> ModelMonitorsResource: ... + def models(self) -> ModelsResource: ... + def nasJobs(self) -> NasJobsResource: ... + def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... + def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... + def notebookRuntimes(self) -> NotebookRuntimesResource: ... + def operations(self) -> OperationsResource: ... + def persistentResources(self) -> PersistentResourcesResource: ... + def pipelineJobs(self) -> PipelineJobsResource: ... + def publishers(self) -> PublishersResource: ... + def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... + def reasoningEngines(self) -> ReasoningEnginesResource: ... + def schedules(self) -> SchedulesResource: ... + def solvers(self) -> SolversResource: ... + def specialistPools(self) -> SpecialistPoolsResource: ... + def studies(self) -> StudiesResource: ... + def tensorboards(self) -> TensorboardsResource: ... + def trainingPipelines(self) -> TrainingPipelinesResource: ... + def tuningJobs(self) -> TuningJobsResource: ... - @typing.type_check_only - class TimeSeriesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource( - googleapiclient.discovery.Resource - ): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, - *, - name: str, - timeout: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class ModelGardenEulaResource(googleapiclient.discovery.Resource): + def accept( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest + ): ... + def check( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest + ): ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1TensorboardTimeSeries = ..., - tensorboardTimeSeriesId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def exportTensorboardTimeSeries( - self, - *, - tensorboardTimeSeries: str, - body: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest: ... - def exportTensorboardTimeSeries_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ExportTensorboardTimeSeriesDataResponseHttpRequest - | None - ): ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListTensorboardTimeSeriesResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1TensorboardTimeSeries = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TensorboardTimeSeriesHttpRequest: ... - def read( - self, - *, - tensorboardTimeSeries: str, - filter: str = ..., - maxDataPoints: int = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ReadTensorboardTimeSeriesDataResponseHttpRequest: ... - def readBlobData( - self, - *, - timeSeries: str, - blobIds: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ReadTensorboardBlobDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + def enableModel( + self, + *, + parent: str, + name: str, + body: GoogleCloudAiplatformV1beta1EnableModelRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1EnableModelResponseHttpRequest: ... - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1BatchCreateTensorboardRunsResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1TensorboardRun = ..., - tensorboardRunId: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTensorboardRunsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListTensorboardRunsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1TensorboardRun = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TensorboardRunHttpRequest: ... - def write( - self, - *, - tensorboardRun: str, - body: GoogleCloudAiplatformV1beta1WriteTensorboardRunDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1WriteTensorboardRunDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... - def timeSeries(self) -> TimeSeriesResource: ... + def models(self) -> ModelsResource: ... + + def fetchPublisherModelConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest: ... + def getCacheConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1CacheConfigHttpRequest: ... + def setPublisherModelConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def updateCacheConfig( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1CacheConfig = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def locations(self) -> LocationsResource: ... + def modelGardenEula(self) -> ModelGardenEulaResource: ... + def publishers(self) -> PublishersResource: ... + + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ModelsResource(googleapiclient.discovery.Resource): + def computeTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... + def countTokens( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... + def fetchPredictOperation( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def generateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + def get( + self, + *, + name: str, + huggingFaceToken: str = ..., + includeEquivalentModelGardenModelDeploymentConfigs: bool = ..., + isHuggingFaceModel: bool = ..., + languageCode: str = ..., + view: typing_extensions.Literal[ + "PUBLISHER_MODEL_VIEW_UNSPECIFIED", + "PUBLISHER_MODEL_VIEW_BASIC", + "PUBLISHER_MODEL_VIEW_FULL", + "PUBLISHER_MODEL_VERSION_VIEW_BASIC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PublisherModelHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + languageCode: str = ..., + listAllVersions: bool = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "PUBLISHER_MODEL_VIEW_UNSPECIFIED", + "PUBLISHER_MODEL_VIEW_BASIC", + "PUBLISHER_MODEL_VIEW_FULL", + "PUBLISHER_MODEL_VERSION_VIEW_BASIC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListPublisherModelsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest + | None + ): ... + def predict( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... + def predictLongRunning( + self, + *, + endpoint: str, + body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def streamGenerateContent( + self, + *, + model: str, + body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... - def batchCreate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1TensorboardExperiment = ..., - tensorboardExperimentId: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest - ): ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest - ): ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - readMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListTensorboardExperimentsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1TensorboardExperiment = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1TensorboardExperimentHttpRequest - ): ... - def write( - self, - *, - tensorboardExperiment: str, - body: GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1WriteTensorboardExperimentDataResponseHttpRequest: ... - def operations(self) -> OperationsResource: ... - def runs(self) -> RunsResource: ... + def models(self) -> ModelsResource: ... - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class RagCorporaResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def batchRead( - self, - *, - tensorboard: str, - timeSeries: str | _list[str] = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Tensorboard = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class RagFilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TensorboardHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest - ): ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTensorboardsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListTensorboardsResponseHttpRequest - | None - ): ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Tensorboard = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def readSize( - self, *, tensorboard: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1ReadTensorboardSizeResponseHttpRequest - ): ... - def readUsage( - self, *, tensorboard: str, **kwargs: typing.Any - ) -> ( - GoogleCloudAiplatformV1beta1ReadTensorboardUsageResponseHttpRequest - ): ... - def experiments(self) -> ExperimentsResource: ... - def operations(self) -> OperationsResource: ... + def operations(self) -> OperationsResource: ... + + def operations(self) -> OperationsResource: ... + def ragFiles(self) -> RagFilesResource: ... + + @typing.type_check_only + class RagEngineConfigResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class ReasoningEnginesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class A2aResource(googleapiclient.discovery.Resource): @typing.type_check_only - class TrainingPipelinesResource(googleapiclient.discovery.Resource): + class V1Resource(googleapiclient.discovery.Resource): @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): + class MessageResource(googleapiclient.discovery.Resource): + def send( + self, + *, + name: str, + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def stream( + self, + *, + name: str, + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + + @typing.type_check_only + class TasksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PushNotificationConfigsResource( + googleapiclient.discovery.Resource + ): + def a2aGetReasoningEngine( + self, + *, + name: str, + a2aEndpoint: str, + historyLength: str = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + + def a2aGetReasoningEngine( + self, + *, + name: str, + a2aEndpoint: str, + historyLength: str = ..., + **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... def cancel( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - 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 = ..., + a2aEndpoint: str, + body: dict[str, typing.Any] = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... - def list_next( + ) -> googleapiclient.http.HttpRequest: ... + def subscribe( + self, *, name: str, a2aEndpoint: str, **kwargs: typing.Any + ) -> GoogleApiHttpBodyHttpRequest: ... + def pushNotificationConfigs( self, - previous_request: GoogleLongrunningListOperationsResponseHttpRequest, - previous_response: GoogleLongrunningListOperationsResponse, - ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... - def wait( - self, *, name: str, timeout: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> PushNotificationConfigsResource: ... - def cancel( + def card( self, *, name: str, - body: GoogleCloudAiplatformV1beta1CancelTrainingPipelineRequest = ..., + a2aEndpoint: str, + historyLength: str = ..., **kwargs: typing.Any, + ) -> googleapiclient.http.HttpRequest: ... + def message(self) -> MessageResource: ... + def tasks(self) -> TasksResource: ... + + def v1(self) -> V1Resource: ... + + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... - def create( + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class MemoriesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1TrainingPipeline = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TrainingPipelineHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TrainingPipelineHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1MemoryRevisionHttpRequest: ... def list( self, *, @@ -6088,636 +8343,724 @@ class AiplatformResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., - readMask: str = ..., **kwargs: typing.Any, ) -> ( - GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest ): ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponse, + previous_request: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponseHttpRequest + GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest | None ): ... - def operations(self) -> OperationsResource: ... - @typing.type_check_only - class TuningJobsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class OperationsResource(googleapiclient.discovery.Resource): - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, + ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1Memory = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def purge( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1PurgeMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def retrieve( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest: ... + def rollback( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1RollbackMemoryRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def operations(self) -> OperationsResource: ... + def revisions(self) -> RevisionsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class SandboxEnvironmentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - body: GoogleCloudAiplatformV1beta1CancelTuningJobRequest = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleProtobufEmptyHttpRequest: ... - def create( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1TuningJob = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1TuningJobHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1TuningJobHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudAiplatformV1beta1SandboxEnvironment = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def execute( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponseHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudAiplatformV1beta1SandboxEnvironmentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponseHttpRequest + | None + ): ... + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class EventsResource(googleapiclient.discovery.Resource): def list( self, *, parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListTuningJobsResponse, + previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, ) -> ( - GoogleCloudAiplatformV1beta1ListTuningJobsResponseHttpRequest | None + GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest | None ): ... - def optimizePrompt( + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1OptimizePromptRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1OptimizePromptResponseHttpRequest: ... - def rebaseTunedModel( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1RebaseTunedModelRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def operations(self) -> OperationsResource: ... - def augmentPrompt( + def appendEvent( self, *, - parent: str, - body: GoogleCloudAiplatformV1beta1AugmentPromptRequest = ..., + name: str, + body: GoogleCloudAiplatformV1beta1SessionEvent = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AugmentPromptResponseHttpRequest: ... - def corroborateContent( + ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... + def create( self, *, parent: str, - body: GoogleCloudAiplatformV1beta1CorroborateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CorroborateContentResponseHttpRequest: ... - def deploy( - self, - *, - destination: str, - body: GoogleCloudAiplatformV1beta1DeployRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def deployPublisherModel( - self, - *, - destination: str, - body: GoogleCloudAiplatformV1beta1DeployPublisherModelRequest = ..., + body: GoogleCloudAiplatformV1beta1Session = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluateDataset( - self, - *, - location: str, - body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest = ..., - **kwargs: typing.Any, + def delete( + self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def evaluateInstances( - self, - *, - location: str, - body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EvaluateInstancesResponseHttpRequest: ... - def generateInstanceRubrics( - self, - *, - location: str, - body: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponseHttpRequest - ): ... - def generateSyntheticData( - self, - *, - location: str, - body: GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponseHttpRequest - ): ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudLocationLocationHttpRequest: ... - def getRagEngineConfig( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1RagEngineConfigHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... def list( self, *, - name: str, - extraLocationTypes: str | _list[str] = ..., + parent: str, filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, - ) -> GoogleCloudLocationListLocationsResponseHttpRequest: ... + ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudLocationListLocationsResponseHttpRequest, - previous_response: GoogleCloudLocationListLocationsResponse, - ) -> GoogleCloudLocationListLocationsResponseHttpRequest | None: ... - def recommendSpec( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1RecommendSpecRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1RecommendSpecResponseHttpRequest: ... - def retrieveContexts( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1RetrieveContextsResponseHttpRequest: ... - def updateRagEngineConfig( + previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, + ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest | None: ... + def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1RagEngineConfig = ..., + body: GoogleCloudAiplatformV1beta1Session = ..., + updateMask: str = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def agents(self) -> AgentsResource: ... - def apps(self) -> AppsResource: ... - def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... - def cachedContents(self) -> CachedContentsResource: ... - def customJobs(self) -> CustomJobsResource: ... - def dataLabelingJobs(self) -> DataLabelingJobsResource: ... - def datasets(self) -> DatasetsResource: ... - def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... - def edgeDevices(self) -> EdgeDevicesResource: ... - def endpoints(self) -> EndpointsResource: ... - def evaluationItems(self) -> EvaluationItemsResource: ... - def evaluationRuns(self) -> EvaluationRunsResource: ... - def evaluationSets(self) -> EvaluationSetsResource: ... - def evaluationTasks(self) -> EvaluationTasksResource: ... - def exampleStores(self) -> ExampleStoresResource: ... - def extensionControllers(self) -> ExtensionControllersResource: ... - def extensions(self) -> ExtensionsResource: ... - def featureGroups(self) -> FeatureGroupsResource: ... - def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... - def featurestores(self) -> FeaturestoresResource: ... - def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... - def indexEndpoints(self) -> IndexEndpointsResource: ... - def indexes(self) -> IndexesResource: ... - def metadataStores(self) -> MetadataStoresResource: ... - def migratableResources(self) -> MigratableResourcesResource: ... - def modelDeploymentMonitoringJobs( - self, - ) -> ModelDeploymentMonitoringJobsResource: ... - def modelMonitors(self) -> ModelMonitorsResource: ... - def models(self) -> ModelsResource: ... - def nasJobs(self) -> NasJobsResource: ... - def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... - def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... - def notebookRuntimes(self) -> NotebookRuntimesResource: ... + ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + def events(self) -> EventsResource: ... def operations(self) -> OperationsResource: ... - def persistentResources(self) -> PersistentResourcesResource: ... - def pipelineJobs(self) -> PipelineJobsResource: ... - def publishers(self) -> PublishersResource: ... - def ragCorpora(self) -> RagCorporaResource: ... - def ragEngineConfig(self) -> RagEngineConfigResource: ... - def reasoningEngines(self) -> ReasoningEnginesResource: ... - def schedules(self) -> SchedulesResource: ... - def solvers(self) -> SolversResource: ... - def specialistPools(self) -> SpecialistPoolsResource: ... - def studies(self) -> StudiesResource: ... - def tensorboards(self) -> TensorboardsResource: ... - def trainingPipelines(self) -> TrainingPipelinesResource: ... - def tuningJobs(self) -> TuningJobsResource: ... - - @typing.type_check_only - class ModelGardenEulaResource(googleapiclient.discovery.Resource): - def accept( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest - ): ... - def check( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptanceHttpRequest - ): ... - - @typing.type_check_only - class PublishersResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - def enableModel( - self, - *, - parent: str, - name: str, - body: GoogleCloudAiplatformV1beta1EnableModelRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1EnableModelResponseHttpRequest: ... - - def models(self) -> ModelsResource: ... - def fetchPublisherModelConfig( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1PublisherModelConfigHttpRequest: ... - def getCacheConfig( + def create( + self, + *, + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def executeCode( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ExecuteCodeResponseHttpRequest: ... + def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1CacheConfigHttpRequest: ... - def setPublisherModelConfig( + ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + parent: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, + previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, + ) -> ( + GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest | None + ): ... + def patch( self, *, name: str, - body: GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest = ..., + body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def updateCacheConfig( + def query( self, *, name: str, - body: GoogleCloudAiplatformV1beta1CacheConfig = ..., + body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest = ..., **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def locations(self) -> LocationsResource: ... - def modelGardenEula(self) -> ModelGardenEulaResource: ... - def publishers(self) -> PublishersResource: ... + ) -> GoogleCloudAiplatformV1beta1QueryReasoningEngineResponseHttpRequest: ... + def streamQuery( + self, + *, + name: str, + body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., + **kwargs: typing.Any, + ) -> GoogleApiHttpBodyHttpRequest: ... + def a2a(self) -> A2aResource: ... + def examples(self) -> ExamplesResource: ... + def memories(self) -> MemoriesResource: ... + def operations(self) -> OperationsResource: ... + def sandboxEnvironments(self) -> SandboxEnvironmentsResource: ... + def sessions(self) -> SessionsResource: ... @typing.type_check_only - class PublishersResource(googleapiclient.discovery.Resource): + class SchedulesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class ModelsResource(googleapiclient.discovery.Resource): - def computeTokens( - self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1ComputeTokensRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ComputeTokensResponseHttpRequest: ... - def countTokens( + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1CountTokensRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1CountTokensResponseHttpRequest: ... - def fetchPredictOperation( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def generateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SolversResource(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, - huggingFaceToken: str = ..., - includeEquivalentModelGardenModelDeploymentConfigs: bool = ..., - isHuggingFaceModel: bool = ..., - languageCode: str = ..., - view: typing_extensions.Literal[ - "PUBLISHER_MODEL_VIEW_UNSPECIFIED", - "PUBLISHER_MODEL_VIEW_BASIC", - "PUBLISHER_MODEL_VIEW_FULL", - "PUBLISHER_MODEL_VERSION_VIEW_BASIC", - ] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PublisherModelHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class SpecialistPoolsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - languageCode: str = ..., - listAllVersions: bool = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., - view: typing_extensions.Literal[ - "PUBLISHER_MODEL_VIEW_UNSPECIFIED", - "PUBLISHER_MODEL_VIEW_BASIC", - "PUBLISHER_MODEL_VIEW_FULL", - "PUBLISHER_MODEL_VERSION_VIEW_BASIC", - ] = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListPublisherModelsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListPublisherModelsResponseHttpRequest - | None - ): ... - def predict( + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class StudiesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictRequest = ..., + name: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1PredictResponseHttpRequest: ... - def predictLongRunning( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - endpoint: str, - body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def streamGenerateContent( - self, - *, - model: str, - body: GoogleCloudAiplatformV1beta1GenerateContentRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1GenerateContentResponseHttpRequest: ... - def models(self) -> ModelsResource: ... + @typing.type_check_only + class TrialsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + def operations(self) -> OperationsResource: ... + def trials(self) -> TrialsResource: ... @typing.type_check_only - class ReasoningEnginesResource(googleapiclient.discovery.Resource): + class TensorboardsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class A2aResource(googleapiclient.discovery.Resource): + class ExperimentsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class V1Resource(googleapiclient.discovery.Resource): + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + 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 wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + @typing.type_check_only + class RunsResource(googleapiclient.discovery.Resource): @typing.type_check_only - class MessageResource(googleapiclient.discovery.Resource): - def send( + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def stream( + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( self, - *, - name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., - **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... @typing.type_check_only - class TasksResource(googleapiclient.discovery.Resource): + class TimeSeriesResource(googleapiclient.discovery.Resource): @typing.type_check_only - class PushNotificationConfigsResource( - googleapiclient.discovery.Resource - ): - def a2aGetReasoningEngine( + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def list( self, *, name: str, - a2aEndpoint: str, - historyLength: str = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> ( + GoogleLongrunningListOperationsResponseHttpRequest | None + ): ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def a2aGetReasoningEngine( - self, - *, - name: str, - a2aEndpoint: str, - historyLength: str = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def cancel( - self, - *, - name: str, - a2aEndpoint: str, - body: dict[str, typing.Any] = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def subscribe( - self, *, name: str, a2aEndpoint: str, **kwargs: typing.Any - ) -> GoogleApiHttpBodyHttpRequest: ... - def pushNotificationConfigs( - self, - ) -> PushNotificationConfigsResource: ... + def operations(self) -> OperationsResource: ... - def card( - self, - *, - name: str, - a2aEndpoint: str, - historyLength: str = ..., - **kwargs: typing.Any, - ) -> googleapiclient.http.HttpRequest: ... - def message(self) -> MessageResource: ... - def tasks(self) -> TasksResource: ... + def operations(self) -> OperationsResource: ... + def timeSeries(self) -> TimeSeriesResource: ... - def v1(self) -> V1Resource: ... + def operations(self) -> OperationsResource: ... + def runs(self) -> RunsResource: ... @typing.type_check_only - class MemoriesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Memory = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def generate( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1GenerateMemoriesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1MemoryHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListMemoriesResponse, - ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Memory = ..., - updateMask: str = ..., - **kwargs: typing.Any, + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... - def retrieve( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseHttpRequest: ... - @typing.type_check_only - class SessionsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class EventsResource(googleapiclient.discovery.Resource): - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListEventsResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListEventsResponseHttpRequest | None - ): ... + def experiments(self) -> ExperimentsResource: ... + def operations(self) -> OperationsResource: ... - def appendEvent( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1SessionEvent = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1AppendEventResponseHttpRequest: ... - def create( - self, - *, - parent: str, - body: GoogleCloudAiplatformV1beta1Session = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only + class TrainingPipelinesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def delete( self, *, name: str, **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... def list( self, *, - parent: str, + name: str, filter: str = ..., - orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest: ... + ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( self, - previous_request: GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListSessionsResponse, - ) -> GoogleCloudAiplatformV1beta1ListSessionsResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: GoogleCloudAiplatformV1beta1Session = ..., - updateMask: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1SessionHttpRequest: ... - def events(self) -> EventsResource: ... + previous_request: GoogleLongrunningListOperationsResponseHttpRequest, + previous_response: GoogleLongrunningListOperationsResponse, + ) -> GoogleLongrunningListOperationsResponseHttpRequest | None: ... + def wait( + self, *, name: str, timeout: str = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... - def create( - self, - *, - body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., - parent: str = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, force: bool = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudAiplatformV1beta1ReasoningEngineHttpRequest: ... - def list( - self, - *, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - parent: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest, - previous_response: GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse, - ) -> ( - GoogleCloudAiplatformV1beta1ListReasoningEnginesResponseHttpRequest | None - ): ... - def patch( + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class TuningJobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + @typing.type_check_only + class V1beta1Resource(googleapiclient.discovery.Resource): + def evaluateDataset( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1ReasoningEngine = ..., - updateMask: str = ..., + body: GoogleCloudAiplatformV1beta1EvaluateDatasetRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def query( + def evaluateInstances( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest = ..., + body: GoogleCloudAiplatformV1beta1EvaluateInstancesRequest = ..., **kwargs: typing.Any, - ) -> GoogleCloudAiplatformV1beta1QueryReasoningEngineResponseHttpRequest: ... - def streamQuery( + ) -> GoogleCloudAiplatformV1beta1EvaluateInstancesResponseHttpRequest: ... + def generateInstanceRubrics( self, *, - name: str, - body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest = ..., + body: GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest = ..., **kwargs: typing.Any, - ) -> GoogleApiHttpBodyHttpRequest: ... - def a2a(self) -> A2aResource: ... - def memories(self) -> MemoriesResource: ... - def sessions(self) -> SessionsResource: ... + ) -> GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponseHttpRequest: ... def new_batch_http_request( self, @@ -6731,13 +9074,55 @@ class AiplatformResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def agents(self) -> AgentsResource: ... + def apps(self) -> AppsResource: ... def batchPredictionJobs(self) -> BatchPredictionJobsResource: ... + def customJobs(self) -> CustomJobsResource: ... + def dataLabelingJobs(self) -> DataLabelingJobsResource: ... def datasets(self) -> DatasetsResource: ... + def deploymentResourcePools(self) -> DeploymentResourcePoolsResource: ... + def edgeDevices(self) -> EdgeDevicesResource: ... def endpoints(self) -> EndpointsResource: ... + def evaluationItems(self) -> EvaluationItemsResource: ... + def evaluationRuns(self) -> EvaluationRunsResource: ... + def evaluationSets(self) -> EvaluationSetsResource: ... + def evaluationTasks(self) -> EvaluationTasksResource: ... + def exampleStores(self) -> ExampleStoresResource: ... + def extensionControllers(self) -> ExtensionControllersResource: ... + def extensions(self) -> ExtensionsResource: ... + def featureGroups(self) -> FeatureGroupsResource: ... + def featureOnlineStores(self) -> FeatureOnlineStoresResource: ... + def featurestores(self) -> FeaturestoresResource: ... + def hyperparameterTuningJobs(self) -> HyperparameterTuningJobsResource: ... + def indexEndpoints(self) -> IndexEndpointsResource: ... + def indexes(self) -> IndexesResource: ... def media(self) -> MediaResource: ... + def metadataStores(self) -> MetadataStoresResource: ... + def migratableResources(self) -> MigratableResourcesResource: ... + def modelDeploymentMonitoringJobs( + self, + ) -> ModelDeploymentMonitoringJobsResource: ... + def modelMonitors(self) -> ModelMonitorsResource: ... + def models(self) -> ModelsResource: ... + def notebookExecutionJobs(self) -> NotebookExecutionJobsResource: ... + def notebookRuntimeTemplates(self) -> NotebookRuntimeTemplatesResource: ... + def notebookRuntimes(self) -> NotebookRuntimesResource: ... + def operations(self) -> OperationsResource: ... + def persistentResources(self) -> PersistentResourcesResource: ... + def pipelineJobs(self) -> PipelineJobsResource: ... def projects(self) -> ProjectsResource: ... def publishers(self) -> PublishersResource: ... + def ragCorpora(self) -> RagCorporaResource: ... + def ragEngineConfig(self) -> RagEngineConfigResource: ... def reasoningEngines(self) -> ReasoningEnginesResource: ... + def schedules(self) -> SchedulesResource: ... + def solvers(self) -> SolversResource: ... + def specialistPools(self) -> SpecialistPoolsResource: ... + def studies(self) -> StudiesResource: ... + def tensorboards(self) -> TensorboardsResource: ... + def trainingPipelines(self) -> TrainingPipelinesResource: ... + def tuningJobs(self) -> TuningJobsResource: ... + def v1beta1(self) -> V1beta1Resource: ... @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): @@ -6991,6 +9376,16 @@ class GoogleCloudAiplatformV1beta1DirectRawPredictResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1DirectRawPredictResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EmbedContentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1EmbedContentResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1EnableModelResponseHttpRequest( googleapiclient.http.HttpRequest @@ -7069,6 +9464,16 @@ class GoogleCloudAiplatformV1beta1ExampleStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ExampleStore: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteCodeResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ExecuteCodeResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteExtensionResponseHttpRequest( googleapiclient.http.HttpRequest @@ -7655,6 +10060,16 @@ class GoogleCloudAiplatformV1beta1ListMemoriesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1ListMemoriesResponse: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponseHttpRequest( googleapiclient.http.HttpRequest @@ -8013,6 +10428,16 @@ class GoogleCloudAiplatformV1beta1MemoryHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> GoogleCloudAiplatformV1beta1Memory: ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryRevisionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudAiplatformV1beta1MemoryRevision: ... + @typing.type_check_only class GoogleCloudAiplatformV1beta1MetadataSchemaHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi index 3234f0cd3..c09cf2252 100644 --- a/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/aiplatform/v1beta1/schemas.pyi @@ -203,6 +203,28 @@ class GoogleCloudAiplatformV1beta1AddTrialMeasurementRequest( ): measurement: GoogleCloudAiplatformV1beta1Measurement +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AgentConfig(typing_extensions.TypedDict, total=False): + agentId: str + agentType: str + description: str + instruction: str + subAgents: _list[str] + tools: _list[GoogleCloudAiplatformV1beta1Tool] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AgentData(typing_extensions.TypedDict, total=False): + agents: dict[str, typing.Any] + turns: _list[GoogleCloudAiplatformV1beta1ConversationTurn] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1AgentEvent(typing_extensions.TypedDict, total=False): + activeTools: _list[GoogleCloudAiplatformV1beta1Tool] + author: str + content: GoogleCloudAiplatformV1beta1Content + eventTime: str + stateDelta: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1AggregationOutput( typing_extensions.TypedDict, total=False @@ -228,6 +250,7 @@ class GoogleCloudAiplatformV1beta1AggregationResult( "PERCENTILE_P99", ] bleuMetricValue: GoogleCloudAiplatformV1beta1BleuMetricValue + customCodeExecutionResult: GoogleCloudAiplatformV1beta1CustomCodeExecutionResult exactMatchMetricValue: GoogleCloudAiplatformV1beta1ExactMatchMetricValue pairwiseMetricResult: GoogleCloudAiplatformV1beta1PairwiseMetricResult pointwiseMetricResult: GoogleCloudAiplatformV1beta1PointwiseMetricResult @@ -666,6 +689,9 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobInputConfig( bigquerySource: GoogleCloudAiplatformV1beta1BigQuerySource gcsSource: GoogleCloudAiplatformV1beta1GcsSource instancesFormat: str + vertexMultimodalDatasetSource: ( + GoogleCloudAiplatformV1beta1VertexMultimodalDatasetSource + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobInstanceConfig( @@ -683,6 +709,9 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputConfig( bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination gcsDestination: GoogleCloudAiplatformV1beta1GcsDestination predictionsFormat: str + vertexMultimodalDatasetDestination: ( + GoogleCloudAiplatformV1beta1VertexMultimodalDatasetDestination + ) @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputInfo( @@ -691,6 +720,7 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJobOutputInfo( bigqueryOutputDataset: str bigqueryOutputTable: str gcsOutputDirectory: str + vertexMultimodalDatasetName: str @typing.type_check_only class GoogleCloudAiplatformV1beta1BatchReadFeatureValuesOperationMetadata( @@ -923,7 +953,9 @@ class GoogleCloudAiplatformV1beta1Candidate(typing_extensions.TypedDict, total=F class GoogleCloudAiplatformV1beta1CandidateResponse( typing_extensions.TypedDict, total=False ): + agentData: GoogleCloudAiplatformV1beta1AgentData candidate: str + events: _list[GoogleCloudAiplatformV1beta1Content] text: str value: typing.Any @@ -1087,6 +1119,15 @@ class GoogleCloudAiplatformV1beta1CompletionStats( successfulCount: str successfulForecastPointCount: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ComputationBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + parameters: dict[str, typing.Any] + type: typing_extensions.Literal[ + "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ComputeTokensRequest( typing_extensions.TypedDict, total=False @@ -1158,6 +1199,14 @@ class GoogleCloudAiplatformV1beta1Context(typing_extensions.TypedDict, total=Fal schemaVersion: str updateTime: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ConversationTurn( + typing_extensions.TypedDict, total=False +): + events: _list[GoogleCloudAiplatformV1beta1AgentEvent] + turnId: str + turnIndex: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1CopyModelOperationMetadata( typing_extensions.TypedDict, total=False @@ -1266,6 +1315,8 @@ class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata( "STARTING_MODEL_SERVER", "FINISHING_UP", "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY", ] genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @@ -1440,6 +1491,18 @@ class GoogleCloudAiplatformV1beta1CsvDestination( class GoogleCloudAiplatformV1beta1CsvSource(typing_extensions.TypedDict, total=False): gcsSource: GoogleCloudAiplatformV1beta1GcsSource +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CustomCodeExecutionResult( + typing_extensions.TypedDict, total=False +): + score: float + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec( + typing_extensions.TypedDict, total=False +): + evaluationFunction: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1CustomJob(typing_extensions.TypedDict, total=False): createTime: str @@ -1746,6 +1809,8 @@ class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata( "STARTING_MODEL_SERVER", "FINISHING_UP", "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY", ] genericMetadata: GoogleCloudAiplatformV1beta1GenericOperationMetadata @@ -1883,6 +1948,7 @@ class GoogleCloudAiplatformV1beta1DeployedModel( enableContainerLogging: bool explanationSpec: GoogleCloudAiplatformV1beta1ExplanationSpec fasterDeploymentConfig: GoogleCloudAiplatformV1beta1FasterDeploymentConfig + fullFineTunedResources: GoogleCloudAiplatformV1beta1FullFineTunedResources gdcConnectedModel: str id: str model: str @@ -2021,6 +2087,40 @@ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig( dynamicThreshold: float mode: typing_extensions.Literal["MODE_UNSPECIFIED", "MODE_DYNAMIC"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EmbedContentRequest( + typing_extensions.TypedDict, total=False +): + autoTruncate: bool + content: GoogleCloudAiplatformV1beta1Content + outputDimensionality: int + taskType: typing_extensions.Literal[ + "UNSPECIFIED", + "RETRIEVAL_QUERY", + "RETRIEVAL_DOCUMENT", + "SEMANTIC_SIMILARITY", + "CLASSIFICATION", + "CLUSTERING", + "QUESTION_ANSWERING", + "FACT_VERIFICATION", + "CODE_RETRIEVAL_QUERY", + ] + title: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EmbedContentResponse( + typing_extensions.TypedDict, total=False +): + embedding: GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding + truncated: bool + usageMetadata: GoogleCloudAiplatformV1beta1UsageMetadata + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding( + typing_extensions.TypedDict, total=False +): + values: _list[float] + @typing.type_check_only class GoogleCloudAiplatformV1beta1EnableModelRequest( typing_extensions.TypedDict, total=False @@ -2140,6 +2240,7 @@ class GoogleCloudAiplatformV1beta1EvaluateDatasetRequest( ): autoraterConfig: GoogleCloudAiplatformV1beta1AutoraterConfig dataset: GoogleCloudAiplatformV1beta1EvaluationDataset + location: str metrics: _list[GoogleCloudAiplatformV1beta1Metric] outputConfig: GoogleCloudAiplatformV1beta1OutputConfig @@ -2172,6 +2273,7 @@ class GoogleCloudAiplatformV1beta1EvaluateInstancesRequest( fulfillmentInput: GoogleCloudAiplatformV1beta1FulfillmentInput groundednessInput: GoogleCloudAiplatformV1beta1GroundednessInput instance: GoogleCloudAiplatformV1beta1EvaluationInstance + location: str metrics: _list[GoogleCloudAiplatformV1beta1Metric] metricxInput: GoogleCloudAiplatformV1beta1MetricxInput pairwiseMetricInput: GoogleCloudAiplatformV1beta1PairwiseMetricInput @@ -2326,12 +2428,76 @@ class GoogleCloudAiplatformV1beta1EvaluationDataset( class GoogleCloudAiplatformV1beta1EvaluationInstance( typing_extensions.TypedDict, total=False ): + agentData: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentData + agentEvalData: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentData otherData: GoogleCloudAiplatformV1beta1EvaluationInstanceMapInstance prompt: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData reference: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData response: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData rubricGroups: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig( + typing_extensions.TypedDict, total=False +): + agentId: str + agentType: str + description: str + developerInstruction: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData + subAgents: _list[str] + tools: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfigTools + toolsText: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfigTools( + typing_extensions.TypedDict, total=False +): + tool: _list[GoogleCloudAiplatformV1beta1Tool] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentData( + typing_extensions.TypedDict, total=False +): + agentConfig: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig + agents: dict[str, typing.Any] + developerInstruction: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData + events: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents + tools: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools + toolsText: str + turns: _list[ + GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataConversationTurn + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataAgentEvent( + typing_extensions.TypedDict, total=False +): + activeTools: _list[GoogleCloudAiplatformV1beta1Tool] + author: str + content: GoogleCloudAiplatformV1beta1Content + eventTime: str + stateDelta: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataConversationTurn( + typing_extensions.TypedDict, total=False +): + events: _list[GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataAgentEvent] + turnId: str + turnIndex: int + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents( + typing_extensions.TypedDict, total=False +): + event: _list[GoogleCloudAiplatformV1beta1Content] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools( + typing_extensions.TypedDict, total=False +): + tool: _list[GoogleCloudAiplatformV1beta1Tool] + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData( typing_extensions.TypedDict, total=False @@ -2372,6 +2538,7 @@ class GoogleCloudAiplatformV1beta1EvaluationItem( class GoogleCloudAiplatformV1beta1EvaluationPrompt( typing_extensions.TypedDict, total=False ): + agentData: GoogleCloudAiplatformV1beta1AgentData promptTemplateData: GoogleCloudAiplatformV1beta1EvaluationPromptPromptTemplateData text: str value: typing.Any @@ -2495,17 +2662,29 @@ class GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfigPromptTemplate( class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfig( typing_extensions.TypedDict, total=False ): + agentConfig: GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentConfig generationConfig: GoogleCloudAiplatformV1beta1GenerationConfig model: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentConfig( + typing_extensions.TypedDict, total=False +): + developerInstruction: GoogleCloudAiplatformV1beta1Content + tools: _list[GoogleCloudAiplatformV1beta1Tool] + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetric( typing_extensions.TypedDict, total=False ): + computationBasedMetricSpec: ( + GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec + ) llmBasedMetricSpec: ( GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec ) metric: str + metricConfig: GoogleCloudAiplatformV1beta1Metric predefinedMetricSpec: ( GoogleCloudAiplatformV1beta1EvaluationRunMetricPredefinedMetricSpec ) @@ -2513,6 +2692,15 @@ class GoogleCloudAiplatformV1beta1EvaluationRunMetric( GoogleCloudAiplatformV1beta1EvaluationRunMetricRubricBasedMetricSpec ) +@typing.type_check_only +class GoogleCloudAiplatformV1beta1EvaluationRunMetricComputationBasedMetricSpec( + typing_extensions.TypedDict, total=False +): + parameters: dict[str, typing.Any] + type: typing_extensions.Literal[ + "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED", "EXACT_MATCH", "BLEU", "ROUGE" + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1EvaluationRunMetricLLMBasedMetricSpec( typing_extensions.TypedDict, total=False @@ -2603,7 +2791,6 @@ class GoogleCloudAiplatformV1beta1EventActions( skipSummarization: bool stateDelta: dict[str, typing.Any] transferAgent: str - transferToAgent: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1EventMetadata( @@ -2723,6 +2910,18 @@ class GoogleCloudAiplatformV1beta1ExecutableCode( code: str language: typing_extensions.Literal["LANGUAGE_UNSPECIFIED", "PYTHON"] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteCodeRequest( + typing_extensions.TypedDict, total=False +): + inputs: _list[GoogleCloudAiplatformV1beta1Chunk] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ExecuteCodeResponse( + typing_extensions.TypedDict, total=False +): + outputs: _list[GoogleCloudAiplatformV1beta1Chunk] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ExecuteExtensionRequest( typing_extensions.TypedDict, total=False @@ -3301,6 +3500,7 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable( GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata ) enableDirectBigtableAccess: bool + zone: str @typing.type_check_only class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling( @@ -3896,6 +4096,15 @@ class GoogleCloudAiplatformV1beta1FulfillmentSpec( ): version: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FullFineTunedResources( + typing_extensions.TypedDict, total=False +): + deploymentType: typing_extensions.Literal[ + "DEPLOYMENT_TYPE_UNSPECIFIED", "DEPLOYMENT_TYPE_EVAL", "DEPLOYMENT_TYPE_PROD" + ] + modelInferenceUnitCount: int + @typing.type_check_only class GoogleCloudAiplatformV1beta1FullFineTuningSpec( typing_extensions.TypedDict, total=False @@ -3911,6 +4120,8 @@ class GoogleCloudAiplatformV1beta1FunctionCall( args: dict[str, typing.Any] id: str name: str + partialArgs: _list[GoogleCloudAiplatformV1beta1PartialArg] + willContinue: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionCallingConfig( @@ -3920,6 +4131,7 @@ class GoogleCloudAiplatformV1beta1FunctionCallingConfig( mode: typing_extensions.Literal[ "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" ] + streamFunctionCallArguments: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionDeclaration( @@ -3938,8 +4150,32 @@ class GoogleCloudAiplatformV1beta1FunctionResponse( ): id: str name: str + parts: _list[GoogleCloudAiplatformV1beta1FunctionResponsePart] response: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FunctionResponseBlob( + typing_extensions.TypedDict, total=False +): + data: str + displayName: str + mimeType: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FunctionResponseFileData( + typing_extensions.TypedDict, total=False +): + displayName: str + fileUri: str + mimeType: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1FunctionResponsePart( + typing_extensions.TypedDict, total=False +): + fileData: GoogleCloudAiplatformV1beta1FunctionResponseFileData + inlineData: GoogleCloudAiplatformV1beta1FunctionResponseBlob + @typing.type_check_only class GoogleCloudAiplatformV1beta1GcsDestination( typing_extensions.TypedDict, total=False @@ -4080,7 +4316,11 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int trafficType: typing_extensions.Literal[ - "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "ON_DEMAND_PRIORITY", + "ON_DEMAND_FLEX", + "PROVISIONED_THROUGHPUT", ] @typing.type_check_only @@ -4099,7 +4339,9 @@ class GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse( class GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest( typing_extensions.TypedDict, total=False ): + agentConfig: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentConfig contents: _list[GoogleCloudAiplatformV1beta1Content] + location: str predefinedRubricGenerationSpec: GoogleCloudAiplatformV1beta1PredefinedMetricSpec rubricGenerationSpec: GoogleCloudAiplatformV1beta1RubricGenerationSpec @@ -4120,6 +4362,17 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest( GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource ) disableConsolidation: bool + disableMemoryRevisions: bool + metadata: dict[str, typing.Any] + metadataMergeStrategy: typing_extensions.Literal[ + "METADATA_MERGE_STRATEGY_UNSPECIFIED", + "OVERWRITE", + "MERGE", + "REQUIRE_EXACT_MATCH", + ] + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str scope: dict[str, typing.Any] vertexSessionSource: ( GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource @@ -4152,6 +4405,7 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDir typing_extensions.TypedDict, total=False ): fact: str + topics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource( @@ -4268,6 +4522,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( ): includeThoughts: bool thinkingBudget: int + thinkingLevel: typing_extensions.Literal[ + "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GenericOperationMetadata( @@ -4459,6 +4716,18 @@ class GoogleCloudAiplatformV1beta1IdMatcher(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): aspectRatio: str + imageOutputOptions: GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions + imageSize: str + personGeneration: typing_extensions.Literal[ + "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions( + typing_extensions.TypedDict, total=False +): + compressionQuality: int + mimeType: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ImportDataConfig( @@ -4759,6 +5028,12 @@ class GoogleCloudAiplatformV1beta1IntegratedGradientsAttribution( smoothGradConfig: GoogleCloudAiplatformV1beta1SmoothGradConfig stepCount: int +@typing.type_check_only +class GoogleCloudAiplatformV1beta1IntermediateExtractedMemory( + typing_extensions.TypedDict, total=False +): + fact: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1InternalOsServiceStateInstance( typing_extensions.TypedDict, total=False @@ -5050,6 +5325,13 @@ class GoogleCloudAiplatformV1beta1ListMemoriesResponse( memories: _list[GoogleCloudAiplatformV1beta1Memory] nextPageToken: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse( + typing_extensions.TypedDict, total=False +): + memoryRevisions: _list[GoogleCloudAiplatformV1beta1MemoryRevision] + nextPageToken: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse( typing_extensions.TypedDict, total=False @@ -5361,6 +5643,7 @@ class GoogleCloudAiplatformV1beta1MachineSpec(typing_extensions.TypedDict, total ] gpuPartitionSize: str machineType: str + minGpuDriverVersion: str multihostGpuNodeCount: int reservationAffinity: GoogleCloudAiplatformV1beta1ReservationAffinity tpuTopology: str @@ -5388,11 +5671,17 @@ class GoogleCloudAiplatformV1beta1MeasurementMetric( class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=False): createTime: str description: str + disableMemoryRevisions: bool displayName: str expireTime: str fact: str + metadata: dict[str, typing.Any] name: str + revisionExpireTime: str + revisionLabels: dict[str, typing.Any] + revisionTtl: str scope: dict[str, typing.Any] + topics: _list[GoogleCloudAiplatformV1beta1MemoryTopicId] ttl: str updateTime: str @@ -5400,6 +5689,7 @@ class GoogleCloudAiplatformV1beta1Memory(typing_extensions.TypedDict, total=Fals class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig( typing_extensions.TypedDict, total=False ): + enableThirdPersonMemories: bool generateMemoriesExamples: _list[ GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigGenerateMemoriesExample ] @@ -5464,6 +5754,43 @@ class GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManage "EXPLICIT_INSTRUCTIONS", ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter( + typing_extensions.TypedDict, total=False +): + filters: _list[GoogleCloudAiplatformV1beta1MemoryFilter] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryFilter( + typing_extensions.TypedDict, total=False +): + key: str + negate: bool + op: typing_extensions.Literal[ + "OPERATOR_UNSPECIFIED", "EQUAL", "GREATER_THAN", "LESS_THAN" + ] + value: GoogleCloudAiplatformV1beta1MemoryMetadataValue + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryMetadataValue( + typing_extensions.TypedDict, total=False +): + boolValue: bool + doubleValue: float + stringValue: str + timestampValue: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1MemoryRevision( + typing_extensions.TypedDict, total=False +): + createTime: str + expireTime: str + extractedMemories: _list[GoogleCloudAiplatformV1beta1IntermediateExtractedMemory] + fact: str + labels: dict[str, typing.Any] + name: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1MemoryTopicId( typing_extensions.TypedDict, total=False @@ -5545,6 +5872,8 @@ class GoogleCloudAiplatformV1beta1Metric(typing_extensions.TypedDict, total=Fals ] ] bleuSpec: GoogleCloudAiplatformV1beta1BleuSpec + computationBasedMetricSpec: GoogleCloudAiplatformV1beta1ComputationBasedMetricSpec + customCodeExecutionSpec: GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec exactMatchSpec: GoogleCloudAiplatformV1beta1ExactMatchSpec llmBasedMetricSpec: GoogleCloudAiplatformV1beta1LLMBasedMetricSpec pairwiseMetricSpec: GoogleCloudAiplatformV1beta1PairwiseMetricSpec @@ -6920,6 +7249,13 @@ class GoogleCloudAiplatformV1beta1OptimizePromptRequest( typing_extensions.TypedDict, total=False ): content: GoogleCloudAiplatformV1beta1Content + optimizationTarget: typing_extensions.Literal[ + "OPTIMIZATION_TARGET_UNSPECIFIED", + "OPTIMIZATION_TARGET_GENERAL", + "OPTIMIZATION_TARGET_GEMINI_NANO", + "OPTIMIZATION_TARGET_FEW_SHOT_RUBRICS", + "OPTIMIZATION_TARGET_FEW_SHOT_TARGET_RESPONSE", + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1OptimizePromptResponse( @@ -7072,11 +7408,33 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) functionCall: GoogleCloudAiplatformV1beta1FunctionCall functionResponse: GoogleCloudAiplatformV1beta1FunctionResponse inlineData: GoogleCloudAiplatformV1beta1Blob + mediaResolution: GoogleCloudAiplatformV1beta1PartMediaResolution text: str thought: bool thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PartMediaResolution( + typing_extensions.TypedDict, total=False +): + level: typing_extensions.Literal[ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH", + "MEDIA_RESOLUTION_ULTRA_HIGH", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PartialArg(typing_extensions.TypedDict, total=False): + boolValue: bool + jsonPath: str + nullValue: typing_extensions.Literal["NULL_VALUE"] + numberValue: float + stringValue: str + willContinue: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PartnerModelTuningSpec( typing_extensions.TypedDict, total=False @@ -7427,6 +7785,7 @@ class GoogleCloudAiplatformV1beta1PredictRequest( typing_extensions.TypedDict, total=False ): instances: _list[typing.Any] + labels: dict[str, typing.Any] parameters: typing.Any @typing.type_check_only @@ -7494,7 +7853,6 @@ class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters( class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec( typing_extensions.TypedDict, total=False ): - evaluationConfig: GoogleCloudAiplatformV1beta1EvaluationConfig exportLastCheckpointOnly: bool hyperParameters: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters trainingDatasetUri: str @@ -7830,6 +8188,14 @@ class GoogleCloudAiplatformV1beta1PurgeExecutionsResponse( purgeCount: str purgeSample: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PurgeMemoriesRequest( + typing_extensions.TypedDict, total=False +): + filter: str + filterGroups: _list[GoogleCloudAiplatformV1beta1MemoryConjunctionFilter] + force: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PythonPackageSpec( typing_extensions.TypedDict, total=False @@ -8040,6 +8406,8 @@ class GoogleCloudAiplatformV1beta1RagCorpus(typing_extensions.TypedDict, total=F ragEmbeddingModelConfig: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig ragFilesCount: int ragVectorDbConfig: GoogleCloudAiplatformV1beta1RagVectorDbConfig + satisfiesPzi: bool + satisfiesPzs: bool updateTime: str vectorDbConfig: GoogleCloudAiplatformV1beta1RagVectorDbConfig vertexAiSearchConfig: GoogleCloudAiplatformV1beta1VertexAiSearchConfig @@ -8206,6 +8574,8 @@ class GoogleCloudAiplatformV1beta1RagManagedDbConfig( basic: GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic enterprise: GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise scaled: GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled + serverless: GoogleCloudAiplatformV1beta1RagManagedDbConfigServerless + spanner: GoogleCloudAiplatformV1beta1RagManagedDbConfigSpanner unprovisioned: GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned @typing.type_check_only @@ -8223,6 +8593,19 @@ class GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigServerless( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagManagedDbConfigSpanner( + typing_extensions.TypedDict, total=False +): + basic: GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic + scaled: GoogleCloudAiplatformV1beta1RagManagedDbConfigScaled + unprovisioned: GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagManagedDbConfigUnprovisioned( typing_extensions.TypedDict, total=False @@ -8291,6 +8674,9 @@ class GoogleCloudAiplatformV1beta1RagVectorDbConfig( pinecone: GoogleCloudAiplatformV1beta1RagVectorDbConfigPinecone ragEmbeddingModelConfig: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig ragManagedDb: GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDb + ragManagedVertexVectorSearch: ( + GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch + ) vertexFeatureStore: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore vertexVectorSearch: GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexVectorSearch weaviate: GoogleCloudAiplatformV1beta1RagVectorDbConfigWeaviate @@ -8320,6 +8706,12 @@ class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbKNN( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedVertexVectorSearch( + typing_extensions.TypedDict, total=False +): + collectionName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RagVectorDbConfigVertexFeatureStore( typing_extensions.TypedDict, total=False @@ -8494,6 +8886,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig( customizationConfigs: _list[ GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig ] + disableMemoryRevisions: bool generationConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig similaritySearchConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig ttlConfig: ( @@ -8518,6 +8911,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlC ): defaultTtl: str granularTtlConfig: GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig + memoryRevisionDefaultTtl: str @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig( @@ -8531,11 +8925,17 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlC class GoogleCloudAiplatformV1beta1ReasoningEngineSpec( typing_extensions.TypedDict, total=False ): + agentCard: dict[str, typing.Any] agentFramework: str classMethods: _list[dict[str, typing.Any]] deploymentSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec + effectiveIdentity: str + identityType: typing_extensions.Literal[ + "IDENTITY_TYPE_UNSPECIFIED", "SERVICE_ACCOUNT", "AGENT_IDENTITY" + ] packageSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec serviceAccount: str + sourceCodeSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec @typing.type_check_only class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec( @@ -8561,6 +8961,45 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec( pythonVersion: str requirementsGcsUri: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpec( + typing_extensions.TypedDict, total=False +): + developerConnectSource: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource + inlineSource: ( + GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource + ) + pythonSpec: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig( + typing_extensions.TypedDict, total=False +): + dir: str + gitRepositoryLink: str + revision: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecInlineSource( + typing_extensions.TypedDict, total=False +): + sourceArchive: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec( + typing_extensions.TypedDict, total=False +): + entrypointModule: str + entrypointObject: str + requirementsFile: str + version: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RebaseTunedModelRequest( typing_extensions.TypedDict, total=False @@ -8656,6 +9095,13 @@ class GoogleCloudAiplatformV1beta1RemoveExamplesResponse( ): exampleIds: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig( + typing_extensions.TypedDict, total=False +): + mimeType: str + voiceSampleAudio: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1ReportExecutionEventRequest( typing_extensions.TypedDict, total=False @@ -8810,6 +9256,8 @@ class GoogleCloudAiplatformV1beta1RetrieveContextsResponse( class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest( typing_extensions.TypedDict, total=False ): + filter: str + filterGroups: _list[GoogleCloudAiplatformV1beta1MemoryConjunctionFilter] scope: dict[str, typing.Any] similaritySearchParams: ( GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams @@ -8848,6 +9296,12 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesResponseRetrievedMemory( distance: float memory: GoogleCloudAiplatformV1beta1Memory +@typing.type_check_only +class GoogleCloudAiplatformV1beta1RollbackMemoryRequest( + typing_extensions.TypedDict, total=False +): + targetRevisionId: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1RolloutOptions( typing_extensions.TypedDict, total=False @@ -9961,6 +10415,24 @@ class GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue( ): partList: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData( + typing_extensions.TypedDict, total=False +): + codeRepositoryState: str + framework: typing_extensions.Literal["FRAMEWORK_UNSPECIFIED", "REACT", "ANGULAR"] + linkedResources: _list[ + GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource( + typing_extensions.TypedDict, total=False +): + displayName: str + name: str + type: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt( typing_extensions.TypedDict, total=False @@ -10004,6 +10476,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecReferenceSentencePairList( class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt( typing_extensions.TypedDict, total=False ): + appBuilderData: GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData context: GoogleCloudAiplatformV1beta1Content examples: _list[GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList] infillPrefix: str @@ -11101,6 +11574,7 @@ class GoogleCloudAiplatformV1beta1Session(typing_extensions.TypedDict, total=Fal createTime: str displayName: str expireTime: str + labels: dict[str, typing.Any] name: str sessionState: dict[str, typing.Any] ttl: str @@ -11969,11 +12443,13 @@ class GoogleCloudAiplatformV1beta1TokensInfo(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False): codeExecution: GoogleCloudAiplatformV1beta1ToolCodeExecution + computerUse: GoogleCloudAiplatformV1beta1ToolComputerUse enterpriseWebSearch: GoogleCloudAiplatformV1beta1EnterpriseWebSearch functionDeclarations: _list[GoogleCloudAiplatformV1beta1FunctionDeclaration] googleMaps: GoogleCloudAiplatformV1beta1GoogleMaps googleSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval + parallelAiSearch: GoogleCloudAiplatformV1beta1ToolParallelAiSearch retrieval: GoogleCloudAiplatformV1beta1Retrieval urlContext: GoogleCloudAiplatformV1beta1UrlContext @@ -12020,6 +12496,15 @@ class GoogleCloudAiplatformV1beta1ToolCodeExecution( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ToolComputerUse( + typing_extensions.TypedDict, total=False +): + environment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_BROWSER" + ] + excludedPredefinedFunctions: _list[str] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolConfig(typing_extensions.TypedDict, total=False): functionCallingConfig: GoogleCloudAiplatformV1beta1FunctionCallingConfig @@ -12073,6 +12558,13 @@ class GoogleCloudAiplatformV1beta1ToolNameMatchSpec( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ToolParallelAiSearch( + typing_extensions.TypedDict, total=False +): + apiKey: str + customConfigs: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput( typing_extensions.TypedDict, total=False @@ -12779,6 +13271,28 @@ class GoogleCloudAiplatformV1beta1UrlMetadata(typing_extensions.TypedDict, total "URL_RETRIEVAL_STATUS_ERROR", ] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1UsageMetadata( + typing_extensions.TypedDict, total=False +): + cacheTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + cachedContentTokenCount: int + candidatesTokenCount: int + candidatesTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + promptTokenCount: int + promptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + thoughtsTokenCount: int + toolUsePromptTokenCount: int + toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] + totalTokenCount: int + trafficType: typing_extensions.Literal[ + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "ON_DEMAND_PRIORITY", + "ON_DEMAND_FLEX", + "PROVISIONED_THROUGHPUT", + ] + @typing.type_check_only class GoogleCloudAiplatformV1beta1UserActionReference( typing_extensions.TypedDict, total=False @@ -12805,6 +13319,7 @@ class GoogleCloudAiplatformV1beta1VeoHyperParameters( "TUNING_TASK_T2V", "TUNING_TASK_R2V", ] + veoDataMixtureRatio: float @typing.type_check_only class GoogleCloudAiplatformV1beta1VeoTuningSpec( @@ -12837,6 +13352,19 @@ class GoogleCloudAiplatformV1beta1VertexAiSearchConfig( ): servingConfig: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VertexMultimodalDatasetDestination( + typing_extensions.TypedDict, total=False +): + bigqueryDestination: GoogleCloudAiplatformV1beta1BigQueryDestination + displayName: str + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1VertexMultimodalDatasetSource( + typing_extensions.TypedDict, total=False +): + datasetName: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1VertexRagStore( typing_extensions.TypedDict, total=False @@ -12866,6 +13394,7 @@ class GoogleCloudAiplatformV1beta1VideoMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1VoiceConfig(typing_extensions.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig + replicatedVoiceConfig: GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig @typing.type_check_only class GoogleCloudAiplatformV1beta1WorkerPoolSpec( diff --git a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi index 3889d3d2d..76f423b2f 100644 --- a/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alertcenter/v1beta1/schemas.pyi @@ -364,6 +364,7 @@ class ResourceInfo(typing_extensions.TypedDict, total=False): chatMessageId: str deviceId: str documentId: str + messageId: str resourceTitle: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi index 33e83a355..87f5a672c 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/resources.pyi @@ -39,7 +39,15 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., + **kwargs: typing.Any, ) -> BackupHttpRequest: ... def list( self, @@ -49,6 +57,11 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., **kwargs: typing.Any, ) -> ListBackupsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi index c6f197956..d0a1d11ad 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1/schemas.pyi @@ -133,6 +133,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_16", "POSTGRES_17", ] + dataplexConfig: DataplexConfig deleteTime: str displayName: str encryptionConfig: EncryptionConfig @@ -142,6 +143,11 @@ class Cluster(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] maintenanceSchedule: MaintenanceSchedule maintenanceUpdatePolicy: MaintenanceUpdatePolicy + maintenanceVersionSelectionPolicy: typing_extensions.Literal[ + "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", + "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", + "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT", + ] migrationSource: MigrationSource name: str network: str @@ -163,6 +169,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "BOOTSTRAPPING", "MAINTENANCE", "PROMOTING", + "SWITCHOVER", ] subscriptionType: typing_extensions.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" @@ -256,6 +263,10 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str table: str +@typing.type_check_only +class DataplexConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): endDate: GoogleTypeDate @@ -354,6 +365,9 @@ class Instance(typing_extensions.TypedDict, total=False): clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str + dataApiAccess: typing_extensions.Literal[ + "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" + ] databaseFlags: dict[str, typing.Any] deleteTime: str displayName: str @@ -365,6 +379,7 @@ class Instance(typing_extensions.TypedDict, total=False): ipAddress: str labels: dict[str, typing.Any] machineConfig: MachineConfig + maintenanceVersionName: str name: str networkConfig: InstanceNetworkConfig nodes: _list[Node] @@ -386,6 +401,9 @@ class Instance(typing_extensions.TypedDict, total=False): "FAILED", "BOOTSTRAPPING", "PROMOTING", + "SWITCHOVER", + "STOPPING", + "STARTING", ] uid: str updateTime: str @@ -773,6 +791,8 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -955,6 +975,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -993,6 +1015,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ @@ -1009,6 +1032,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1025,6 +1049,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] + isDeletionProtectionEnabled: bool location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @@ -1032,6 +1057,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct resourceContainer: str + resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str suspensionReason: typing_extensions.Literal[ "SUSPENSION_REASON_UNSPECIFIED", @@ -1165,6 +1191,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] @typing.type_check_only @@ -1185,6 +1213,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -1219,7 +1249,9 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): + baselineSlots: str cpuCount: int + maxReservationSlots: str memorySizeInBytes: str shardCount: int vcpuCount: float @@ -1262,6 +1294,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceFlags( + typing_extensions.TypedDict, total=False +): + key: str + value: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( typing_extensions.TypedDict, total=False @@ -1277,10 +1316,22 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] + isInstanceStopped: bool maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) + maintenanceState: typing_extensions.Literal[ + "MAINTENANCE_STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR", + ] maintenanceVersion: str + upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance + versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( @@ -1323,6 +1374,13 @@ class StorageDatabasecenterPartnerapiV1mainTags( ): tags: dict[str, typing.Any] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi index 33e83a355..87f5a672c 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/resources.pyi @@ -39,7 +39,15 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., + **kwargs: typing.Any, ) -> BackupHttpRequest: ... def list( self, @@ -49,6 +57,11 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., **kwargs: typing.Any, ) -> ListBackupsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi index f1e5480a7..4c4b9f63f 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1alpha/schemas.pyi @@ -27,6 +27,7 @@ class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + clusterDeleted: bool clusterName: str clusterUid: str createCompletionTime: str @@ -38,6 +39,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] deleteTime: str description: str @@ -138,7 +140,9 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] + dataplexConfig: DataplexConfig deleteTime: str displayName: str encryptionConfig: EncryptionConfig @@ -177,6 +181,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "BOOTSTRAPPING", "MAINTENANCE", "PROMOTING", + "SWITCHOVER", ] subscriptionType: typing_extensions.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" @@ -198,6 +203,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str @@ -224,21 +230,9 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): - defaultPoolSize: str - enable: bool enabled: bool flags: dict[str, typing.Any] - ignoreStartupParameters: _list[str] - maxClientConn: str - maxPreparedStatements: str - minPoolSize: str - poolMode: typing_extensions.Literal[ - "POOL_MODE_UNSPECIFIED", "POOL_MODE_SESSION", "POOL_MODE_TRANSACTION" - ] poolerCount: int - queryWaitTimeout: str - serverIdleTimeout: str - statsUsers: _list[str] @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): @@ -288,6 +282,10 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str table: str +@typing.type_check_only +class DataplexConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): endDate: GoogleTypeDate @@ -392,6 +390,9 @@ class Instance(typing_extensions.TypedDict, total=False): clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str + dataApiAccess: typing_extensions.Literal[ + "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" + ] databaseFlags: dict[str, typing.Any] deleteTime: str displayName: str @@ -405,6 +406,7 @@ class Instance(typing_extensions.TypedDict, total=False): ipAddress: str labels: dict[str, typing.Any] machineConfig: MachineConfig + maintenanceVersionName: str name: str networkConfig: InstanceNetworkConfig nodes: _list[Node] @@ -427,6 +429,9 @@ class Instance(typing_extensions.TypedDict, total=False): "FAILED", "BOOTSTRAPPING", "PROMOTING", + "SWITCHOVER", + "STOPPING", + "STARTING", ] uid: str updatePolicy: UpdatePolicy @@ -835,6 +840,8 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -1017,6 +1024,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -1055,6 +1064,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ @@ -1071,6 +1081,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1087,6 +1098,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] + isDeletionProtectionEnabled: bool location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @@ -1094,6 +1106,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct resourceContainer: str + resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str suspensionReason: typing_extensions.Literal[ "SUSPENSION_REASON_UNSPECIFIED", @@ -1227,6 +1240,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] @typing.type_check_only @@ -1247,6 +1262,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -1281,7 +1298,9 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): + baselineSlots: str cpuCount: int + maxReservationSlots: str memorySizeInBytes: str shardCount: int vcpuCount: float @@ -1324,6 +1343,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceFlags( + typing_extensions.TypedDict, total=False +): + key: str + value: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( typing_extensions.TypedDict, total=False @@ -1339,10 +1365,22 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] + isInstanceStopped: bool maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) + maintenanceState: typing_extensions.Literal[ + "MAINTENANCE_STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR", + ] maintenanceVersion: str + upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance + versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( @@ -1385,6 +1423,13 @@ class StorageDatabasecenterPartnerapiV1mainTags( ): tags: dict[str, typing.Any] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False @@ -1466,6 +1511,7 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] ] valueType: typing_extensions.Literal[ @@ -1504,6 +1550,7 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] @typing.type_check_only @@ -1531,6 +1578,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] stages: _list[StageStatus] state: typing_extensions.Literal[ @@ -1550,6 +1598,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi index ab22b93b3..7bce1afb7 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/resources.pyi @@ -39,7 +39,15 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., + **kwargs: typing.Any, ) -> BackupHttpRequest: ... def list( self, @@ -49,6 +57,11 @@ class CloudAlloyDBAdminResource(googleapiclient.discovery.Resource): orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED", + ] = ..., **kwargs: typing.Any, ) -> ListBackupsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi index 8060a2579..0c03e190f 100644 --- a/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/alloydb/v1beta/schemas.pyi @@ -27,6 +27,7 @@ class AutomatedBackupPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + clusterDeleted: bool clusterName: str clusterUid: str createCompletionTime: str @@ -38,6 +39,7 @@ class Backup(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] deleteTime: str description: str @@ -134,7 +136,9 @@ class Cluster(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] + dataplexConfig: DataplexConfig deleteTime: str displayName: str encryptionConfig: EncryptionConfig @@ -172,6 +176,7 @@ class Cluster(typing_extensions.TypedDict, total=False): "BOOTSTRAPPING", "MAINTENANCE", "PROMOTING", + "SWITCHOVER", ] subscriptionType: typing_extensions.Literal[ "SUBSCRIPTION_TYPE_UNSPECIFIED", "STANDARD", "TRIAL" @@ -193,6 +198,7 @@ class ClusterUpgradeDetails(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] instanceUpgradeDetails: _list[InstanceUpgradeDetails] name: str @@ -219,21 +225,9 @@ class ConnectionInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConnectionPoolConfig(typing_extensions.TypedDict, total=False): - defaultPoolSize: str - enable: bool enabled: bool flags: dict[str, typing.Any] - ignoreStartupParameters: _list[str] - maxClientConn: str - maxPreparedStatements: str - minPoolSize: str - poolMode: typing_extensions.Literal[ - "POOL_MODE_UNSPECIFIED", "POOL_MODE_SESSION", "POOL_MODE_TRANSACTION" - ] poolerCount: int - queryWaitTimeout: str - serverIdleTimeout: str - statsUsers: _list[str] @typing.type_check_only class ContinuousBackupConfig(typing_extensions.TypedDict, total=False): @@ -283,6 +277,10 @@ class CsvImportOptions(typing_extensions.TypedDict, total=False): quoteCharacter: str table: str +@typing.type_check_only +class DataplexConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): endDate: GoogleTypeDate @@ -387,6 +385,9 @@ class Instance(typing_extensions.TypedDict, total=False): clientConnectionConfig: ClientConnectionConfig connectionPoolConfig: ConnectionPoolConfig createTime: str + dataApiAccess: typing_extensions.Literal[ + "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES", "DISABLED", "ENABLED" + ] databaseFlags: dict[str, typing.Any] deleteTime: str displayName: str @@ -400,6 +401,7 @@ class Instance(typing_extensions.TypedDict, total=False): ipAddress: str labels: dict[str, typing.Any] machineConfig: MachineConfig + maintenanceVersionName: str name: str networkConfig: InstanceNetworkConfig nodes: _list[Node] @@ -421,6 +423,9 @@ class Instance(typing_extensions.TypedDict, total=False): "FAILED", "BOOTSTRAPPING", "PROMOTING", + "SWITCHOVER", + "STOPPING", + "STARTING", ] uid: str updatePolicy: UpdatePolicy @@ -829,6 +834,8 @@ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -1011,6 +1018,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData( "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -1049,6 +1058,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] customMetadata: StorageDatabasecenterPartnerapiV1mainCustomMetadataData edition: typing_extensions.Literal[ @@ -1065,6 +1075,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] gcbdrConfiguration: StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration id: StorageDatabasecenterPartnerapiV1mainDatabaseResourceId @@ -1081,6 +1092,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] + isDeletionProtectionEnabled: bool location: str machineConfiguration: StorageDatabasecenterPartnerapiV1mainMachineConfiguration maintenanceInfo: StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo @@ -1088,6 +1100,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata( primaryResourceLocation: str product: StorageDatabasecenterProtoCommonProduct resourceContainer: str + resourceFlags: _list[StorageDatabasecenterPartnerapiV1mainResourceFlags] resourceName: str suspensionReason: typing_extensions.Literal[ "SUSPENSION_REASON_UNSPECIFIED", @@ -1221,6 +1234,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalD "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] @typing.type_check_only @@ -1241,6 +1256,8 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData( "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -1275,7 +1292,9 @@ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata( class StorageDatabasecenterPartnerapiV1mainMachineConfiguration( typing_extensions.TypedDict, total=False ): + baselineSlots: str cpuCount: int + maxReservationSlots: str memorySizeInBytes: str shardCount: int vcpuCount: float @@ -1318,6 +1337,13 @@ class StorageDatabasecenterPartnerapiV1mainOperationError( ] message: str +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainResourceFlags( + typing_extensions.TypedDict, total=False +): + key: str + value: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule( typing_extensions.TypedDict, total=False @@ -1333,10 +1359,22 @@ class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo( denyMaintenanceSchedules: _list[ StorageDatabasecenterPartnerapiV1mainResourceMaintenanceDenySchedule ] + isInstanceStopped: bool maintenanceSchedule: ( StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule ) + maintenanceState: typing_extensions.Literal[ + "MAINTENANCE_STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR", + ] maintenanceVersion: str + upcomingMaintenance: StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance + versionUpdateTime: str @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainResourceMaintenanceSchedule( @@ -1379,6 +1417,13 @@ class StorageDatabasecenterPartnerapiV1mainTags( ): tags: dict[str, typing.Any] +@typing.type_check_only +class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance( + typing_extensions.TypedDict, total=False +): + endTime: str + startTime: str + @typing.type_check_only class StorageDatabasecenterPartnerapiV1mainUserLabels( typing_extensions.TypedDict, total=False @@ -1460,6 +1505,7 @@ class SupportedDatabaseFlag(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] ] valueType: typing_extensions.Literal[ @@ -1498,6 +1544,7 @@ class UpgradeClusterRequest(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] @typing.type_check_only @@ -1525,6 +1572,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] stages: _list[StageStatus] state: typing_extensions.Literal[ @@ -1544,6 +1592,7 @@ class UpgradeClusterStatus(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi index 66f91fc04..c5e1998f3 100644 --- a/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/analyticshub/v1/schemas.pyi @@ -4,6 +4,12 @@ import typing_extensions _list = list +@typing.type_check_only +class AIInference(typing_extensions.TypedDict, total=False): + endpoint: str + serviceAccountEmail: str + unstructuredInference: UnstructuredInference + @typing.type_check_only class ApproveQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... @@ -180,6 +186,7 @@ class GooglePubsubV1Subscription(typing_extensions.TypedDict, total=False): pushConfig: PushConfig retainAckedMessages: bool retryPolicy: RetryPolicy + tags: dict[str, typing.Any] @typing.type_check_only class JavaScriptUDF(typing_extensions.TypedDict, total=False): @@ -271,9 +278,11 @@ class Listing(typing_extensions.TypedDict, total=False): ] restrictedExportConfig: RestrictedExportConfig state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE"] + storedProcedureConfig: StoredProcedureConfig @typing.type_check_only class MessageTransform(typing_extensions.TypedDict, total=False): + aiInference: AIInference disabled: bool enabled: bool javascriptUdf: JavaScriptUDF @@ -417,6 +426,13 @@ class Status(typing_extensions.TypedDict, total=False): details: _list[dict[str, typing.Any]] message: str +@typing.type_check_only +class StoredProcedureConfig(typing_extensions.TypedDict, total=False): + allowedStoredProcedureTypes: _list[ + typing_extensions.Literal["STORED_PROCEDURE_TYPE_UNSPECIFIED", "SQL_PROCEDURE"] + ] + enabled: bool + @typing.type_check_only class SubmitQueryTemplateRequest(typing_extensions.TypedDict, total=False): ... @@ -472,3 +488,7 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class TextConfig(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UnstructuredInference(typing_extensions.TypedDict, total=False): + parameters: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi index ade0112f7..d3a411b33 100644 --- a/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi @@ -721,6 +721,11 @@ class DeviceRadioState(typing_extensions.TypedDict, total=False): "ULTRA_WIDEBAND_USER_CHOICE", "ULTRA_WIDEBAND_DISABLED", ] + userInitiatedAddEsimSettings: typing_extensions.Literal[ + "USER_INITIATED_ADD_ESIM_SETTINGS_UNSPECIFIED", + "USER_INITIATED_ADD_ESIM_ALLOWED", + "USER_INITIATED_ADD_ESIM_DISALLOWED", + ] wifiState: typing_extensions.Literal[ "WIFI_STATE_UNSPECIFIED", "WIFI_STATE_USER_CHOICE", @@ -1284,6 +1289,7 @@ class NonComplianceDetail(typing_extensions.TypedDict, total=False): "NEW_ACCOUNT_NOT_IN_ENTERPRISE", "DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES", "DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE", + "PRIVATE_DNS_HOST_NOT_SERVING", ] @typing.type_check_only @@ -1883,6 +1889,7 @@ class StopLostModeUserAttemptEvent(typing_extensions.TypedDict, total=False): @typing.type_check_only class SystemUpdate(typing_extensions.TypedDict, total=False): + allowedDaysWithoutUpdate: int endMinutes: int freezePeriods: _list[FreezePeriod] startMinutes: int diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi index a1d599972..5c558c2b9 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi @@ -1119,6 +1119,14 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource): body: CancelSubscriptionPurchaseRequest = ..., **kwargs: typing.Any, ) -> CancelSubscriptionPurchaseResponseHttpRequest: ... + def defer( + self, + *, + packageName: str, + token: str, + body: DeferSubscriptionPurchaseRequest = ..., + **kwargs: typing.Any, + ) -> DeferSubscriptionPurchaseResponseHttpRequest: ... def get( self, *, packageName: str, token: str, **kwargs: typing.Any ) -> SubscriptionPurchaseV2HttpRequest: ... @@ -1499,6 +1507,14 @@ class ConvertRegionPricesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ConvertRegionPricesResponse: ... +@typing.type_check_only +class DeferSubscriptionPurchaseResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DeferSubscriptionPurchaseResponse: ... + @typing.type_check_only class DeobfuscationFilesUploadResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi index 5ae1ea770..d77ef80a8 100644 --- a/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi @@ -212,6 +212,9 @@ class AutoRenewingPlan(typing_extensions.TypedDict, total=False): priceStepUpConsentDetails: PriceStepUpConsentDetails recurringPrice: Money +@typing.type_check_only +class BaseDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class BasePlan(typing_extensions.TypedDict, total=False): autoRenewingBasePlanType: AutoRenewingBasePlanType @@ -223,6 +226,9 @@ class BasePlan(typing_extensions.TypedDict, total=False): regionalConfigs: _list[RegionalBasePlanConfig] state: typing_extensions.Literal["STATE_UNSPECIFIED", "DRAFT", "ACTIVE", "INACTIVE"] +@typing.type_check_only +class BasePriceOfferPhase(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class BatchDeleteOneTimeProductOffersRequest(typing_extensions.TypedDict, total=False): requests: _list[DeleteOneTimeProductOfferRequest] @@ -424,6 +430,7 @@ class Comment(typing_extensions.TypedDict, total=False): @typing.type_check_only class ConvertRegionPricesRequest(typing_extensions.TypedDict, total=False): price: Money + productTaxCategoryCode: str @typing.type_check_only class ConvertRegionPricesResponse(typing_extensions.TypedDict, total=False): @@ -498,6 +505,20 @@ class DeactivateSubscriptionOfferRequest(typing_extensions.TypedDict, total=Fals packageName: str productId: str +@typing.type_check_only +class DeferSubscriptionPurchaseRequest(typing_extensions.TypedDict, total=False): + deferralContext: DeferralContext + +@typing.type_check_only +class DeferSubscriptionPurchaseResponse(typing_extensions.TypedDict, total=False): + itemExpiryTimeDetails: _list[ItemExpiryTimeDetails] + +@typing.type_check_only +class DeferralContext(typing_extensions.TypedDict, total=False): + deferDuration: str + etag: str + validateOnly: bool + @typing.type_check_only class DeferredItemRemoval(typing_extensions.TypedDict, total=False): ... @@ -647,6 +668,24 @@ class ExternalAccountIdentifiers(typing_extensions.TypedDict, total=False): obfuscatedExternalAccountId: str obfuscatedExternalProfileId: str +@typing.type_check_only +class ExternalAccountIds(typing_extensions.TypedDict, total=False): + obfuscatedAccountId: str + obfuscatedProfileId: str + +@typing.type_check_only +class ExternalOfferDetails(typing_extensions.TypedDict, total=False): + appDownloadEventExternalTransactionId: str + installedAppCategory: typing_extensions.Literal[ + "EXTERNAL_OFFER_APP_CATEGORY_UNSPECIFIED", "APP", "GAME" + ] + installedAppPackage: str + linkType: typing_extensions.Literal[ + "EXTERNAL_OFFER_LINK_TYPE_UNSPECIFIED", + "LINK_TO_DIGITAL_CONTENT_OFFER", + "LINK_TO_APP_DOWNLOAD", + ] + @typing.type_check_only class ExternalSubscription(typing_extensions.TypedDict, total=False): subscriptionType: typing_extensions.Literal[ @@ -658,6 +697,7 @@ class ExternalTransaction(typing_extensions.TypedDict, total=False): createTime: str currentPreTaxAmount: Price currentTaxAmount: Price + externalOfferDetails: ExternalOfferDetails externalTransactionId: str oneTimeTransaction: OneTimeExternalTransaction originalPreTaxAmount: Price @@ -698,6 +738,12 @@ class ExternallyHostedApk(typing_extensions.TypedDict, total=False): versionCode: int versionName: str +@typing.type_check_only +class FreeTrialDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FreeTrialOfferPhase(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class FullRefund(typing_extensions.TypedDict, total=False): ... @@ -914,6 +960,9 @@ class InternalAppSharingArtifact(typing_extensions.TypedDict, total=False): downloadUrl: str sha256: str +@typing.type_check_only +class IntroductoryPriceDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class IntroductoryPriceInfo(typing_extensions.TypedDict, total=False): introductoryPriceAmountMicros: str @@ -921,6 +970,29 @@ class IntroductoryPriceInfo(typing_extensions.TypedDict, total=False): introductoryPriceCycles: int introductoryPricePeriod: str +@typing.type_check_only +class IntroductoryPriceOfferPhase(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ItemExpiryTimeDetails(typing_extensions.TypedDict, total=False): + expiryTime: str + productId: str + +@typing.type_check_only +class ItemReplacement(typing_extensions.TypedDict, total=False): + basePlanId: str + offerId: str + productId: str + replacementMode: typing_extensions.Literal[ + "REPLACEMENT_MODE_UNSPECIFIED", + "WITH_TIME_PRORATION", + "CHARGE_PRORATED_PRICE", + "WITHOUT_PRORATION", + "CHARGE_FULL_PRICE", + "DEFERRED", + "KEEP_EXISTING", + ] + @typing.type_check_only class LanguageTargeting(typing_extensions.TypedDict, total=False): alternatives: _list[str] @@ -997,6 +1069,8 @@ class ManagedProductTaxAndComplianceSettings(typing_extensions.TypedDict, total= "WITHDRAWAL_RIGHT_SERVICE", ] isTokenizedDigitalAsset: bool + productTaxCategoryCode: str + regionalProductAgeRatingInfos: _list[RegionalProductAgeRatingInfo] taxRateInfoByRegionCode: dict[str, typing.Any] @typing.type_check_only @@ -1052,6 +1126,20 @@ class OfferDetails(typing_extensions.TypedDict, total=False): offerId: str offerTags: _list[str] +@typing.type_check_only +class OfferPhase(typing_extensions.TypedDict, total=False): + basePrice: BasePriceOfferPhase + freeTrial: FreeTrialOfferPhase + introductoryPrice: IntroductoryPriceOfferPhase + prorationPeriod: ProrationPeriodOfferPhase + +@typing.type_check_only +class OfferPhaseDetails(typing_extensions.TypedDict, total=False): + baseDetails: BaseDetails + freeTrialDetails: FreeTrialDetails + introductoryPriceDetails: IntroductoryPriceDetails + prorationPeriodDetails: ProrationPeriodDetails + @typing.type_check_only class OfferTag(typing_extensions.TypedDict, total=False): tag: str @@ -1170,6 +1258,7 @@ class OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig( "AVAILABLE", "NO_LONGER_AVAILABLE", "AVAILABLE_IF_RELEASED", + "AVAILABLE_FOR_OFFERS_ONLY", ] price: Money regionCode: str @@ -1182,11 +1271,14 @@ class OneTimeProductRentPurchaseOption(typing_extensions.TypedDict, total=False) @typing.type_check_only class OneTimeProductTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): isTokenizedDigitalAsset: bool + productTaxCategoryCode: str + regionalProductAgeRatingInfos: _list[RegionalProductAgeRatingInfo] regionalTaxConfigs: _list[RegionalTaxConfig] @typing.type_check_only class OneTimePurchaseDetails(typing_extensions.TypedDict, total=False): offerId: str + preorderDetails: PreorderDetails purchaseOptionId: str quantity: int rentalDetails: RentalDetails @@ -1203,6 +1295,14 @@ class Order(typing_extensions.TypedDict, total=False): orderId: str pointsDetails: PointsDetails purchaseToken: str + salesChannel: typing_extensions.Literal[ + "SALES_CHANNEL_UNSPECIFIED", + "IN_APP", + "PC_EMULATOR", + "NATIVE_PC", + "PLAY_STORE", + "OUTSIDE_PLAY_STORE", + ] state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "PENDING", @@ -1260,6 +1360,11 @@ class OtherRegionsSubscriptionOfferPhasePrices( eurPrice: Money usdPrice: Money +@typing.type_check_only +class OutOfAppPurchaseContext(typing_extensions.TypedDict, total=False): + expiredExternalAccountIdentifiers: ExternalAccountIdentifiers + expiredPurchaseToken: str + @typing.type_check_only class PageInfo(typing_extensions.TypedDict, total=False): resultPerPage: int @@ -1297,6 +1402,13 @@ class PointsDetails(typing_extensions.TypedDict, total=False): pointsOfferId: str pointsSpent: str +@typing.type_check_only +class PreorderDetails(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class PreorderOfferDetails(typing_extensions.TypedDict, total=False): + preorderReleaseTime: str + @typing.type_check_only class PrepaidBasePlanType(typing_extensions.TypedDict, total=False): billingPeriodDuration: str @@ -1340,6 +1452,7 @@ class ProductOfferDetails(typing_extensions.TypedDict, total=False): offerId: str offerTags: _list[str] offerToken: str + preorderOfferDetails: PreorderOfferDetails purchaseOptionId: str quantity: int refundableQuantity: int @@ -1384,6 +1497,18 @@ class ProductPurchaseV2(typing_extensions.TypedDict, total=False): class ProductPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): developerPayload: str +@typing.type_check_only +class ProrationPeriodDetails(typing_extensions.TypedDict, total=False): + originalOfferPhase: typing_extensions.Literal[ + "OFFER_PHASE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" + ] + +@typing.type_check_only +class ProrationPeriodOfferPhase(typing_extensions.TypedDict, total=False): + originalOfferPhaseType: typing_extensions.Literal[ + "ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" + ] + @typing.type_check_only class PurchaseOptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=False): withdrawalRightType: typing_extensions.Literal[ @@ -1445,6 +1570,17 @@ class RegionalPriceMigrationConfig(typing_extensions.TypedDict, total=False): ] regionCode: str +@typing.type_check_only +class RegionalProductAgeRatingInfo(typing_extensions.TypedDict, total=False): + productAgeRatingTier: typing_extensions.Literal[ + "PRODUCT_AGE_RATING_TIER_UNKNOWN", + "PRODUCT_AGE_RATING_TIER_EVERYONE", + "PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE", + "PRODUCT_AGE_RATING_TIER_SIXTEEN_AND_ABOVE", + "PRODUCT_AGE_RATING_TIER_EIGHTEEN_AND_ABOVE", + ] + regionCode: str + @typing.type_check_only class RegionalSubscriptionOfferConfig(typing_extensions.TypedDict, total=False): newSubscriberAvailability: bool @@ -1680,6 +1816,7 @@ class SubscriptionDetails(typing_extensions.TypedDict, total=False): offerPhase: typing_extensions.Literal[ "OFFER_PHASE_UNSPECIFIED", "BASE", "INTRODUCTORY", "FREE_TRIAL" ] + offerPhaseDetails: OfferPhaseDetails servicePeriodEndTime: str servicePeriodStartTime: str @@ -1776,8 +1913,10 @@ class SubscriptionPurchaseLineItem(typing_extensions.TypedDict, total=False): deferredItemRemoval: DeferredItemRemoval deferredItemReplacement: DeferredItemReplacement expiryTime: str + itemReplacement: ItemReplacement latestSuccessfulOrderId: str offerDetails: OfferDetails + offerPhase: OfferPhase prepaidPlan: PrepaidPlan productId: str signupPromotion: SignupPromotion @@ -1790,11 +1929,13 @@ class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED", ] canceledStateContext: CanceledStateContext + etag: str externalAccountIdentifiers: ExternalAccountIdentifiers kind: str latestOrderId: str lineItems: _list[SubscriptionPurchaseLineItem] linkedPurchaseToken: str + outOfAppPurchaseContext: OutOfAppPurchaseContext pausedStateContext: PausedStateContext regionCode: str startTime: str @@ -1815,6 +1956,7 @@ class SubscriptionPurchaseV2(typing_extensions.TypedDict, total=False): @typing.type_check_only class SubscriptionPurchasesAcknowledgeRequest(typing_extensions.TypedDict, total=False): developerPayload: str + externalAccountIds: ExternalAccountIds @typing.type_check_only class SubscriptionPurchasesDeferRequest(typing_extensions.TypedDict, total=False): @@ -1832,6 +1974,8 @@ class SubscriptionTaxAndComplianceSettings(typing_extensions.TypedDict, total=Fa "WITHDRAWAL_RIGHT_SERVICE", ] isTokenizedDigitalAsset: bool + productTaxCategoryCode: str + regionalProductAgeRatingInfos: _list[RegionalProductAgeRatingInfo] taxRateInfoByRegionCode: dict[str, typing.Any] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi index 58f6f046a..1b2cac5f1 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/resources.pyi @@ -62,6 +62,47 @@ class ApigeeResource(googleapiclient.discovery.Resource): def datastores(self) -> DatastoresResource: ... + @typing.type_check_only + class ApimServiceExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1ApimServiceExtension = ..., + apimServiceExtensionId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1ApimServiceExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1ListApimServiceExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListApimServiceExtensionsResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListApimServiceExtensionsResponse, + ) -> ( + GoogleCloudApigeeV1ListApimServiceExtensionsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudApigeeV1ApimServiceExtension = ..., + allowMissing: bool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class ApiproductsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -237,6 +278,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def update( + self, + *, + name: str, + body: GoogleCloudApigeeV1KeyValueMap = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... def entries(self) -> EntriesResource: ... @typing.type_check_only @@ -382,6 +433,61 @@ class ApigeeResource(googleapiclient.discovery.Resource): ) -> GoogleCloudApigeeV1AppGroupAppHttpRequest: ... def keys(self) -> KeysResource: ... + @typing.type_check_only + class BalanceResource(googleapiclient.discovery.Resource): + def adjust( + self, + *, + name: str, + body: GoogleCloudApigeeV1AdjustAppGroupBalanceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1AppGroupBalanceHttpRequest: ... + def credit( + self, + *, + name: str, + body: GoogleCloudApigeeV1CreditAppGroupBalanceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1AppGroupBalanceHttpRequest: ... + + @typing.type_check_only + class SubscriptionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudApigeeV1AppGroupSubscription = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1AppGroupSubscriptionHttpRequest: ... + def expire( + self, + *, + name: str, + body: GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1AppGroupSubscriptionHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1AppGroupSubscriptionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudApigeeV1ListAppGroupSubscriptionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudApigeeV1ListAppGroupSubscriptionsResponseHttpRequest, + previous_response: GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse, + ) -> ( + GoogleCloudApigeeV1ListAppGroupSubscriptionsResponseHttpRequest + | None + ): ... + def create( self, *, @@ -395,6 +501,12 @@ class ApigeeResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudApigeeV1AppGroupHttpRequest: ... + def getBalance( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1AppGroupBalanceHttpRequest: ... + def getMonetizationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1AppGroupMonetizationConfigHttpRequest: ... def list( self, *, @@ -417,7 +529,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): action: str = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1AppGroupHttpRequest: ... + def updateMonetizationConfig( + self, + *, + name: str, + body: GoogleCloudApigeeV1AppGroupMonetizationConfig = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1AppGroupMonetizationConfigHttpRequest: ... def apps(self) -> AppsResource: ... + def balance(self) -> BalanceResource: ... + def subscriptions(self) -> SubscriptionsResource: ... @typing.type_check_only class AppsResource(googleapiclient.discovery.Resource): @@ -1213,6 +1334,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def update( + self, + *, + name: str, + body: GoogleCloudApigeeV1KeyValueMap = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... def entries(self) -> EntriesResource: ... @typing.type_check_only @@ -2008,6 +2139,16 @@ class ApigeeResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... + def update( + self, + *, + name: str, + body: GoogleCloudApigeeV1KeyValueMap = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApigeeV1KeyValueMapHttpRequest: ... def entries(self) -> EntriesResource: ... @typing.type_check_only @@ -2276,10 +2417,22 @@ class ApigeeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SecurityProfileV2HttpRequest: ... 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, ) -> GoogleCloudApigeeV1SecurityProfileV2HttpRequest: ... def list( self, @@ -2287,6 +2440,9 @@ class ApigeeResource(googleapiclient.discovery.Resource): parent: str, pageSize: int = ..., pageToken: str = ..., + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] = ..., **kwargs: typing.Any, ) -> GoogleCloudApigeeV1ListSecurityProfilesV2ResponseHttpRequest: ... def list_next( @@ -2596,6 +2752,7 @@ class ApigeeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudApigeeV1SecuritySettingsHttpRequest: ... def analytics(self) -> AnalyticsResource: ... + def apimServiceExtensions(self) -> ApimServiceExtensionsResource: ... def apiproducts(self) -> ApiproductsResource: ... def apis(self) -> ApisResource: ... def appgroups(self) -> AppgroupsResource: ... @@ -2738,6 +2895,16 @@ class GoogleCloudApigeeV1ApiSecurityRuntimeConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ApiSecurityRuntimeConfig: ... +@typing.type_check_only +class GoogleCloudApigeeV1ApimServiceExtensionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ApimServiceExtension: ... + @typing.type_check_only class GoogleCloudApigeeV1AppHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2770,6 +2937,34 @@ class GoogleCloudApigeeV1AppGroupAppKeyHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GoogleCloudApigeeV1AppGroupAppKey: ... +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupBalanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1AppGroupBalance: ... + +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupMonetizationConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1AppGroupMonetizationConfig: ... + +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupSubscriptionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1AppGroupSubscription: ... + @typing.type_check_only class GoogleCloudApigeeV1ArchiveDeploymentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3206,6 +3401,16 @@ class GoogleCloudApigeeV1ListApiProxiesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListApiProxiesResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListApimServiceExtensionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListApimServiceExtensionsResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListAppGroupAppsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3216,6 +3421,16 @@ class GoogleCloudApigeeV1ListAppGroupAppsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudApigeeV1ListAppGroupAppsResponse: ... +@typing.type_check_only +class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse: ... + @typing.type_check_only class GoogleCloudApigeeV1ListAppGroupsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi index ba426a341..7c604aa34 100644 --- a/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apigee/v1/schemas.pyi @@ -4,6 +4,36 @@ 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 ApiservingMcpMcpToolLifecycleProfile(typing_extensions.TypedDict, total=False): + launchState: typing_extensions.Literal[ + "LAUNCH_STATE_UNSPECIFIED", + "LAUNCH_STATE_DEVELOPMENT", + "LAUNCH_STATE_PRODUCTION_PREVIEW", + "LAUNCH_STATE_GENERAL_AVAILABILITY", + ] + @typing.type_check_only class EdgeConfigstoreBundleBadBundle(typing_extensions.TypedDict, total=False): violations: _list[EdgeConfigstoreBundleBadBundleViolation] @@ -67,6 +97,12 @@ class GoogleCloudApigeeV1AddonsConfig(typing_extensions.TypedDict, total=False): integrationConfig: GoogleCloudApigeeV1IntegrationConfig monetizationConfig: GoogleCloudApigeeV1MonetizationConfig +@typing.type_check_only +class GoogleCloudApigeeV1AdjustAppGroupBalanceRequest( + typing_extensions.TypedDict, total=False +): + adjustment: GoogleTypeMoney + @typing.type_check_only class GoogleCloudApigeeV1AdjustDeveloperBalanceRequest( typing_extensions.TypedDict, total=False @@ -142,6 +178,7 @@ class GoogleCloudApigeeV1ApiDoc(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudApigeeV1ApiDocDocumentation(typing_extensions.TypedDict, total=False): + asyncApiDocumentation: GoogleCloudApigeeV1AsyncApiDocumentation graphqlDocumentation: GoogleCloudApigeeV1GraphqlDocumentation oasDocumentation: GoogleCloudApigeeV1OASDocumentation @@ -175,6 +212,10 @@ class GoogleCloudApigeeV1ApiProduct(typing_extensions.TypedDict, total=False): graphqlOperationGroup: GoogleCloudApigeeV1GraphQLOperationGroup grpcOperationGroup: GoogleCloudApigeeV1GrpcOperationGroup lastModifiedAt: str + llmOperationGroup: GoogleCloudApigeeV1LlmOperationGroup + llmQuota: str + llmQuotaInterval: str + llmQuotaTimeUnit: str name: str operationGroup: GoogleCloudApigeeV1OperationGroup proxies: _list[str] @@ -248,6 +289,47 @@ class GoogleCloudApigeeV1ApiSecurityRuntimeConfig( uid: str updateTime: str +@typing.type_check_only +class GoogleCloudApigeeV1ApimServiceExtension(typing_extensions.TypedDict, total=False): + createTime: str + extensionProcessor: str + extensions: _list[GoogleCloudApigeeV1ApimServiceExtensionExtension] + lbForwardingRule: str + name: str + network: str + networkConfigs: _list[GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApigeeV1ApimServiceExtensionExtension( + typing_extensions.TypedDict, total=False +): + failOpen: bool + hostname: str + matchCondition: str + name: str + supportedEvents: _list[ + typing_extensions.Literal[ + "SUPPORTED_EVENT_UNSPECIFIED", + "REQUEST_HEADERS", + "REQUEST_BODY", + "RESPONSE_HEADERS", + "RESPONSE_BODY", + "REQUEST_TRAILERS", + "RESPONSE_TRAILERS", + ] + ] + +@typing.type_check_only +class GoogleCloudApigeeV1ApimServiceExtensionNetworkConfig( + typing_extensions.TypedDict, total=False +): + region: str + subnet: str + @typing.type_check_only class GoogleCloudApigeeV1App(typing_extensions.TypedDict, total=False): apiProducts: _list[GoogleCloudApigeeV1ApiProductRef] @@ -274,6 +356,7 @@ class GoogleCloudApigeeV1AppGroup(typing_extensions.TypedDict, total=False): channelUri: str createdAt: str displayName: str + email: str lastModifiedAt: str name: str organization: str @@ -306,6 +389,34 @@ class GoogleCloudApigeeV1AppGroupAppKey(typing_extensions.TypedDict, total=False scopes: _list[str] status: str +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupBalance(typing_extensions.TypedDict, total=False): + wallets: _list[GoogleCloudApigeeV1AppGroupBalanceWallet] + +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupBalanceWallet( + typing_extensions.TypedDict, total=False +): + balance: GoogleTypeMoney + lastCreditTime: str + +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupMonetizationConfig( + typing_extensions.TypedDict, total=False +): + billingType: typing_extensions.Literal[ + "BILLING_TYPE_UNSPECIFIED", "PREPAID", "POSTPAID" + ] + +@typing.type_check_only +class GoogleCloudApigeeV1AppGroupSubscription(typing_extensions.TypedDict, total=False): + apiproduct: str + createdAt: str + endTime: str + lastModifiedAt: str + name: str + startTime: str + @typing.type_check_only class GoogleCloudApigeeV1ArchiveDeployment(typing_extensions.TypedDict, total=False): createdAt: str @@ -315,6 +426,12 @@ class GoogleCloudApigeeV1ArchiveDeployment(typing_extensions.TypedDict, total=Fa operation: str updatedAt: str +@typing.type_check_only +class GoogleCloudApigeeV1AsyncApiDocumentation( + typing_extensions.TypedDict, total=False +): + spec: GoogleCloudApigeeV1DocumentationFile + @typing.type_check_only class GoogleCloudApigeeV1AsyncQuery(typing_extensions.TypedDict, total=False): created: str @@ -357,6 +474,10 @@ class GoogleCloudApigeeV1Attributes(typing_extensions.TypedDict, total=False): class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest( typing_extensions.TypedDict, total=False ): + apiHubApis: ( + GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray + ) + apiHubGateways: GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray include: ( GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArray ) @@ -368,6 +489,18 @@ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequest( profile: str scope: str +@typing.type_check_only +class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubApiArray( + typing_extensions.TypedDict, total=False +): + apis: _list[str] + +@typing.type_check_only +class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestApiHubGatewayArray( + typing_extensions.TypedDict, total=False +): + gateways: _list[str] + @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestIncludeAll( typing_extensions.TypedDict, total=False @@ -386,7 +519,9 @@ class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRequestResourceArr typing_extensions.TypedDict, total=False ): name: str - type: typing_extensions.Literal["RESOURCE_TYPE_UNSPECIFIED", "API_PROXY"] + type: typing_extensions.Literal[ + "RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT" + ] @typing.type_check_only class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse( @@ -502,6 +637,13 @@ class GoogleCloudApigeeV1Credential(typing_extensions.TypedDict, total=False): scopes: _list[str] status: str +@typing.type_check_only +class GoogleCloudApigeeV1CreditAppGroupBalanceRequest( + typing_extensions.TypedDict, total=False +): + transactionAmount: GoogleTypeMoney + transactionId: str + @typing.type_check_only class GoogleCloudApigeeV1CreditDeveloperBalanceRequest( typing_extensions.TypedDict, total=False @@ -822,6 +964,7 @@ class GoogleCloudApigeeV1EndpointAttachment(typing_extensions.TypedDict, total=F "CLOSED", "FROZEN", "NEEDS_ATTENTION", + "ACCEPTED_LIMITED_CAPACITY", ] host: str location: str @@ -957,6 +1100,11 @@ class GoogleCloudApigeeV1EnvironmentGroupConfig( routingRules: _list[GoogleCloudApigeeV1RoutingRule] uid: str +@typing.type_check_only +class GoogleCloudApigeeV1ExpireAppGroupSubscriptionRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudApigeeV1ExpireDeveloperSubscriptionRequest( typing_extensions.TypedDict, total=False @@ -1165,6 +1313,7 @@ class GoogleCloudApigeeV1KeyValueEntry(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudApigeeV1KeyValueMap(typing_extensions.TypedDict, total=False): encrypted: bool + maskedValues: bool name: str @typing.type_check_only @@ -1215,6 +1364,13 @@ class GoogleCloudApigeeV1ListApiProxiesResponse( ): proxies: _list[GoogleCloudApigeeV1ApiProxy] +@typing.type_check_only +class GoogleCloudApigeeV1ListApimServiceExtensionsResponse( + typing_extensions.TypedDict, total=False +): + apimServiceExtensions: _list[GoogleCloudApigeeV1ApimServiceExtension] + nextPageToken: str + @typing.type_check_only class GoogleCloudApigeeV1ListAppGroupAppsResponse( typing_extensions.TypedDict, total=False @@ -1222,6 +1378,13 @@ class GoogleCloudApigeeV1ListAppGroupAppsResponse( appGroupApps: _list[GoogleCloudApigeeV1AppGroupApp] nextPageToken: str +@typing.type_check_only +class GoogleCloudApigeeV1ListAppGroupSubscriptionsResponse( + typing_extensions.TypedDict, total=False +): + appGroupSubscriptions: _list[GoogleCloudApigeeV1AppGroupSubscription] + nextPageToken: str + @typing.type_check_only class GoogleCloudApigeeV1ListAppGroupsResponse( typing_extensions.TypedDict, total=False @@ -1457,6 +1620,29 @@ class GoogleCloudApigeeV1ListTraceConfigOverridesResponse( nextPageToken: str traceConfigOverrides: _list[GoogleCloudApigeeV1TraceConfigOverride] +@typing.type_check_only +class GoogleCloudApigeeV1LlmOperation(typing_extensions.TypedDict, total=False): + methods: _list[str] + model: str + resource: str + +@typing.type_check_only +class GoogleCloudApigeeV1LlmOperationConfig(typing_extensions.TypedDict, total=False): + apiSource: str + attributes: _list[GoogleCloudApigeeV1Attribute] + llmOperations: _list[GoogleCloudApigeeV1LlmOperation] + llmTokenQuota: GoogleCloudApigeeV1LlmTokenQuota + +@typing.type_check_only +class GoogleCloudApigeeV1LlmOperationGroup(typing_extensions.TypedDict, total=False): + operationConfigs: _list[GoogleCloudApigeeV1LlmOperationConfig] + +@typing.type_check_only +class GoogleCloudApigeeV1LlmTokenQuota(typing_extensions.TypedDict, total=False): + interval: str + limit: str + timeUnit: str + @typing.type_check_only class GoogleCloudApigeeV1MaintenanceUpdatePolicy( typing_extensions.TypedDict, total=False @@ -1611,6 +1797,7 @@ class GoogleCloudApigeeV1Organization(typing_extensions.TypedDict, total=False): "BILLING_TYPE_UNSPECIFIED", "SUBSCRIPTION", "EVALUATION", "PAYG" ] caCertificate: str + caCertificates: _list[str] controlPlaneEncryptionKeyName: str createdAt: str customerName: str @@ -1977,8 +2164,11 @@ class GoogleCloudApigeeV1RuntimeConfig(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudApigeeV1RuntimeTraceConfig(typing_extensions.TypedDict, total=False): endpoint: str - exporter: typing_extensions.Literal["EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE"] + exporter: typing_extensions.Literal[ + "EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE", "OPEN_TELEMETRY_COLLECTOR" + ] name: str + openTelemetryProtocolEnabled: bool overrides: _list[GoogleCloudApigeeV1RuntimeTraceConfigOverride] revisionCreateTime: str revisionId: str @@ -1990,6 +2180,7 @@ class GoogleCloudApigeeV1RuntimeTraceConfigOverride( ): apiProxy: str name: str + openTelemetryProtocolEnabled: bool revisionCreateTime: str revisionId: str samplingConfig: GoogleCloudApigeeV1RuntimeTraceSamplingConfig @@ -2132,9 +2323,30 @@ class GoogleCloudApigeeV1SecurityAssessmentResult( class GoogleCloudApigeeV1SecurityAssessmentResultResource( typing_extensions.TypedDict, total=False ): + apiHubDeploymentDetails: ( + GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails + ) name: str resourceRevisionId: str - type: typing_extensions.Literal["RESOURCE_TYPE_UNSPECIFIED", "API_PROXY"] + type: typing_extensions.Literal[ + "RESOURCE_TYPE_UNSPECIFIED", "API_PROXY", "API_HUB_DEPLOYMENT" + ] + +@typing.type_check_only +class GoogleCloudApigeeV1SecurityAssessmentResultResourceApiHubDeploymentDetails( + typing_extensions.TypedDict, total=False +): + displayName: str + gateway: str + gatewayType: typing_extensions.Literal[ + "API_HUB_GATEWAY_TYPE_UNSPECIFIED", + "APIGEE_X", + "APIGEE_HYBRID", + "APIGEE_EDGE", + "APIGEE_OPDK", + ] + resourceUri: str + sourceProject: str @typing.type_check_only class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult( @@ -2157,7 +2369,9 @@ class GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommen GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation ] scoreImpact: int - verdict: typing_extensions.Literal["VERDICT_UNSPECIFIED", "PASS", "FAIL"] + verdict: typing_extensions.Literal[ + "VERDICT_UNSPECIFIED", "PASS", "FAIL", "NOT_APPLICABLE" + ] weight: typing_extensions.Literal[ "WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR" ] @@ -2201,10 +2415,7 @@ class GoogleCloudApigeeV1SecurityFeedbackFeedbackContext( typing_extensions.TypedDict, total=False ): attribute: typing_extensions.Literal[ - "ATTRIBUTE_UNSPECIFIED", - "ATTRIBUTE_ENVIRONMENTS", - "ATTRIBUTE_IP_ADDRESS_RANGES", - "ATTRIBUTE_API_KEYS", + "ATTRIBUTE_UNSPECIFIED", "ATTRIBUTE_ENVIRONMENTS", "ATTRIBUTE_IP_ADDRESS_RANGES" ] values: _list[str] @@ -2287,16 +2498,34 @@ class GoogleCloudApigeeV1SecurityProfileV2(typing_extensions.TypedDict, total=Fa googleDefined: bool name: str profileAssessmentConfigs: dict[str, typing.Any] + riskAssessmentType: typing_extensions.Literal[ + "RISK_ASSESSMENT_TYPE_UNSPECIFIED", "APIGEE", "API_HUB" + ] updateTime: str @typing.type_check_only class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig( typing_extensions.TypedDict, total=False ): + include: GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray weight: typing_extensions.Literal[ "WEIGHT_UNSPECIFIED", "MINOR", "MODERATE", "MAJOR" ] +@typing.type_check_only +class GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray( + typing_extensions.TypedDict, total=False +): + gatewayTypes: _list[ + typing_extensions.Literal[ + "API_HUB_GATEWAY_TYPE_UNSPECIFIED", + "APIGEE_X", + "APIGEE_HYBRID", + "APIGEE_EDGE", + "APIGEE_OPDK", + ] + ] + @typing.type_check_only class GoogleCloudApigeeV1SecurityReport(typing_extensions.TypedDict, total=False): created: str @@ -2528,7 +2757,9 @@ class GoogleCloudApigeeV1TlsInfoConfig(typing_extensions.TypedDict, total=False) @typing.type_check_only class GoogleCloudApigeeV1TraceConfig(typing_extensions.TypedDict, total=False): endpoint: str - exporter: typing_extensions.Literal["EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE"] + exporter: typing_extensions.Literal[ + "EXPORTER_UNSPECIFIED", "JAEGER", "CLOUD_TRACE", "OPEN_TELEMETRY_COLLECTOR" + ] samplingConfig: GoogleCloudApigeeV1TraceSamplingConfig @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi index f538aa20a..12690f9f2 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/resources.pyi @@ -17,6 +17,33 @@ class APIHubResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AddonsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudApihubV1AddonHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1ListAddonsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudApihubV1ListAddonsResponseHttpRequest, + previous_response: GoogleCloudApihubV1ListAddonsResponse, + ) -> GoogleCloudApihubV1ListAddonsResponseHttpRequest | None: ... + def manageConfig( + self, + *, + name: str, + body: GoogleCloudApihubV1ManageAddonConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class ApiHubInstancesResource(googleapiclient.discovery.Resource): def create( @@ -104,6 +131,17 @@ class APIHubResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def fetchAdditionalSpecContent( + self, + *, + name: str, + specContentType: typing_extensions.Literal[ + "SPEC_CONTENT_TYPE_UNSPECIFIED", + "BOOSTED_SPEC_CONTENT", + "GATEWAY_OPEN_API_SPEC", + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1FetchAdditionalSpecContentResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudApihubV1SpecHttpRequest: ... @@ -519,6 +557,7 @@ class APIHubResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( @@ -727,6 +766,23 @@ class APIHubResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponseHttpRequest ): ... + def retrieveApiViews( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + view: typing_extensions.Literal[ + "API_VIEW_TYPE_UNSPECIFIED", "MCP_SERVER", "MCP_TOOL" + ] = ..., + **kwargs: typing.Any, + ) -> GoogleCloudApihubV1RetrieveApiViewsResponseHttpRequest: ... + def retrieveApiViews_next( + self, + previous_request: GoogleCloudApihubV1RetrieveApiViewsResponseHttpRequest, + previous_response: GoogleCloudApihubV1RetrieveApiViewsResponse, + ) -> GoogleCloudApihubV1RetrieveApiViewsResponseHttpRequest | None: ... def searchResources( self, *, @@ -739,6 +795,7 @@ class APIHubResource(googleapiclient.discovery.Resource): previous_request: GoogleCloudApihubV1SearchResourcesResponseHttpRequest, previous_response: GoogleCloudApihubV1SearchResourcesResponse, ) -> GoogleCloudApihubV1SearchResourcesResponseHttpRequest | None: ... + def addons(self) -> AddonsResource: ... def apiHubInstances(self) -> ApiHubInstancesResource: ... def apis(self) -> ApisResource: ... def attributes(self) -> AttributesResource: ... @@ -780,6 +837,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class GoogleCloudApihubV1AddonHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1Addon: ... + @typing.type_check_only class GoogleCloudApihubV1ApiHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -872,6 +937,16 @@ class GoogleCloudApihubV1ExternalApiHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> GoogleCloudApihubV1ExternalApi: ... +@typing.type_check_only +class GoogleCloudApihubV1FetchAdditionalSpecContentResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1FetchAdditionalSpecContentResponse: ... + @typing.type_check_only class GoogleCloudApihubV1HostProjectRegistrationHttpRequest( googleapiclient.http.HttpRequest @@ -882,6 +957,16 @@ class GoogleCloudApihubV1HostProjectRegistrationHttpRequest( num_retries: int = 0, ) -> GoogleCloudApihubV1HostProjectRegistration: ... +@typing.type_check_only +class GoogleCloudApihubV1ListAddonsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1ListAddonsResponse: ... + @typing.type_check_only class GoogleCloudApihubV1ListApiOperationsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1074,6 +1159,16 @@ class GoogleCloudApihubV1PluginInstanceHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GoogleCloudApihubV1PluginInstance: ... +@typing.type_check_only +class GoogleCloudApihubV1RetrieveApiViewsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudApihubV1RetrieveApiViewsResponse: ... + @typing.type_check_only class GoogleCloudApihubV1RuntimeProjectAttachmentHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi index e4f9a719c..626a049e2 100644 --- a/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apihub/v1/schemas.pyi @@ -21,6 +21,42 @@ class GoogleCloudApihubV1ActionExecutionDetail( ): actionId: str +@typing.type_check_only +class GoogleCloudApihubV1AdditionalSpecContent( + typing_extensions.TypedDict, total=False +): + createTime: str + labels: dict[str, typing.Any] + specContentType: typing_extensions.Literal[ + "SPEC_CONTENT_TYPE_UNSPECIFIED", "BOOSTED_SPEC_CONTENT", "GATEWAY_OPEN_API_SPEC" + ] + specContents: GoogleCloudApihubV1SpecContents + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1Addon(typing_extensions.TypedDict, total=False): + config: GoogleCloudApihubV1AddonConfig + createTime: str + dataSource: typing_extensions.Literal[ + "DATA_SOURCE_UNSPECIFIED", "PLUGIN_INSTANCE", "ALL_DATA" + ] + description: str + displayName: str + name: str + state: typing_extensions.Literal[ + "ADDON_STATE_UNSPECIFIED", "ACTIVE", "UPDATING", "ERROR", "INACTIVE" + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudApihubV1AddonConfig(typing_extensions.TypedDict, total=False): + allDataAddonConfig: GoogleCloudApihubV1AllDataAddonConfig + gatewayPluginAddonConfig: GoogleCloudApihubV1GatewayPluginAddonConfig + +@typing.type_check_only +class GoogleCloudApihubV1AllDataAddonConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class GoogleCloudApihubV1AllowedValue(typing_extensions.TypedDict, total=False): description: str @@ -105,6 +141,23 @@ class GoogleCloudApihubV1ApiOperation(typing_extensions.TypedDict, total=False): spec: str updateTime: str +@typing.type_check_only +class GoogleCloudApihubV1ApiView(typing_extensions.TypedDict, total=False): + mcpServerView: GoogleCloudApihubV1FlattenedApiVersionDeploymentView + mcpToolView: GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView + +@typing.type_check_only +class GoogleCloudApihubV1ApigeeEdgeConfig(typing_extensions.TypedDict, total=False): + environmentFilter: GoogleCloudApihubV1EnvironmentFilter + +@typing.type_check_only +class GoogleCloudApihubV1ApigeeOPDKConfig(typing_extensions.TypedDict, total=False): + environmentFilter: GoogleCloudApihubV1EnvironmentFilter + +@typing.type_check_only +class GoogleCloudApihubV1ApigeeXHybridConfig(typing_extensions.TypedDict, total=False): + environmentFilter: GoogleCloudApihubV1EnvironmentFilter + @typing.type_check_only class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails( typing_extensions.TypedDict, total=False @@ -417,6 +470,11 @@ class GoogleCloudApihubV1Endpoint(typing_extensions.TypedDict, total=False): class GoogleCloudApihubV1EnumAttributeValues(typing_extensions.TypedDict, total=False): values: _list[GoogleCloudApihubV1AllowedValue] +@typing.type_check_only +class GoogleCloudApihubV1EnvironmentFilter(typing_extensions.TypedDict, total=False): + allEnvironments: bool + environments: _list[str] + @typing.type_check_only class GoogleCloudApihubV1ExecutePluginInstanceActionRequest( typing_extensions.TypedDict, total=False @@ -442,6 +500,42 @@ class GoogleCloudApihubV1ExternalApi(typing_extensions.TypedDict, total=False): paths: _list[str] updateTime: str +@typing.type_check_only +class GoogleCloudApihubV1FetchAdditionalSpecContentResponse( + typing_extensions.TypedDict, total=False +): + additionalSpecContent: GoogleCloudApihubV1AdditionalSpecContent + +@typing.type_check_only +class GoogleCloudApihubV1FlattenedApiVersionDeploymentView( + typing_extensions.TypedDict, total=False +): + api: GoogleCloudApihubV1Api + deployment: GoogleCloudApihubV1Deployment + version: GoogleCloudApihubV1Version + +@typing.type_check_only +class GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView( + typing_extensions.TypedDict, total=False +): + api: GoogleCloudApihubV1Api + apiOperation: GoogleCloudApihubV1ApiOperation + deployment: GoogleCloudApihubV1Deployment + version: GoogleCloudApihubV1Version + +@typing.type_check_only +class GoogleCloudApihubV1GatewayPluginAddonConfig( + typing_extensions.TypedDict, total=False +): + gatewayPluginConfigs: _list[GoogleCloudApihubV1GatewayPluginConfig] + +@typing.type_check_only +class GoogleCloudApihubV1GatewayPluginConfig(typing_extensions.TypedDict, total=False): + apigeeEdgeConfig: GoogleCloudApihubV1ApigeeEdgeConfig + apigeeOpdkConfig: GoogleCloudApihubV1ApigeeOPDKConfig + apigeeXHybridConfig: GoogleCloudApihubV1ApigeeXHybridConfig + pluginInstance: str + @typing.type_check_only class GoogleCloudApihubV1GoogleServiceAccountConfig( typing_extensions.TypedDict, total=False @@ -519,6 +613,7 @@ class GoogleCloudApihubV1LastExecution(typing_extensions.TypedDict, total=False) endTime: str errorMessage: str result: typing_extensions.Literal["RESULT_UNSPECIFIED", "SUCCEEDED", "FAILED"] + resultMetadata: str startTime: str @typing.type_check_only @@ -535,6 +630,11 @@ class GoogleCloudApihubV1LintResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudApihubV1LintSpecRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleCloudApihubV1ListAddonsResponse(typing_extensions.TypedDict, total=False): + addons: _list[GoogleCloudApihubV1Addon] + nextPageToken: str + @typing.type_check_only class GoogleCloudApihubV1ListApiOperationsResponse( typing_extensions.TypedDict, total=False @@ -644,6 +744,12 @@ class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse( ): runtimeProjectAttachment: GoogleCloudApihubV1RuntimeProjectAttachment +@typing.type_check_only +class GoogleCloudApihubV1ManageAddonConfigRequest( + typing_extensions.TypedDict, total=False +): + config: GoogleCloudApihubV1AddonConfig + @typing.type_check_only class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest( typing_extensions.TypedDict, total=False @@ -668,6 +774,15 @@ class GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse( class GoogleCloudApihubV1MatchResult(typing_extensions.TypedDict, total=False): name: str +@typing.type_check_only +class GoogleCloudApihubV1McpTool(typing_extensions.TypedDict, total=False): + annotations: GoogleCloudApihubV1ToolAnnotations + description: str + inputSchema: GoogleCloudApihubV1OperationSchema + name: str + outputSchema: GoogleCloudApihubV1OperationSchema + title: str + @typing.type_check_only class GoogleCloudApihubV1MultiIntValues(typing_extensions.TypedDict, total=False): values: _list[int] @@ -704,6 +819,7 @@ class GoogleCloudApihubV1OperationDetails(typing_extensions.TypedDict, total=Fal description: str documentation: GoogleCloudApihubV1Documentation httpOperation: GoogleCloudApihubV1HttpOperation + mcpTool: GoogleCloudApihubV1McpTool @typing.type_check_only class GoogleCloudApihubV1OperationMetadata(typing_extensions.TypedDict, total=False): @@ -715,6 +831,10 @@ class GoogleCloudApihubV1OperationMetadata(typing_extensions.TypedDict, total=Fa target: str verb: str +@typing.type_check_only +class GoogleCloudApihubV1OperationSchema(typing_extensions.TypedDict, total=False): + jsonSchema: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudApihubV1Owner(typing_extensions.TypedDict, total=False): displayName: str @@ -783,6 +903,7 @@ class GoogleCloudApihubV1PluginInstance(typing_extensions.TypedDict, total=False displayName: str errorMessage: str name: str + sourceEnvironmentsConfig: dict[str, typing.Any] sourceProjectId: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", @@ -847,6 +968,13 @@ class GoogleCloudApihubV1ResourceConfig(typing_extensions.TypedDict, total=False ] pubsubTopic: str +@typing.type_check_only +class GoogleCloudApihubV1RetrieveApiViewsResponse( + typing_extensions.TypedDict, total=False +): + apiViews: _list[GoogleCloudApihubV1ApiView] + nextPageToken: str + @typing.type_check_only class GoogleCloudApihubV1RuntimeProjectAttachment( typing_extensions.TypedDict, total=False @@ -884,6 +1012,13 @@ class GoogleCloudApihubV1SearchResult(typing_extensions.TypedDict, total=False): class GoogleCloudApihubV1Secret(typing_extensions.TypedDict, total=False): secretVersion: str +@typing.type_check_only +class GoogleCloudApihubV1SourceEnvironment(typing_extensions.TypedDict, total=False): + createTime: str + sourceEnvironment: str + sourceEnvironmentUri: str + updateTime: str + @typing.type_check_only class GoogleCloudApihubV1SourceMetadata(typing_extensions.TypedDict, total=False): originalResourceCreateTime: str @@ -894,6 +1029,7 @@ class GoogleCloudApihubV1SourceMetadata(typing_extensions.TypedDict, total=False @typing.type_check_only class GoogleCloudApihubV1Spec(typing_extensions.TypedDict, total=False): + additionalSpecContents: _list[GoogleCloudApihubV1AdditionalSpecContent] attributes: dict[str, typing.Any] contents: GoogleCloudApihubV1SpecContents createTime: str @@ -955,6 +1091,15 @@ class GoogleCloudApihubV1SummaryEntry(typing_extensions.TypedDict, total=False): "SEVERITY_HINT", ] +@typing.type_check_only +class GoogleCloudApihubV1ToolAnnotations(typing_extensions.TypedDict, total=False): + additionalHints: dict[str, typing.Any] + destructiveHint: bool + idempotentHint: bool + openWorldHint: bool + readOnlyHint: bool + title: str + @typing.type_check_only class GoogleCloudApihubV1UserPasswordConfig(typing_extensions.TypedDict, total=False): password: GoogleCloudApihubV1Secret @@ -1022,6 +1167,7 @@ class GoogleLongrunningCancelOperationRequest( class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] + unreachable: _list[str] @typing.type_check_only class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi index 68054b628..64b026ebd 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/resources.pyi @@ -511,6 +511,21 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDomainMappingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainMappingsResponseHttpRequest, + previous_response: ListDomainMappingsResponse, + ) -> ListDomainMappingsResponseHttpRequest | None: ... def patch( self, *, @@ -527,6 +542,32 @@ class AppengineResource(googleapiclient.discovery.Resource): class ServicesResource(googleapiclient.discovery.Resource): @typing.type_check_only class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InstancesResource(googleapiclient.discovery.Resource): + def debug( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + instancesId: str, + body: DebugInstanceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + instancesId: str, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( self, *, @@ -549,6 +590,7 @@ class AppengineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def instances(self) -> InstancesResource: ... def delete( self, diff --git a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi index 440392f6f..6546137ec 100644 --- a/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1/schemas.pyi @@ -459,6 +459,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] gceTag: _list[GceTag] + isGceProjectDeprovisioning: bool p4ServiceAccount: str producerProjectId: str producerProjectNumber: str diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi index a9a4aef97..33c85cb0c 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi @@ -295,6 +295,21 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDomainMappingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainMappingsResponseHttpRequest, + previous_response: ListDomainMappingsResponse, + ) -> ListDomainMappingsResponseHttpRequest | None: ... def patch( self, *, diff --git a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi index 0d818d0c2..87b8da22c 100644 --- a/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1alpha/schemas.pyi @@ -179,6 +179,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] gceTag: _list[GceTag] + isGceProjectDeprovisioning: bool p4ServiceAccount: str producerProjectId: str producerProjectNumber: str diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi index 1c3832ee3..813829801 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/resources.pyi @@ -525,6 +525,21 @@ class AppengineResource(googleapiclient.discovery.Resource): domainMappingsId: str, **kwargs: typing.Any, ) -> DomainMappingHttpRequest: ... + def list( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDomainMappingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDomainMappingsResponseHttpRequest, + previous_response: ListDomainMappingsResponse, + ) -> ListDomainMappingsResponseHttpRequest | None: ... def patch( self, *, @@ -541,6 +556,32 @@ class AppengineResource(googleapiclient.discovery.Resource): class ServicesResource(googleapiclient.discovery.Resource): @typing.type_check_only class VersionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class InstancesResource(googleapiclient.discovery.Resource): + def debug( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + instancesId: str, + body: DebugInstanceRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + projectsId: str, + locationsId: str, + applicationsId: str, + servicesId: str, + versionsId: str, + instancesId: str, + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( self, *, @@ -563,6 +604,7 @@ class AppengineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def instances(self) -> InstancesResource: ... def delete( self, diff --git a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi index ca1600324..dd7ee0918 100644 --- a/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi @@ -473,6 +473,7 @@ class ProjectsMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_STATE", "ON", "OFF", "DELETED" ] gceTag: _list[GceTag] + isGceProjectDeprovisioning: bool p4ServiceAccount: str producerProjectId: str producerProjectNumber: str @@ -666,6 +667,26 @@ class UrlMap(typing_extensions.TypedDict, total=False): class Version(typing_extensions.TypedDict, total=False): apiConfig: ApiConfigHandler appEngineApis: bool + appEngineBundledServices: _list[ + typing_extensions.Literal[ + "BUNDLED_SERVICE_TYPE_UNSPECIFIED", + "BUNDLED_SERVICE_TYPE_APP_IDENTITY_SERVICE", + "BUNDLED_SERVICE_TYPE_BLOBSTORE", + "BUNDLED_SERVICE_TYPE_CAPABILITY_SERVICE", + "BUNDLED_SERVICE_TYPE_DATASTORE_V3", + "BUNDLED_SERVICE_TYPE_DEFERRED", + "BUNDLED_SERVICE_TYPE_IMAGES", + "BUNDLED_SERVICE_TYPE_MAIL", + "BUNDLED_SERVICE_TYPE_MEMCACHE", + "BUNDLED_SERVICE_TYPE_MODULES", + "BUNDLED_SERVICE_TYPE_NAMESPACES", + "BUNDLED_SERVICE_TYPE_NDB", + "BUNDLED_SERVICE_TYPE_SEARCH", + "BUNDLED_SERVICE_TYPE_TASKQUEUES", + "BUNDLED_SERVICE_TYPE_URLFETCH", + "BUNDLED_SERVICE_TYPE_USERS", + ] + ] automaticScaling: AutomaticScaling basicScaling: BasicScaling betaSettings: dict[str, typing.Any] @@ -718,6 +739,7 @@ class Version(typing_extensions.TypedDict, total=False): threadsafe: bool versionUrl: str vm: bool + vpcAccess: VpcAccess vpcAccessConnector: VpcAccessConnector vpcEgress: VpcEgress zones: _list[str] @@ -728,6 +750,13 @@ class Volume(typing_extensions.TypedDict, total=False): sizeGb: float volumeType: str +@typing.type_check_only +class VpcAccess(typing_extensions.TypedDict, total=False): + networkInterfaces: _list[VpcNetworkInterface] + vpcEgress: typing_extensions.Literal[ + "VPC_EGRESS_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES" + ] + @typing.type_check_only class VpcAccessConnector(typing_extensions.TypedDict, total=False): egressSetting: typing_extensions.Literal[ @@ -743,6 +772,12 @@ class VpcEgress(typing_extensions.TypedDict, total=False): 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 diff --git a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi index 29f500a43..4f38359fd 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/resources.pyi @@ -214,6 +214,25 @@ class AppHubResource(googleapiclient.discovery.Resource): self, *, parent: str, uri: str = ..., **kwargs: typing.Any ) -> LookupDiscoveredWorkloadResponseHttpRequest: ... + @typing.type_check_only + class ExtendedMetadataSchemasResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExtendedMetadataSchemaHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExtendedMetadataSchemasResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExtendedMetadataSchemasResponseHttpRequest, + previous_response: ListExtendedMetadataSchemasResponse, + ) -> ListExtendedMetadataSchemasResponseHttpRequest | None: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -288,6 +307,9 @@ class AppHubResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getBoundary( + self, *, name: str, **kwargs: typing.Any + ) -> BoundaryHttpRequest: ... def list( self, *, @@ -306,9 +328,19 @@ class AppHubResource(googleapiclient.discovery.Resource): def lookupServiceProjectAttachment( self, *, name: str, **kwargs: typing.Any ) -> LookupServiceProjectAttachmentResponseHttpRequest: ... + def updateBoundary( + self, + *, + name: str, + body: Boundary = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def applications(self) -> ApplicationsResource: ... def discoveredServices(self) -> DiscoveredServicesResource: ... def discoveredWorkloads(self) -> DiscoveredWorkloadsResource: ... + def extendedMetadataSchemas(self) -> ExtendedMetadataSchemasResource: ... def operations(self) -> OperationsResource: ... def serviceProjectAttachments( self, @@ -338,6 +370,14 @@ class ApplicationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Application: ... +@typing.type_check_only +class BoundaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Boundary: ... + @typing.type_check_only class DetachServiceProjectAttachmentResponseHttpRequest( googleapiclient.http.HttpRequest @@ -372,6 +412,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ExtendedMetadataSchemaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExtendedMetadataSchema: ... + @typing.type_check_only class ListApplicationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -396,6 +444,14 @@ class ListDiscoveredWorkloadsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListDiscoveredWorkloadsResponse: ... +@typing.type_check_only +class ListExtendedMetadataSchemasResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExtendedMetadataSchemasResponse: ... + @typing.type_check_only class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi index 2d0f6512c..5e0182f74 100644 --- a/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1/schemas.pyi @@ -44,6 +44,16 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class Boundary(typing_extensions.TypedDict, total=False): + createTime: str + crmNode: str + name: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC" + ] + updateTime: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -96,6 +106,24 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class ExtendedMetadata(typing_extensions.TypedDict, total=False): + metadataStruct: dict[str, typing.Any] + +@typing.type_check_only +class ExtendedMetadataSchema(typing_extensions.TypedDict, total=False): + jsonSchema: str + name: str + schemaVersion: str + +@typing.type_check_only +class FunctionalType(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER"] + +@typing.type_check_only +class Identity(typing_extensions.TypedDict, total=False): + principal: str + @typing.type_check_only class ListApplicationsResponse(typing_extensions.TypedDict, total=False): applications: _list[Application] @@ -114,6 +142,11 @@ class ListDiscoveredWorkloadsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListExtendedMetadataSchemasResponse(typing_extensions.TypedDict, total=False): + extendedMetadataSchemas: _list[ExtendedMetadataSchema] + nextPageToken: str + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] @@ -195,6 +228,10 @@ class ReconciliationOperationMetadata(typing_extensions.TypedDict, total=False): "UNKNOWN_REPAIR_ACTION", "DELETE", "RETRY" ] +@typing.type_check_only +class RegistrationType(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] + @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @@ -227,8 +264,12 @@ class ServiceProjectAttachment(typing_extensions.TypedDict, total=False): @typing.type_check_only class ServiceProperties(typing_extensions.TypedDict, total=False): + extendedMetadata: dict[str, typing.Any] + functionalType: FunctionalType gcpProject: str + identity: Identity location: str + registrationType: RegistrationType zone: str @typing.type_check_only @@ -272,7 +313,10 @@ class Workload(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadProperties(typing_extensions.TypedDict, total=False): + extendedMetadata: dict[str, typing.Any] + functionalType: FunctionalType gcpProject: str + identity: Identity location: str zone: str diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi index ff6fd3e1c..b6033086b 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/resources.pyi @@ -244,6 +244,25 @@ class AppHubResource(googleapiclient.discovery.Resource): self, *, parent: str, uri: str = ..., **kwargs: typing.Any ) -> LookupDiscoveredWorkloadResponseHttpRequest: ... + @typing.type_check_only + class ExtendedMetadataSchemasResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExtendedMetadataSchemaHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExtendedMetadataSchemasResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExtendedMetadataSchemasResponseHttpRequest, + previous_response: ListExtendedMetadataSchemasResponse, + ) -> ListExtendedMetadataSchemasResponseHttpRequest | None: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -318,6 +337,9 @@ class AppHubResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getBoundary( + self, *, name: str, **kwargs: typing.Any + ) -> BoundaryHttpRequest: ... def list( self, *, @@ -336,9 +358,19 @@ class AppHubResource(googleapiclient.discovery.Resource): def lookupServiceProjectAttachment( self, *, name: str, **kwargs: typing.Any ) -> LookupServiceProjectAttachmentResponseHttpRequest: ... + def updateBoundary( + self, + *, + name: str, + body: Boundary = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def applications(self) -> ApplicationsResource: ... def discoveredServices(self) -> DiscoveredServicesResource: ... def discoveredWorkloads(self) -> DiscoveredWorkloadsResource: ... + def extendedMetadataSchemas(self) -> ExtendedMetadataSchemasResource: ... def operations(self) -> OperationsResource: ... def serviceProjectAttachments( self, @@ -368,6 +400,14 @@ class ApplicationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Application: ... +@typing.type_check_only +class BoundaryHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Boundary: ... + @typing.type_check_only class DetachServiceProjectAttachmentResponseHttpRequest( googleapiclient.http.HttpRequest @@ -402,6 +442,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ExtendedMetadataSchemaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExtendedMetadataSchema: ... + @typing.type_check_only class FindUnregisteredServicesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -442,6 +490,14 @@ class ListDiscoveredWorkloadsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListDiscoveredWorkloadsResponse: ... +@typing.type_check_only +class ListExtendedMetadataSchemasResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExtendedMetadataSchemasResponse: ... + @typing.type_check_only class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi index 10f03b20b..eaa1b1768 100644 --- a/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/apphub/v1alpha/schemas.pyi @@ -44,6 +44,16 @@ class Binding(typing_extensions.TypedDict, total=False): members: _list[str] role: str +@typing.type_check_only +class Boundary(typing_extensions.TypedDict, total=False): + createTime: str + crmNode: str + name: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "AUTOMATIC", "MANUAL", "MANAGED_AUTOMATIC" + ] + updateTime: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -104,6 +114,16 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class ExtendedMetadata(typing_extensions.TypedDict, total=False): + metadataStruct: dict[str, typing.Any] + +@typing.type_check_only +class ExtendedMetadataSchema(typing_extensions.TypedDict, total=False): + jsonSchema: str + name: str + schemaVersion: str + @typing.type_check_only class FindUnregisteredServicesResponse(typing_extensions.TypedDict, total=False): discoveredServices: _list[DiscoveredService] @@ -116,6 +136,14 @@ class FindUnregisteredWorkloadsResponse(typing_extensions.TypedDict, total=False nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class FunctionalType(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "AGENT", "MCP_SERVER"] + +@typing.type_check_only +class Identity(typing_extensions.TypedDict, total=False): + principal: str + @typing.type_check_only class ListApplicationsResponse(typing_extensions.TypedDict, total=False): applications: _list[Application] @@ -134,6 +162,11 @@ class ListDiscoveredWorkloadsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListExtendedMetadataSchemasResponse(typing_extensions.TypedDict, total=False): + extendedMetadataSchemas: _list[ExtendedMetadataSchema] + nextPageToken: str + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] @@ -208,6 +241,10 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class RegistrationType(typing_extensions.TypedDict, total=False): + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EXCLUSIVE", "SHARED"] + @typing.type_check_only class Scope(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "REGIONAL", "GLOBAL"] @@ -240,8 +277,12 @@ class ServiceProjectAttachment(typing_extensions.TypedDict, total=False): @typing.type_check_only class ServiceProperties(typing_extensions.TypedDict, total=False): + extendedMetadata: dict[str, typing.Any] + functionalType: FunctionalType gcpProject: str + identity: Identity location: str + registrationType: RegistrationType zone: str @typing.type_check_only @@ -286,7 +327,10 @@ class Workload(typing_extensions.TypedDict, total=False): @typing.type_check_only class WorkloadProperties(typing_extensions.TypedDict, total=False): + extendedMetadata: dict[str, typing.Any] + functionalType: FunctionalType gcpProject: str + identity: Identity location: str zone: str diff --git a/googleapiclient-stubs/_apis/appsmarket/__init__.pyi b/googleapiclient-stubs/_apis/appsmarket/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/appsmarket/v2/__init__.pyi b/googleapiclient-stubs/_apis/appsmarket/v2/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/appsmarket/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi b/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi new file mode 100644 index 000000000..3ba94a0d3 --- /dev/null +++ b/googleapiclient-stubs/_apis/appsmarket/v2/resources.pyi @@ -0,0 +1,57 @@ +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 GSuiteMarketplaceAPIResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CustomerLicenseResource(googleapiclient.discovery.Resource): + def get( + self, *, applicationId: str, customerId: str, **kwargs: typing.Any + ) -> CustomerLicenseHttpRequest: ... + + @typing.type_check_only + class UserLicenseResource(googleapiclient.discovery.Resource): + def get( + self, *, applicationId: str, userId: str, **kwargs: typing.Any + ) -> UserLicenseHttpRequest: ... + + 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 customerLicense(self) -> CustomerLicenseResource: ... + def userLicense(self) -> UserLicenseResource: ... + +@typing.type_check_only +class CustomerLicenseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CustomerLicense: ... + +@typing.type_check_only +class UserLicenseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UserLicense: ... diff --git a/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi b/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi new file mode 100644 index 000000000..066443965 --- /dev/null +++ b/googleapiclient-stubs/_apis/appsmarket/v2/schemas.pyi @@ -0,0 +1,31 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CustomerLicense(typing_extensions.TypedDict, total=False): + applicationId: str + customerId: str + editions: _list[Editions] + id: str + kind: str + state: str + +@typing.type_check_only +class Editions(typing_extensions.TypedDict, total=False): + assignedSeats: int + editionId: str + seatCount: int + +@typing.type_check_only +class UserLicense(typing_extensions.TypedDict, total=False): + applicationId: str + customerId: str + editionId: str + enabled: bool + id: str + kind: str + state: str + userId: str diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi index a25ca2ed3..460bde4b4 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi @@ -429,6 +429,13 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + def exportArtifact( + self, + *, + repository: str, + body: ExportArtifactRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> RepositoryHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi index ea481c7bf..3767f1129 100644 --- a/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/artifactregistry/v1/schemas.pyi @@ -76,7 +76,9 @@ class CommonRemoteRepository(typing_extensions.TypedDict, total=False): @typing.type_check_only class DockerImage(typing_extensions.TypedDict, total=False): + artifactType: str buildTime: str + imageManifests: _list[ImageManifest] imageSizeBytes: str mediaType: str name: str @@ -102,6 +104,26 @@ class DownloadFileResponse(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExportArtifactMetadata(typing_extensions.TypedDict, total=False): + exportedFiles: _list[ExportedFile] + +@typing.type_check_only +class ExportArtifactRequest(typing_extensions.TypedDict, total=False): + gcsPath: str + sourceTag: str + sourceVersion: str + +@typing.type_check_only +class ExportArtifactResponse(typing_extensions.TypedDict, total=False): + exportedVersion: Version + +@typing.type_check_only +class ExportedFile(typing_extensions.TypedDict, total=False): + gcsObjectPath: str + hashes: _list[Hash] + name: str + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -213,6 +235,16 @@ class Hash(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["HASH_TYPE_UNSPECIFIED", "SHA256", "MD5"] value: str +@typing.type_check_only +class ImageManifest(typing_extensions.TypedDict, total=False): + architecture: str + digest: str + mediaType: str + os: str + osFeatures: _list[str] + osVersion: str + variant: str + @typing.type_check_only class ImportAptArtifactsErrorInfo(typing_extensions.TypedDict, total=False): error: Status @@ -477,6 +509,7 @@ class Repository(typing_extensions.TypedDict, total=False): "KFP", "GO", "GENERIC", + "RUBY", ] kmsKeyName: str labels: dict[str, typing.Any] @@ -632,6 +665,7 @@ class Version(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] createTime: str description: str + fingerprints: _list[Hash] metadata: dict[str, typing.Any] name: str relatedTags: _list[Tag] diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi index 5d9b3e191..597a4dd90 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1/schemas.pyi @@ -375,6 +375,7 @@ class GoogleCloudAssuredworkloadsV1Workload(typing_extensions.TypedDict, total=F "SOVEREIGN_CONTROLS_BY_PSN", "SOVEREIGN_CONTROLS_BY_CNTXT", "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", + "SPAIN_DATA_BOUNDARY_BY_TELEFONICA", ] partnerPermissions: GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions partnerServicesBillingAccount: str diff --git a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi index d5e9c84e6..c6c9bf6f8 100644 --- a/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/assuredworkloads/v1beta1/schemas.pyi @@ -386,6 +386,7 @@ class GoogleCloudAssuredworkloadsV1beta1Workload( "SOVEREIGN_CONTROLS_BY_PSN", "SOVEREIGN_CONTROLS_BY_CNTXT", "SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", + "SPAIN_DATA_BOUNDARY_BY_TELEFONICA", ] partnerPermissions: GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions partnerServicesBillingAccount: str diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi index 602e68f20..8c44416ca 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/resources.pyi @@ -50,6 +50,13 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): previous_request: ListFinalizedDealsResponseHttpRequest, previous_response: ListFinalizedDealsResponse, ) -> ListFinalizedDealsResponseHttpRequest | None: ... + def setReadyToServe( + self, + *, + deal: str, + body: SetReadyToServeRequest = ..., + **kwargs: typing.Any, + ) -> FinalizedDealHttpRequest: ... def auctionPackages(self) -> AuctionPackagesResource: ... def finalizedDeals(self) -> FinalizedDealsResource: ... diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi index 5eb7c1402..adb5b45ce 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1/schemas.pyi @@ -38,6 +38,7 @@ class AuctionPackage(typing_extensions.TypedDict, total=False): description: str displayName: str eligibleSeatIds: _list[str] + floorPriceCpm: Money name: str subscribedBuyers: _list[str] subscribedClients: _list[str] @@ -316,6 +317,9 @@ class MarketplaceTargeting(typing_extensions.TypedDict, total=False): @typing.type_check_only class MediaPlanner(typing_extensions.TypedDict, total=False): accountId: str + ancestorNames: _list[str] + displayName: str + name: str @typing.type_check_only class MobileApplicationTargeting(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi index 7df6547a0..2fdede089 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/resources.pyi @@ -50,6 +50,13 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): previous_request: ListFinalizedDealsResponseHttpRequest, previous_response: ListFinalizedDealsResponse, ) -> ListFinalizedDealsResponseHttpRequest | None: ... + def setReadyToServe( + self, + *, + deal: str, + body: SetReadyToServeRequest = ..., + **kwargs: typing.Any, + ) -> FinalizedDealHttpRequest: ... def auctionPackages(self) -> AuctionPackagesResource: ... def finalizedDeals(self) -> FinalizedDealsResource: ... @@ -387,6 +394,71 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): def proposals(self) -> ProposalsResource: ... def publisherProfiles(self) -> PublisherProfilesResource: ... + @typing.type_check_only + class CuratorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CuratedPackagesResource(googleapiclient.discovery.Resource): + def activate( + self, + *, + name: str, + body: ActivateCuratedPackageRequest = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + def create( + self, *, parent: str, body: CuratedPackage = ..., **kwargs: typing.Any + ) -> CuratedPackageHttpRequest: ... + def deactivate( + self, + *, + name: str, + body: DeactivateCuratedPackageRequest = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CuratedPackageHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCuratedPackagesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCuratedPackagesResponseHttpRequest, + previous_response: ListCuratedPackagesResponse, + ) -> ListCuratedPackagesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: CuratedPackage = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + + def curatedPackages(self) -> CuratedPackagesResource: ... + + @typing.type_check_only + class MediaPlannersResource(googleapiclient.discovery.Resource): + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMediaPlannersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMediaPlannersResponseHttpRequest, + previous_response: ListMediaPlannersResponse, + ) -> ListMediaPlannersResponseHttpRequest | None: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -401,6 +473,8 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def bidders(self) -> BiddersResource: ... def buyers(self) -> BuyersResource: ... + def curators(self) -> CuratorsResource: ... + def mediaPlanners(self) -> MediaPlannersResource: ... @typing.type_check_only class AuctionPackageHttpRequest(googleapiclient.http.HttpRequest): @@ -434,6 +508,14 @@ class ClientUserHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ClientUser: ... +@typing.type_check_only +class CuratedPackageHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CuratedPackage: ... + @typing.type_check_only class DataSegmentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -490,6 +572,14 @@ class ListClientsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListClientsResponse: ... +@typing.type_check_only +class ListCuratedPackagesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCuratedPackagesResponse: ... + @typing.type_check_only class ListDataSegmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -514,6 +604,14 @@ class ListFinalizedDealsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListFinalizedDealsResponse: ... +@typing.type_check_only +class ListMediaPlannersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMediaPlannersResponse: ... + @typing.type_check_only class ListProposalsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi index e283a9134..3ee6caff6 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1alpha/schemas.pyi @@ -8,12 +8,19 @@ _list = list class AcceptProposalRequest(typing_extensions.TypedDict, total=False): proposalRevision: str +@typing.type_check_only +class AccessControlSettings(typing_extensions.TypedDict, total=False): + allowlistedMediaPlanners: _list[str] + @typing.type_check_only class ActivateClientRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ActivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ActivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ActivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... @@ -41,6 +48,7 @@ class AuctionPackage(typing_extensions.TypedDict, total=False): description: str displayName: str eligibleSeatIds: _list[str] + floorPriceCpm: Money name: str subscribedBuyers: _list[str] subscribedClients: _list[str] @@ -115,6 +123,19 @@ class CriteriaTargeting(typing_extensions.TypedDict, total=False): excludedCriteriaIds: _list[str] targetedCriteriaIds: _list[str] +@typing.type_check_only +class CuratedPackage(typing_extensions.TypedDict, total=False): + accessSettings: AccessControlSettings + createTime: str + description: str + displayName: str + feeCpm: Money + floorPriceCpm: Money + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + targeting: PackageTargeting + updateTime: str + @typing.type_check_only class DataSegment(typing_extensions.TypedDict, total=False): cpmFee: Money @@ -151,6 +172,9 @@ class DeactivateClientRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class DeactivateClientUserRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class DeactivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... @@ -294,6 +318,11 @@ class ListClientsResponse(typing_extensions.TypedDict, total=False): clients: _list[Client] nextPageToken: str +@typing.type_check_only +class ListCuratedPackagesResponse(typing_extensions.TypedDict, total=False): + curatedPackages: _list[CuratedPackage] + nextPageToken: str + @typing.type_check_only class ListDataSegmentsResponse(typing_extensions.TypedDict, total=False): dataSegments: _list[DataSegment] @@ -309,6 +338,11 @@ class ListFinalizedDealsResponse(typing_extensions.TypedDict, total=False): finalizedDeals: _list[FinalizedDeal] nextPageToken: str +@typing.type_check_only +class ListMediaPlannersResponse(typing_extensions.TypedDict, total=False): + mediaPlanners: _list[MediaPlanner] + nextPageToken: str + @typing.type_check_only class ListProposalsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -335,6 +369,9 @@ class MarketplaceTargeting(typing_extensions.TypedDict, total=False): @typing.type_check_only class MediaPlanner(typing_extensions.TypedDict, total=False): accountId: str + ancestorNames: _list[str] + displayName: str + name: str @typing.type_check_only class MobileApplicationTargeting(typing_extensions.TypedDict, total=False): @@ -359,6 +396,136 @@ class OperatingSystemTargeting(typing_extensions.TypedDict, total=False): operatingSystemCriteria: CriteriaTargeting operatingSystemVersionCriteria: CriteriaTargeting +@typing.type_check_only +class PackagePlacementTargeting(typing_extensions.TypedDict, total=False): + includedMobileAppCategoryTargeting: _list[str] + mobileAppTargeting: StringTargetingDimension + uriTargeting: StringTargetingDimension + +@typing.type_check_only +class PackagePublisherProvidedSignalsTargeting( + typing_extensions.TypedDict, total=False +): + audienceTargeting: TaxonomyTargeting + contentTargeting: TaxonomyTargeting + videoAndAudioSignalsTargeting: StringTargetingDimension + +@typing.type_check_only +class PackageTargeting(typing_extensions.TypedDict, total=False): + geoTargeting: CriteriaTargeting + includedAcceleratedMobilePageType: typing_extensions.Literal[ + "ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", + "ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", + "ACCELERATED_MOBILE_PAGE_TYPE_AMP", + "ACCELERATED_MOBILE_PAGE_TYPE_AMP_STORY", + ] + includedAdSizes: _list[AdSize] + includedAuthorizedSellerStatuses: _list[ + typing_extensions.Literal[ + "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", + "AUTHORIZED_SELLER_STATUS_DIRECT", + "AUTHORIZED_SELLER_STATUS_RESELLER", + ] + ] + includedCreativeFormat: typing_extensions.Literal[ + "CREATIVE_FORMAT_UNSPECIFIED", + "CREATIVE_FORMAT_DISPLAY", + "CREATIVE_FORMAT_VIDEO", + "CREATIVE_FORMAT_AUDIO", + ] + includedDataSegments: _list[str] + includedDeviceTypes: _list[ + typing_extensions.Literal[ + "DEVICE_TYPE_UNSPECIFIED", + "DEVICE_TYPE_PERSONAL_COMPUTER", + "DEVICE_TYPE_CONNECTED_TV", + "DEVICE_TYPE_PHONE", + "DEVICE_TYPE_TABLET", + ] + ] + includedEnvironment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_SITE", "ENVIRONMENT_APP" + ] + includedNativeInventoryTypes: _list[ + typing_extensions.Literal[ + "NATIVE_INVENTORY_TYPE_UNSPECIFIED", + "NATIVE_INVENTORY_TYPE_NATIVE_ONLY", + "NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER", + ] + ] + includedOpenMeasurementTypes: _list[ + typing_extensions.Literal[ + "OPEN_MEASUREMENT_TYPE_UNSPECIFIED", "OPEN_MEASUREMENT_TYPE_OMID_V1" + ] + ] + includedRestrictedCategories: _list[ + typing_extensions.Literal[ + "RESTRICTED_CATEGORY_UNSPECIFIED", + "RESTRICTED_CATEGORY_ALCOHOL", + "RESTRICTED_CATEGORY_GAMBLING", + ] + ] + includedRewardedType: typing_extensions.Literal[ + "REWARDED_TYPE_UNSPECIFIED", + "REWARDED_TYPE_NON_REWARDED", + "REWARDED_TYPE_REWARDED", + ] + languageTargeting: StringTargetingDimension + minimumPredictedClickThroughRatePercentageMillis: str + minimumPredictedViewabilityPercentage: str + placementTargeting: PackagePlacementTargeting + publisherProvidedSignalsTargeting: PackagePublisherProvidedSignalsTargeting + publisherTargeting: StringTargetingDimension + verticalTargeting: CriteriaTargeting + videoTargeting: PackageVideoTargeting + +@typing.type_check_only +class PackageVideoTargeting(typing_extensions.TypedDict, total=False): + includedContentDeliveryMethod: typing_extensions.Literal[ + "CONTENT_DELIVERY_METHOD_UNSPECIFIED", + "CONTENT_DELIVERY_METHOD_STREAMING", + "CONTENT_DELIVERY_METHOD_PROGRESSIVE", + ] + includedMaximumAdDurationTargeting: typing_extensions.Literal[ + "MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", + "MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_THIRTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_SIXTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_NINETY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS", + ] + includedMimeTypes: _list[ + typing_extensions.Literal[ + "VIDEO_MIME_TYPE_UNSPECIFIED", + "VIDEO_MIME_TYPE_THREEGPP", + "VIDEO_MIME_TYPE_APPLICATION_MPEGURL", + "VIDEO_MIME_TYPE_MP4", + "VIDEO_MIME_TYPE_APPLICATION_MPEGDASH", + "VIDEO_MIME_TYPE_APPLICATION_JAVASCRIPT", + "VIDEO_MIME_TYPE_WEBM", + ] + ] + includedPlaybackMethods: _list[ + typing_extensions.Literal[ + "PLAYBACK_METHOD_UNSPECIFIED", + "PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", + "PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", + "PLAYBACK_METHOD_CLICK_TO_PLAY", + ] + ] + includedPlayerSizeTargeting: VideoPlayerSizeTargeting + includedPositionTypes: _list[ + typing_extensions.Literal[ + "POSITION_TYPE_UNSPECIFIED", + "POSITION_TYPE_MIDROLL", + "POSITION_TYPE_POSTROLL", + "POSITION_TYPE_PREROLL", + ] + ] + minimumPredictedCompletionRatePercentage: str + plcmtTargeting: VideoPlcmtTargeting + @typing.type_check_only class PauseFinalizedDealRequest(typing_extensions.TypedDict, total=False): reason: str @@ -504,6 +671,13 @@ class SendRfpRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetReadyToServeRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class StringTargetingDimension(typing_extensions.TypedDict, total=False): + selectionType: typing_extensions.Literal[ + "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" + ] + values: _list[str] + @typing.type_check_only class SubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): ... @@ -511,6 +685,11 @@ class SubscribeAuctionPackageRequest(typing_extensions.TypedDict, total=False): class SubscribeClientsRequest(typing_extensions.TypedDict, total=False): clients: _list[str] +@typing.type_check_only +class TaxonomyTargeting(typing_extensions.TypedDict, total=False): + excludedTaxonomyIds: _list[str] + targetedTaxonomyIds: _list[str] + @typing.type_check_only class TechnologyTargeting(typing_extensions.TypedDict, total=False): deviceCapabilityTargeting: CriteriaTargeting @@ -546,6 +725,26 @@ class UriTargeting(typing_extensions.TypedDict, total=False): excludedUris: _list[str] targetedUris: _list[str] +@typing.type_check_only +class VideoPlayerSizeTargeting(typing_extensions.TypedDict, total=False): + minimumHeight: str + minimumWidth: str + +@typing.type_check_only +class VideoPlcmtTargeting(typing_extensions.TypedDict, total=False): + selectionType: typing_extensions.Literal[ + "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" + ] + videoPlcmtTypes: _list[ + typing_extensions.Literal[ + "VIDEO_PLCMT_TYPE_UNSPECIFIED", + "INSTREAM", + "ACCOMPANYING_CONTENT", + "INTERSTITIAL", + "NO_CONTENT", + ] + ] + @typing.type_check_only class VideoTargeting(typing_extensions.TypedDict, total=False): excludedPositionTypes: _list[ diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi index 5b00d25ff..1eb9c303f 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/resources.pyi @@ -15,6 +15,51 @@ _list = list class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): @typing.type_check_only class CuratorsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CuratedPackagesResource(googleapiclient.discovery.Resource): + def activate( + self, + *, + name: str, + body: ActivateCuratedPackageRequest = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + def create( + self, *, parent: str, body: CuratedPackage = ..., **kwargs: typing.Any + ) -> CuratedPackageHttpRequest: ... + def deactivate( + self, + *, + name: str, + body: DeactivateCuratedPackageRequest = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> CuratedPackageHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListCuratedPackagesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListCuratedPackagesResponseHttpRequest, + previous_response: ListCuratedPackagesResponse, + ) -> ListCuratedPackagesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: CuratedPackage = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> CuratedPackageHttpRequest: ... + @typing.type_check_only class DataSegmentsResource(googleapiclient.discovery.Resource): def activate( @@ -59,8 +104,25 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> DataSegmentHttpRequest: ... + def curatedPackages(self) -> CuratedPackagesResource: ... def dataSegments(self) -> DataSegmentsResource: ... + @typing.type_check_only + class MediaPlannersResource(googleapiclient.discovery.Resource): + def list( + self, + *, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListMediaPlannersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListMediaPlannersResponseHttpRequest, + previous_response: ListMediaPlannersResponse, + ) -> ListMediaPlannersResponseHttpRequest | None: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -74,6 +136,15 @@ class AuthorizedBuyersMarketplaceResource(googleapiclient.discovery.Resource): | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... def curators(self) -> CuratorsResource: ... + def mediaPlanners(self) -> MediaPlannersResource: ... + +@typing.type_check_only +class CuratedPackageHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CuratedPackage: ... @typing.type_check_only class DataSegmentHttpRequest(googleapiclient.http.HttpRequest): @@ -83,6 +154,14 @@ class DataSegmentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DataSegment: ... +@typing.type_check_only +class ListCuratedPackagesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListCuratedPackagesResponse: ... + @typing.type_check_only class ListDataSegmentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -90,3 +169,11 @@ class ListDataSegmentsResponseHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> ListDataSegmentsResponse: ... + +@typing.type_check_only +class ListMediaPlannersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListMediaPlannersResponse: ... diff --git a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi index 1a1f4e553..c4580c524 100644 --- a/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/authorizedbuyersmarketplace/v1beta/schemas.pyi @@ -4,9 +4,42 @@ import typing_extensions _list = list +@typing.type_check_only +class AccessControlSettings(typing_extensions.TypedDict, total=False): + allowlistedMediaPlanners: _list[str] + +@typing.type_check_only +class ActivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class ActivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class AdSize(typing_extensions.TypedDict, total=False): + height: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "PIXEL", "INTERSTITIAL", "NATIVE", "FLUID" + ] + width: str + +@typing.type_check_only +class CriteriaTargeting(typing_extensions.TypedDict, total=False): + excludedCriteriaIds: _list[str] + targetedCriteriaIds: _list[str] + +@typing.type_check_only +class CuratedPackage(typing_extensions.TypedDict, total=False): + accessSettings: AccessControlSettings + createTime: str + description: str + displayName: str + feeCpm: Money + floorPriceCpm: Money + name: str + state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] + targeting: PackageTargeting + updateTime: str + @typing.type_check_only class DataSegment(typing_extensions.TypedDict, total=False): cpmFee: Money @@ -15,16 +48,198 @@ class DataSegment(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "INACTIVE"] updateTime: str +@typing.type_check_only +class DeactivateCuratedPackageRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class DeactivateDataSegmentRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ListCuratedPackagesResponse(typing_extensions.TypedDict, total=False): + curatedPackages: _list[CuratedPackage] + nextPageToken: str + @typing.type_check_only class ListDataSegmentsResponse(typing_extensions.TypedDict, total=False): dataSegments: _list[DataSegment] nextPageToken: str +@typing.type_check_only +class ListMediaPlannersResponse(typing_extensions.TypedDict, total=False): + mediaPlanners: _list[MediaPlanner] + nextPageToken: str + +@typing.type_check_only +class MediaPlanner(typing_extensions.TypedDict, total=False): + accountId: str + ancestorNames: _list[str] + displayName: str + name: str + @typing.type_check_only class Money(typing_extensions.TypedDict, total=False): currencyCode: str nanos: int units: str + +@typing.type_check_only +class PackagePlacementTargeting(typing_extensions.TypedDict, total=False): + includedMobileAppCategoryTargeting: _list[str] + mobileAppTargeting: StringTargetingDimension + uriTargeting: StringTargetingDimension + +@typing.type_check_only +class PackagePublisherProvidedSignalsTargeting( + typing_extensions.TypedDict, total=False +): + audienceTargeting: TaxonomyTargeting + contentTargeting: TaxonomyTargeting + videoAndAudioSignalsTargeting: StringTargetingDimension + +@typing.type_check_only +class PackageTargeting(typing_extensions.TypedDict, total=False): + geoTargeting: CriteriaTargeting + includedAcceleratedMobilePageType: typing_extensions.Literal[ + "ACCELERATED_MOBILE_PAGE_TYPE_UNSPECIFIED", + "ACCELERATED_MOBILE_PAGE_TYPE_NON_AMP", + "ACCELERATED_MOBILE_PAGE_TYPE_AMP", + "ACCELERATED_MOBILE_PAGE_TYPE_AMP_STORY", + ] + includedAdSizes: _list[AdSize] + includedAuthorizedSellerStatuses: _list[ + typing_extensions.Literal[ + "AUTHORIZED_SELLER_STATUS_UNSPECIFIED", + "AUTHORIZED_SELLER_STATUS_DIRECT", + "AUTHORIZED_SELLER_STATUS_RESELLER", + ] + ] + includedCreativeFormat: typing_extensions.Literal[ + "CREATIVE_FORMAT_UNSPECIFIED", + "CREATIVE_FORMAT_DISPLAY", + "CREATIVE_FORMAT_VIDEO", + "CREATIVE_FORMAT_AUDIO", + ] + includedDataSegments: _list[str] + includedDeviceTypes: _list[ + typing_extensions.Literal[ + "DEVICE_TYPE_UNSPECIFIED", + "DEVICE_TYPE_PERSONAL_COMPUTER", + "DEVICE_TYPE_CONNECTED_TV", + "DEVICE_TYPE_PHONE", + "DEVICE_TYPE_TABLET", + ] + ] + includedEnvironment: typing_extensions.Literal[ + "ENVIRONMENT_UNSPECIFIED", "ENVIRONMENT_SITE", "ENVIRONMENT_APP" + ] + includedNativeInventoryTypes: _list[ + typing_extensions.Literal[ + "NATIVE_INVENTORY_TYPE_UNSPECIFIED", + "NATIVE_INVENTORY_TYPE_NATIVE_ONLY", + "NATIVE_INVENTORY_TYPE_NATIVE_OR_BANNER", + ] + ] + includedOpenMeasurementTypes: _list[ + typing_extensions.Literal[ + "OPEN_MEASUREMENT_TYPE_UNSPECIFIED", "OPEN_MEASUREMENT_TYPE_OMID_V1" + ] + ] + includedRestrictedCategories: _list[ + typing_extensions.Literal[ + "RESTRICTED_CATEGORY_UNSPECIFIED", + "RESTRICTED_CATEGORY_ALCOHOL", + "RESTRICTED_CATEGORY_GAMBLING", + ] + ] + includedRewardedType: typing_extensions.Literal[ + "REWARDED_TYPE_UNSPECIFIED", + "REWARDED_TYPE_NON_REWARDED", + "REWARDED_TYPE_REWARDED", + ] + languageTargeting: StringTargetingDimension + minimumPredictedClickThroughRatePercentageMillis: str + minimumPredictedViewabilityPercentage: str + placementTargeting: PackagePlacementTargeting + publisherProvidedSignalsTargeting: PackagePublisherProvidedSignalsTargeting + publisherTargeting: StringTargetingDimension + verticalTargeting: CriteriaTargeting + videoTargeting: PackageVideoTargeting + +@typing.type_check_only +class PackageVideoTargeting(typing_extensions.TypedDict, total=False): + includedContentDeliveryMethod: typing_extensions.Literal[ + "CONTENT_DELIVERY_METHOD_UNSPECIFIED", + "CONTENT_DELIVERY_METHOD_STREAMING", + "CONTENT_DELIVERY_METHOD_PROGRESSIVE", + ] + includedMaximumAdDurationTargeting: typing_extensions.Literal[ + "MAXIMUM_VIDEO_AD_DURATION_UNSPECIFIED", + "MAXIMUM_VIDEO_AD_DURATION_FIFTEEN_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_TWENTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_THIRTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_SIXTY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_NINETY_SECONDS", + "MAXIMUM_VIDEO_AD_DURATION_ONE_HUNDRED_TWENTY_SECONDS", + ] + includedMimeTypes: _list[ + typing_extensions.Literal[ + "VIDEO_MIME_TYPE_UNSPECIFIED", + "VIDEO_MIME_TYPE_THREEGPP", + "VIDEO_MIME_TYPE_APPLICATION_MPEGURL", + "VIDEO_MIME_TYPE_MP4", + "VIDEO_MIME_TYPE_APPLICATION_MPEGDASH", + "VIDEO_MIME_TYPE_APPLICATION_JAVASCRIPT", + "VIDEO_MIME_TYPE_WEBM", + ] + ] + includedPlaybackMethods: _list[ + typing_extensions.Literal[ + "PLAYBACK_METHOD_UNSPECIFIED", + "PLAYBACK_METHOD_AUTO_PLAY_SOUND_ON", + "PLAYBACK_METHOD_AUTO_PLAY_SOUND_OFF", + "PLAYBACK_METHOD_CLICK_TO_PLAY", + ] + ] + includedPlayerSizeTargeting: VideoPlayerSizeTargeting + includedPositionTypes: _list[ + typing_extensions.Literal[ + "POSITION_TYPE_UNSPECIFIED", + "POSITION_TYPE_MIDROLL", + "POSITION_TYPE_POSTROLL", + "POSITION_TYPE_PREROLL", + ] + ] + minimumPredictedCompletionRatePercentage: str + plcmtTargeting: VideoPlcmtTargeting + +@typing.type_check_only +class StringTargetingDimension(typing_extensions.TypedDict, total=False): + selectionType: typing_extensions.Literal[ + "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" + ] + values: _list[str] + +@typing.type_check_only +class TaxonomyTargeting(typing_extensions.TypedDict, total=False): + excludedTaxonomyIds: _list[str] + targetedTaxonomyIds: _list[str] + +@typing.type_check_only +class VideoPlayerSizeTargeting(typing_extensions.TypedDict, total=False): + minimumHeight: str + minimumWidth: str + +@typing.type_check_only +class VideoPlcmtTargeting(typing_extensions.TypedDict, total=False): + selectionType: typing_extensions.Literal[ + "SELECTION_TYPE_UNSPECIFIED", "SELECTION_TYPE_INCLUDE", "SELECTION_TYPE_EXCLUDE" + ] + videoPlcmtTypes: _list[ + typing_extensions.Literal[ + "VIDEO_PLCMT_TYPE_UNSPECIFIED", + "INSTREAM", + "ACCOMPANYING_CONTENT", + "INTERSTITIAL", + "NO_CONTENT", + ] + ] diff --git a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi index 4f4d781f2..e473ea9d2 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/resources.pyi @@ -158,6 +158,27 @@ class BackupdrResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def fetchForResourceType( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resourceType: str = ..., + view: typing_extensions.Literal[ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, + ) -> FetchBackupsForResourceTypeResponseHttpRequest: ... + def fetchForResourceType_next( + self, + previous_request: FetchBackupsForResourceTypeResponseHttpRequest, + previous_response: FetchBackupsForResourceTypeResponse, + ) -> FetchBackupsForResourceTypeResponseHttpRequest | None: ... def get( self, *, @@ -390,6 +411,21 @@ class BackupdrResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> DataSourceReferenceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDataSourceReferencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDataSourceReferencesResponseHttpRequest, + previous_response: ListDataSourceReferencesResponse, + ) -> ListDataSourceReferencesResponseHttpRequest | None: ... @typing.type_check_only class ManagementServersResource(googleapiclient.discovery.Resource): @@ -513,6 +549,13 @@ class BackupdrResource(googleapiclient.discovery.Resource): @typing.type_check_only class TrialResource(googleapiclient.discovery.Resource): + def end( + self, + *, + parent: str, + body: EndTrialRequest = ..., + **kwargs: typing.Any, + ) -> TrialHttpRequest: ... def subscribe( self, *, @@ -650,6 +693,14 @@ class FetchBackupPlanAssociationsForResourceTypeResponseHttpRequest( num_retries: int = 0, ) -> FetchBackupPlanAssociationsForResourceTypeResponse: ... +@typing.type_check_only +class FetchBackupsForResourceTypeResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchBackupsForResourceTypeResponse: ... + @typing.type_check_only class FetchDataSourceReferencesForResourceTypeResponseHttpRequest( googleapiclient.http.HttpRequest @@ -724,6 +775,14 @@ class ListBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListBackupsResponse: ... +@typing.type_check_only +class ListDataSourceReferencesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDataSourceReferencesResponse: ... + @typing.type_check_only class ListDataSourcesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi index 4a68235b2..a4f19fa47 100644 --- a/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/backupdr/v1/schemas.pyi @@ -48,8 +48,22 @@ class AllocationAffinity(typing_extensions.TypedDict, total=False): key: str values: _list[str] +@typing.type_check_only +class AlloyDBClusterBackupPlanAssociationProperties( + typing_extensions.TypedDict, total=False +): + clusterUid: str + @typing.type_check_only class AlloyDBClusterDataSourceProperties(typing_extensions.TypedDict, total=False): + clusterUid: str + name: str + pitrWindows: _list[AlloyDbPitrWindow] + +@typing.type_check_only +class AlloyDBClusterDataSourceReferenceProperties( + typing_extensions.TypedDict, total=False +): name: str @typing.type_check_only @@ -59,6 +73,12 @@ class AlloyDbClusterBackupProperties(typing_extensions.TypedDict, total=False): description: str storedBytes: str +@typing.type_check_only +class AlloyDbPitrWindow(typing_extensions.TypedDict, total=False): + endTime: str + logRetentionDays: str + startTime: str + @typing.type_check_only class AttachedDisk(typing_extensions.TypedDict, total=False): autoDelete: bool @@ -102,6 +122,11 @@ class Backup(typing_extensions.TypedDict, total=False): alloyDbBackupProperties: AlloyDbClusterBackupProperties backupApplianceBackupProperties: BackupApplianceBackupProperties backupApplianceLocks: _list[BackupLock] + backupRetentionInheritance: typing_extensions.Literal[ + "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", + "INHERIT_VAULT_RETENTION", + "MATCH_BACKUP_EXPIRE_TIME", + ] backupType: typing_extensions.Literal[ "BACKUP_TYPE_UNSPECIFIED", "SCHEDULED", "ON_DEMAND", "ON_DEMAND_OPERATIONAL" ] @@ -115,6 +140,8 @@ class Backup(typing_extensions.TypedDict, total=False): etag: str expireTime: str gcpBackupPlanInfo: GCPBackupPlanInfo + gcpResource: BackupGcpResource + kmsKeyVersions: _list[str] labels: dict[str, typing.Any] name: str resourceSizeBytes: str @@ -200,6 +227,12 @@ class BackupDrTemplateConfig(typing_extensions.TypedDict, total=False): firstPartyManagementUri: str thirdPartyManagementUri: str +@typing.type_check_only +class BackupGcpResource(typing_extensions.TypedDict, total=False): + gcpResourcename: str + location: str + type: str + @typing.type_check_only class BackupLocation(typing_extensions.TypedDict, total=False): locationId: str @@ -223,6 +256,7 @@ class BackupPlan(typing_extensions.TypedDict, total=False): etag: str labels: dict[str, typing.Any] logRetentionDays: str + maxCustomOnDemandRetentionDays: int name: str resourceType: str revisionId: str @@ -235,6 +269,9 @@ class BackupPlan(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackupPlanAssociation(typing_extensions.TypedDict, total=False): + alloydbClusterBackupPlanAssociationProperties: ( + AlloyDBClusterBackupPlanAssociationProperties + ) backupPlan: str backupPlanRevisionId: str backupPlanRevisionName: str @@ -243,6 +280,9 @@ class BackupPlanAssociation(typing_extensions.TypedDict, total=False): ) createTime: str dataSource: str + filestoreInstanceBackupPlanAssociationProperties: ( + FilestoreInstanceBackupPlanAssociationProperties + ) name: str resource: str resourceType: str @@ -280,10 +320,16 @@ class BackupVault(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] backupCount: str backupMinimumEnforcedRetentionDuration: str + backupRetentionInheritance: typing_extensions.Literal[ + "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", + "INHERIT_VAULT_RETENTION", + "MATCH_BACKUP_EXPIRE_TIME", + ] createTime: str deletable: bool description: str effectiveTime: str + encryptionConfig: EncryptionConfig etag: str labels: dict[str, typing.Any] name: str @@ -319,6 +365,8 @@ class CloudSqlInstanceBackupPlanAssociationProperties( class CloudSqlInstanceBackupProperties(typing_extensions.TypedDict, total=False): databaseInstalledVersion: str finalBackup: bool + instanceCreateTime: str + instanceDeleteTime: str instanceTier: str sourceInstance: str @@ -475,6 +523,7 @@ class DataSourceGcpResource(typing_extensions.TypedDict, total=False): @typing.type_check_only class DataSourceGcpResourceInfo(typing_extensions.TypedDict, total=False): + alloyDbClusterProperties: AlloyDBClusterDataSourceReferenceProperties cloudSqlInstanceProperties: CloudSqlInstanceDataSourceReferenceProperties gcpResourcename: str location: str @@ -491,6 +540,7 @@ class DataSourceReference(typing_extensions.TypedDict, total=False): dataSourceBackupCount: str dataSourceGcpResourceInfo: DataSourceGcpResourceInfo name: str + totalStoredBytes: str @typing.type_check_only class DiskBackupProperties(typing_extensions.TypedDict, total=False): @@ -557,6 +607,16 @@ class DisplayDevice(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EncryptionConfig(typing_extensions.TypedDict, total=False): + kmsKeyName: str + +@typing.type_check_only +class EndTrialRequest(typing_extensions.TypedDict, total=False): + endReason: typing_extensions.Literal[ + "END_REASON_UNSPECIFIED", "MOVE_TO_PAID", "DISCONTINUED" + ] + @typing.type_check_only class Entry(typing_extensions.TypedDict, total=False): key: str @@ -587,6 +647,11 @@ class FetchBackupPlanAssociationsForResourceTypeResponse( backupPlanAssociations: _list[BackupPlanAssociation] nextPageToken: str +@typing.type_check_only +class FetchBackupsForResourceTypeResponse(typing_extensions.TypedDict, total=False): + backups: _list[Backup] + nextPageToken: str + @typing.type_check_only class FetchDataSourceReferencesForResourceTypeResponse( typing_extensions.TypedDict, total=False @@ -608,6 +673,12 @@ class FetchUsableBackupVaultsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class FilestoreInstanceBackupPlanAssociationProperties( + typing_extensions.TypedDict, total=False +): + instanceCreateTime: str + @typing.type_check_only class FinalizeBackupRequest(typing_extensions.TypedDict, total=False): backupId: str @@ -716,6 +787,12 @@ class ListBackupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListDataSourceReferencesResponse(typing_extensions.TypedDict, total=False): + dataSourceReferences: _list[DataSourceReference] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListDataSourcesResponse(typing_extensions.TypedDict, total=False): dataSources: _list[DataSource] @@ -900,6 +977,7 @@ class ResourceBackupConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RestoreBackupRequest(typing_extensions.TypedDict, total=False): + clearOverridesFieldMask: str computeInstanceRestoreProperties: ComputeInstanceRestoreProperties computeInstanceTargetEnvironment: ComputeInstanceTargetEnvironment diskRestoreProperties: DiskRestoreProperties @@ -1055,6 +1133,8 @@ class Trial(typing_extensions.TypedDict, total=False): @typing.type_check_only class TriggerBackupRequest(typing_extensions.TypedDict, total=False): + customRetentionDays: int + labels: dict[str, typing.Any] requestId: str ruleId: str diff --git a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi index 8192367db..237a333ab 100644 --- a/googleapiclient-stubs/_apis/batch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/batch/v1/schemas.pyi @@ -198,6 +198,7 @@ class InstancePolicy(typing_extensions.TypedDict, total=False): "SPOT", "PREEMPTIBLE", "RESERVATION_BOUND", + "FLEX_START", ] reservation: str @@ -219,6 +220,7 @@ class InstanceStatus(typing_extensions.TypedDict, total=False): "SPOT", "PREEMPTIBLE", "RESERVATION_BOUND", + "FLEX_START", ] taskPack: str diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi index dc2fc2c43..6bcb122a6 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/resources.pyi @@ -17,37 +17,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): class OrganizationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class GlobalResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class PartnerTenantsResource(googleapiclient.discovery.Resource): - def delete( - self, *, name: str, requestId: str = ..., **kwargs: typing.Any - ) -> GoogleLongrunningOperationHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest, - previous_response: GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse, - ) -> ( - GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest - | None - ): ... - - def partnerTenants(self) -> PartnerTenantsResource: ... - @typing.type_check_only class InsightsResource(googleapiclient.discovery.Resource): def configuredInsight( @@ -198,7 +167,6 @@ class BeyondCorpResource(googleapiclient.discovery.Resource): self, *, name: str, requestId: str = ..., **kwargs: typing.Any ) -> GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponseHttpRequest: ... - def global_(self) -> GlobalResource: ... def insights(self) -> InsightsResource: ... def operations(self) -> OperationsResource: ... def subscriptions(self) -> SubscriptionsResource: ... @@ -1033,26 +1001,6 @@ class GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponseHttp num_retries: int = 0, ) -> GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse: ... -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse: ... - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant: ... - @typing.type_check_only class GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi index bd07297e2..3fd704e40 100644 --- a/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/beyondcorp/v1alpha/schemas.pyi @@ -401,27 +401,6 @@ class GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata( target: str verb: str -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup( - typing_extensions.TypedDict, total=False -): - email: str - id: str - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse( - typing_extensions.TypedDict, total=False -): - nextPageToken: str - partnerTenants: _list[GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] - -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata( - typing_extensions.TypedDict, total=False -): - internalTenantId: str - partnerTenantId: str - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata( typing_extensions.TypedDict, total=False @@ -434,17 +413,6 @@ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata target: str verb: str -@typing.type_check_only -class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant( - typing_extensions.TypedDict, total=False -): - createTime: str - displayName: str - group: GoogleCloudBeyondcorpPartnerservicesV1alphaGroup - name: str - partnerMetadata: GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata - updateTime: str - @typing.type_check_only class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi index 2bf98af62..a73a77869 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/resources.pyi @@ -15,6 +15,41 @@ _list = list class BigLakeServiceResource(googleapiclient.discovery.Resource): @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class CatalogsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class NamespacesResource(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 getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def setIamPolicy( + self, + *, + resource: str, + body: SetIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def namespaces(self) -> NamespacesResource: ... + @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -137,6 +172,7 @@ class BigLakeServiceResource(googleapiclient.discovery.Resource): def catalogs(self) -> CatalogsResource: ... + def catalogs(self) -> CatalogsResource: ... def locations(self) -> LocationsResource: ... def new_batch_http_request( @@ -193,6 +229,14 @@ class ListTablesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListTablesResponse: ... +@typing.type_check_only +class PolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Policy: ... + @typing.type_check_only class TableHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi index 479cc632d..95f12f192 100644 --- a/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/biglake/v1/schemas.pyi @@ -4,6 +4,24 @@ import typing_extensions _list = list +@typing.type_check_only +class AuditConfig(typing_extensions.TypedDict, total=False): + auditLogConfigs: _list[AuditLogConfig] + service: str + +@typing.type_check_only +class AuditLogConfig(typing_extensions.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing_extensions.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@typing.type_check_only +class Binding(typing_extensions.TypedDict, total=False): + condition: Expr + members: _list[str] + role: str + @typing.type_check_only class Catalog(typing_extensions.TypedDict, total=False): createTime: str @@ -22,6 +40,13 @@ class Database(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal["TYPE_UNSPECIFIED", "HIVE"] updateTime: str +@typing.type_check_only +class Expr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str + @typing.type_check_only class HiveDatabaseOptions(typing_extensions.TypedDict, total=False): locationUri: str @@ -48,6 +73,13 @@ class ListTablesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str tables: _list[Table] +@typing.type_check_only +class Policy(typing_extensions.TypedDict, total=False): + auditConfigs: _list[AuditConfig] + bindings: _list[Binding] + etag: str + version: int + @typing.type_check_only class RenameTableRequest(typing_extensions.TypedDict, total=False): newName: str @@ -56,6 +88,11 @@ class RenameTableRequest(typing_extensions.TypedDict, total=False): class SerDeInfo(typing_extensions.TypedDict, total=False): serializationLib: str +@typing.type_check_only +class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): + policy: Policy + updateMask: str + @typing.type_check_only class StorageDescriptor(typing_extensions.TypedDict, total=False): inputFormat: str diff --git a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi index 384f24210..239248813 100644 --- a/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquery/v2/schemas.pyi @@ -195,6 +195,7 @@ class BigtableColumn(typing_extensions.TypedDict, total=False): encoding: str fieldName: str onlyReadLatest: bool + protoConfig: BigtableProtoConfig qualifierEncoded: str qualifierString: str type: str @@ -205,6 +206,7 @@ class BigtableColumnFamily(typing_extensions.TypedDict, total=False): encoding: str familyId: str onlyReadLatest: bool + protoConfig: BigtableProtoConfig type: str @typing.type_check_only @@ -214,6 +216,11 @@ class BigtableOptions(typing_extensions.TypedDict, total=False): outputColumnFamiliesAsJson: bool readRowkeyAsString: bool +@typing.type_check_only +class BigtableProtoConfig(typing_extensions.TypedDict, total=False): + protoMessageName: str + schemaBundleId: str + @typing.type_check_only class BinaryClassificationMetrics(typing_extensions.TypedDict, total=False): aggregateClassificationMetrics: AggregateClassificationMetrics @@ -706,13 +713,16 @@ class HparamTuningTrial(typing_extensions.TypedDict, total=False): @typing.type_check_only class IncrementalResultStats(typing_extensions.TypedDict, total=False): - disabledReason: typing_extensions.Literal["DISABLED_REASON_UNSPECIFIED", "OTHER"] + disabledReason: typing_extensions.Literal[ + "DISABLED_REASON_UNSPECIFIED", "OTHER", "UNSUPPORTED_OPERATOR" + ] resultSetLastModifyTime: str resultSetLastReplaceTime: str @typing.type_check_only class IndexPruningStats(typing_extensions.TypedDict, total=False): baseTable: TableReference + indexId: str postIndexPruningParallelInputCount: str preIndexPruningParallelInputCount: str diff --git a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi index bb8f17a47..1301261b4 100644 --- a/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatapolicy/v1/schemas.pyi @@ -33,6 +33,7 @@ class DataMaskingPolicy(typing_extensions.TypedDict, total=False): "FIRST_FOUR_CHARACTERS", "EMAIL_MASK", "DATE_YEAR_MASK", + "RANDOM_HASH", ] routine: str diff --git a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi index e1a0095cb..dc7a0668b 100644 --- a/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/bigquerydatatransfer/v1/schemas.pyi @@ -183,6 +183,9 @@ class TransferConfig(typing_extensions.TypedDict, total=False): emailPreferences: EmailPreferences encryptionConfiguration: EncryptionConfiguration error: Status + managedTableType: typing_extensions.Literal[ + "MANAGED_TABLE_TYPE_UNSPECIFIED", "NATIVE", "BIGLAKE" + ] name: str nextRunTime: str notificationPubsubTopic: str diff --git a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi index 4efd0ea6f..402db26db 100644 --- a/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/calendar/v3/schemas.pyi @@ -22,7 +22,9 @@ class AclRule(typing_extensions.TypedDict, total=False): @typing.type_check_only class Calendar(typing_extensions.TypedDict, total=False): + autoAcceptInvitations: bool conferenceProperties: ConferenceProperties + dataOwner: str description: str etag: str id: str @@ -42,9 +44,11 @@ class CalendarList(typing_extensions.TypedDict, total=False): @typing.type_check_only class CalendarListEntry(typing_extensions.TypedDict, total=False): accessRole: str + autoAcceptInvitations: bool backgroundColor: str colorId: str conferenceProperties: ConferenceProperties + dataOwner: str defaultReminders: _list[EventReminder] deleted: bool description: str diff --git a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi index d76719ede..2e7e83220 100644 --- a/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/certificatemanager/v1/schemas.pyi @@ -37,6 +37,7 @@ class Certificate(typing_extensions.TypedDict, total=False): expireTime: str labels: dict[str, typing.Any] managed: ManagedCertificate + managedIdentity: ManagedIdentityCertificate name: str pemCertificate: str sanDnsnames: _list[str] @@ -199,6 +200,14 @@ class ManagedCertificate(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE" ] +@typing.type_check_only +class ManagedIdentityCertificate(typing_extensions.TypedDict, total=False): + identity: str + provisioningIssue: ProvisioningIssue + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PROVISIONING", "FAILED", "ACTIVE" + ] + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -262,6 +271,7 @@ class TrustConfig(typing_extensions.TypedDict, total=False): etag: str labels: dict[str, typing.Any] name: str + spiffeTrustStores: dict[str, typing.Any] trustStores: _list[TrustStore] updateTime: str diff --git a/googleapiclient-stubs/_apis/ces/__init__.pyi b/googleapiclient-stubs/_apis/ces/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/ces/v1/__init__.pyi b/googleapiclient-stubs/_apis/ces/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/ces/v1/resources.pyi b/googleapiclient-stubs/_apis/ces/v1/resources.pyi new file mode 100644 index 000000000..cc8c647e6 --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1/resources.pyi @@ -0,0 +1,790 @@ +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 CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AppsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Agent = ..., + agentId: str = ..., + **kwargs: typing.Any, + ) -> AgentHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AgentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAgentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAgentsResponseHttpRequest, + previous_response: ListAgentsResponse, + ) -> ListAgentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Agent = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AgentHttpRequest: ... + + @typing.type_check_only + class ChangelogsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ChangelogHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListChangelogsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListChangelogsResponseHttpRequest, + previous_response: ListChangelogsResponse, + ) -> ListChangelogsResponseHttpRequest | None: ... + + @typing.type_check_only + class ConversationsResource(googleapiclient.discovery.Resource): + def batchDelete( + self, + *, + parent: str, + body: BatchDeleteConversationsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, + *, + name: str, + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> ConversationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> ListConversationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConversationsResponseHttpRequest, + previous_response: ListConversationsResponse, + ) -> ListConversationsResponseHttpRequest | None: ... + + @typing.type_check_only + class DeploymentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Deployment = ..., + deploymentId: str = ..., + **kwargs: typing.Any, + ) -> DeploymentHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDeploymentsResponseHttpRequest, + previous_response: ListDeploymentsResponse, + ) -> ListDeploymentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Deployment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DeploymentHttpRequest: ... + + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Example = ..., + exampleId: str = ..., + **kwargs: typing.Any, + ) -> ExampleHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExampleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExamplesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExamplesResponseHttpRequest, + previous_response: ListExamplesResponse, + ) -> ListExamplesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Example = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ExampleHttpRequest: ... + + @typing.type_check_only + class GuardrailsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Guardrail = ..., + guardrailId: str = ..., + **kwargs: typing.Any, + ) -> GuardrailHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GuardrailHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListGuardrailsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGuardrailsResponseHttpRequest, + previous_response: ListGuardrailsResponse, + ) -> ListGuardrailsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Guardrail = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GuardrailHttpRequest: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + def generateChatToken( + self, + *, + name: str, + body: GenerateChatTokenRequest = ..., + **kwargs: typing.Any, + ) -> GenerateChatTokenResponseHttpRequest: ... + def runSession( + self, + *, + session: str, + body: RunSessionRequest = ..., + **kwargs: typing.Any, + ) -> RunSessionResponseHttpRequest: ... + + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Tool = ..., + toolId: str = ..., + **kwargs: typing.Any, + ) -> ToolHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ToolHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListToolsResponseHttpRequest, + previous_response: ListToolsResponse, + ) -> ListToolsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Tool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ToolHttpRequest: ... + + @typing.type_check_only + class ToolsetsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Toolset = ..., + toolsetId: str = ..., + **kwargs: typing.Any, + ) -> ToolsetHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ToolsetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListToolsetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListToolsetsResponseHttpRequest, + previous_response: ListToolsetsResponse, + ) -> ListToolsetsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Toolset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ToolsetHttpRequest: ... + def retrieveTools( + self, + *, + toolset: str, + body: RetrieveToolsRequest = ..., + **kwargs: typing.Any, + ) -> RetrieveToolsResponseHttpRequest: ... + + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: AppVersion = ..., + appVersionId: str = ..., + **kwargs: typing.Any, + ) -> AppVersionHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AppVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAppVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAppVersionsResponseHttpRequest, + previous_response: ListAppVersionsResponse, + ) -> ListAppVersionsResponseHttpRequest | None: ... + def restore( + self, + *, + name: str, + body: RestoreAppVersionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: App = ..., + appId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def executeTool( + self, + *, + parent: str, + body: ExecuteToolRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteToolResponseHttpRequest: ... + def exportApp( + self, + *, + name: str, + body: ExportAppRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> AppHttpRequest: ... + def importApp( + self, + *, + parent: str, + body: ImportAppRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAppsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAppsResponseHttpRequest, + previous_response: ListAppsResponse, + ) -> ListAppsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: App = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AppHttpRequest: ... + def retrieveToolSchema( + self, + *, + parent: str, + body: RetrieveToolSchemaRequest = ..., + **kwargs: typing.Any, + ) -> RetrieveToolSchemaResponseHttpRequest: ... + def agents(self) -> AgentsResource: ... + def changelogs(self) -> ChangelogsResource: ... + def conversations(self) -> ConversationsResource: ... + def deployments(self) -> DeploymentsResource: ... + def examples(self) -> ExamplesResource: ... + def guardrails(self) -> GuardrailsResource: ... + def sessions(self) -> SessionsResource: ... + def tools(self) -> ToolsResource: ... + def toolsets(self) -> ToolsetsResource: ... + def versions(self) -> VersionsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def apps(self) -> AppsResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + 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 projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AgentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Agent: ... + +@typing.type_check_only +class AppHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> App: ... + +@typing.type_check_only +class AppVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AppVersion: ... + +@typing.type_check_only +class ChangelogHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Changelog: ... + +@typing.type_check_only +class ConversationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Conversation: ... + +@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( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Empty: ... + +@typing.type_check_only +class ExampleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Example: ... + +@typing.type_check_only +class ExecuteToolResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteToolResponse: ... + +@typing.type_check_only +class GenerateChatTokenResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateChatTokenResponse: ... + +@typing.type_check_only +class GuardrailHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Guardrail: ... + +@typing.type_check_only +class ListAgentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAgentsResponse: ... + +@typing.type_check_only +class ListAppVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAppVersionsResponse: ... + +@typing.type_check_only +class ListAppsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAppsResponse: ... + +@typing.type_check_only +class ListChangelogsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListChangelogsResponse: ... + +@typing.type_check_only +class ListConversationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConversationsResponse: ... + +@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 ListExamplesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExamplesResponse: ... + +@typing.type_check_only +class ListGuardrailsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGuardrailsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 ListToolsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListToolsResponse: ... + +@typing.type_check_only +class ListToolsetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListToolsetsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 RetrieveToolSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveToolSchemaResponse: ... + +@typing.type_check_only +class RetrieveToolsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveToolsResponse: ... + +@typing.type_check_only +class RunSessionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RunSessionResponse: ... + +@typing.type_check_only +class ToolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Tool: ... + +@typing.type_check_only +class ToolsetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Toolset: ... diff --git a/googleapiclient-stubs/_apis/ces/v1/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi new file mode 100644 index 000000000..cace3cb8d --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1/schemas.pyi @@ -0,0 +1,1256 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Action(typing_extensions.TypedDict, total=False): + connectionActionId: str + entityOperation: ActionEntityOperation + inputFields: _list[str] + outputFields: _list[str] + +@typing.type_check_only +class ActionEntityOperation(typing_extensions.TypedDict, total=False): + entityId: str + operation: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + +@typing.type_check_only +class Agent(typing_extensions.TypedDict, total=False): + afterAgentCallbacks: _list[Callback] + afterModelCallbacks: _list[Callback] + afterToolCallbacks: _list[Callback] + beforeAgentCallbacks: _list[Callback] + beforeModelCallbacks: _list[Callback] + beforeToolCallbacks: _list[Callback] + childAgents: _list[str] + createTime: str + description: str + displayName: str + etag: str + generatedSummary: str + guardrails: _list[str] + instruction: str + llmAgent: AgentLlmAgent + modelSettings: ModelSettings + name: str + remoteDialogflowAgent: AgentRemoteDialogflowAgent + tools: _list[str] + toolsets: _list[AgentAgentToolset] + transferRules: _list[TransferRule] + updateTime: str + +@typing.type_check_only +class AgentAgentToolset(typing_extensions.TypedDict, total=False): + toolIds: _list[str] + toolset: str + +@typing.type_check_only +class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): + agent: str + environmentId: str + flowId: str + inputVariableMapping: dict[str, typing.Any] + outputVariableMapping: dict[str, typing.Any] + respectResponseInterruptionSettings: bool + +@typing.type_check_only +class AgentTransfer(typing_extensions.TypedDict, total=False): + displayName: str + targetAgent: str + +@typing.type_check_only +class AmbientSoundConfig(typing_extensions.TypedDict, total=False): + gcsUri: str + prebuiltAmbientNoise: typing_extensions.Literal[ + "PREBUILT_AMBIENT_NOISE_UNSPECIFIED", + "RETAIL_STORE", + "CONVENTION_HALL", + "OUTDOOR", + ] + prebuiltAmbientSound: str + volumeGainDb: float + +@typing.type_check_only +class ApiAuthentication(typing_extensions.TypedDict, total=False): + apiKeyConfig: ApiKeyConfig + bearerTokenConfig: BearerTokenConfig + oauthConfig: OAuthConfig + serviceAccountAuthConfig: ServiceAccountAuthConfig + serviceAgentIdTokenAuthConfig: ServiceAgentIdTokenAuthConfig + +@typing.type_check_only +class ApiKeyConfig(typing_extensions.TypedDict, total=False): + apiKeySecretVersion: str + keyName: str + requestLocation: typing_extensions.Literal[ + "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" + ] + +@typing.type_check_only +class App(typing_extensions.TypedDict, total=False): + audioProcessingConfig: AudioProcessingConfig + clientCertificateSettings: ClientCertificateSettings + createTime: str + dataStoreSettings: DataStoreSettings + defaultChannelProfile: ChannelProfile + deploymentCount: int + description: str + displayName: str + etag: str + evaluationMetricsThresholds: EvaluationMetricsThresholds + globalInstruction: str + guardrails: _list[str] + languageSettings: LanguageSettings + locked: bool + loggingSettings: LoggingSettings + metadata: dict[str, typing.Any] + modelSettings: ModelSettings + name: str + pinned: bool + predefinedVariableDeclarations: _list[AppVariableDeclaration] + rootAgent: str + timeZoneSettings: TimeZoneSettings + toolExecutionMode: typing_extensions.Literal[ + "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" + ] + updateTime: str + variableDeclarations: _list[AppVariableDeclaration] + +@typing.type_check_only +class AppSnapshot(typing_extensions.TypedDict, total=False): + agents: _list[Agent] + app: App + examples: _list[Example] + guardrails: _list[Guardrail] + tools: _list[Tool] + toolsets: _list[Toolset] + +@typing.type_check_only +class AppVariableDeclaration(typing_extensions.TypedDict, total=False): + description: str + name: str + schema: Schema + +@typing.type_check_only +class AppVersion(typing_extensions.TypedDict, total=False): + createTime: str + creator: str + description: str + displayName: str + etag: str + name: str + snapshot: AppSnapshot + +@typing.type_check_only +class AudioProcessingConfig(typing_extensions.TypedDict, total=False): + ambientSoundConfig: AmbientSoundConfig + bargeInConfig: BargeInConfig + inactivityTimeout: str + synthesizeSpeechConfigs: dict[str, typing.Any] + +@typing.type_check_only +class AudioRecordingConfig(typing_extensions.TypedDict, total=False): + gcsBucket: str + gcsPathPrefix: str + +@typing.type_check_only +class BargeInConfig(typing_extensions.TypedDict, total=False): + bargeInAwareness: bool + disableBargeIn: bool + +@typing.type_check_only +class BatchDeleteConversationsRequest(typing_extensions.TypedDict, total=False): + conversations: _list[str] + +@typing.type_check_only +class BearerTokenConfig(typing_extensions.TypedDict, total=False): + token: str + +@typing.type_check_only +class BigQueryExportSettings(typing_extensions.TypedDict, total=False): + dataset: str + enabled: bool + project: str + +@typing.type_check_only +class Blob(typing_extensions.TypedDict, total=False): + data: str + mimeType: str + +@typing.type_check_only +class Callback(typing_extensions.TypedDict, total=False): + description: str + disabled: bool + pythonCode: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Changelog(typing_extensions.TypedDict, total=False): + action: str + author: str + createTime: str + dependentResources: _list[dict[str, typing.Any]] + description: str + displayName: str + name: str + newResource: dict[str, typing.Any] + originalResource: dict[str, typing.Any] + resource: str + resourceType: str + sequenceNumber: str + +@typing.type_check_only +class ChannelProfile(typing_extensions.TypedDict, total=False): + channelType: typing_extensions.Literal[ + "UNKNOWN", + "WEB_UI", + "API", + "TWILIO", + "GOOGLE_TELEPHONY_PLATFORM", + "CONTACT_CENTER_AS_A_SERVICE", + "FIVE9", + ] + disableBargeInControl: bool + disableDtmf: bool + noiseSuppressionLevel: str + personaProperty: ChannelProfilePersonaProperty + profileId: str + webWidgetConfig: ChannelProfileWebWidgetConfig + +@typing.type_check_only +class ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): + persona: typing_extensions.Literal["UNKNOWN", "CONCISE", "CHATTY"] + +@typing.type_check_only +class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): + modality: typing_extensions.Literal[ + "MODALITY_UNSPECIFIED", "CHAT_AND_VOICE", "VOICE_ONLY", "CHAT_ONLY" + ] + securitySettings: ChannelProfileWebWidgetConfigSecuritySettings + theme: typing_extensions.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] + webWidgetTitle: str + +@typing.type_check_only +class ChannelProfileWebWidgetConfigSecuritySettings( + typing_extensions.TypedDict, total=False +): + allowedOrigins: _list[str] + enableOriginCheck: bool + enablePublicAccess: bool + enableRecaptcha: bool + +@typing.type_check_only +class Chunk(typing_extensions.TypedDict, total=False): + agentTransfer: AgentTransfer + defaultVariables: dict[str, typing.Any] + image: Image + payload: dict[str, typing.Any] + text: str + toolCall: ToolCall + toolResponse: ToolResponse + transcript: str + updatedVariables: dict[str, typing.Any] + +@typing.type_check_only +class Citations(typing_extensions.TypedDict, total=False): + citedChunks: _list[CitationsCitedChunk] + +@typing.type_check_only +class CitationsCitedChunk(typing_extensions.TypedDict, total=False): + text: str + title: str + uri: str + +@typing.type_check_only +class ClientCertificateSettings(typing_extensions.TypedDict, total=False): + passphrase: str + privateKey: str + tlsCertificate: str + +@typing.type_check_only +class ClientFunction(typing_extensions.TypedDict, total=False): + description: str + name: str + parameters: Schema + response: Schema + +@typing.type_check_only +class CloudLoggingSettings(typing_extensions.TypedDict, total=False): + enableCloudLogging: bool + +@typing.type_check_only +class CodeBlock(typing_extensions.TypedDict, total=False): + pythonCode: str + +@typing.type_check_only +class ConnectorTool(typing_extensions.TypedDict, total=False): + action: Action + authConfig: EndUserAuthConfig + connection: str + description: str + name: str + +@typing.type_check_only +class ConnectorToolset(typing_extensions.TypedDict, total=False): + authConfig: EndUserAuthConfig + connection: str + connectorActions: _list[Action] + +@typing.type_check_only +class Conversation(typing_extensions.TypedDict, total=False): + appVersion: str + channelType: typing_extensions.Literal[ + "CHANNEL_TYPE_UNSPECIFIED", "TEXT", "AUDIO", "MULTIMODAL" + ] + deployment: str + endTime: str + entryAgent: str + inputTypes: _list[ + typing_extensions.Literal[ + "INPUT_TYPE_UNSPECIFIED", + "INPUT_TYPE_TEXT", + "INPUT_TYPE_AUDIO", + "INPUT_TYPE_IMAGE", + "INPUT_TYPE_BLOB", + ] + ] + languageCode: str + messages: _list[Message] + name: str + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL"] + startTime: str + turnCount: int + turns: _list[ConversationTurn] + +@typing.type_check_only +class ConversationLoggingSettings(typing_extensions.TypedDict, total=False): + disableConversationLogging: bool + +@typing.type_check_only +class ConversationTurn(typing_extensions.TypedDict, total=False): + messages: _list[Message] + rootSpan: Span + +@typing.type_check_only +class DataStore(typing_extensions.TypedDict, total=False): + connectorConfig: DataStoreConnectorConfig + createTime: str + displayName: str + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] + name: str + type: typing_extensions.Literal[ + "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "FAQ", "CONNECTOR" + ] + +@typing.type_check_only +class DataStoreConnectorConfig(typing_extensions.TypedDict, total=False): + collection: str + collectionDisplayName: str + dataSource: str + +@typing.type_check_only +class DataStoreSettings(typing_extensions.TypedDict, total=False): + engines: _list[DataStoreSettingsEngine] + +@typing.type_check_only +class DataStoreSettingsEngine(typing_extensions.TypedDict, total=False): + name: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT" + ] + +@typing.type_check_only +class DataStoreTool(typing_extensions.TypedDict, total=False): + boostSpecs: _list[DataStoreToolBoostSpecs] + dataStoreSource: DataStoreToolDataStoreSource + description: str + engineSource: DataStoreToolEngineSource + filterParameterBehavior: typing_extensions.Literal[ + "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED", "ALWAYS_INCLUDE", "NEVER_INCLUDE" + ] + modalityConfigs: _list[DataStoreToolModalityConfig] + name: str + +@typing.type_check_only +class DataStoreToolBoostSpec(typing_extensions.TypedDict, total=False): + conditionBoostSpecs: _list[DataStoreToolBoostSpecConditionBoostSpec] + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpec( + typing_extensions.TypedDict, total=False +): + boost: float + boostControlSpec: DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec + condition: str + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float + +@typing.type_check_only +class DataStoreToolBoostSpecs(typing_extensions.TypedDict, total=False): + dataStores: _list[str] + spec: _list[DataStoreToolBoostSpec] + +@typing.type_check_only +class DataStoreToolDataStoreSource(typing_extensions.TypedDict, total=False): + dataStore: DataStore + filter: str + +@typing.type_check_only +class DataStoreToolEngineSource(typing_extensions.TypedDict, total=False): + dataStoreSources: _list[DataStoreToolDataStoreSource] + engine: str + filter: str + +@typing.type_check_only +class DataStoreToolGroundingConfig(typing_extensions.TypedDict, total=False): + disabled: bool + groundingLevel: float + +@typing.type_check_only +class DataStoreToolModalityConfig(typing_extensions.TypedDict, total=False): + groundingConfig: DataStoreToolGroundingConfig + modalityType: typing_extensions.Literal[ + "MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO" + ] + rewriterConfig: DataStoreToolRewriterConfig + summarizationConfig: DataStoreToolSummarizationConfig + +@typing.type_check_only +class DataStoreToolRewriterConfig(typing_extensions.TypedDict, total=False): + disabled: bool + modelSettings: ModelSettings + prompt: str + +@typing.type_check_only +class DataStoreToolSummarizationConfig(typing_extensions.TypedDict, total=False): + disabled: bool + modelSettings: ModelSettings + prompt: str + +@typing.type_check_only +class Deployment(typing_extensions.TypedDict, total=False): + appVersion: str + channelProfile: ChannelProfile + createTime: str + displayName: str + etag: str + name: str + updateTime: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EndSession(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] + +@typing.type_check_only +class EndUserAuthConfig(typing_extensions.TypedDict, total=False): + oauth2AuthCodeConfig: EndUserAuthConfigOauth2AuthCodeConfig + oauth2JwtBearerConfig: EndUserAuthConfigOauth2JwtBearerConfig + +@typing.type_check_only +class EndUserAuthConfigOauth2AuthCodeConfig(typing_extensions.TypedDict, total=False): + oauthToken: str + +@typing.type_check_only +class EndUserAuthConfigOauth2JwtBearerConfig(typing_extensions.TypedDict, total=False): + clientKey: str + issuer: str + subject: str + +@typing.type_check_only +class EvaluationMetricsThresholds(typing_extensions.TypedDict, total=False): + goldenEvaluationMetricsThresholds: ( + EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds + ) + goldenHallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + hallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + scenarioHallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( + typing_extensions.TypedDict, total=False +): + expectationLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds + turnLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds( + typing_extensions.TypedDict, total=False +): + toolInvocationParameterCorrectnessThreshold: float + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds( + typing_extensions.TypedDict, total=False +): + overallToolInvocationCorrectnessThreshold: float + semanticSimilarityChannel: typing_extensions.Literal[ + "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" + ] + semanticSimilaritySuccessThreshold: int + +@typing.type_check_only +class Event(typing_extensions.TypedDict, total=False): + event: str + +@typing.type_check_only +class Example(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + entryAgent: str + etag: str + invalid: bool + messages: _list[Message] + name: str + updateTime: str + +@typing.type_check_only +class ExecuteToolRequest(typing_extensions.TypedDict, total=False): + args: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ExecuteToolResponse(typing_extensions.TypedDict, total=False): + response: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ExportAppRequest(typing_extensions.TypedDict, total=False): + exportFormat: typing_extensions.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] + gcsUri: str + +@typing.type_check_only +class ExportAppResponse(typing_extensions.TypedDict, total=False): + appContent: str + appUri: str + +@typing.type_check_only +class ExpressionCondition(typing_extensions.TypedDict, total=False): + expression: str + +@typing.type_check_only +class FileSearchTool(typing_extensions.TypedDict, total=False): + corpusType: typing_extensions.Literal[ + "CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED" + ] + description: str + fileCorpus: str + name: str + +@typing.type_check_only +class GenerateChatTokenRequest(typing_extensions.TypedDict, total=False): + deployment: str + recaptchaToken: str + +@typing.type_check_only +class GenerateChatTokenResponse(typing_extensions.TypedDict, total=False): + chatToken: str + expireTime: str + +@typing.type_check_only +class GoogleSearchSuggestions(typing_extensions.TypedDict, total=False): + htmls: _list[str] + webSearchQueries: _list[WebSearchQuery] + +@typing.type_check_only +class GoogleSearchTool(typing_extensions.TypedDict, total=False): + contextUrls: _list[str] + description: str + excludeDomains: _list[str] + name: str + preferredDomains: _list[str] + +@typing.type_check_only +class Guardrail(typing_extensions.TypedDict, total=False): + action: TriggerAction + codeCallback: GuardrailCodeCallback + contentFilter: GuardrailContentFilter + createTime: str + description: str + displayName: str + enabled: bool + etag: str + llmPolicy: GuardrailLlmPolicy + llmPromptSecurity: GuardrailLlmPromptSecurity + modelSafety: GuardrailModelSafety + name: str + updateTime: str + +@typing.type_check_only +class GuardrailCodeCallback(typing_extensions.TypedDict, total=False): + afterAgentCallback: Callback + afterModelCallback: Callback + beforeAgentCallback: Callback + beforeModelCallback: Callback + +@typing.type_check_only +class GuardrailContentFilter(typing_extensions.TypedDict, total=False): + bannedContents: _list[str] + bannedContentsInAgentResponse: _list[str] + bannedContentsInUserInput: _list[str] + disregardDiacritics: bool + matchType: typing_extensions.Literal[ + "MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + "REGEXP_MATCH", + ] + +@typing.type_check_only +class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): + allowShortUtterance: bool + failOpen: bool + maxConversationMessages: int + modelSettings: ModelSettings + policyScope: typing_extensions.Literal[ + "POLICY_SCOPE_UNSPECIFIED", + "USER_QUERY", + "AGENT_RESPONSE", + "USER_QUERY_AND_AGENT_RESPONSE", + ] + prompt: str + +@typing.type_check_only +class GuardrailLlmPromptSecurity(typing_extensions.TypedDict, total=False): + customPolicy: GuardrailLlmPolicy + defaultSettings: GuardrailLlmPromptSecurityDefaultSecuritySettings + failOpen: bool + +@typing.type_check_only +class GuardrailLlmPromptSecurityDefaultSecuritySettings( + typing_extensions.TypedDict, total=False +): + defaultPromptTemplate: str + +@typing.type_check_only +class GuardrailModelSafety(typing_extensions.TypedDict, total=False): + safetySettings: _list[GuardrailModelSafetySafetySetting] + +@typing.type_check_only +class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False): + category: typing_extensions.Literal[ + "HARM_CATEGORY_UNSPECIFIED", + "HARM_CATEGORY_HATE_SPEECH", + "HARM_CATEGORY_DANGEROUS_CONTENT", + "HARM_CATEGORY_HARASSMENT", + "HARM_CATEGORY_SEXUALLY_EXPLICIT", + ] + threshold: typing_extensions.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", + ] + +@typing.type_check_only +class Image(typing_extensions.TypedDict, total=False): + data: str + mimeType: str + +@typing.type_check_only +class ImportAppRequest(typing_extensions.TypedDict, total=False): + appContent: str + appId: str + displayName: str + gcsUri: str + importOptions: ImportAppRequestImportOptions + +@typing.type_check_only +class ImportAppRequestImportOptions(typing_extensions.TypedDict, total=False): + conflictResolutionStrategy: typing_extensions.Literal[ + "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "REPLACE", "OVERWRITE" + ] + +@typing.type_check_only +class ImportAppResponse(typing_extensions.TypedDict, total=False): + name: str + warnings: _list[str] + +@typing.type_check_only +class InputAudioConfig(typing_extensions.TypedDict, total=False): + audioEncoding: typing_extensions.Literal[ + "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" + ] + noiseSuppressionLevel: str + sampleRateHertz: int + +@typing.type_check_only +class LanguageSettings(typing_extensions.TypedDict, total=False): + defaultLanguageCode: str + enableMultilingualSupport: bool + fallbackAction: str + supportedLanguageCodes: _list[str] + +@typing.type_check_only +class ListAgentsResponse(typing_extensions.TypedDict, total=False): + agents: _list[Agent] + nextPageToken: str + +@typing.type_check_only +class ListAppVersionsResponse(typing_extensions.TypedDict, total=False): + appVersions: _list[AppVersion] + nextPageToken: str + +@typing.type_check_only +class ListAppsResponse(typing_extensions.TypedDict, total=False): + apps: _list[App] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListChangelogsResponse(typing_extensions.TypedDict, total=False): + changelogs: _list[Changelog] + nextPageToken: str + +@typing.type_check_only +class ListConversationsResponse(typing_extensions.TypedDict, total=False): + conversations: _list[Conversation] + nextPageToken: str + +@typing.type_check_only +class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): + deployments: _list[Deployment] + nextPageToken: str + +@typing.type_check_only +class ListExamplesResponse(typing_extensions.TypedDict, total=False): + examples: _list[Example] + nextPageToken: str + +@typing.type_check_only +class ListGuardrailsResponse(typing_extensions.TypedDict, total=False): + guardrails: _list[Guardrail] + nextPageToken: str + +@typing.type_check_only +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 ListToolsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + tools: _list[Tool] + +@typing.type_check_only +class ListToolsetsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + toolsets: _list[Toolset] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class LoggingSettings(typing_extensions.TypedDict, total=False): + audioRecordingConfig: AudioRecordingConfig + bigqueryExportSettings: BigQueryExportSettings + cloudLoggingSettings: CloudLoggingSettings + conversationLoggingSettings: ConversationLoggingSettings + evaluationAudioRecordingConfig: AudioRecordingConfig + metricAnalysisSettings: MetricAnalysisSettings + redactionConfig: RedactionConfig + +@typing.type_check_only +class McpTool(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + description: str + inputSchema: Schema + name: str + outputSchema: Schema + serverAddress: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + +@typing.type_check_only +class McpToolset(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + serverAddress: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + +@typing.type_check_only +class Message(typing_extensions.TypedDict, total=False): + chunks: _list[Chunk] + eventTime: str + role: str + +@typing.type_check_only +class MetricAnalysisSettings(typing_extensions.TypedDict, total=False): + llmMetricsOptedOut: bool + +@typing.type_check_only +class ModelSettings(typing_extensions.TypedDict, total=False): + model: str + temperature: float + +@typing.type_check_only +class OAuthConfig(typing_extensions.TypedDict, total=False): + clientId: str + clientSecretVersion: str + oauthGrantType: typing_extensions.Literal[ + "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" + ] + scopes: _list[str] + tokenEndpoint: str + +@typing.type_check_only +class Omnichannel(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + etag: str + integrationConfig: OmnichannelIntegrationConfig + name: str + updateTime: str + +@typing.type_check_only +class OmnichannelIntegrationConfig(typing_extensions.TypedDict, total=False): + channelConfigs: dict[str, typing.Any] + routingConfigs: dict[str, typing.Any] + subscriberConfigs: dict[str, typing.Any] + +@typing.type_check_only +class OmnichannelIntegrationConfigCesAppConfig( + typing_extensions.TypedDict, total=False +): + app: str + +@typing.type_check_only +class OmnichannelIntegrationConfigChannelConfig( + typing_extensions.TypedDict, total=False +): + whatsappConfig: OmnichannelIntegrationConfigWhatsappConfig + +@typing.type_check_only +class OmnichannelIntegrationConfigRoutingConfig( + typing_extensions.TypedDict, total=False +): + subscriberKey: str + +@typing.type_check_only +class OmnichannelIntegrationConfigSubscriberConfig( + typing_extensions.TypedDict, total=False +): + cesAppConfig: OmnichannelIntegrationConfigCesAppConfig + +@typing.type_check_only +class OmnichannelIntegrationConfigWhatsappConfig( + typing_extensions.TypedDict, total=False +): + metaBusinessPortfolioId: str + phoneNumber: str + phoneNumberId: str + webhookVerifyToken: str + whatsappBusinessAccountId: str + whatsappBusinessToken: str + +@typing.type_check_only +class OmnichannelOperationMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + +@typing.type_check_only +class OpenApiTool(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + description: str + ignoreUnknownFields: bool + name: str + openApiSchema: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + url: str + +@typing.type_check_only +class OpenApiToolset(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + ignoreUnknownFields: bool + openApiSchema: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + url: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + +@typing.type_check_only +class OutputAudioConfig(typing_extensions.TypedDict, total=False): + audioEncoding: typing_extensions.Literal[ + "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" + ] + sampleRateHertz: int + +@typing.type_check_only +class PythonCodeCondition(typing_extensions.TypedDict, total=False): + pythonCode: str + +@typing.type_check_only +class PythonFunction(typing_extensions.TypedDict, total=False): + description: str + name: str + pythonCode: str + +@typing.type_check_only +class RedactionConfig(typing_extensions.TypedDict, total=False): + deidentifyTemplate: str + enableRedaction: bool + inspectTemplate: str + +@typing.type_check_only +class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RetrieveToolSchemaRequest(typing_extensions.TypedDict, total=False): + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class RetrieveToolSchemaResponse(typing_extensions.TypedDict, total=False): + inputSchema: Schema + outputSchema: Schema + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class RetrieveToolsRequest(typing_extensions.TypedDict, total=False): + toolIds: _list[str] + +@typing.type_check_only +class RetrieveToolsResponse(typing_extensions.TypedDict, total=False): + tools: _list[Tool] + +@typing.type_check_only +class RunSessionRequest(typing_extensions.TypedDict, total=False): + config: SessionConfig + inputs: _list[SessionInput] + +@typing.type_check_only +class RunSessionResponse(typing_extensions.TypedDict, total=False): + outputs: _list[SessionOutput] + +@typing.type_check_only +class Schema(typing_extensions.TypedDict, total=False): + additionalProperties: Schema + anyOf: _list[Schema] + default: typing.Any + defs: dict[str, typing.Any] + description: str + enum: _list[str] + items: Schema + maxItems: str + maximum: float + minItems: str + minimum: float + nullable: bool + prefixItems: _list[Schema] + properties: dict[str, typing.Any] + ref: str + required: _list[str] + title: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "STRING", "INTEGER", "NUMBER", "BOOLEAN", "OBJECT", "ARRAY" + ] + uniqueItems: bool + +@typing.type_check_only +class ServiceAccountAuthConfig(typing_extensions.TypedDict, total=False): + scopes: _list[str] + serviceAccount: str + +@typing.type_check_only +class ServiceAgentIdTokenAuthConfig(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): + service: str + +@typing.type_check_only +class SessionConfig(typing_extensions.TypedDict, total=False): + deployment: str + entryAgent: str + historicalContexts: _list[Message] + inputAudioConfig: InputAudioConfig + outputAudioConfig: OutputAudioConfig + remoteDialogflowQueryParameters: SessionConfigRemoteDialogflowQueryParameters + timeZone: str + +@typing.type_check_only +class SessionConfigRemoteDialogflowQueryParameters( + typing_extensions.TypedDict, total=False +): + endUserMetadata: dict[str, typing.Any] + payload: dict[str, typing.Any] + webhookHeaders: dict[str, typing.Any] + +@typing.type_check_only +class SessionInput(typing_extensions.TypedDict, total=False): + audio: str + blob: Blob + dtmf: str + event: Event + image: Image + text: str + toolResponses: ToolResponses + variables: dict[str, typing.Any] + willContinue: bool + +@typing.type_check_only +class SessionOutput(typing_extensions.TypedDict, total=False): + audio: str + citations: Citations + diagnosticInfo: SessionOutputDiagnosticInfo + endSession: EndSession + googleSearchSuggestions: GoogleSearchSuggestions + payload: dict[str, typing.Any] + text: str + toolCalls: ToolCalls + turnCompleted: bool + turnIndex: int + +@typing.type_check_only +class SessionOutputDiagnosticInfo(typing_extensions.TypedDict, total=False): + messages: _list[Message] + rootSpan: Span + +@typing.type_check_only +class Span(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + childSpans: _list[Span] + duration: str + endTime: str + name: str + startTime: 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 SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): + speakingRate: float + voice: str + +@typing.type_check_only +class SystemTool(typing_extensions.TypedDict, total=False): + description: str + name: str + +@typing.type_check_only +class TimeZoneSettings(typing_extensions.TypedDict, total=False): + timeZone: str + +@typing.type_check_only +class TlsConfig(typing_extensions.TypedDict, total=False): + caCerts: _list[TlsConfigCaCert] + +@typing.type_check_only +class TlsConfigCaCert(typing_extensions.TypedDict, total=False): + cert: str + displayName: str + +@typing.type_check_only +class Tool(typing_extensions.TypedDict, total=False): + clientFunction: ClientFunction + connectorTool: ConnectorTool + createTime: str + dataStoreTool: DataStoreTool + displayName: str + etag: str + executionType: typing_extensions.Literal[ + "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" + ] + fileSearchTool: FileSearchTool + generatedSummary: str + googleSearchTool: GoogleSearchTool + mcpTool: McpTool + name: str + openApiTool: OpenApiTool + pythonFunction: PythonFunction + systemTool: SystemTool + toolFakeConfig: ToolFakeConfig + updateTime: str + widgetTool: WidgetTool + +@typing.type_check_only +class ToolCall(typing_extensions.TypedDict, total=False): + args: dict[str, typing.Any] + displayName: str + id: str + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ToolCalls(typing_extensions.TypedDict, total=False): + toolCalls: _list[ToolCall] + +@typing.type_check_only +class ToolFakeConfig(typing_extensions.TypedDict, total=False): + codeBlock: CodeBlock + enableFakeMode: bool + +@typing.type_check_only +class ToolResponse(typing_extensions.TypedDict, total=False): + displayName: str + id: str + response: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ToolResponses(typing_extensions.TypedDict, total=False): + toolResponses: _list[ToolResponse] + +@typing.type_check_only +class Toolset(typing_extensions.TypedDict, total=False): + connectorToolset: ConnectorToolset + createTime: str + description: str + displayName: str + etag: str + executionType: typing_extensions.Literal[ + "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" + ] + mcpToolset: McpToolset + name: str + openApiToolset: OpenApiToolset + toolFakeConfig: ToolFakeConfig + updateTime: str + +@typing.type_check_only +class ToolsetTool(typing_extensions.TypedDict, total=False): + toolId: str + toolset: str + +@typing.type_check_only +class TransferRule(typing_extensions.TypedDict, total=False): + childAgent: str + deterministicTransfer: TransferRuleDeterministicTransfer + direction: typing_extensions.Literal[ + "DIRECTION_UNSPECIFIED", "PARENT_TO_CHILD", "CHILD_TO_PARENT" + ] + disablePlannerTransfer: TransferRuleDisablePlannerTransfer + +@typing.type_check_only +class TransferRuleDeterministicTransfer(typing_extensions.TypedDict, total=False): + expressionCondition: ExpressionCondition + pythonCodeCondition: PythonCodeCondition + +@typing.type_check_only +class TransferRuleDisablePlannerTransfer(typing_extensions.TypedDict, total=False): + expressionCondition: ExpressionCondition + +@typing.type_check_only +class TriggerAction(typing_extensions.TypedDict, total=False): + generativeAnswer: TriggerActionGenerativeAnswer + respondImmediately: TriggerActionRespondImmediately + transferAgent: TriggerActionTransferAgent + +@typing.type_check_only +class TriggerActionGenerativeAnswer(typing_extensions.TypedDict, total=False): + prompt: str + +@typing.type_check_only +class TriggerActionRespondImmediately(typing_extensions.TypedDict, total=False): + responses: _list[TriggerActionResponse] + +@typing.type_check_only +class TriggerActionResponse(typing_extensions.TypedDict, total=False): + disabled: bool + text: str + +@typing.type_check_only +class TriggerActionTransferAgent(typing_extensions.TypedDict, total=False): + agent: str + +@typing.type_check_only +class WebSearchQuery(typing_extensions.TypedDict, total=False): + query: str + uri: str + +@typing.type_check_only +class WidgetTool(typing_extensions.TypedDict, total=False): + description: str + name: str + parameters: Schema + widgetType: typing_extensions.Literal[ + "WIDGET_TYPE_UNSPECIFIED", + "CUSTOM", + "PRODUCT_CAROUSEL", + "PRODUCT_DETAILS", + "QUICK_ACTIONS", + "PRODUCT_COMPARISON", + "ADVANCED_PRODUCT_DETAILS", + "SHORT_FORM", + "OVERALL_SATISFACTION", + "ORDER_SUMMARY", + ] diff --git a/googleapiclient-stubs/_apis/ces/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/ces/v1beta/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi new file mode 100644 index 000000000..4639f04e0 --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1beta/resources.pyi @@ -0,0 +1,1148 @@ +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 CustomerEngagementSuiteResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AppsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Agent = ..., + agentId: str = ..., + **kwargs: typing.Any, + ) -> AgentHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AgentHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAgentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAgentsResponseHttpRequest, + previous_response: ListAgentsResponse, + ) -> ListAgentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Agent = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AgentHttpRequest: ... + + @typing.type_check_only + class ChangelogsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ChangelogHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListChangelogsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListChangelogsResponseHttpRequest, + previous_response: ListChangelogsResponse, + ) -> ListChangelogsResponseHttpRequest | None: ... + + @typing.type_check_only + class ConversationsResource(googleapiclient.discovery.Resource): + def batchDelete( + self, + *, + parent: str, + body: BatchDeleteConversationsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def generateEvaluation( + self, + *, + conversation: str, + body: GenerateEvaluationRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + name: str, + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> ConversationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + source: typing_extensions.Literal[ + "SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL" + ] = ..., + **kwargs: typing.Any, + ) -> ListConversationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConversationsResponseHttpRequest, + previous_response: ListConversationsResponse, + ) -> ListConversationsResponseHttpRequest | None: ... + + @typing.type_check_only + class DeploymentsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Deployment = ..., + deploymentId: str = ..., + **kwargs: typing.Any, + ) -> DeploymentHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DeploymentHttpRequest: ... + def list( + self, + *, + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDeploymentsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDeploymentsResponseHttpRequest, + previous_response: ListDeploymentsResponse, + ) -> ListDeploymentsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Deployment = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DeploymentHttpRequest: ... + + @typing.type_check_only + class EvaluationDatasetsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: EvaluationDataset = ..., + evaluationDatasetId: str = ..., + **kwargs: typing.Any, + ) -> EvaluationDatasetHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EvaluationDatasetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEvaluationDatasetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEvaluationDatasetsResponseHttpRequest, + previous_response: ListEvaluationDatasetsResponse, + ) -> ListEvaluationDatasetsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: EvaluationDataset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> EvaluationDatasetHttpRequest: ... + + @typing.type_check_only + class EvaluationExpectationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: EvaluationExpectation = ..., + evaluationExpectationId: str = ..., + **kwargs: typing.Any, + ) -> EvaluationExpectationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EvaluationExpectationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEvaluationExpectationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEvaluationExpectationsResponseHttpRequest, + previous_response: ListEvaluationExpectationsResponse, + ) -> ListEvaluationExpectationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: EvaluationExpectation = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> EvaluationExpectationHttpRequest: ... + + @typing.type_check_only + class EvaluationRunsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EvaluationRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEvaluationRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEvaluationRunsResponseHttpRequest, + previous_response: ListEvaluationRunsResponse, + ) -> ListEvaluationRunsResponseHttpRequest | None: ... + + @typing.type_check_only + class EvaluationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ResultsResource(googleapiclient.discovery.Resource): + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EvaluationResultHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEvaluationResultsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEvaluationResultsResponseHttpRequest, + previous_response: ListEvaluationResultsResponse, + ) -> ListEvaluationResultsResponseHttpRequest | None: ... + + def create( + self, + *, + parent: str, + body: Evaluation = ..., + evaluationId: str = ..., + **kwargs: typing.Any, + ) -> EvaluationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> EvaluationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + lastTenResults: bool = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListEvaluationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListEvaluationsResponseHttpRequest, + previous_response: ListEvaluationsResponse, + ) -> ListEvaluationsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Evaluation = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> EvaluationHttpRequest: ... + def results(self) -> ResultsResource: ... + + @typing.type_check_only + class ExamplesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Example = ..., + exampleId: str = ..., + **kwargs: typing.Any, + ) -> ExampleHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ExampleHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListExamplesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListExamplesResponseHttpRequest, + previous_response: ListExamplesResponse, + ) -> ListExamplesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Example = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ExampleHttpRequest: ... + + @typing.type_check_only + class GuardrailsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Guardrail = ..., + guardrailId: str = ..., + **kwargs: typing.Any, + ) -> GuardrailHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GuardrailHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListGuardrailsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListGuardrailsResponseHttpRequest, + previous_response: ListGuardrailsResponse, + ) -> ListGuardrailsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Guardrail = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GuardrailHttpRequest: ... + + @typing.type_check_only + class ScheduledEvaluationRunsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + parent: str, + body: ScheduledEvaluationRun = ..., + scheduledEvaluationRunId: str = ..., + **kwargs: typing.Any, + ) -> ScheduledEvaluationRunHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ScheduledEvaluationRunHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListScheduledEvaluationRunsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListScheduledEvaluationRunsResponseHttpRequest, + previous_response: ListScheduledEvaluationRunsResponse, + ) -> ListScheduledEvaluationRunsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: ScheduledEvaluationRun = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ScheduledEvaluationRunHttpRequest: ... + + @typing.type_check_only + class SessionsResource(googleapiclient.discovery.Resource): + def generateChatToken( + self, + *, + name: str, + body: GenerateChatTokenRequest = ..., + **kwargs: typing.Any, + ) -> GenerateChatTokenResponseHttpRequest: ... + def runSession( + self, + *, + session: str, + body: RunSessionRequest = ..., + **kwargs: typing.Any, + ) -> RunSessionResponseHttpRequest: ... + + @typing.type_check_only + class ToolsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Tool = ..., + toolId: str = ..., + **kwargs: typing.Any, + ) -> ToolHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ToolHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListToolsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListToolsResponseHttpRequest, + previous_response: ListToolsResponse, + ) -> ListToolsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Tool = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ToolHttpRequest: ... + + @typing.type_check_only + class ToolsetsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Toolset = ..., + toolsetId: str = ..., + **kwargs: typing.Any, + ) -> ToolsetHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + force: bool = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ToolsetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListToolsetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListToolsetsResponseHttpRequest, + previous_response: ListToolsetsResponse, + ) -> ListToolsetsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Toolset = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ToolsetHttpRequest: ... + def retrieveTools( + self, + *, + toolset: str, + body: RetrieveToolsRequest = ..., + **kwargs: typing.Any, + ) -> RetrieveToolsResponseHttpRequest: ... + + @typing.type_check_only + class VersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: AppVersion = ..., + appVersionId: str = ..., + **kwargs: typing.Any, + ) -> AppVersionHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AppVersionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAppVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAppVersionsResponseHttpRequest, + previous_response: ListAppVersionsResponse, + ) -> ListAppVersionsResponseHttpRequest | None: ... + def restore( + self, + *, + name: str, + body: RestoreAppVersionRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: App = ..., + appId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, etag: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def executeTool( + self, + *, + parent: str, + body: ExecuteToolRequest = ..., + **kwargs: typing.Any, + ) -> ExecuteToolResponseHttpRequest: ... + def exportApp( + self, + *, + name: str, + body: ExportAppRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> AppHttpRequest: ... + def importApp( + self, + *, + parent: str, + body: ImportAppRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def importEvaluations( + self, + *, + parent: str, + body: ImportEvaluationsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAppsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAppsResponseHttpRequest, + previous_response: ListAppsResponse, + ) -> ListAppsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: App = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> AppHttpRequest: ... + def retrieveToolSchema( + self, + *, + parent: str, + body: RetrieveToolSchemaRequest = ..., + **kwargs: typing.Any, + ) -> RetrieveToolSchemaResponseHttpRequest: ... + def runEvaluation( + self, + *, + app: str, + body: RunEvaluationRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def testPersonaVoice( + self, + *, + app: str, + body: TestPersonaVoiceRequest = ..., + **kwargs: typing.Any, + ) -> TestPersonaVoiceResponseHttpRequest: ... + def agents(self) -> AgentsResource: ... + def changelogs(self) -> ChangelogsResource: ... + def conversations(self) -> ConversationsResource: ... + def deployments(self) -> DeploymentsResource: ... + def evaluationDatasets(self) -> EvaluationDatasetsResource: ... + def evaluationExpectations(self) -> EvaluationExpectationsResource: ... + def evaluationRuns(self) -> EvaluationRunsResource: ... + def evaluations(self) -> EvaluationsResource: ... + def examples(self) -> ExamplesResource: ... + def guardrails(self) -> GuardrailsResource: ... + def scheduledEvaluationRuns( + self, + ) -> ScheduledEvaluationRunsResource: ... + def sessions(self) -> SessionsResource: ... + def tools(self) -> ToolsResource: ... + def toolsets(self) -> ToolsetsResource: ... + def versions(self) -> VersionsResource: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def apps(self) -> AppsResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + 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 projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AgentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Agent: ... + +@typing.type_check_only +class AppHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> App: ... + +@typing.type_check_only +class AppVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AppVersion: ... + +@typing.type_check_only +class ChangelogHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Changelog: ... + +@typing.type_check_only +class ConversationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Conversation: ... + +@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( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Empty: ... + +@typing.type_check_only +class EvaluationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Evaluation: ... + +@typing.type_check_only +class EvaluationDatasetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EvaluationDataset: ... + +@typing.type_check_only +class EvaluationExpectationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EvaluationExpectation: ... + +@typing.type_check_only +class EvaluationResultHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EvaluationResult: ... + +@typing.type_check_only +class EvaluationRunHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EvaluationRun: ... + +@typing.type_check_only +class ExampleHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Example: ... + +@typing.type_check_only +class ExecuteToolResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecuteToolResponse: ... + +@typing.type_check_only +class GenerateChatTokenResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateChatTokenResponse: ... + +@typing.type_check_only +class GuardrailHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Guardrail: ... + +@typing.type_check_only +class ListAgentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAgentsResponse: ... + +@typing.type_check_only +class ListAppVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAppVersionsResponse: ... + +@typing.type_check_only +class ListAppsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAppsResponse: ... + +@typing.type_check_only +class ListChangelogsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListChangelogsResponse: ... + +@typing.type_check_only +class ListConversationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConversationsResponse: ... + +@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 ListEvaluationDatasetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEvaluationDatasetsResponse: ... + +@typing.type_check_only +class ListEvaluationExpectationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEvaluationExpectationsResponse: ... + +@typing.type_check_only +class ListEvaluationResultsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEvaluationResultsResponse: ... + +@typing.type_check_only +class ListEvaluationRunsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEvaluationRunsResponse: ... + +@typing.type_check_only +class ListEvaluationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListEvaluationsResponse: ... + +@typing.type_check_only +class ListExamplesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListExamplesResponse: ... + +@typing.type_check_only +class ListGuardrailsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListGuardrailsResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 ListScheduledEvaluationRunsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListScheduledEvaluationRunsResponse: ... + +@typing.type_check_only +class ListToolsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListToolsResponse: ... + +@typing.type_check_only +class ListToolsetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListToolsetsResponse: ... + +@typing.type_check_only +class LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 RetrieveToolSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveToolSchemaResponse: ... + +@typing.type_check_only +class RetrieveToolsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RetrieveToolsResponse: ... + +@typing.type_check_only +class RunSessionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RunSessionResponse: ... + +@typing.type_check_only +class ScheduledEvaluationRunHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ScheduledEvaluationRun: ... + +@typing.type_check_only +class TestPersonaVoiceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TestPersonaVoiceResponse: ... + +@typing.type_check_only +class ToolHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Tool: ... + +@typing.type_check_only +class ToolsetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Toolset: ... diff --git a/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi new file mode 100644 index 000000000..e49494e29 --- /dev/null +++ b/googleapiclient-stubs/_apis/ces/v1beta/schemas.pyi @@ -0,0 +1,1910 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class Action(typing_extensions.TypedDict, total=False): + connectionActionId: str + entityOperation: ActionEntityOperation + inputFields: _list[str] + outputFields: _list[str] + +@typing.type_check_only +class ActionEntityOperation(typing_extensions.TypedDict, total=False): + entityId: str + operation: typing_extensions.Literal[ + "OPERATION_TYPE_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + +@typing.type_check_only +class Agent(typing_extensions.TypedDict, total=False): + afterAgentCallbacks: _list[Callback] + afterModelCallbacks: _list[Callback] + afterToolCallbacks: _list[Callback] + beforeAgentCallbacks: _list[Callback] + beforeModelCallbacks: _list[Callback] + beforeToolCallbacks: _list[Callback] + childAgents: _list[str] + createTime: str + description: str + displayName: str + etag: str + generatedSummary: str + guardrails: _list[str] + instruction: str + llmAgent: AgentLlmAgent + modelSettings: ModelSettings + name: str + remoteDialogflowAgent: AgentRemoteDialogflowAgent + tools: _list[str] + toolsets: _list[AgentAgentToolset] + transferRules: _list[TransferRule] + updateTime: str + +@typing.type_check_only +class AgentAgentToolset(typing_extensions.TypedDict, total=False): + toolIds: _list[str] + toolset: str + +@typing.type_check_only +class AgentLlmAgent(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AgentRemoteDialogflowAgent(typing_extensions.TypedDict, total=False): + agent: str + environmentId: str + flowId: str + inputVariableMapping: dict[str, typing.Any] + outputVariableMapping: dict[str, typing.Any] + respectResponseInterruptionSettings: bool + +@typing.type_check_only +class AgentTransfer(typing_extensions.TypedDict, total=False): + displayName: str + targetAgent: str + +@typing.type_check_only +class AggregatedMetrics(typing_extensions.TypedDict, total=False): + metricsByAppVersion: _list[AggregatedMetricsMetricsByAppVersion] + +@typing.type_check_only +class AggregatedMetricsHallucinationMetrics(typing_extensions.TypedDict, total=False): + score: float + +@typing.type_check_only +class AggregatedMetricsMetricsByAppVersion(typing_extensions.TypedDict, total=False): + appVersionId: str + failCount: int + hallucinationMetrics: _list[AggregatedMetricsHallucinationMetrics] + metricsByTurn: _list[AggregatedMetricsMetricsByTurn] + passCount: int + semanticSimilarityMetrics: _list[AggregatedMetricsSemanticSimilarityMetrics] + toolCallLatencyMetrics: _list[AggregatedMetricsToolCallLatencyMetrics] + toolMetrics: _list[AggregatedMetricsToolMetrics] + turnLatencyMetrics: _list[AggregatedMetricsTurnLatencyMetrics] + +@typing.type_check_only +class AggregatedMetricsMetricsByTurn(typing_extensions.TypedDict, total=False): + hallucinationMetrics: _list[AggregatedMetricsHallucinationMetrics] + semanticSimilarityMetrics: _list[AggregatedMetricsSemanticSimilarityMetrics] + toolCallLatencyMetrics: _list[AggregatedMetricsToolCallLatencyMetrics] + toolMetrics: _list[AggregatedMetricsToolMetrics] + turnIndex: int + turnLatencyMetrics: _list[AggregatedMetricsTurnLatencyMetrics] + +@typing.type_check_only +class AggregatedMetricsSemanticSimilarityMetrics( + typing_extensions.TypedDict, total=False +): + score: float + +@typing.type_check_only +class AggregatedMetricsToolCallLatencyMetrics(typing_extensions.TypedDict, total=False): + averageLatency: str + tool: str + +@typing.type_check_only +class AggregatedMetricsToolMetrics(typing_extensions.TypedDict, total=False): + failCount: int + passCount: int + tool: str + +@typing.type_check_only +class AggregatedMetricsTurnLatencyMetrics(typing_extensions.TypedDict, total=False): + averageLatency: str + +@typing.type_check_only +class AmbientSoundConfig(typing_extensions.TypedDict, total=False): + gcsUri: str + prebuiltAmbientNoise: typing_extensions.Literal[ + "PREBUILT_AMBIENT_NOISE_UNSPECIFIED", + "RETAIL_STORE", + "CONVENTION_HALL", + "OUTDOOR", + ] + prebuiltAmbientSound: str + volumeGainDb: float + +@typing.type_check_only +class ApiAuthentication(typing_extensions.TypedDict, total=False): + apiKeyConfig: ApiKeyConfig + bearerTokenConfig: BearerTokenConfig + oauthConfig: OAuthConfig + serviceAccountAuthConfig: ServiceAccountAuthConfig + serviceAgentIdTokenAuthConfig: ServiceAgentIdTokenAuthConfig + +@typing.type_check_only +class ApiKeyConfig(typing_extensions.TypedDict, total=False): + apiKeySecretVersion: str + keyName: str + requestLocation: typing_extensions.Literal[ + "REQUEST_LOCATION_UNSPECIFIED", "HEADER", "QUERY_STRING" + ] + +@typing.type_check_only +class App(typing_extensions.TypedDict, total=False): + audioProcessingConfig: AudioProcessingConfig + clientCertificateSettings: ClientCertificateSettings + createTime: str + dataStoreSettings: DataStoreSettings + defaultChannelProfile: ChannelProfile + deploymentCount: int + description: str + displayName: str + etag: str + evaluationMetricsThresholds: EvaluationMetricsThresholds + evaluationPersonas: _list[EvaluationPersona] + evaluationSettings: EvaluationSettings + globalInstruction: str + guardrails: _list[str] + languageSettings: LanguageSettings + locked: bool + loggingSettings: LoggingSettings + metadata: dict[str, typing.Any] + modelSettings: ModelSettings + name: str + pinned: bool + predefinedVariableDeclarations: _list[AppVariableDeclaration] + rootAgent: str + timeZoneSettings: TimeZoneSettings + toolExecutionMode: typing_extensions.Literal[ + "TOOL_EXECUTION_MODE_UNSPECIFIED", "PARALLEL", "SEQUENTIAL" + ] + updateTime: str + variableDeclarations: _list[AppVariableDeclaration] + +@typing.type_check_only +class AppSnapshot(typing_extensions.TypedDict, total=False): + agents: _list[Agent] + app: App + examples: _list[Example] + guardrails: _list[Guardrail] + tools: _list[Tool] + toolsets: _list[Toolset] + +@typing.type_check_only +class AppVariableDeclaration(typing_extensions.TypedDict, total=False): + description: str + name: str + schema: Schema + +@typing.type_check_only +class AppVersion(typing_extensions.TypedDict, total=False): + createTime: str + creator: str + description: str + displayName: str + etag: str + name: str + snapshot: AppSnapshot + +@typing.type_check_only +class AudioProcessingConfig(typing_extensions.TypedDict, total=False): + ambientSoundConfig: AmbientSoundConfig + bargeInConfig: BargeInConfig + inactivityTimeout: str + synthesizeSpeechConfigs: dict[str, typing.Any] + +@typing.type_check_only +class AudioRecordingConfig(typing_extensions.TypedDict, total=False): + gcsBucket: str + gcsPathPrefix: str + +@typing.type_check_only +class BargeInConfig(typing_extensions.TypedDict, total=False): + bargeInAwareness: bool + disableBargeIn: bool + +@typing.type_check_only +class BatchDeleteConversationsRequest(typing_extensions.TypedDict, total=False): + conversations: _list[str] + +@typing.type_check_only +class BatchDeleteConversationsResponse(typing_extensions.TypedDict, total=False): + deletedConversations: _list[str] + errorMessages: _list[str] + failedConversations: _list[str] + +@typing.type_check_only +class BearerTokenConfig(typing_extensions.TypedDict, total=False): + token: str + +@typing.type_check_only +class BigQueryExportSettings(typing_extensions.TypedDict, total=False): + dataset: str + enabled: bool + project: str + +@typing.type_check_only +class Blob(typing_extensions.TypedDict, total=False): + data: str + mimeType: str + +@typing.type_check_only +class Callback(typing_extensions.TypedDict, total=False): + description: str + disabled: bool + pythonCode: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Changelog(typing_extensions.TypedDict, total=False): + action: str + author: str + createTime: str + dependentResources: _list[dict[str, typing.Any]] + description: str + displayName: str + name: str + newResource: dict[str, typing.Any] + originalResource: dict[str, typing.Any] + resource: str + resourceType: str + sequenceNumber: str + +@typing.type_check_only +class ChannelProfile(typing_extensions.TypedDict, total=False): + channelType: typing_extensions.Literal[ + "UNKNOWN", + "WEB_UI", + "API", + "TWILIO", + "GOOGLE_TELEPHONY_PLATFORM", + "CONTACT_CENTER_AS_A_SERVICE", + "FIVE9", + ] + disableBargeInControl: bool + disableDtmf: bool + noiseSuppressionLevel: str + personaProperty: ChannelProfilePersonaProperty + profileId: str + webWidgetConfig: ChannelProfileWebWidgetConfig + +@typing.type_check_only +class ChannelProfilePersonaProperty(typing_extensions.TypedDict, total=False): + persona: typing_extensions.Literal["UNKNOWN", "CONCISE", "CHATTY"] + +@typing.type_check_only +class ChannelProfileWebWidgetConfig(typing_extensions.TypedDict, total=False): + modality: typing_extensions.Literal[ + "MODALITY_UNSPECIFIED", "CHAT_AND_VOICE", "VOICE_ONLY", "CHAT_ONLY" + ] + securitySettings: ChannelProfileWebWidgetConfigSecuritySettings + theme: typing_extensions.Literal["THEME_UNSPECIFIED", "LIGHT", "DARK"] + webWidgetTitle: str + +@typing.type_check_only +class ChannelProfileWebWidgetConfigSecuritySettings( + typing_extensions.TypedDict, total=False +): + allowedOrigins: _list[str] + enableOriginCheck: bool + enablePublicAccess: bool + enableRecaptcha: bool + +@typing.type_check_only +class Chunk(typing_extensions.TypedDict, total=False): + agentTransfer: AgentTransfer + defaultVariables: dict[str, typing.Any] + image: Image + payload: dict[str, typing.Any] + text: str + toolCall: ToolCall + toolResponse: ToolResponse + transcript: str + updatedVariables: dict[str, typing.Any] + +@typing.type_check_only +class Citations(typing_extensions.TypedDict, total=False): + citedChunks: _list[CitationsCitedChunk] + +@typing.type_check_only +class CitationsCitedChunk(typing_extensions.TypedDict, total=False): + text: str + title: str + uri: str + +@typing.type_check_only +class ClientCertificateSettings(typing_extensions.TypedDict, total=False): + passphrase: str + privateKey: str + tlsCertificate: str + +@typing.type_check_only +class ClientFunction(typing_extensions.TypedDict, total=False): + description: str + name: str + parameters: Schema + response: Schema + +@typing.type_check_only +class CloudLoggingSettings(typing_extensions.TypedDict, total=False): + enableCloudLogging: bool + +@typing.type_check_only +class CodeBlock(typing_extensions.TypedDict, total=False): + pythonCode: str + +@typing.type_check_only +class ConnectorTool(typing_extensions.TypedDict, total=False): + action: Action + authConfig: EndUserAuthConfig + connection: str + description: str + name: str + +@typing.type_check_only +class ConnectorToolset(typing_extensions.TypedDict, total=False): + authConfig: EndUserAuthConfig + connection: str + connectorActions: _list[Action] + +@typing.type_check_only +class Conversation(typing_extensions.TypedDict, total=False): + appVersion: str + channelType: typing_extensions.Literal[ + "CHANNEL_TYPE_UNSPECIFIED", "TEXT", "AUDIO", "MULTIMODAL" + ] + deployment: str + endTime: str + entryAgent: str + inputTypes: _list[ + typing_extensions.Literal[ + "INPUT_TYPE_UNSPECIFIED", + "INPUT_TYPE_TEXT", + "INPUT_TYPE_AUDIO", + "INPUT_TYPE_IMAGE", + "INPUT_TYPE_BLOB", + ] + ] + languageCode: str + messages: _list[Message] + name: str + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL"] + startTime: str + turnCount: int + turns: _list[ConversationTurn] + +@typing.type_check_only +class ConversationLoggingSettings(typing_extensions.TypedDict, total=False): + disableConversationLogging: bool + +@typing.type_check_only +class ConversationTurn(typing_extensions.TypedDict, total=False): + messages: _list[Message] + rootSpan: Span + +@typing.type_check_only +class DataStore(typing_extensions.TypedDict, total=False): + connectorConfig: DataStoreConnectorConfig + createTime: str + displayName: str + documentProcessingMode: typing_extensions.Literal[ + "DOCUMENT_PROCESSING_MODE_UNSPECIFIED", "DOCUMENTS", "CHUNKS" + ] + name: str + type: typing_extensions.Literal[ + "DATA_STORE_TYPE_UNSPECIFIED", "PUBLIC_WEB", "UNSTRUCTURED", "FAQ", "CONNECTOR" + ] + +@typing.type_check_only +class DataStoreConnectorConfig(typing_extensions.TypedDict, total=False): + collection: str + collectionDisplayName: str + dataSource: str + +@typing.type_check_only +class DataStoreSettings(typing_extensions.TypedDict, total=False): + engines: _list[DataStoreSettingsEngine] + +@typing.type_check_only +class DataStoreSettingsEngine(typing_extensions.TypedDict, total=False): + name: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "ENGINE_TYPE_SEARCH", "ENGINE_TYPE_CHAT" + ] + +@typing.type_check_only +class DataStoreTool(typing_extensions.TypedDict, total=False): + boostSpecs: _list[DataStoreToolBoostSpecs] + dataStoreSource: DataStoreToolDataStoreSource + description: str + engineSource: DataStoreToolEngineSource + filterParameterBehavior: typing_extensions.Literal[ + "FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED", "ALWAYS_INCLUDE", "NEVER_INCLUDE" + ] + modalityConfigs: _list[DataStoreToolModalityConfig] + name: str + +@typing.type_check_only +class DataStoreToolBoostSpec(typing_extensions.TypedDict, total=False): + conditionBoostSpecs: _list[DataStoreToolBoostSpecConditionBoostSpec] + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpec( + typing_extensions.TypedDict, total=False +): + boost: float + boostControlSpec: DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec + condition: str + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpec( + typing_extensions.TypedDict, total=False +): + attributeType: typing_extensions.Literal[ + "ATTRIBUTE_TYPE_UNSPECIFIED", "NUMERICAL", "FRESHNESS" + ] + controlPoints: _list[ + DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint + ] + fieldName: str + interpolationType: typing_extensions.Literal[ + "INTERPOLATION_TYPE_UNSPECIFIED", "LINEAR" + ] + +@typing.type_check_only +class DataStoreToolBoostSpecConditionBoostSpecBoostControlSpecControlPoint( + typing_extensions.TypedDict, total=False +): + attributeValue: str + boostAmount: float + +@typing.type_check_only +class DataStoreToolBoostSpecs(typing_extensions.TypedDict, total=False): + dataStores: _list[str] + spec: _list[DataStoreToolBoostSpec] + +@typing.type_check_only +class DataStoreToolDataStoreSource(typing_extensions.TypedDict, total=False): + dataStore: DataStore + filter: str + +@typing.type_check_only +class DataStoreToolEngineSource(typing_extensions.TypedDict, total=False): + dataStoreSources: _list[DataStoreToolDataStoreSource] + engine: str + filter: str + +@typing.type_check_only +class DataStoreToolGroundingConfig(typing_extensions.TypedDict, total=False): + disabled: bool + groundingLevel: float + +@typing.type_check_only +class DataStoreToolModalityConfig(typing_extensions.TypedDict, total=False): + groundingConfig: DataStoreToolGroundingConfig + modalityType: typing_extensions.Literal[ + "MODALITY_TYPE_UNSPECIFIED", "TEXT", "AUDIO" + ] + rewriterConfig: DataStoreToolRewriterConfig + summarizationConfig: DataStoreToolSummarizationConfig + +@typing.type_check_only +class DataStoreToolRewriterConfig(typing_extensions.TypedDict, total=False): + disabled: bool + modelSettings: ModelSettings + prompt: str + +@typing.type_check_only +class DataStoreToolSummarizationConfig(typing_extensions.TypedDict, total=False): + disabled: bool + modelSettings: ModelSettings + prompt: str + +@typing.type_check_only +class DeleteEvaluationRunOperationMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class Deployment(typing_extensions.TypedDict, total=False): + appVersion: str + channelProfile: ChannelProfile + createTime: str + displayName: str + etag: str + name: str + updateTime: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EndSession(typing_extensions.TypedDict, total=False): + metadata: dict[str, typing.Any] + +@typing.type_check_only +class EndUserAuthConfig(typing_extensions.TypedDict, total=False): + oauth2AuthCodeConfig: EndUserAuthConfigOauth2AuthCodeConfig + oauth2JwtBearerConfig: EndUserAuthConfigOauth2JwtBearerConfig + +@typing.type_check_only +class EndUserAuthConfigOauth2AuthCodeConfig(typing_extensions.TypedDict, total=False): + oauthToken: str + +@typing.type_check_only +class EndUserAuthConfigOauth2JwtBearerConfig(typing_extensions.TypedDict, total=False): + clientKey: str + issuer: str + subject: str + +@typing.type_check_only +class Evaluation(typing_extensions.TypedDict, total=False): + aggregatedMetrics: AggregatedMetrics + createTime: str + createdBy: str + description: str + displayName: str + etag: str + evaluationDatasets: _list[str] + evaluationRuns: _list[str] + golden: EvaluationGolden + invalid: bool + lastCompletedResult: EvaluationResult + lastTenResults: _list[EvaluationResult] + lastUpdatedBy: str + name: str + scenario: EvaluationScenario + tags: _list[str] + updateTime: str + +@typing.type_check_only +class EvaluationConfig(typing_extensions.TypedDict, total=False): + evaluationChannel: typing_extensions.Literal[ + "EVALUATION_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" + ] + inputAudioConfig: InputAudioConfig + outputAudioConfig: OutputAudioConfig + toolCallBehaviour: typing_extensions.Literal[ + "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" + ] + +@typing.type_check_only +class EvaluationDataset(typing_extensions.TypedDict, total=False): + aggregatedMetrics: AggregatedMetrics + createTime: str + createdBy: str + displayName: str + etag: str + evaluations: _list[str] + lastUpdatedBy: str + name: str + updateTime: str + +@typing.type_check_only +class EvaluationErrorInfo(typing_extensions.TypedDict, total=False): + errorMessage: str + errorType: typing_extensions.Literal[ + "ERROR_TYPE_UNSPECIFIED", + "RUNTIME_FAILURE", + "CONVERSATION_RETRIEVAL_FAILURE", + "METRIC_CALCULATION_FAILURE", + "EVALUATION_UPDATE_FAILURE", + "QUOTA_EXHAUSTED", + "USER_SIMULATION_FAILURE", + ] + sessionId: str + +@typing.type_check_only +class EvaluationExpectation(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + etag: str + llmCriteria: EvaluationExpectationLlmCriteria + name: str + tags: _list[str] + updateTime: str + +@typing.type_check_only +class EvaluationExpectationLlmCriteria(typing_extensions.TypedDict, total=False): + prompt: str + +@typing.type_check_only +class EvaluationGolden(typing_extensions.TypedDict, total=False): + evaluationExpectations: _list[str] + turns: _list[EvaluationGoldenTurn] + +@typing.type_check_only +class EvaluationGoldenExpectation(typing_extensions.TypedDict, total=False): + agentResponse: Message + agentTransfer: AgentTransfer + mockToolResponse: ToolResponse + note: str + toolCall: ToolCall + toolResponse: ToolResponse + updatedVariables: dict[str, typing.Any] + +@typing.type_check_only +class EvaluationGoldenTurn(typing_extensions.TypedDict, total=False): + rootSpan: Span + steps: _list[EvaluationStep] + +@typing.type_check_only +class EvaluationMetricsThresholds(typing_extensions.TypedDict, total=False): + goldenEvaluationMetricsThresholds: ( + EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds + ) + goldenHallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + hallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + scenarioHallucinationMetricBehavior: typing_extensions.Literal[ + "HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED", "DISABLED", "ENABLED" + ] + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholds( + typing_extensions.TypedDict, total=False +): + expectationLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds + turnLevelMetricsThresholds: EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsExpectationLevelMetricsThresholds( + typing_extensions.TypedDict, total=False +): + toolInvocationParameterCorrectnessThreshold: float + +@typing.type_check_only +class EvaluationMetricsThresholdsGoldenEvaluationMetricsThresholdsTurnLevelMetricsThresholds( + typing_extensions.TypedDict, total=False +): + overallToolInvocationCorrectnessThreshold: float + semanticSimilarityChannel: typing_extensions.Literal[ + "SEMANTIC_SIMILARITY_CHANNEL_UNSPECIFIED", "TEXT", "AUDIO" + ] + semanticSimilaritySuccessThreshold: int + +@typing.type_check_only +class EvaluationPersona(typing_extensions.TypedDict, total=False): + description: str + displayName: str + name: str + personality: str + speechConfig: EvaluationPersonaSpeechConfig + +@typing.type_check_only +class EvaluationPersonaSpeechConfig(typing_extensions.TypedDict, total=False): + environment: typing_extensions.Literal[ + "BACKGROUND_ENVIRONMENT_UNSPECIFIED", + "CALL_CENTER", + "TRAFFIC", + "KIDS_NOISE", + "CAFE", + ] + speakingRate: float + voiceId: str + +@typing.type_check_only +class EvaluationResult(typing_extensions.TypedDict, total=False): + appVersion: str + appVersionDisplayName: str + changelog: str + changelogCreateTime: str + config: EvaluationConfig + createTime: str + displayName: str + error: Status + errorInfo: EvaluationErrorInfo + evaluationMetricsThresholds: EvaluationMetricsThresholds + evaluationRun: str + evaluationStatus: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + executionState: typing_extensions.Literal[ + "EXECUTION_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + ] + goldenResult: EvaluationResultGoldenResult + goldenRunMethod: typing_extensions.Literal[ + "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" + ] + initiatedBy: str + name: str + persona: EvaluationPersona + scenarioResult: EvaluationResultScenarioResult + +@typing.type_check_only +class EvaluationResultEvaluationExpectationResult( + typing_extensions.TypedDict, total=False +): + evaluationExpectation: str + explanation: str + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + prompt: str + +@typing.type_check_only +class EvaluationResultGoldenExpectationOutcome( + typing_extensions.TypedDict, total=False +): + expectation: EvaluationGoldenExpectation + observedAgentResponse: Message + observedAgentTransfer: AgentTransfer + observedToolCall: ToolCall + observedToolResponse: ToolResponse + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + semanticSimilarityResult: EvaluationResultSemanticSimilarityResult + toolInvocationResult: EvaluationResultGoldenExpectationOutcomeToolInvocationResult + +@typing.type_check_only +class EvaluationResultGoldenExpectationOutcomeToolInvocationResult( + typing_extensions.TypedDict, total=False +): + explanation: str + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + parameterCorrectnessScore: float + +@typing.type_check_only +class EvaluationResultGoldenResult(typing_extensions.TypedDict, total=False): + evaluationExpectationResults: _list[EvaluationResultEvaluationExpectationResult] + turnReplayResults: _list[EvaluationResultGoldenResultTurnReplayResult] + +@typing.type_check_only +class EvaluationResultGoldenResultTurnReplayResult( + typing_extensions.TypedDict, total=False +): + conversation: str + errorInfo: EvaluationErrorInfo + expectationOutcome: _list[EvaluationResultGoldenExpectationOutcome] + hallucinationResult: EvaluationResultHallucinationResult + overallToolInvocationResult: EvaluationResultOverallToolInvocationResult + semanticSimilarityResult: EvaluationResultSemanticSimilarityResult + spanLatencies: _list[EvaluationResultSpanLatency] + toolCallLatencies: _list[EvaluationResultToolCallLatency] + toolInvocationScore: float + toolOrderedInvocationScore: float + turnLatency: str + +@typing.type_check_only +class EvaluationResultHallucinationResult(typing_extensions.TypedDict, total=False): + explanation: str + label: str + score: int + +@typing.type_check_only +class EvaluationResultOverallToolInvocationResult( + typing_extensions.TypedDict, total=False +): + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + toolInvocationScore: float + +@typing.type_check_only +class EvaluationResultScenarioExpectationOutcome( + typing_extensions.TypedDict, total=False +): + expectation: EvaluationScenarioExpectation + observedAgentResponse: Message + observedToolCall: EvaluationResultScenarioExpectationOutcomeObservedToolCall + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + +@typing.type_check_only +class EvaluationResultScenarioExpectationOutcomeObservedToolCall( + typing_extensions.TypedDict, total=False +): + toolCall: ToolCall + toolResponse: ToolResponse + +@typing.type_check_only +class EvaluationResultScenarioResult(typing_extensions.TypedDict, total=False): + allExpectationsSatisfied: bool + conversation: str + evaluationExpectationResults: _list[EvaluationResultEvaluationExpectationResult] + expectationOutcomes: _list[EvaluationResultScenarioExpectationOutcome] + hallucinationResult: _list[EvaluationResultHallucinationResult] + rubricOutcomes: _list[EvaluationResultScenarioRubricOutcome] + spanLatencies: _list[EvaluationResultSpanLatency] + task: str + taskCompleted: bool + taskCompletionResult: EvaluationResultTaskCompletionResult + toolCallLatencies: _list[EvaluationResultToolCallLatency] + userFacts: _list[EvaluationScenarioUserFact] + userGoalSatisfactionResult: EvaluationResultUserGoalSatisfactionResult + +@typing.type_check_only +class EvaluationResultScenarioRubricOutcome(typing_extensions.TypedDict, total=False): + rubric: str + score: float + scoreExplanation: str + +@typing.type_check_only +class EvaluationResultSemanticSimilarityResult( + typing_extensions.TypedDict, total=False +): + explanation: str + label: str + outcome: typing_extensions.Literal["OUTCOME_UNSPECIFIED", "PASS", "FAIL"] + score: int + +@typing.type_check_only +class EvaluationResultSpanLatency(typing_extensions.TypedDict, total=False): + callback: str + displayName: str + endTime: str + executionLatency: str + model: str + resource: str + startTime: str + toolset: ToolsetTool + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "TOOL", "USER_CALLBACK", "GUARDRAIL", "LLM" + ] + +@typing.type_check_only +class EvaluationResultTaskCompletionResult(typing_extensions.TypedDict, total=False): + explanation: str + label: str + score: int + +@typing.type_check_only +class EvaluationResultToolCallLatency(typing_extensions.TypedDict, total=False): + displayName: str + endTime: str + executionLatency: str + startTime: str + tool: str + +@typing.type_check_only +class EvaluationResultUserGoalSatisfactionResult( + typing_extensions.TypedDict, total=False +): + explanation: str + label: str + score: int + +@typing.type_check_only +class EvaluationRun(typing_extensions.TypedDict, total=False): + appVersion: str + appVersionDisplayName: str + changelog: str + changelogCreateTime: str + config: EvaluationConfig + createTime: str + displayName: str + error: Status + errorInfo: EvaluationErrorInfo + evaluationDataset: str + evaluationResults: _list[str] + evaluationRunSummaries: dict[str, typing.Any] + evaluationType: typing_extensions.Literal[ + "EVALUATION_TYPE_UNSPECIFIED", "GOLDEN", "SCENARIO", "MIXED" + ] + evaluations: _list[str] + goldenRunMethod: typing_extensions.Literal[ + "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" + ] + initiatedBy: str + latencyReport: LatencyReport + name: str + optimizationConfig: OptimizationConfig + personaRunConfigs: _list[PersonaRunConfig] + progress: EvaluationRunProgress + runCount: int + scheduledEvaluationRun: str + state: typing_extensions.Literal[ + "EVALUATION_RUN_STATE_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + ] + +@typing.type_check_only +class EvaluationRunEvaluationRunSummary(typing_extensions.TypedDict, total=False): + errorCount: int + failedCount: int + passedCount: int + +@typing.type_check_only +class EvaluationRunProgress(typing_extensions.TypedDict, total=False): + completedCount: int + errorCount: int + failedCount: int + passedCount: int + totalCount: int + +@typing.type_check_only +class EvaluationScenario(typing_extensions.TypedDict, total=False): + evaluationExpectations: _list[str] + maxTurns: int + rubrics: _list[str] + scenarioExpectations: _list[EvaluationScenarioExpectation] + task: str + taskCompletionBehavior: typing_extensions.Literal[ + "TASK_COMPLETION_BEHAVIOR_UNSPECIFIED", "TASK_SATISFIED", "TASK_REJECTED" + ] + userFacts: _list[EvaluationScenarioUserFact] + userGoalBehavior: typing_extensions.Literal[ + "USER_GOAL_BEHAVIOR_UNSPECIFIED", + "USER_GOAL_SATISFIED", + "USER_GOAL_REJECTED", + "USER_GOAL_IGNORED", + ] + variableOverrides: dict[str, typing.Any] + +@typing.type_check_only +class EvaluationScenarioExpectation(typing_extensions.TypedDict, total=False): + agentResponse: Message + toolExpectation: EvaluationScenarioExpectationToolExpectation + +@typing.type_check_only +class EvaluationScenarioExpectationToolExpectation( + typing_extensions.TypedDict, total=False +): + expectedToolCall: ToolCall + mockToolResponse: ToolResponse + +@typing.type_check_only +class EvaluationScenarioUserFact(typing_extensions.TypedDict, total=False): + name: str + value: str + +@typing.type_check_only +class EvaluationSettings(typing_extensions.TypedDict, total=False): + goldenEvaluationToolCallBehaviour: typing_extensions.Literal[ + "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" + ] + goldenRunMethod: typing_extensions.Literal[ + "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" + ] + scenarioConversationInitiator: typing_extensions.Literal[ + "SCENARIO_CONVERSATION_INITIATOR_UNSPECIFIED", "USER", "AGENT" + ] + scenarioEvaluationToolCallBehaviour: typing_extensions.Literal[ + "EVALUATION_TOOL_CALL_BEHAVIOUR_UNSPECIFIED", "REAL", "FAKE" + ] + +@typing.type_check_only +class EvaluationStep(typing_extensions.TypedDict, total=False): + agentTransfer: AgentTransfer + expectation: EvaluationGoldenExpectation + userInput: SessionInput + +@typing.type_check_only +class Event(typing_extensions.TypedDict, total=False): + event: str + +@typing.type_check_only +class Example(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + entryAgent: str + etag: str + invalid: bool + messages: _list[Message] + name: str + updateTime: str + +@typing.type_check_only +class ExecuteToolRequest(typing_extensions.TypedDict, total=False): + args: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ExecuteToolResponse(typing_extensions.TypedDict, total=False): + response: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ExportAppRequest(typing_extensions.TypedDict, total=False): + exportFormat: typing_extensions.Literal["EXPORT_FORMAT_UNSPECIFIED", "JSON", "YAML"] + gcsUri: str + +@typing.type_check_only +class ExportAppResponse(typing_extensions.TypedDict, total=False): + appContent: str + appUri: str + +@typing.type_check_only +class ExpressionCondition(typing_extensions.TypedDict, total=False): + expression: str + +@typing.type_check_only +class FileSearchTool(typing_extensions.TypedDict, total=False): + corpusType: typing_extensions.Literal[ + "CORPUS_TYPE_UNSPECIFIED", "USER_OWNED", "FULLY_MANAGED" + ] + description: str + fileCorpus: str + name: str + +@typing.type_check_only +class GenerateAppResourceResponse(typing_extensions.TypedDict, total=False): + agent: Agent + appResources: GenerateAppResourceResponseAppResources + appSnapshot: AppSnapshot + evaluations: GenerateAppResourceResponseEvaluations + generateResultInfo: GenerateAppResourceResponseGenerateResultInfo + tools: GenerateAppResourceResponseTools + toolset: Toolset + +@typing.type_check_only +class GenerateAppResourceResponseAppResources(typing_extensions.TypedDict, total=False): + appSnapshot: AppSnapshot + evaluations: _list[Evaluation] + +@typing.type_check_only +class GenerateAppResourceResponseEvaluations(typing_extensions.TypedDict, total=False): + evaluations: _list[Evaluation] + +@typing.type_check_only +class GenerateAppResourceResponseGenerateResultInfo( + typing_extensions.TypedDict, total=False +): + explanation: str + +@typing.type_check_only +class GenerateAppResourceResponseTools(typing_extensions.TypedDict, total=False): + tools: _list[Tool] + +@typing.type_check_only +class GenerateChatTokenRequest(typing_extensions.TypedDict, total=False): + deployment: str + recaptchaToken: str + +@typing.type_check_only +class GenerateChatTokenResponse(typing_extensions.TypedDict, total=False): + chatToken: str + expireTime: str + +@typing.type_check_only +class GenerateEvaluationOperationMetadata(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class GenerateEvaluationRequest(typing_extensions.TypedDict, total=False): + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "LIVE", "SIMULATOR", "EVAL"] + +@typing.type_check_only +class GoogleSearchSuggestions(typing_extensions.TypedDict, total=False): + htmls: _list[str] + webSearchQueries: _list[WebSearchQuery] + +@typing.type_check_only +class GoogleSearchTool(typing_extensions.TypedDict, total=False): + contextUrls: _list[str] + description: str + excludeDomains: _list[str] + name: str + preferredDomains: _list[str] + +@typing.type_check_only +class Guardrail(typing_extensions.TypedDict, total=False): + action: TriggerAction + codeCallback: GuardrailCodeCallback + contentFilter: GuardrailContentFilter + createTime: str + description: str + displayName: str + enabled: bool + etag: str + llmPolicy: GuardrailLlmPolicy + llmPromptSecurity: GuardrailLlmPromptSecurity + modelSafety: GuardrailModelSafety + name: str + updateTime: str + +@typing.type_check_only +class GuardrailCodeCallback(typing_extensions.TypedDict, total=False): + afterAgentCallback: Callback + afterModelCallback: Callback + beforeAgentCallback: Callback + beforeModelCallback: Callback + +@typing.type_check_only +class GuardrailContentFilter(typing_extensions.TypedDict, total=False): + bannedContents: _list[str] + bannedContentsInAgentResponse: _list[str] + bannedContentsInUserInput: _list[str] + disregardDiacritics: bool + matchType: typing_extensions.Literal[ + "MATCH_TYPE_UNSPECIFIED", + "SIMPLE_STRING_MATCH", + "WORD_BOUNDARY_STRING_MATCH", + "REGEXP_MATCH", + ] + +@typing.type_check_only +class GuardrailLlmPolicy(typing_extensions.TypedDict, total=False): + allowShortUtterance: bool + failOpen: bool + maxConversationMessages: int + modelSettings: ModelSettings + policyScope: typing_extensions.Literal[ + "POLICY_SCOPE_UNSPECIFIED", + "USER_QUERY", + "AGENT_RESPONSE", + "USER_QUERY_AND_AGENT_RESPONSE", + ] + prompt: str + +@typing.type_check_only +class GuardrailLlmPromptSecurity(typing_extensions.TypedDict, total=False): + customPolicy: GuardrailLlmPolicy + defaultSettings: GuardrailLlmPromptSecurityDefaultSecuritySettings + failOpen: bool + +@typing.type_check_only +class GuardrailLlmPromptSecurityDefaultSecuritySettings( + typing_extensions.TypedDict, total=False +): + defaultPromptTemplate: str + +@typing.type_check_only +class GuardrailModelSafety(typing_extensions.TypedDict, total=False): + safetySettings: _list[GuardrailModelSafetySafetySetting] + +@typing.type_check_only +class GuardrailModelSafetySafetySetting(typing_extensions.TypedDict, total=False): + category: typing_extensions.Literal[ + "HARM_CATEGORY_UNSPECIFIED", + "HARM_CATEGORY_HATE_SPEECH", + "HARM_CATEGORY_DANGEROUS_CONTENT", + "HARM_CATEGORY_HARASSMENT", + "HARM_CATEGORY_SEXUALLY_EXPLICIT", + ] + threshold: typing_extensions.Literal[ + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_ONLY_HIGH", + "BLOCK_NONE", + "OFF", + ] + +@typing.type_check_only +class Image(typing_extensions.TypedDict, total=False): + data: str + mimeType: str + +@typing.type_check_only +class ImportAppRequest(typing_extensions.TypedDict, total=False): + appContent: str + appId: str + displayName: str + gcsUri: str + importOptions: ImportAppRequestImportOptions + +@typing.type_check_only +class ImportAppRequestImportOptions(typing_extensions.TypedDict, total=False): + conflictResolutionStrategy: typing_extensions.Literal[ + "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "REPLACE", "OVERWRITE" + ] + +@typing.type_check_only +class ImportAppResponse(typing_extensions.TypedDict, total=False): + name: str + warnings: _list[str] + +@typing.type_check_only +class ImportEvaluationsOperationMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + statusMessage: str + +@typing.type_check_only +class ImportEvaluationsRequest(typing_extensions.TypedDict, total=False): + conversationList: ImportEvaluationsRequestConversationList + csvContent: str + gcsUri: str + importOptions: ImportEvaluationsRequestImportOptions + +@typing.type_check_only +class ImportEvaluationsRequestConversationList( + typing_extensions.TypedDict, total=False +): + conversations: _list[str] + +@typing.type_check_only +class ImportEvaluationsRequestImportOptions(typing_extensions.TypedDict, total=False): + conflictResolutionStrategy: typing_extensions.Literal[ + "CONFLICT_RESOLUTION_STRATEGY_UNSPECIFIED", "OVERWRITE", "SKIP", "DUPLICATE" + ] + +@typing.type_check_only +class ImportEvaluationsResponse(typing_extensions.TypedDict, total=False): + errorMessages: _list[str] + evaluations: _list[Evaluation] + importFailureCount: int + +@typing.type_check_only +class InputAudioConfig(typing_extensions.TypedDict, total=False): + audioEncoding: typing_extensions.Literal[ + "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" + ] + noiseSuppressionLevel: str + sampleRateHertz: int + +@typing.type_check_only +class LanguageSettings(typing_extensions.TypedDict, total=False): + defaultLanguageCode: str + enableMultilingualSupport: bool + fallbackAction: str + supportedLanguageCodes: _list[str] + +@typing.type_check_only +class LatencyReport(typing_extensions.TypedDict, total=False): + callbackLatencies: _list[LatencyReportCallbackLatency] + guardrailLatencies: _list[LatencyReportGuardrailLatency] + llmCallLatencies: _list[LatencyReportLlmCallLatency] + sessionCount: int + toolLatencies: _list[LatencyReportToolLatency] + +@typing.type_check_only +class LatencyReportCallbackLatency(typing_extensions.TypedDict, total=False): + latencyMetrics: LatencyReportLatencyMetrics + stage: str + +@typing.type_check_only +class LatencyReportGuardrailLatency(typing_extensions.TypedDict, total=False): + guardrail: str + guardrailDisplayName: str + latencyMetrics: LatencyReportLatencyMetrics + +@typing.type_check_only +class LatencyReportLatencyMetrics(typing_extensions.TypedDict, total=False): + callCount: int + p50Latency: str + p90Latency: str + p99Latency: str + +@typing.type_check_only +class LatencyReportLlmCallLatency(typing_extensions.TypedDict, total=False): + latencyMetrics: LatencyReportLatencyMetrics + model: str + +@typing.type_check_only +class LatencyReportToolLatency(typing_extensions.TypedDict, total=False): + latencyMetrics: LatencyReportLatencyMetrics + tool: str + toolDisplayName: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ListAgentsResponse(typing_extensions.TypedDict, total=False): + agents: _list[Agent] + nextPageToken: str + +@typing.type_check_only +class ListAppVersionsResponse(typing_extensions.TypedDict, total=False): + appVersions: _list[AppVersion] + nextPageToken: str + +@typing.type_check_only +class ListAppsResponse(typing_extensions.TypedDict, total=False): + apps: _list[App] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +class ListChangelogsResponse(typing_extensions.TypedDict, total=False): + changelogs: _list[Changelog] + nextPageToken: str + +@typing.type_check_only +class ListConversationsResponse(typing_extensions.TypedDict, total=False): + conversations: _list[Conversation] + nextPageToken: str + +@typing.type_check_only +class ListDeploymentsResponse(typing_extensions.TypedDict, total=False): + deployments: _list[Deployment] + nextPageToken: str + +@typing.type_check_only +class ListEvaluationDatasetsResponse(typing_extensions.TypedDict, total=False): + evaluationDatasets: _list[EvaluationDataset] + nextPageToken: str + +@typing.type_check_only +class ListEvaluationExpectationsResponse(typing_extensions.TypedDict, total=False): + evaluationExpectations: _list[EvaluationExpectation] + nextPageToken: str + +@typing.type_check_only +class ListEvaluationResultsResponse(typing_extensions.TypedDict, total=False): + evaluationResults: _list[EvaluationResult] + nextPageToken: str + +@typing.type_check_only +class ListEvaluationRunsResponse(typing_extensions.TypedDict, total=False): + evaluationRuns: _list[EvaluationRun] + nextPageToken: str + +@typing.type_check_only +class ListEvaluationsResponse(typing_extensions.TypedDict, total=False): + evaluations: _list[Evaluation] + nextPageToken: str + +@typing.type_check_only +class ListExamplesResponse(typing_extensions.TypedDict, total=False): + examples: _list[Example] + nextPageToken: str + +@typing.type_check_only +class ListGuardrailsResponse(typing_extensions.TypedDict, total=False): + guardrails: _list[Guardrail] + nextPageToken: str + +@typing.type_check_only +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 ListScheduledEvaluationRunsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + scheduledEvaluationRuns: _list[ScheduledEvaluationRun] + +@typing.type_check_only +class ListToolsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + tools: _list[Tool] + +@typing.type_check_only +class ListToolsetsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + toolsets: _list[Toolset] + +@typing.type_check_only +class Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class LoggingSettings(typing_extensions.TypedDict, total=False): + audioRecordingConfig: AudioRecordingConfig + bigqueryExportSettings: BigQueryExportSettings + cloudLoggingSettings: CloudLoggingSettings + conversationLoggingSettings: ConversationLoggingSettings + evaluationAudioRecordingConfig: AudioRecordingConfig + metricAnalysisSettings: MetricAnalysisSettings + redactionConfig: RedactionConfig + +@typing.type_check_only +class McpTool(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + description: str + inputSchema: Schema + name: str + outputSchema: Schema + serverAddress: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + +@typing.type_check_only +class McpToolset(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + serverAddress: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + +@typing.type_check_only +class Message(typing_extensions.TypedDict, total=False): + chunks: _list[Chunk] + eventTime: str + role: str + +@typing.type_check_only +class MetricAnalysisSettings(typing_extensions.TypedDict, total=False): + llmMetricsOptedOut: bool + +@typing.type_check_only +class ModelSettings(typing_extensions.TypedDict, total=False): + model: str + temperature: float + +@typing.type_check_only +class OAuthConfig(typing_extensions.TypedDict, total=False): + clientId: str + clientSecretVersion: str + oauthGrantType: typing_extensions.Literal[ + "OAUTH_GRANT_TYPE_UNSPECIFIED", "CLIENT_CREDENTIAL" + ] + scopes: _list[str] + tokenEndpoint: str + +@typing.type_check_only +class Omnichannel(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + etag: str + integrationConfig: OmnichannelIntegrationConfig + name: str + updateTime: str + +@typing.type_check_only +class OmnichannelIntegrationConfig(typing_extensions.TypedDict, total=False): + channelConfigs: dict[str, typing.Any] + routingConfigs: dict[str, typing.Any] + subscriberConfigs: dict[str, typing.Any] + +@typing.type_check_only +class OmnichannelIntegrationConfigCesAppConfig( + typing_extensions.TypedDict, total=False +): + app: str + +@typing.type_check_only +class OmnichannelIntegrationConfigChannelConfig( + typing_extensions.TypedDict, total=False +): + whatsappConfig: OmnichannelIntegrationConfigWhatsappConfig + +@typing.type_check_only +class OmnichannelIntegrationConfigRoutingConfig( + typing_extensions.TypedDict, total=False +): + subscriberKey: str + +@typing.type_check_only +class OmnichannelIntegrationConfigSubscriberConfig( + typing_extensions.TypedDict, total=False +): + cesAppConfig: OmnichannelIntegrationConfigCesAppConfig + +@typing.type_check_only +class OmnichannelIntegrationConfigWhatsappConfig( + typing_extensions.TypedDict, total=False +): + metaBusinessPortfolioId: str + phoneNumber: str + phoneNumberId: str + webhookVerifyToken: str + whatsappBusinessAccountId: str + whatsappBusinessToken: str + +@typing.type_check_only +class OmnichannelOperationMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + +@typing.type_check_only +class OpenApiTool(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + description: str + ignoreUnknownFields: bool + name: str + openApiSchema: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + url: str + +@typing.type_check_only +class OpenApiToolset(typing_extensions.TypedDict, total=False): + apiAuthentication: ApiAuthentication + ignoreUnknownFields: bool + openApiSchema: str + serviceDirectoryConfig: ServiceDirectoryConfig + tlsConfig: TlsConfig + url: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + +@typing.type_check_only +class OptimizationConfig(typing_extensions.TypedDict, total=False): + assistantSession: str + errorMessage: str + generateLossReport: bool + lossReport: dict[str, typing.Any] + reportSummary: str + shouldSuggestFix: bool + status: typing_extensions.Literal[ + "OPTIMIZATION_STATUS_UNSPECIFIED", "RUNNING", "COMPLETED", "ERROR" + ] + +@typing.type_check_only +class OutputAudioConfig(typing_extensions.TypedDict, total=False): + audioEncoding: typing_extensions.Literal[ + "AUDIO_ENCODING_UNSPECIFIED", "LINEAR16", "MULAW", "ALAW" + ] + sampleRateHertz: int + +@typing.type_check_only +class PersonaRunConfig(typing_extensions.TypedDict, total=False): + persona: str + taskCount: int + +@typing.type_check_only +class PythonCodeCondition(typing_extensions.TypedDict, total=False): + pythonCode: str + +@typing.type_check_only +class PythonFunction(typing_extensions.TypedDict, total=False): + description: str + name: str + pythonCode: str + +@typing.type_check_only +class RedactionConfig(typing_extensions.TypedDict, total=False): + deidentifyTemplate: str + enableRedaction: bool + inspectTemplate: str + +@typing.type_check_only +class RestoreAppVersionRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RetrieveToolSchemaRequest(typing_extensions.TypedDict, total=False): + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class RetrieveToolSchemaResponse(typing_extensions.TypedDict, total=False): + inputSchema: Schema + outputSchema: Schema + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class RetrieveToolsRequest(typing_extensions.TypedDict, total=False): + toolIds: _list[str] + +@typing.type_check_only +class RetrieveToolsResponse(typing_extensions.TypedDict, total=False): + tools: _list[Tool] + +@typing.type_check_only +class RunEvaluationRequest(typing_extensions.TypedDict, total=False): + app: str + appVersion: str + config: EvaluationConfig + displayName: str + evaluationDataset: str + evaluations: _list[str] + generateLatencyReport: bool + goldenRunMethod: typing_extensions.Literal[ + "GOLDEN_RUN_METHOD_UNSPECIFIED", "STABLE", "NAIVE" + ] + optimizationConfig: OptimizationConfig + personaRunConfigs: _list[PersonaRunConfig] + runCount: int + scheduledEvaluationRun: str + +@typing.type_check_only +class RunSessionRequest(typing_extensions.TypedDict, total=False): + config: SessionConfig + inputs: _list[SessionInput] + +@typing.type_check_only +class RunSessionResponse(typing_extensions.TypedDict, total=False): + outputs: _list[SessionOutput] + +@typing.type_check_only +class ScheduledEvaluationRun(typing_extensions.TypedDict, total=False): + active: bool + createTime: str + createdBy: str + description: str + displayName: str + etag: str + lastCompletedRun: str + lastUpdatedBy: str + name: str + nextScheduledExecutionTime: str + request: RunEvaluationRequest + schedulingConfig: ScheduledEvaluationRunSchedulingConfig + totalExecutions: int + updateTime: str + +@typing.type_check_only +class ScheduledEvaluationRunSchedulingConfig(typing_extensions.TypedDict, total=False): + daysOfWeek: _list[int] + frequency: typing_extensions.Literal[ + "FREQUENCY_UNSPECIFIED", "NONE", "DAILY", "WEEKLY", "BIWEEKLY" + ] + startTime: str + +@typing.type_check_only +class Schema(typing_extensions.TypedDict, total=False): + additionalProperties: Schema + anyOf: _list[Schema] + default: typing.Any + defs: dict[str, typing.Any] + description: str + enum: _list[str] + items: Schema + maxItems: str + maximum: float + minItems: str + minimum: float + nullable: bool + prefixItems: _list[Schema] + properties: dict[str, typing.Any] + ref: str + required: _list[str] + title: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "STRING", "INTEGER", "NUMBER", "BOOLEAN", "OBJECT", "ARRAY" + ] + uniqueItems: bool + +@typing.type_check_only +class ServiceAccountAuthConfig(typing_extensions.TypedDict, total=False): + scopes: _list[str] + serviceAccount: str + +@typing.type_check_only +class ServiceAgentIdTokenAuthConfig(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): + service: str + +@typing.type_check_only +class SessionConfig(typing_extensions.TypedDict, total=False): + deployment: str + entryAgent: str + historicalContexts: _list[Message] + inputAudioConfig: InputAudioConfig + outputAudioConfig: OutputAudioConfig + remoteDialogflowQueryParameters: SessionConfigRemoteDialogflowQueryParameters + timeZone: str + +@typing.type_check_only +class SessionConfigRemoteDialogflowQueryParameters( + typing_extensions.TypedDict, total=False +): + endUserMetadata: dict[str, typing.Any] + payload: dict[str, typing.Any] + webhookHeaders: dict[str, typing.Any] + +@typing.type_check_only +class SessionInput(typing_extensions.TypedDict, total=False): + audio: str + blob: Blob + dtmf: str + event: Event + image: Image + text: str + toolResponses: ToolResponses + variables: dict[str, typing.Any] + willContinue: bool + +@typing.type_check_only +class SessionOutput(typing_extensions.TypedDict, total=False): + audio: str + citations: Citations + diagnosticInfo: SessionOutputDiagnosticInfo + endSession: EndSession + googleSearchSuggestions: GoogleSearchSuggestions + payload: dict[str, typing.Any] + text: str + toolCalls: ToolCalls + turnCompleted: bool + turnIndex: int + +@typing.type_check_only +class SessionOutputDiagnosticInfo(typing_extensions.TypedDict, total=False): + messages: _list[Message] + rootSpan: Span + +@typing.type_check_only +class Span(typing_extensions.TypedDict, total=False): + attributes: dict[str, typing.Any] + childSpans: _list[Span] + duration: str + endTime: str + name: str + startTime: 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 SynthesizeSpeechConfig(typing_extensions.TypedDict, total=False): + speakingRate: float + voice: str + +@typing.type_check_only +class SystemTool(typing_extensions.TypedDict, total=False): + description: str + name: str + +@typing.type_check_only +class TestPersonaVoiceRequest(typing_extensions.TypedDict, total=False): + personaId: str + text: str + +@typing.type_check_only +class TestPersonaVoiceResponse(typing_extensions.TypedDict, total=False): + audio: str + +@typing.type_check_only +class TimeZoneSettings(typing_extensions.TypedDict, total=False): + timeZone: str + +@typing.type_check_only +class TlsConfig(typing_extensions.TypedDict, total=False): + caCerts: _list[TlsConfigCaCert] + +@typing.type_check_only +class TlsConfigCaCert(typing_extensions.TypedDict, total=False): + cert: str + displayName: str + +@typing.type_check_only +class Tool(typing_extensions.TypedDict, total=False): + clientFunction: ClientFunction + connectorTool: ConnectorTool + createTime: str + dataStoreTool: DataStoreTool + displayName: str + etag: str + executionType: typing_extensions.Literal[ + "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" + ] + fileSearchTool: FileSearchTool + generatedSummary: str + googleSearchTool: GoogleSearchTool + mcpTool: McpTool + name: str + openApiTool: OpenApiTool + pythonFunction: PythonFunction + systemTool: SystemTool + toolFakeConfig: ToolFakeConfig + updateTime: str + widgetTool: WidgetTool + +@typing.type_check_only +class ToolCall(typing_extensions.TypedDict, total=False): + args: dict[str, typing.Any] + displayName: str + id: str + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ToolCalls(typing_extensions.TypedDict, total=False): + toolCalls: _list[ToolCall] + +@typing.type_check_only +class ToolFakeConfig(typing_extensions.TypedDict, total=False): + codeBlock: CodeBlock + enableFakeMode: bool + +@typing.type_check_only +class ToolResponse(typing_extensions.TypedDict, total=False): + displayName: str + id: str + response: dict[str, typing.Any] + tool: str + toolsetTool: ToolsetTool + +@typing.type_check_only +class ToolResponses(typing_extensions.TypedDict, total=False): + toolResponses: _list[ToolResponse] + +@typing.type_check_only +class Toolset(typing_extensions.TypedDict, total=False): + connectorToolset: ConnectorToolset + createTime: str + description: str + displayName: str + etag: str + executionType: typing_extensions.Literal[ + "EXECUTION_TYPE_UNSPECIFIED", "SYNCHRONOUS", "ASYNCHRONOUS" + ] + mcpToolset: McpToolset + name: str + openApiToolset: OpenApiToolset + toolFakeConfig: ToolFakeConfig + updateTime: str + +@typing.type_check_only +class ToolsetTool(typing_extensions.TypedDict, total=False): + toolId: str + toolset: str + +@typing.type_check_only +class TransferRule(typing_extensions.TypedDict, total=False): + childAgent: str + deterministicTransfer: TransferRuleDeterministicTransfer + direction: typing_extensions.Literal[ + "DIRECTION_UNSPECIFIED", "PARENT_TO_CHILD", "CHILD_TO_PARENT" + ] + disablePlannerTransfer: TransferRuleDisablePlannerTransfer + +@typing.type_check_only +class TransferRuleDeterministicTransfer(typing_extensions.TypedDict, total=False): + expressionCondition: ExpressionCondition + pythonCodeCondition: PythonCodeCondition + +@typing.type_check_only +class TransferRuleDisablePlannerTransfer(typing_extensions.TypedDict, total=False): + expressionCondition: ExpressionCondition + +@typing.type_check_only +class TriggerAction(typing_extensions.TypedDict, total=False): + generativeAnswer: TriggerActionGenerativeAnswer + respondImmediately: TriggerActionRespondImmediately + transferAgent: TriggerActionTransferAgent + +@typing.type_check_only +class TriggerActionGenerativeAnswer(typing_extensions.TypedDict, total=False): + prompt: str + +@typing.type_check_only +class TriggerActionRespondImmediately(typing_extensions.TypedDict, total=False): + responses: _list[TriggerActionResponse] + +@typing.type_check_only +class TriggerActionResponse(typing_extensions.TypedDict, total=False): + disabled: bool + text: str + +@typing.type_check_only +class TriggerActionTransferAgent(typing_extensions.TypedDict, total=False): + agent: str + +@typing.type_check_only +class WebSearchQuery(typing_extensions.TypedDict, total=False): + query: str + uri: str + +@typing.type_check_only +class WidgetTool(typing_extensions.TypedDict, total=False): + description: str + name: str + parameters: Schema + widgetType: typing_extensions.Literal[ + "WIDGET_TYPE_UNSPECIFIED", + "CUSTOM", + "PRODUCT_CAROUSEL", + "PRODUCT_DETAILS", + "QUICK_ACTIONS", + "PRODUCT_COMPARISON", + "ADVANCED_PRODUCT_DETAILS", + "SHORT_FORM", + "OVERALL_SATISFACTION", + "ORDER_SUMMARY", + ] diff --git a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi index ff9a2dab4..ee925fc70 100644 --- a/googleapiclient-stubs/_apis/chat/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chat/v1/schemas.pyi @@ -292,6 +292,11 @@ class FormAction(typing_extensions.TypedDict, total=False): actionMethodName: str parameters: _list[ActionParameter] +@typing.type_check_only +class ForwardedMetadata(typing_extensions.TypedDict, total=False): + space: str + spaceDisplayName: str + @typing.type_check_only class GoogleAppsCardV1Action(typing_extensions.TypedDict, total=False): allWidgetsAreRequired: bool @@ -849,7 +854,10 @@ class Membership(typing_extensions.TypedDict, total=False): member: User name: str role: typing_extensions.Literal[ - "MEMBERSHIP_ROLE_UNSPECIFIED", "ROLE_MEMBER", "ROLE_MANAGER" + "MEMBERSHIP_ROLE_UNSPECIFIED", + "ROLE_MEMBER", + "ROLE_MANAGER", + "ROLE_ASSISTANT_MANAGER", ] state: typing_extensions.Literal[ "MEMBERSHIP_STATE_UNSPECIFIED", "JOINED", "INVITED", "NOT_A_MEMBER" @@ -948,6 +956,7 @@ class OpenLink(typing_extensions.TypedDict, total=False): @typing.type_check_only class PermissionSetting(typing_extensions.TypedDict, total=False): + assistantManagersAllowed: bool managersAllowed: bool membersAllowed: bool @@ -964,8 +973,19 @@ class PermissionSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class QuotedMessageMetadata(typing_extensions.TypedDict, total=False): + forwardedMetadata: ForwardedMetadata lastUpdateTime: str name: str + quoteType: typing_extensions.Literal["QUOTE_TYPE_UNSPECIFIED", "REPLY"] + quotedMessageSnapshot: QuotedMessageSnapshot + +@typing.type_check_only +class QuotedMessageSnapshot(typing_extensions.TypedDict, total=False): + annotations: _list[Annotation] + attachments: _list[Attachment] + formattedText: str + sender: str + text: str @typing.type_check_only class Reaction(typing_extensions.TypedDict, total=False): @@ -999,6 +1019,7 @@ class RichLinkMetadata(typing_extensions.TypedDict, total=False): "RICH_LINK_TYPE_UNSPECIFIED", "DRIVE_FILE", "CHAT_SPACE", + "GMAIL_MESSAGE", "MEET_SPACE", "CALENDAR_EVENT", ] diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi index 18f7e500d..e8d8e4aa9 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/resources.pyi @@ -198,6 +198,15 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): @typing.type_check_only class ReportsResource(googleapiclient.discovery.Resource): + def countActiveDevices( + self, + *, + customer: str, + date_day: int = ..., + date_month: int = ..., + date_year: int = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementV1CountActiveDevicesResponseHttpRequest: ... def countChromeBrowsersNeedingAttention( self, *, customer: str, orgUnitId: str = ..., **kwargs: typing.Any ) -> GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponseHttpRequest: ... @@ -252,6 +261,26 @@ class ChromeManagementResource(googleapiclient.discovery.Resource): ) -> ( GoogleChromeManagementV1CountChromeVersionsResponseHttpRequest | None ): ... + def countDevicesPerBootType( + self, + *, + customer: str, + date_day: int = ..., + date_month: int = ..., + date_year: int = ..., + **kwargs: typing.Any, + ) -> GoogleChromeManagementV1CountDevicesPerBootTypeResponseHttpRequest: ... + def countDevicesPerReleaseChannel( + self, + *, + customer: str, + date_day: int = ..., + date_month: int = ..., + date_year: int = ..., + **kwargs: typing.Any, + ) -> ( + GoogleChromeManagementV1CountDevicesPerReleaseChannelResponseHttpRequest + ): ... def countInstalledApps( self, *, @@ -530,6 +559,16 @@ class GoogleChromeManagementV1AppDetailsHttpRequest(googleapiclient.http.HttpReq num_retries: int = 0, ) -> GoogleChromeManagementV1AppDetails: ... +@typing.type_check_only +class GoogleChromeManagementV1CountActiveDevicesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementV1CountActiveDevicesResponse: ... + @typing.type_check_only class GoogleChromeManagementV1CountChromeAppRequestsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -602,6 +641,26 @@ class GoogleChromeManagementV1CountChromeVersionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleChromeManagementV1CountChromeVersionsResponse: ... +@typing.type_check_only +class GoogleChromeManagementV1CountDevicesPerBootTypeResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementV1CountDevicesPerBootTypeResponse: ... + +@typing.type_check_only +class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse: ... + @typing.type_check_only class GoogleChromeManagementV1CountInstalledAppsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi index 0bed19d77..f7029f4ae 100644 --- a/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/chromemanagement/v1/schemas.pyi @@ -194,6 +194,13 @@ class GoogleChromeManagementV1ChromeAppSiteAccess( ): hostMatch: str +@typing.type_check_only +class GoogleChromeManagementV1CountActiveDevicesResponse( + typing_extensions.TypedDict, total=False +): + sevenDaysCount: str + thirtyDaysCount: str + @typing.type_check_only class GoogleChromeManagementV1CountChromeAppRequestsResponse( typing_extensions.TypedDict, total=False @@ -259,6 +266,27 @@ class GoogleChromeManagementV1CountChromeVersionsResponse( nextPageToken: str totalSize: int +@typing.type_check_only +class GoogleChromeManagementV1CountDevicesPerBootTypeResponse( + typing_extensions.TypedDict, total=False +): + devBootTypeCount: str + unreportedBootTypeCount: str + verifiedBootTypeCount: str + +@typing.type_check_only +class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse( + typing_extensions.TypedDict, total=False +): + betaChannelCount: str + canaryChannelCount: str + devChannelCount: str + ltcChannelCount: str + ltsChannelCount: str + stableChannelCount: str + unreportedChannelCount: str + unsupportedChannelCount: str + @typing.type_check_only class GoogleChromeManagementV1CountInstalledAppsResponse( typing_extensions.TypedDict, total=False @@ -698,6 +726,7 @@ class GoogleChromeManagementV1RiskAssessmentEntry( "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR", "RISK_ASSESSMENT_PROVIDER_SPIN_AI", "RISK_ASSESSMENT_PROVIDER_LAYERX", + "RISK_ASSESSMENT_PROVIDER_SPIN_AI_V2", ] riskAssessment: GoogleChromeManagementV1RiskAssessment riskLevel: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/chromewebstore/v2/__init__.pyi b/googleapiclient-stubs/_apis/chromewebstore/v2/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/v2/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi b/googleapiclient-stubs/_apis/chromewebstore/v2/resources.pyi new file mode 100644 index 000000000..c436816af --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/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 ChromewebstoreResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MediaResource(googleapiclient.discovery.Resource): + def upload( + self, + *, + name: str, + body: UploadItemPackageRequest = ..., + **kwargs: typing.Any, + ) -> UploadItemPackageResponseHttpRequest: ... + + @typing.type_check_only + class PublishersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ItemsResource(googleapiclient.discovery.Resource): + def cancelSubmission( + self, + *, + name: str, + body: CancelSubmissionRequest = ..., + **kwargs: typing.Any, + ) -> CancelSubmissionResponseHttpRequest: ... + def fetchStatus( + self, *, name: str, **kwargs: typing.Any + ) -> FetchItemStatusResponseHttpRequest: ... + def publish( + self, *, name: str, body: PublishItemRequest = ..., **kwargs: typing.Any + ) -> PublishItemResponseHttpRequest: ... + def setPublishedDeployPercentage( + self, + *, + name: str, + body: SetPublishedDeployPercentageRequest = ..., + **kwargs: typing.Any, + ) -> SetPublishedDeployPercentageResponseHttpRequest: ... + + def items(self) -> ItemsResource: ... + + 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 media(self) -> MediaResource: ... + def publishers(self) -> PublishersResource: ... + +@typing.type_check_only +class CancelSubmissionResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CancelSubmissionResponse: ... + +@typing.type_check_only +class FetchItemStatusResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FetchItemStatusResponse: ... + +@typing.type_check_only +class PublishItemResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PublishItemResponse: ... + +@typing.type_check_only +class SetPublishedDeployPercentageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SetPublishedDeployPercentageResponse: ... + +@typing.type_check_only +class UploadItemPackageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UploadItemPackageResponse: ... diff --git a/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi b/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi new file mode 100644 index 000000000..2f05a6180 --- /dev/null +++ b/googleapiclient-stubs/_apis/chromewebstore/v2/schemas.pyi @@ -0,0 +1,89 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class CancelSubmissionRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CancelSubmissionResponse(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DeployInfo(typing_extensions.TypedDict, total=False): + deployPercentage: int + +@typing.type_check_only +class DistributionChannel(typing_extensions.TypedDict, total=False): + crxVersion: str + deployPercentage: int + +@typing.type_check_only +class FetchItemStatusResponse(typing_extensions.TypedDict, total=False): + itemId: str + lastAsyncUploadState: typing_extensions.Literal[ + "UPLOAD_STATE_UNSPECIFIED", "SUCCEEDED", "IN_PROGRESS", "FAILED", "NOT_FOUND" + ] + name: str + publicKey: str + publishedItemRevisionStatus: ItemRevisionStatus + submittedItemRevisionStatus: ItemRevisionStatus + takenDown: bool + warned: bool + +@typing.type_check_only +class ItemRevisionStatus(typing_extensions.TypedDict, total=False): + distributionChannels: _list[DistributionChannel] + state: typing_extensions.Literal[ + "ITEM_STATE_UNSPECIFIED", + "PENDING_REVIEW", + "STAGED", + "PUBLISHED", + "PUBLISHED_TO_TESTERS", + "REJECTED", + "CANCELLED", + ] + +@typing.type_check_only +class PublishItemRequest(typing_extensions.TypedDict, total=False): + deployInfos: _list[DeployInfo] + publishType: typing_extensions.Literal[ + "PUBLISH_TYPE_UNSPECIFIED", "DEFAULT_PUBLISH", "STAGED_PUBLISH" + ] + skipReview: bool + +@typing.type_check_only +class PublishItemResponse(typing_extensions.TypedDict, total=False): + itemId: str + name: str + state: typing_extensions.Literal[ + "ITEM_STATE_UNSPECIFIED", + "PENDING_REVIEW", + "STAGED", + "PUBLISHED", + "PUBLISHED_TO_TESTERS", + "REJECTED", + "CANCELLED", + ] + +@typing.type_check_only +class SetPublishedDeployPercentageRequest(typing_extensions.TypedDict, total=False): + deployPercentage: int + +@typing.type_check_only +class SetPublishedDeployPercentageResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class UploadItemPackageRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UploadItemPackageResponse(typing_extensions.TypedDict, total=False): + crxVersion: str + itemId: str + name: str + uploadState: typing_extensions.Literal[ + "UPLOAD_STATE_UNSPECIFIED", "SUCCEEDED", "IN_PROGRESS", "FAILED", "NOT_FOUND" + ] diff --git a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi index aa148ef2b..e3945da84 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/resources.pyi @@ -680,6 +680,71 @@ class ClassroomResource(googleapiclient.discovery.Resource): ) -> AddOnContextHttpRequest: ... def addOnAttachments(self) -> AddOnAttachmentsResource: ... + @typing.type_check_only + class StudentGroupsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class StudentGroupMembersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + courseId: str, + studentGroupId: str, + body: StudentGroupMember = ..., + **kwargs: typing.Any, + ) -> StudentGroupMemberHttpRequest: ... + def delete( + self, + *, + courseId: str, + studentGroupId: str, + userId: str, + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + courseId: str, + studentGroupId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListStudentGroupMembersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListStudentGroupMembersResponseHttpRequest, + previous_response: ListStudentGroupMembersResponse, + ) -> ListStudentGroupMembersResponseHttpRequest | None: ... + + def create( + self, *, courseId: str, body: StudentGroup = ..., **kwargs: typing.Any + ) -> StudentGroupHttpRequest: ... + def delete( + self, *, courseId: str, id: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def list( + self, + *, + courseId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListStudentGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListStudentGroupsResponseHttpRequest, + previous_response: ListStudentGroupsResponse, + ) -> ListStudentGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + courseId: str, + id: str, + body: StudentGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> StudentGroupHttpRequest: ... + def studentGroupMembers(self) -> StudentGroupMembersResource: ... + @typing.type_check_only class StudentsResource(googleapiclient.discovery.Resource): def create( @@ -833,6 +898,7 @@ class ClassroomResource(googleapiclient.discovery.Resource): def courseWork(self) -> CourseWorkResource: ... def courseWorkMaterials(self) -> CourseWorkMaterialsResource: ... def posts(self) -> PostsResource: ... + def studentGroups(self) -> StudentGroupsResource: ... def students(self) -> StudentsResource: ... def teachers(self) -> TeachersResource: ... def topics(self) -> TopicsResource: ... @@ -1145,6 +1211,22 @@ class ListRubricsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListRubricsResponse: ... +@typing.type_check_only +class ListStudentGroupMembersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListStudentGroupMembersResponse: ... + +@typing.type_check_only +class ListStudentGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListStudentGroupsResponse: ... + @typing.type_check_only class ListStudentSubmissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1201,6 +1283,22 @@ class StudentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Student: ... +@typing.type_check_only +class StudentGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudentGroup: ... + +@typing.type_check_only +class StudentGroupMemberHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StudentGroupMember: ... + @typing.type_check_only class StudentSubmissionHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi index de5d15fa8..d5b941ac6 100644 --- a/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/classroom/v1/schemas.pyi @@ -110,6 +110,7 @@ class Course(typing_extensions.TypedDict, total=False): ownerId: str room: str section: str + subject: str teacherFolder: DriveFolder teacherGroupEmail: str updateTime: str @@ -398,6 +399,16 @@ class ListRubricsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str rubrics: _list[Rubric] +@typing.type_check_only +class ListStudentGroupMembersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + studentGroupMembers: _list[StudentGroupMember] + +@typing.type_check_only +class ListStudentGroupsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + studentGroups: _list[StudentGroup] + @typing.type_check_only class ListStudentSubmissionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -534,6 +545,18 @@ class Student(typing_extensions.TypedDict, total=False): class StudentContext(typing_extensions.TypedDict, total=False): submissionId: str +@typing.type_check_only +class StudentGroup(typing_extensions.TypedDict, total=False): + courseId: str + id: str + title: str + +@typing.type_check_only +class StudentGroupMember(typing_extensions.TypedDict, total=False): + courseId: str + studentGroupId: str + userId: str + @typing.type_check_only class StudentSubmission(typing_extensions.TypedDict, total=False): alternateLink: str diff --git a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi index e8b229228..5a20e2159 100644 --- a/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudasset/v1/schemas.pyi @@ -1043,6 +1043,7 @@ class VersionedPackage(typing_extensions.TypedDict, total=False): @typing.type_check_only class VersionedResource(typing_extensions.TypedDict, total=False): + assetExceptions: _list[AssetException] resource: dict[str, typing.Any] version: str diff --git a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi index 6b7d551ba..a04496ef5 100644 --- a/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudbuild/v1/schemas.pyi @@ -297,6 +297,7 @@ class BuildTrigger(typing_extensions.TypedDict, total=False): @typing.type_check_only class BuiltImage(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str digest: str name: str pushTiming: TimeSpan @@ -644,6 +645,7 @@ class ListWorkerPoolsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class MavenArtifact(typing_extensions.TypedDict, total=False): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -894,24 +896,28 @@ class UpdateWorkerPoolOperationMetadata(typing_extensions.TypedDict, total=False @typing.type_check_only class UploadedGoModule(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only class UploadedMavenArtifact(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only class UploadedNpmPackage(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str @typing.type_check_only class UploadedPythonPackage(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str fileHashes: FileHashes pushTiming: TimeSpan uri: str diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi index e50660eb8..e078ecd14 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1/schemas.pyi @@ -208,6 +208,7 @@ class Workload(typing_extensions.TypedDict, total=False): "PARTNER_SOVEREIGN_CONTROLS_BY_PSN", "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT", "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", + "PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA", ] workloadOnboardingState: WorkloadOnboardingState diff --git a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi index e50660eb8..e078ecd14 100644 --- a/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudcontrolspartner/v1beta/schemas.pyi @@ -208,6 +208,7 @@ class Workload(typing_extensions.TypedDict, total=False): "PARTNER_SOVEREIGN_CONTROLS_BY_PSN", "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT", "PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM", + "PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA", ] workloadOnboardingState: WorkloadOnboardingState diff --git a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi index fb84764e7..ab4cd2014 100644 --- a/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/clouddeploy/v1/schemas.pyi @@ -149,6 +149,7 @@ class AutomationRun(typing_extensions.TypedDict, total=False): stateDescription: str targetId: str timedPromoteReleaseOperation: TimedPromoteReleaseOperation + uid: str updateTime: str waitUntilTime: str @@ -234,14 +235,17 @@ class CloudRunMetadata(typing_extensions.TypedDict, total=False): revision: str service: str serviceUrls: _list[str] + workerPool: str @typing.type_check_only class CloudRunRenderMetadata(typing_extensions.TypedDict, total=False): service: str + workerPool: str @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): defaultSkaffoldVersion: str + defaultToolVersions: ToolVersions name: str supportedVersions: _list[SkaffoldVersion] @@ -844,12 +848,19 @@ class Release(typing_extensions.TypedDict, total=False): targetArtifacts: dict[str, typing.Any] targetRenders: dict[str, typing.Any] targetSnapshots: _list[Target] + toolVersions: ToolVersions uid: str @typing.type_check_only class ReleaseCondition(typing_extensions.TypedDict, total=False): + dockerVersionSupportedCondition: ToolVersionSupportedCondition + helmVersionSupportedCondition: ToolVersionSupportedCondition + kptVersionSupportedCondition: ToolVersionSupportedCondition + kubectlVersionSupportedCondition: ToolVersionSupportedCondition + kustomizeVersionSupportedCondition: ToolVersionSupportedCondition releaseReadyCondition: ReleaseReadyCondition skaffoldSupportedCondition: SkaffoldSupportedCondition + skaffoldVersionSupportedCondition: ToolVersionSupportedCondition @typing.type_check_only class ReleaseNotificationEvent(typing_extensions.TypedDict, total=False): @@ -1361,6 +1372,27 @@ class TimedPromoteReleaseRule(typing_extensions.TypedDict, total=False): schedule: str timeZone: str +@typing.type_check_only +class ToolVersionSupportedCondition(typing_extensions.TypedDict, total=False): + maintenanceModeTime: str + status: bool + supportExpirationTime: str + toolVersionSupportState: typing_extensions.Literal[ + "TOOL_VERSION_SUPPORT_STATE_UNSPECIFIED", + "TOOL_VERSION_SUPPORT_STATE_SUPPORTED", + "TOOL_VERSION_SUPPORT_STATE_MAINTENANCE_MODE", + "TOOL_VERSION_SUPPORT_STATE_UNSUPPORTED", + ] + +@typing.type_check_only +class ToolVersions(typing_extensions.TypedDict, total=False): + docker: str + helm: str + kpt: str + kubectl: str + kustomize: str + skaffold: str + @typing.type_check_only class VerifyJob(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi index 579b4ab2e..3e88122d2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/resources.pyi @@ -33,6 +33,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): body: CommitFunctionUpgradeRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def commitFunctionUpgradeAsGen2( + self, + *, + name: str, + body: CommitFunctionUpgradeAsGen2Request = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, *, diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi index dedc5ca9d..8d4407a89 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2/schemas.pyi @@ -46,6 +46,13 @@ class BuildConfig(typing_extensions.TypedDict, total=False): sourceToken: str workerPool: str +@typing.type_check_only +class BuildConfigOverrides(typing_extensions.TypedDict, total=False): + runtime: str + +@typing.type_check_only +class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... @@ -155,6 +162,7 @@ class GoogleCloudFunctionsV2OperationMetadata(typing_extensions.TypedDict, total "ABORT_FUNCTION_UPGRADE", "COMMIT_FUNCTION_UPGRADE", "DETACH_FUNCTION", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2", ] requestResource: dict[str, typing.Any] sourceToken: str @@ -340,6 +348,10 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): "ALL_TRAFFIC", ] +@typing.type_check_only +class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): + maxInstanceCount: int + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -347,6 +359,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + buildConfigOverrides: BuildConfigOverrides + serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only @@ -399,4 +413,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR", ] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi index 579b4ab2e..3e88122d2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/resources.pyi @@ -33,6 +33,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): body: CommitFunctionUpgradeRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def commitFunctionUpgradeAsGen2( + self, + *, + name: str, + body: CommitFunctionUpgradeAsGen2Request = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, *, diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi index 508af1377..279ce584e 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2alpha/schemas.pyi @@ -46,6 +46,13 @@ class BuildConfig(typing_extensions.TypedDict, total=False): sourceToken: str workerPool: str +@typing.type_check_only +class BuildConfigOverrides(typing_extensions.TypedDict, total=False): + runtime: str + +@typing.type_check_only +class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... @@ -58,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 @@ -159,6 +172,7 @@ class GoogleCloudFunctionsV2alphaOperationMetadata( "ABORT_FUNCTION_UPGRADE", "COMMIT_FUNCTION_UPGRADE", "DETACH_FUNCTION", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2", ] requestResource: dict[str, typing.Any] sourceToken: str @@ -317,6 +331,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", @@ -344,6 +364,10 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): "ALL_TRAFFIC", ] +@typing.type_check_only +class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): + maxInstanceCount: int + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -351,6 +375,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + buildConfigOverrides: BuildConfigOverrides + serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only @@ -403,4 +429,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR", ] diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi index 579b4ab2e..3e88122d2 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/resources.pyi @@ -33,6 +33,13 @@ class CloudFunctionsResource(googleapiclient.discovery.Resource): body: CommitFunctionUpgradeRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def commitFunctionUpgradeAsGen2( + self, + *, + name: str, + body: CommitFunctionUpgradeAsGen2Request = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def create( self, *, diff --git a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi index 964ee3e33..f00cf61ee 100644 --- a/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudfunctions/v2beta/schemas.pyi @@ -46,6 +46,13 @@ class BuildConfig(typing_extensions.TypedDict, total=False): sourceToken: str workerPool: str +@typing.type_check_only +class BuildConfigOverrides(typing_extensions.TypedDict, total=False): + runtime: str + +@typing.type_check_only +class CommitFunctionUpgradeAsGen2Request(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CommitFunctionUpgradeRequest(typing_extensions.TypedDict, total=False): ... @@ -58,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 @@ -159,6 +172,7 @@ class GoogleCloudFunctionsV2betaOperationMetadata( "ABORT_FUNCTION_UPGRADE", "COMMIT_FUNCTION_UPGRADE", "DETACH_FUNCTION", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2", ] requestResource: dict[str, typing.Any] sourceToken: str @@ -317,6 +331,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", @@ -344,6 +364,10 @@ class ServiceConfig(typing_extensions.TypedDict, total=False): "ALL_TRAFFIC", ] +@typing.type_check_only +class ServiceConfigOverrides(typing_extensions.TypedDict, total=False): + maxInstanceCount: int + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -351,6 +375,8 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetupFunctionUpgradeConfigRequest(typing_extensions.TypedDict, total=False): + buildConfigOverrides: BuildConfigOverrides + serviceConfigOverrides: ServiceConfigOverrides triggerServiceAccount: str @typing.type_check_only @@ -403,4 +429,7 @@ class UpgradeInfo(typing_extensions.TypedDict, total=False): "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR", "ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR", "COMMIT_FUNCTION_UPGRADE_ERROR", + "COMMIT_FUNCTION_UPGRADE_ERROR_ROLLBACK_SAFE", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_SUCCESSFUL", + "COMMIT_FUNCTION_UPGRADE_AS_GEN2_ERROR", ] diff --git a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi index e5612e7c9..0d67241d0 100644 --- a/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudidentity/v1beta1/resources.pyi @@ -504,6 +504,12 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): @typing.type_check_only class PoliciesResource(googleapiclient.discovery.Resource): + def create( + self, *, body: Policy = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> PolicyHttpRequest: ... def list( self, @@ -518,6 +524,9 @@ class CloudIdentityResource(googleapiclient.discovery.Resource): previous_request: ListPoliciesResponseHttpRequest, previous_response: ListPoliciesResponse, ) -> ListPoliciesResponseHttpRequest | None: ... + def patch( + self, *, name: str, body: Policy = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... def new_batch_http_request( self, diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi index 54f99d73e..6f68ce30f 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/resources.pyi @@ -483,6 +483,86 @@ class CloudKMSResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class SingleTenantHsmInstancesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProposalsResource(googleapiclient.discovery.Resource): + def approve( + self, + *, + name: str, + body: ApproveSingleTenantHsmInstanceProposalRequest = ..., + **kwargs: typing.Any, + ) -> ApproveSingleTenantHsmInstanceProposalResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: SingleTenantHsmInstanceProposal = ..., + singleTenantHsmInstanceProposalId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def execute( + self, + *, + name: str, + body: ExecuteSingleTenantHsmInstanceProposalRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SingleTenantHsmInstanceProposalHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListSingleTenantHsmInstanceProposalsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSingleTenantHsmInstanceProposalsResponseHttpRequest, + previous_response: ListSingleTenantHsmInstanceProposalsResponse, + ) -> ( + ListSingleTenantHsmInstanceProposalsResponseHttpRequest | None + ): ... + + def create( + self, + *, + parent: str, + body: SingleTenantHsmInstance = ..., + singleTenantHsmInstanceId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> SingleTenantHsmInstanceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListSingleTenantHsmInstancesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListSingleTenantHsmInstancesResponseHttpRequest, + previous_response: ListSingleTenantHsmInstancesResponse, + ) -> ListSingleTenantHsmInstancesResponseHttpRequest | None: ... + def proposals(self) -> ProposalsResource: ... + def generateRandomBytes( self, *, @@ -524,6 +604,7 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def keyHandles(self) -> KeyHandlesResource: ... def keyRings(self) -> KeyRingsResource: ... def operations(self) -> OperationsResource: ... + def singleTenantHsmInstances(self) -> SingleTenantHsmInstancesResource: ... def getAutokeyConfig( self, *, name: str, **kwargs: typing.Any @@ -576,6 +657,16 @@ class CloudKMSResource(googleapiclient.discovery.Resource): def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class ApproveSingleTenantHsmInstanceProposalResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ApproveSingleTenantHsmInstanceProposalResponse: ... + @typing.type_check_only class AsymmetricDecryptResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -648,6 +739,14 @@ class EkmConnectionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> EkmConnection: ... +@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 EncryptResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -752,6 +851,24 @@ class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListLocationsResponse: ... +@typing.type_check_only +class ListSingleTenantHsmInstanceProposalsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSingleTenantHsmInstanceProposalsResponse: ... + +@typing.type_check_only +class ListSingleTenantHsmInstancesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListSingleTenantHsmInstancesResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -844,6 +961,22 @@ class ShowEffectiveKeyAccessJustificationsPolicyConfigResponseHttpRequest( num_retries: int = 0, ) -> ShowEffectiveKeyAccessJustificationsPolicyConfigResponse: ... +@typing.type_check_only +class SingleTenantHsmInstanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SingleTenantHsmInstance: ... + +@typing.type_check_only +class SingleTenantHsmInstanceProposalHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SingleTenantHsmInstanceProposal: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi index e421838fc..bef7ed656 100644 --- a/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudkms/v1/schemas.pyi @@ -4,6 +4,22 @@ import typing_extensions _list = list +@typing.type_check_only +class AddQuorumMember(typing_extensions.TypedDict, total=False): + twoFactorPublicKeyPem: str + +@typing.type_check_only +class ApproveSingleTenantHsmInstanceProposalRequest( + typing_extensions.TypedDict, total=False +): + quorumReply: QuorumReply + requiredActionQuorumReply: RequiredActionQuorumReply + +@typing.type_check_only +class ApproveSingleTenantHsmInstanceProposalResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class AsymmetricDecryptRequest(typing_extensions.TypedDict, total=False): ciphertext: str @@ -14,7 +30,12 @@ class AsymmetricDecryptResponse(typing_extensions.TypedDict, total=False): plaintext: str plaintextCrc32c: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] verifiedCiphertextCrc32c: bool @@ -29,7 +50,12 @@ class AsymmetricSignRequest(typing_extensions.TypedDict, total=False): class AsymmetricSignResponse(typing_extensions.TypedDict, total=False): name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] signature: str signatureCrc32c: str @@ -52,6 +78,12 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): class AutokeyConfig(typing_extensions.TypedDict, total=False): etag: str keyProject: str + keyProjectResolutionMode: typing_extensions.Literal[ + "KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED", + "DEDICATED_KEY_PROJECT", + "RESOURCE_PROJECT", + "DISABLED", + ] name: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "KEY_PROJECT_DELETED", "UNINITIALIZED" @@ -81,6 +113,16 @@ class CertificateChains(typing_extensions.TypedDict, total=False): googleCardCerts: _list[str] googlePartitionCerts: _list[str] +@typing.type_check_only +class Challenge(typing_extensions.TypedDict, total=False): + challenge: str + publicKeyPem: str + +@typing.type_check_only +class ChallengeReply(typing_extensions.TypedDict, total=False): + publicKeyPem: str + signedChallenge: str + @typing.type_check_only class ChecksummedData(typing_extensions.TypedDict, total=False): crc32cChecksum: str @@ -151,9 +193,14 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): "ML_KEM_768", "ML_KEM_1024", "KEM_XWING", + "PQ_SIGN_ML_DSA_44", "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] attestation: KeyOperationAttestation createTime: str @@ -168,7 +215,12 @@ class CryptoKeyVersion(typing_extensions.TypedDict, total=False): importTime: str name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] reimportEligible: bool state: typing_extensions.Literal[ @@ -227,12 +279,22 @@ class CryptoKeyVersionTemplate(typing_extensions.TypedDict, total=False): "ML_KEM_768", "ML_KEM_1024", "KEM_XWING", + "PQ_SIGN_ML_DSA_44", "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] @typing.type_check_only @@ -244,7 +306,12 @@ class DecapsulateRequest(typing_extensions.TypedDict, total=False): class DecapsulateResponse(typing_extensions.TypedDict, total=False): name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] sharedSecret: str sharedSecretCrc32c: str @@ -262,10 +329,18 @@ class DecryptResponse(typing_extensions.TypedDict, total=False): plaintext: str plaintextCrc32c: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] usedPrimary: bool +@typing.type_check_only +class DeleteSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class DestroyCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): ... @@ -275,6 +350,9 @@ class Digest(typing_extensions.TypedDict, total=False): sha384: str sha512: str +@typing.type_check_only +class DisableSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EkmConfig(typing_extensions.TypedDict, total=False): defaultEkmConnection: str @@ -291,6 +369,12 @@ class EkmConnection(typing_extensions.TypedDict, total=False): name: str serviceResolvers: _list[ServiceResolver] +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class EnableSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class EncryptRequest(typing_extensions.TypedDict, total=False): additionalAuthenticatedData: str @@ -304,11 +388,21 @@ class EncryptResponse(typing_extensions.TypedDict, total=False): ciphertextCrc32c: str name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] verifiedAdditionalAuthenticatedDataCrc32c: bool verifiedPlaintextCrc32c: bool +@typing.type_check_only +class ExecuteSingleTenantHsmInstanceProposalRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class Expr(typing_extensions.TypedDict, total=False): description: str @@ -325,7 +419,12 @@ class ExternalProtectionLevelOptions(typing_extensions.TypedDict, total=False): class GenerateRandomBytesRequest(typing_extensions.TypedDict, total=False): lengthBytes: int protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] @typing.type_check_only @@ -375,9 +474,14 @@ class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): "ML_KEM_768", "ML_KEM_1024", "KEM_XWING", + "PQ_SIGN_ML_DSA_44", "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] cryptoKeyVersion: str importJob: str @@ -388,6 +492,7 @@ class ImportCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): class ImportJob(typing_extensions.TypedDict, total=False): attestation: KeyOperationAttestation createTime: str + cryptoKeyBackend: str expireEventTime: str expireTime: str generateTime: str @@ -402,7 +507,12 @@ class ImportJob(typing_extensions.TypedDict, total=False): ] name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] publicKey: WrappingPublicKey state: typing_extensions.Literal[ @@ -497,6 +607,20 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] nextPageToken: str +@typing.type_check_only +class ListSingleTenantHsmInstanceProposalsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + singleTenantHsmInstanceProposals: _list[SingleTenantHsmInstanceProposal] + totalSize: int + +@typing.type_check_only +class ListSingleTenantHsmInstancesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + singleTenantHsmInstances: _list[SingleTenantHsmInstance] + totalSize: int + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -509,6 +633,7 @@ class Location(typing_extensions.TypedDict, total=False): class LocationMetadata(typing_extensions.TypedDict, total=False): ekmAvailable: bool hsmAvailable: bool + hsmSingleTenantAvailable: bool @typing.type_check_only class MacSignRequest(typing_extensions.TypedDict, total=False): @@ -521,7 +646,12 @@ class MacSignResponse(typing_extensions.TypedDict, total=False): macCrc32c: str name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] verifiedDataCrc32c: bool @@ -536,7 +666,12 @@ class MacVerifyRequest(typing_extensions.TypedDict, total=False): class MacVerifyResponse(typing_extensions.TypedDict, total=False): name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] success: bool verifiedDataCrc32c: bool @@ -600,21 +735,47 @@ class PublicKey(typing_extensions.TypedDict, total=False): "ML_KEM_768", "ML_KEM_1024", "KEM_XWING", + "PQ_SIGN_ML_DSA_44", "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] name: str pem: str pemCrc32c: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] publicKey: ChecksummedData publicKeyFormat: typing_extensions.Literal[ "PUBLIC_KEY_FORMAT_UNSPECIFIED", "PEM", "DER", "NIST_PQC", "XWING_RAW_BYTES" ] +@typing.type_check_only +class QuorumAuth(typing_extensions.TypedDict, total=False): + requiredApproverCount: int + totalApproverCount: int + twoFactorPublicKeyPems: _list[str] + +@typing.type_check_only +class QuorumParameters(typing_extensions.TypedDict, total=False): + approvedTwoFactorPublicKeyPems: _list[str] + challenges: _list[Challenge] + requiredApproverCount: int + +@typing.type_check_only +class QuorumReply(typing_extensions.TypedDict, total=False): + challengeReplies: _list[ChallengeReply] + @typing.type_check_only class RawDecryptRequest(typing_extensions.TypedDict, total=False): additionalAuthenticatedData: str @@ -630,7 +791,12 @@ class RawDecryptResponse(typing_extensions.TypedDict, total=False): plaintext: str plaintextCrc32c: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] verifiedAdditionalAuthenticatedDataCrc32c: bool verifiedCiphertextCrc32c: bool @@ -653,13 +819,42 @@ class RawEncryptResponse(typing_extensions.TypedDict, total=False): initializationVectorCrc32c: str name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] tagLength: int verifiedAdditionalAuthenticatedDataCrc32c: bool verifiedInitializationVectorCrc32c: bool verifiedPlaintextCrc32c: bool +@typing.type_check_only +class RefreshSingleTenantHsmInstance(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class RegisterTwoFactorAuthKeys(typing_extensions.TypedDict, total=False): + requiredApproverCount: int + twoFactorPublicKeyPems: _list[str] + +@typing.type_check_only +class RemoveQuorumMember(typing_extensions.TypedDict, total=False): + twoFactorPublicKeyPem: str + +@typing.type_check_only +class RequiredActionQuorumParameters(typing_extensions.TypedDict, total=False): + approvedTwoFactorPublicKeyPems: _list[str] + quorumChallenges: _list[Challenge] + requiredApproverCount: int + requiredChallenges: _list[Challenge] + +@typing.type_check_only +class RequiredActionQuorumReply(typing_extensions.TypedDict, total=False): + quorumChallengeReplies: _list[ChallengeReply] + requiredChallengeReplies: _list[ChallengeReply] + @typing.type_check_only class RestoreCryptoKeyVersionRequest(typing_extensions.TypedDict, total=False): ... @@ -693,6 +888,55 @@ class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse( ): effectiveKajPolicy: KeyAccessJustificationsPolicyConfig +@typing.type_check_only +class SingleTenantHsmInstance(typing_extensions.TypedDict, total=False): + createTime: str + deleteTime: str + disableTime: str + name: str + quorumAuth: QuorumAuth + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "PENDING_TWO_FACTOR_AUTH_REGISTRATION", + "ACTIVE", + "DISABLING", + "DISABLED", + "DELETING", + "DELETED", + "FAILED", + ] + unrefreshedDurationUntilDisable: str + +@typing.type_check_only +class SingleTenantHsmInstanceProposal(typing_extensions.TypedDict, total=False): + addQuorumMember: AddQuorumMember + createTime: str + deleteSingleTenantHsmInstance: DeleteSingleTenantHsmInstance + deleteTime: str + disableSingleTenantHsmInstance: DisableSingleTenantHsmInstance + enableSingleTenantHsmInstance: EnableSingleTenantHsmInstance + expireTime: str + failureReason: str + name: str + purgeTime: str + quorumParameters: QuorumParameters + refreshSingleTenantHsmInstance: RefreshSingleTenantHsmInstance + registerTwoFactorAuthKeys: RegisterTwoFactorAuthKeys + removeQuorumMember: RemoveQuorumMember + requiredActionQuorumParameters: RequiredActionQuorumParameters + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CREATING", + "PENDING", + "APPROVED", + "RUNNING", + "SUCCEEDED", + "FAILED", + "DELETED", + ] + ttl: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi index 41539dfb0..1276720f1 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1/schemas.pyi @@ -142,6 +142,7 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi index f7f79a5ed..cc6bff1b7 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v1beta1/schemas.pyi @@ -118,6 +118,7 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi index 5bb738df2..cb6632548 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2/schemas.pyi @@ -124,6 +124,7 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi index 5bb738df2..cb6632548 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v2beta1/schemas.pyi @@ -124,6 +124,7 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi index 629f4e45a..5239b64f6 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/resources.pyi @@ -152,11 +152,12 @@ class CloudResourceManagerResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> TagBindingCollectionHttpRequest: ... - def update( + def patch( self, *, name: str, body: TagBindingCollection = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi index 3255bb7ed..622ca3ba4 100644 --- a/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudresourcemanager/v3/schemas.pyi @@ -148,6 +148,7 @@ class FolderOperationError(typing_extensions.TypedDict, total=False): "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION", ] @typing.type_check_only @@ -321,6 +322,7 @@ class TagHold(typing_extensions.TypedDict, total=False): @typing.type_check_only class TagKey(typing_extensions.TypedDict, total=False): + allowedValuesRegex: str createTime: str description: str etag: str diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi index 4d17b66b5..3e15fd079 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/resources.pyi @@ -99,6 +99,9 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getCmekConfig( + self, *, name: str, **kwargs: typing.Any + ) -> CmekConfigHttpRequest: ... def list( self, *, @@ -114,6 +117,14 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def updateCmekConfig( + self, + *, + name: str, + body: CmekConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... @@ -133,6 +144,14 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class CmekConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CmekConfig: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi index 3320e6cd2..28a9cd745 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1/schemas.pyi @@ -31,6 +31,11 @@ class AppEngineRouting(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CmekConfig(typing_extensions.TypedDict, total=False): + kmsKeyName: str + name: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi index 2bb65645a..7f5f262f0 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/resources.pyi @@ -71,6 +71,37 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): self, *, name: str, body: RunJobRequest = ..., **kwargs: typing.Any ) -> JobHttpRequest: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -90,6 +121,7 @@ class CloudSchedulerResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def jobs(self) -> JobsResource: ... + def operations(self) -> OperationsResource: ... def locations(self) -> LocationsResource: ... @@ -139,6 +171,14 @@ 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 LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -146,3 +186,11 @@ class LocationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, 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: ... diff --git a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi index 7850b06f8..9b25b21f8 100644 --- a/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudscheduler/v1beta1/schemas.pyi @@ -28,6 +28,9 @@ class AppEngineRouting(typing_extensions.TypedDict, total=False): service: str version: str +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -80,6 +83,12 @@ 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 Location(typing_extensions.TypedDict, total=False): displayName: str @@ -98,6 +107,14 @@ class OidcToken(typing_extensions.TypedDict, total=False): audience: str serviceAccountEmail: str +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + @typing.type_check_only class OperationMetadata(typing_extensions.TypedDict, total=False): apiVersion: str diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi index 77d665cd3..7145838a9 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/resources.pyi @@ -239,6 +239,7 @@ class CloudSearchResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -270,9 +271,6 @@ class CloudSearchResource(googleapiclient.discovery.Resource): previous_response: ListQuerySourcesResponse, ) -> ListQuerySourcesResponseHttpRequest | None: ... - def debugSearch( - self, *, body: SearchRequest = ..., **kwargs: typing.Any - ) -> DebugResponseHttpRequest: ... def removeActivity( self, *, body: RemoveActivityRequest = ..., **kwargs: typing.Any ) -> RemoveActivityResponseHttpRequest: ... @@ -591,14 +589,6 @@ class DataSourceHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> DataSource: ... -@typing.type_check_only -class DebugResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> DebugResponse: ... - @typing.type_check_only class GetCustomerIndexStatsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi index 0b8caceb8..bb80da938 100644 --- a/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsearch/v1/schemas.pyi @@ -152,12 +152,6 @@ class DateValues(typing_extensions.TypedDict, total=False): class DebugOptions(typing_extensions.TypedDict, total=False): enableDebugging: bool -@typing.type_check_only -class DebugResponse(typing_extensions.TypedDict, total=False): - gsrRequest: str - gsrResponse: str - searchResponse: SearchResponse - @typing.type_check_only class DeleteQueueItemsRequest(typing_extensions.TypedDict, total=False): connectorName: str @@ -1056,6 +1050,7 @@ class ListItemsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListQuerySourcesResponse(typing_extensions.TypedDict, total=False): @@ -1317,6 +1312,8 @@ class QueryCountByStatus(typing_extensions.TypedDict, total=False): class QueryInterpretation(typing_extensions.TypedDict, total=False): interpretationType: typing_extensions.Literal["NONE", "BLEND", "REPLACE"] interpretedQuery: str + interpretedQueryActualResultCount: int + interpretedQueryEstimatedResultCount: str reason: typing_extensions.Literal[ "UNSPECIFIED", "QUERY_HAS_NATURAL_LANGUAGE_INTENT", diff --git a/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi index 3d3ad8139..e88dc054a 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/resources.pyi @@ -54,6 +54,14 @@ class CloudShellResource(googleapiclient.discovery.Resource): body: AuthorizeEnvironmentRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def generateAccessToken( + self, + *, + environment: str, + expireTime: str = ..., + ttl: str = ..., + **kwargs: typing.Any, + ) -> GenerateAccessTokenResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> EnvironmentHttpRequest: ... @@ -105,6 +113,14 @@ class EnvironmentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Environment: ... +@typing.type_check_only +class GenerateAccessTokenResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateAccessTokenResponse: ... + @typing.type_check_only class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi index feb1ea55f..ea20c106d 100644 --- a/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudshell/v1/schemas.pyi @@ -53,6 +53,10 @@ class Environment(typing_extensions.TypedDict, total=False): ] webHost: str +@typing.type_check_only +class GenerateAccessTokenResponse(typing_extensions.TypedDict, total=False): + accessToken: str + @typing.type_check_only class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi index f46fafd4a..7df455a2a 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2/schemas.pyi @@ -24,8 +24,10 @@ class Attachment(typing_extensions.TypedDict, total=False): class Blobstore2Info(typing_extensions.TypedDict, total=False): blobGeneration: str blobId: str + downloadExternalReadToken: str downloadReadHandle: str readToken: str + uploadFragmentListCreationInfo: str uploadMetadataContainer: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi index a30bd5151..98a548b58 100644 --- a/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/cloudsupport/v2beta/schemas.pyi @@ -24,8 +24,10 @@ class Attachment(typing_extensions.TypedDict, total=False): class Blobstore2Info(typing_extensions.TypedDict, total=False): blobGeneration: str blobId: str + downloadExternalReadToken: str downloadReadHandle: str readToken: str + uploadFragmentListCreationInfo: str uploadMetadataContainer: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi index a39c64800..8f826537f 100644 --- a/googleapiclient-stubs/_apis/composer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1/schemas.pyi @@ -143,6 +143,7 @@ class EnvironmentConfig(typing_extensions.TypedDict, total=False): "ENVIRONMENT_SIZE_SMALL", "ENVIRONMENT_SIZE_MEDIUM", "ENVIRONMENT_SIZE_LARGE", + "ENVIRONMENT_SIZE_EXTRA_LARGE", ] gkeCluster: str maintenanceWindow: MaintenanceWindow diff --git a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi index 54898ccd9..e29b867e5 100644 --- a/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi @@ -144,6 +144,7 @@ class EnvironmentConfig(typing_extensions.TypedDict, total=False): "ENVIRONMENT_SIZE_SMALL", "ENVIRONMENT_SIZE_MEDIUM", "ENVIRONMENT_SIZE_LARGE", + "ENVIRONMENT_SIZE_EXTRA_LARGE", ] gkeCluster: str maintenanceWindow: MaintenanceWindow diff --git a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi index 00e170a3e..46424cace 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/resources.pyi @@ -1192,6 +1192,9 @@ class ComputeResource(googleapiclient.discovery.Resource): project: str, region: str, forwardingRule: str, + view: typing_extensions.Literal[ + "BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL" + ] = ..., **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( @@ -1444,7 +1447,14 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( - self, *, project: str, forwardingRule: str, **kwargs: typing.Any + self, + *, + project: str, + forwardingRule: str, + view: typing_extensions.Literal[ + "BASIC", "FORWARDING_RULE_VIEW_UNSPECIFIED", "FULL" + ] = ..., + **kwargs: typing.Any, ) -> ForwardingRuleHttpRequest: ... def insert( self, @@ -1721,18 +1731,16 @@ class ComputeResource(googleapiclient.discovery.Resource): *, project: str, globalVmExtensionPolicy: str, + body: GlobalVmExtensionPolicyRolloutOperationRolloutInput = ..., requestId: str = ..., - rolloutInput_conflictBehavior: str = ..., - rolloutInput_name: str = ..., - rolloutInput_predefinedRolloutPlan: typing_extensions.Literal[ - "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" - ] = ..., - rolloutInput_retryUuid: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... def get( self, *, project: str, globalVmExtensionPolicy: str, **kwargs: typing.Any ) -> GlobalVmExtensionPolicyHttpRequest: ... + def getVmExtension( + self, *, project: str, extensionName: str, **kwargs: typing.Any + ) -> GlobalVmExtensionHttpRequest: ... def insert( self, *, @@ -1757,6 +1765,22 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: GlobalVmExtensionPolicyListHttpRequest, previous_response: GlobalVmExtensionPolicyList, ) -> GlobalVmExtensionPolicyListHttpRequest | None: ... + def listVmExtensions( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GlobalListVmExtensionsResponseHttpRequest: ... + def listVmExtensions_next( + self, + previous_request: GlobalListVmExtensionsResponseHttpRequest, + previous_response: GlobalListVmExtensionsResponse, + ) -> GlobalListVmExtensionsResponseHttpRequest | None: ... def update( self, *, @@ -1769,6 +1793,24 @@ class ComputeResource(googleapiclient.discovery.Resource): @typing.type_check_only class HaControllersResource(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, + ) -> HaControllersAggregatedListHttpRequest: ... + def aggregatedList_next( + self, + previous_request: HaControllersAggregatedListHttpRequest, + previous_response: HaControllersAggregatedList, + ) -> HaControllersAggregatedListHttpRequest | None: ... def delete( self, *, @@ -2920,6 +2962,15 @@ class ComputeResource(googleapiclient.discovery.Resource): def getShieldedVmIdentity( self, *, project: str, zone: str, instance: str, **kwargs: typing.Any ) -> ShieldedVmIdentityHttpRequest: ... + def getVmExtensionState( + self, + *, + project: str, + zone: str, + instance: str, + extensionName: str, + **kwargs: typing.Any, + ) -> VmExtensionStateHttpRequest: ... def insert( self, *, @@ -2969,6 +3020,24 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: InstanceListReferrersHttpRequest, previous_response: InstanceListReferrers, ) -> InstanceListReferrersHttpRequest | None: ... + def listVmExtensionStates( + self, + *, + project: str, + zone: str, + instance: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListVmExtensionStatesResponseHttpRequest: ... + def listVmExtensionStates_next( + self, + previous_request: ListVmExtensionStatesResponseHttpRequest, + previous_response: ListVmExtensionStatesResponse, + ) -> ListVmExtensionStatesResponseHttpRequest | None: ... def patchPartnerMetadata( self, *, @@ -3247,6 +3316,7 @@ class ComputeResource(googleapiclient.discovery.Resource): instance: str, body: Instance = ..., clearSecureTag: bool = ..., + discardLocalSsd: bool = ..., minimalAction: typing_extensions.Literal[ "INVALID", "NO_EFFECT", "REFRESH", "RESTART" ] = ..., @@ -5198,6 +5268,23 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class OrganizationSnapshotRecycleBinPolicyResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, organization: str, **kwargs: typing.Any + ) -> SnapshotRecycleBinPolicyHttpRequest: ... + def patch( + self, + *, + organization: str, + body: SnapshotRecycleBinPolicy = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class PacketMirroringsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -6105,6 +6192,14 @@ class ComputeResource(googleapiclient.discovery.Resource): compositeHealthCheck: str, **kwargs: typing.Any, ) -> CompositeHealthCheckHttpRequest: ... + def getHealth( + self, + *, + project: str, + region: str, + compositeHealthCheck: str, + **kwargs: typing.Any, + ) -> CompositeHealthChecksGetHealthResponseHttpRequest: ... def insert( self, *, @@ -6767,6 +6862,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def adoptInstances( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + body: RegionInstanceGroupManagersAdoptInstancesRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def applyUpdatesToInstances( self, *, @@ -7908,6 +8013,80 @@ class ComputeResource(googleapiclient.discovery.Resource): self, *, project: str, region: str, operation: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionRecoverableSnapshotsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + recoverableSnapshot: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + recoverableSnapshot: str, + **kwargs: typing.Any, + ) -> RecoverableSnapshotHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RecoverableSnapshotListHttpRequest: ... + def list_next( + self, + previous_request: RecoverableSnapshotListHttpRequest, + previous_response: RecoverableSnapshotList, + ) -> RecoverableSnapshotListHttpRequest | None: ... + def recover( + self, + *, + project: str, + region: str, + recoverableSnapshot: str, + requestId: str = ..., + snapshotName: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def setIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + body: RegionSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class RegionSecurityPoliciesResource(googleapiclient.discovery.Resource): def addRule( @@ -8643,6 +8822,36 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class ReservationSlotsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + **kwargs: typing.Any, + ) -> ReservationSlotsGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSlotsListResponseHttpRequest: ... + def list_next( + self, + previous_request: ReservationSlotsListResponseHttpRequest, + previous_response: ReservationSlotsListResponse, + ) -> ReservationSlotsListResponseHttpRequest | None: ... + @typing.type_check_only class ReservationSubBlocksResource(googleapiclient.discovery.Resource): def get( @@ -8920,6 +9129,83 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RolloutPlansResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + rolloutPlan: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rolloutPlan: str, **kwargs: typing.Any + ) -> RolloutPlanHttpRequest: ... + def insert( + self, + *, + project: str, + body: RolloutPlan = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutPlansListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutPlansListResponseHttpRequest, + previous_response: RolloutPlansListResponse, + ) -> RolloutPlansListResponseHttpRequest | None: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + rollback: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rollout: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutsListResponseHttpRequest, + previous_response: RolloutsListResponse, + ) -> RolloutsListResponseHttpRequest | None: ... + @typing.type_check_only class RoutersResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -9526,6 +9812,21 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class SnapshotRecycleBinPolicyResource(googleapiclient.discovery.Resource): + def get( + self, *, project: str, **kwargs: typing.Any + ) -> SnapshotRecycleBinPolicyHttpRequest: ... + def patch( + self, + *, + project: str, + body: SnapshotRecycleBinPolicy = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class SnapshotSettingsResource(googleapiclient.discovery.Resource): def get( @@ -9572,6 +9873,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def get( self, *, project: str, snapshot: str, **kwargs: typing.Any ) -> SnapshotHttpRequest: ... + def getEffectiveRecycleBinRule( + self, *, project: str, snapshot: str, **kwargs: typing.Any + ) -> SnapshotsGetEffectiveRecycleBinRuleResponseHttpRequest: ... def getIamPolicy( self, *, @@ -9964,6 +10268,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str = ..., returnPartialSuccess: bool = ..., serviceProjectNumber: str = ..., + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... def aggregatedList_next( @@ -11298,6 +11604,9 @@ class ComputeResource(googleapiclient.discovery.Resource): vmExtensionPolicy: str, **kwargs: typing.Any, ) -> VmExtensionPolicyHttpRequest: ... + def getVmExtension( + self, *, project: str, zone: str, extensionName: str, **kwargs: typing.Any + ) -> VmExtensionHttpRequest: ... def insert( self, *, @@ -11324,6 +11633,23 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: VmExtensionPolicyListHttpRequest, previous_response: VmExtensionPolicyList, ) -> VmExtensionPolicyListHttpRequest | None: ... + def listVmExtensions( + self, + *, + project: str, + zone: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListVmExtensionsResponseHttpRequest: ... + def listVmExtensions_next( + self, + previous_request: ListVmExtensionsResponseHttpRequest, + previous_response: ListVmExtensionsResponse, + ) -> ListVmExtensionsResponseHttpRequest | None: ... def update( self, *, @@ -11428,6 +11754,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def nodeTemplates(self) -> NodeTemplatesResource: ... def nodeTypes(self) -> NodeTypesResource: ... def organizationSecurityPolicies(self) -> OrganizationSecurityPoliciesResource: ... + def organizationSnapshotRecycleBinPolicy( + self, + ) -> OrganizationSnapshotRecycleBinPolicyResource: ... def packetMirrorings(self) -> PacketMirroringsResource: ... def previewFeatures(self) -> PreviewFeaturesResource: ... def projects(self) -> ProjectsResource: ... @@ -11466,6 +11795,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionNetworkPolicies(self) -> RegionNetworkPoliciesResource: ... def regionNotificationEndpoints(self) -> RegionNotificationEndpointsResource: ... def regionOperations(self) -> RegionOperationsResource: ... + def regionRecoverableSnapshots(self) -> RegionRecoverableSnapshotsResource: ... def regionSecurityPolicies(self) -> RegionSecurityPoliciesResource: ... def regionSnapshotSettings(self) -> RegionSnapshotSettingsResource: ... def regionSnapshots(self) -> RegionSnapshotsResource: ... @@ -11479,14 +11809,18 @@ class ComputeResource(googleapiclient.discovery.Resource): def regions(self) -> RegionsResource: ... def reliabilityRisks(self) -> ReliabilityRisksResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSlots(self) -> ReservationSlotsResource: ... def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... + def rolloutPlans(self) -> RolloutPlansResource: ... + def rollouts(self) -> RolloutsResource: ... def routers(self) -> RoutersResource: ... def routes(self) -> RoutesResource: ... def securityPolicies(self) -> SecurityPoliciesResource: ... def serviceAttachments(self) -> ServiceAttachmentsResource: ... def snapshotGroups(self) -> SnapshotGroupsResource: ... + def snapshotRecycleBinPolicy(self) -> SnapshotRecycleBinPolicyResource: ... def snapshotSettings(self) -> SnapshotSettingsResource: ... def snapshots(self) -> SnapshotsResource: ... def sslCertificates(self) -> SslCertificatesResource: ... @@ -11731,6 +12065,16 @@ class CompositeHealthCheckListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> CompositeHealthCheckList: ... +@typing.type_check_only +class CompositeHealthChecksGetHealthResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CompositeHealthChecksGetHealthResponse: ... + @typing.type_check_only class CrossSiteNetworkHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11951,6 +12295,22 @@ class GetOwnerInstanceResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GetOwnerInstanceResponse: ... +@typing.type_check_only +class GlobalListVmExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalListVmExtensionsResponse: ... + +@typing.type_check_only +class GlobalVmExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalVmExtension: ... + @typing.type_check_only class GlobalVmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11983,6 +12343,14 @@ class HaControllerHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HaController: ... +@typing.type_check_only +class HaControllersAggregatedListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HaControllersAggregatedList: ... + @typing.type_check_only class HaControllersListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12563,6 +12931,22 @@ class ListSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListSnapshotGroups: ... +@typing.type_check_only +class ListVmExtensionStatesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListVmExtensionStatesResponse: ... + +@typing.type_check_only +class ListVmExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListVmExtensionsResponse: ... + @typing.type_check_only class MachineImageHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13271,6 +13655,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSlotsGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsGetResponse: ... + +@typing.type_check_only +class ReservationSlotsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsListResponse: ... + @typing.type_check_only class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13311,6 +13711,38 @@ class ResourcePolicyListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ResourcePolicyList: ... +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutPlanHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlan: ... + +@typing.type_check_only +class RolloutPlansListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlansListResponse: ... + +@typing.type_check_only +class RolloutsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutsListResponse: ... + @typing.type_check_only class RouteHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13545,6 +13977,14 @@ class SnapshotListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SnapshotList: ... +@typing.type_check_only +class SnapshotRecycleBinPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SnapshotRecycleBinPolicy: ... + @typing.type_check_only class SnapshotSettingsHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13553,6 +13993,16 @@ class SnapshotSettingsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SnapshotSettings: ... +@typing.type_check_only +class SnapshotsGetEffectiveRecycleBinRuleResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SnapshotsGetEffectiveRecycleBinRuleResponse: ... + @typing.type_check_only class SslCertificateHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13931,6 +14381,14 @@ class VmEndpointNatMappingsListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VmEndpointNatMappingsList: ... +@typing.type_check_only +class VmExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtension: ... + @typing.type_check_only class VmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -13957,6 +14415,14 @@ class VmExtensionPolicyListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VmExtensionPolicyList: ... +@typing.type_check_only +class VmExtensionStateHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtensionState: ... + @typing.type_check_only class VpnGatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi index e499fe3ac..0c0038371 100644 --- a/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/alpha/schemas.pyi @@ -35,7 +35,7 @@ class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( ): count: int state: typing_extensions.Literal[ - "AVAILABLE", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" + "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" ] @typing.type_check_only @@ -515,6 +515,7 @@ class Backend(typing_extensions.TypedDict, total=False): preference: typing_extensions.Literal[ "DEFAULT", "PREFERENCE_UNSPECIFIED", "PREFERRED" ] + service: str trafficDuration: typing_extensions.Literal[ "LONG", "SHORT", "TRAFFIC_DURATION_UNSPECIFIED" ] @@ -795,8 +796,16 @@ class BackendServiceCustomMetric(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackendServiceDynamicForwarding(typing_extensions.TypedDict, total=False): + forwardProxy: BackendServiceDynamicForwardingForwardProxy ipPortSelection: BackendServiceDynamicForwardingIpPortSelection +@typing.type_check_only +class BackendServiceDynamicForwardingForwardProxy( + typing_extensions.TypedDict, total=False +): + enabled: bool + proxyMode: typing_extensions.Literal["CLOUD_RUN", "DIRECT_FORWARDING"] + @typing.type_check_only class BackendServiceDynamicForwardingIpPortSelection( typing_extensions.TypedDict, total=False @@ -1120,8 +1129,11 @@ class BundledLocalSsds(typing_extensions.TypedDict, total=False): @typing.type_check_only class CacheInvalidationRule(typing_extensions.TypedDict, total=False): + backendService: str cacheTags: _list[str] + contentType: str host: str + httpStatus: int path: str @typing.type_check_only @@ -1134,6 +1146,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] @@ -1208,6 +1250,7 @@ class CapacityAdviceResponseRecommendation(typing_extensions.TypedDict, total=Fa class CapacityAdviceResponseRecommendationScores( typing_extensions.TypedDict, total=False ): + estimatedUptime: str obtainability: float uptimeScore: float @@ -1260,7 +1303,11 @@ class Commitment(typing_extensions.TypedDict, total=False): mergeSourceCommitments: _list[str] name: str plan: typing_extensions.Literal[ - "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + "INVALID", + "SIXTY_MONTH", + "THIRTY_SIX_MONTH", + "TWELVE_MONTH", + "TWENTY_FOUR_MONTH", ] region: str reservations: _list[Reservation] @@ -1287,6 +1334,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "ACCELERATOR_OPTIMIZED_A3_ULTRA", "ACCELERATOR_OPTIMIZED_A4", "ACCELERATOR_OPTIMIZED_A4X", + "ACCELERATOR_OPTIMIZED_A4X_MAX", "COMPUTE_OPTIMIZED", "COMPUTE_OPTIMIZED_C2D", "COMPUTE_OPTIMIZED_C3", @@ -1301,6 +1349,7 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", "GENERAL_PURPOSE_N4", + "GENERAL_PURPOSE_N4A", "GENERAL_PURPOSE_N4D", "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", @@ -1310,9 +1359,15 @@ class Commitment(typing_extensions.TypedDict, total=False): "MEMORY_OPTIMIZED_M4", "MEMORY_OPTIMIZED_M4_6TB", "MEMORY_OPTIMIZED_X4", + "MEMORY_OPTIMIZED_X4_1440_24T", "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_1920_32T", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", + "MEMORY_OPTIMIZED_X4_480_6T", + "MEMORY_OPTIMIZED_X4_480_8T", + "MEMORY_OPTIMIZED_X4_960_12T", + "MEMORY_OPTIMIZED_X4_960_16T", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED", ] @@ -1389,6 +1444,18 @@ 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 +): + healthState: typing_extensions.Literal["HEALTHY", "UNHEALTHY", "UNKNOWN"] + source: str + @typing.type_check_only class CompositeHealthChecksScopedList(typing_extensions.TypedDict, total=False): compositeHealthChecks: _list[CompositeHealthCheck] @@ -1902,9 +1969,10 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): parent: str policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] policyType: typing_extensions.Literal[ - "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" ] region: str + rolloutOperation: FirewallPolicyRolloutOperation ruleTupleCount: int rules: _list[FirewallPolicyRule] selfLink: str @@ -1931,6 +1999,44 @@ class FirewallPolicyList(typing_extensions.TypedDict, total=False): nextPageToken: str warning: dict[str, typing.Any] +@typing.type_check_only +class FirewallPolicyRolloutOperation(typing_extensions.TypedDict, total=False): + rolloutInput: FirewallPolicyRolloutOperationRolloutInput + rolloutStatus: FirewallPolicyRolloutOperationRolloutStatus + +@typing.type_check_only +class FirewallPolicyRolloutOperationRolloutInput( + typing_extensions.TypedDict, total=False +): + name: str + predefinedRolloutPlan: typing_extensions.Literal["DEFAULT_ROLLOUT_PLAN"] + retryUuid: str + +@typing.type_check_only +class FirewallPolicyRolloutOperationRolloutStatus( + typing_extensions.TypedDict, total=False +): + nextRollout: FirewallPolicyRolloutOperationRolloutStatusNextRollout + ongoingRollouts: _list[FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata] + previousRollout: FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata + +@typing.type_check_only +class FirewallPolicyRolloutOperationRolloutStatusNextRollout( + typing_extensions.TypedDict, total=False +): + rolloutId: str + rolloutPlan: str + +@typing.type_check_only +class FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata( + typing_extensions.TypedDict, total=False +): + rollout: str + rolloutPlan: str + state: typing_extensions.Literal[ + "CANCELLED", "COMPLETED", "FAILED", "PAUSED", "PROCESSING", "UNKNOWN" + ] + @typing.type_check_only class FirewallPolicyRule(typing_extensions.TypedDict, total=False): action: str @@ -1956,6 +2062,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] + destNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -1968,6 +2077,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] + srcNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] srcNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -2007,13 +2119,14 @@ class FlexibleTimeRange(typing_extensions.TypedDict, total=False): @typing.type_check_only class ForwardingRule(typing_extensions.TypedDict, total=False): IPAddress: str + IPAddresses: _list[str] IPProtocol: typing_extensions.Literal[ "AH", "ALL", "ESP", "ICMP", "L3_DEFAULT", "SCTP", "TCP", "UDP" ] allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool - allowPscPacketInjection: bool + attachedExtensions: _list[ForwardingRuleAttachedExtension] availabilityGroup: typing_extensions.Literal[ "AVAILABILITY_GROUP0", "AVAILABILITY_GROUP1", "AVAILABILITY_GROUP_UNSPECIFIED" ] @@ -2086,6 +2199,10 @@ class ForwardingRuleAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ForwardingRuleAttachedExtension(typing_extensions.TypedDict, total=False): + reference: str + @typing.type_check_only class ForwardingRuleList(typing_extensions.TypedDict, total=False): id: str @@ -2155,7 +2272,11 @@ class FutureReservation(typing_extensions.TypedDict, total=False): class FutureReservationCommitmentInfo(typing_extensions.TypedDict, total=False): commitmentName: str commitmentPlan: typing_extensions.Literal[ - "INVALID", "SIXTY_MONTH", "THIRTY_SIX_MONTH", "TWELVE_MONTH" + "INVALID", + "SIXTY_MONTH", + "THIRTY_SIX_MONTH", + "TWELVE_MONTH", + "TWENTY_FOUR_MONTH", ] previousCommitmentTerms: typing_extensions.Literal[ "EXTEND", "PREVIOUSCOMMITMENTTERM_UNSPECIFIED" @@ -2385,6 +2506,17 @@ class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): description: str destinationAddress: str +@typing.type_check_only +class GlobalListVmExtensionsResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[GlobalVmExtension] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class GlobalNetworkEndpointGroupsAttachEndpointsRequest( typing_extensions.TypedDict, total=False @@ -2414,6 +2546,11 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): etag: str policy: Policy +@typing.type_check_only +class GlobalVmExtension(typing_extensions.TypedDict, total=False): + name: str + versions: _list[str] + @typing.type_check_only class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -2599,6 +2736,9 @@ class HaController(typing_extensions.TypedDict, total=False): backendServices: _list[str] creationTimestamp: str description: str + failoverCapacity: typing_extensions.Literal[ + "BEST_EFFORT_CAPACITY", "FAILOVER_CAPACITY_UNSPECIFIED" + ] failoverInitiation: typing_extensions.Literal[ "FAILOVER_INITIATION_UNSPECIFIED", "MANUAL_ONLY" ] @@ -2693,8 +2833,20 @@ class HaControllerZoneConfigurationReservationAffinity( key: str values: _list[str] +@typing.type_check_only +class HaControllersAggregatedList(typing_extensions.TypedDict, total=False): + etag: str + 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 HaControllersFailoverRequest(typing_extensions.TypedDict, total=False): + failoverToZone: str primaryZone: str @typing.type_check_only @@ -2707,6 +2859,11 @@ class HaControllersList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class HaControllersScopedList(typing_extensions.TypedDict, total=False): + haControllers: _list[HaController] + warning: dict[str, typing.Any] + @typing.type_check_only class HealthAggregationPoliciesScopedList(typing_extensions.TypedDict, total=False): healthAggregationPolicies: _list[HealthAggregationPolicy] @@ -3045,6 +3202,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 @@ -3252,6 +3410,7 @@ class Instance(typing_extensions.TypedDict, total=False): statusMessage: str tags: Tags upcomingMaintenance: UpcomingMaintenance + workloadIdentityConfig: WorkloadIdentityConfig zone: str @typing.type_check_only @@ -3369,6 +3528,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=False): abandoning: int + adopting: int creating: int creatingAtomically: int creatingWithoutRetries: int @@ -3425,7 +3585,9 @@ class InstanceGroupManagerInstanceFlexibilityPolicy( class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineTypes: _list[str] + minCpuPlatform: str rank: int @typing.type_check_only @@ -3537,12 +3699,39 @@ class InstanceGroupManagerStandbyPolicy(typing_extensions.TypedDict, total=False @typing.type_check_only class InstanceGroupManagerStatus(typing_extensions.TypedDict, total=False): allInstancesConfig: InstanceGroupManagerStatusAllInstancesConfig + appliedAcceleratorTopologies: _list[InstanceGroupManagerStatusAcceleratorTopology] autoscaler: str bulkInstanceOperation: InstanceGroupManagerStatusBulkInstanceOperation + currentInstanceStatuses: InstanceGroupManagerStatusInstanceStatusSummary isStable: bool stateful: InstanceGroupManagerStatusStateful versionTarget: InstanceGroupManagerStatusVersionTarget +@typing.type_check_only +class InstanceGroupManagerStatusAcceleratorTopology( + typing_extensions.TypedDict, total=False +): + acceleratorTopology: str + state: typing_extensions.Literal[ + "ACTIVATING", + "ACTIVE", + "ACTIVE_DEGRADED", + "DEACTIVATING", + "FAILED", + "INCOMPLETE", + "REACTIVATING", + ] + stateDetails: ( + InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails + ) + +@typing.type_check_only +class InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails( + typing_extensions.TypedDict, total=False +): + error: dict[str, typing.Any] + timestamp: str + @typing.type_check_only class InstanceGroupManagerStatusAllInstancesConfig( typing_extensions.TypedDict, total=False @@ -3564,6 +3753,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 @@ -3813,6 +4020,7 @@ class InstanceManagedByIgmErrorInstanceActionDetails( ): action: typing_extensions.Literal[ "ABANDONING", + "ADOPTING", "CREATING", "CREATING_ATOMICALLY", "CREATING_WITHOUT_RETRIES", @@ -3887,6 +4095,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): @@ -4032,6 +4241,7 @@ class InstancesReportHostAsFaultyRequestFaultReason( ): behavior: typing_extensions.Literal[ "BEHAVIOR_UNSPECIFIED", + "CHIP_ERROR", "PERFORMANCE", "SILENT_DATA_CORRUPTION", "UNRECOVERABLE_GPU_ERROR", @@ -4099,6 +4309,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 @@ -4164,6 +4375,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 @@ -4192,6 +4407,7 @@ class Interconnect(typing_extensions.TypedDict, total=False): creationTimestamp: str customerName: str description: str + effectiveLocation: str expectedOutages: _list[InterconnectOutageNotification] googleIpAddress: str googleReferenceId: str @@ -5120,6 +5336,7 @@ class License(typing_extensions.TypedDict, total=False): multiTenantOnly: bool name: str osLicense: bool + params: LicenseParams removableFromDisk: bool requiredCoattachedLicenses: _list[str] resourceRequirements: LicenseResourceRequirements @@ -5158,6 +5375,10 @@ class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): description: str selfLink: str +@typing.type_check_only +class LicenseParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): amount: str @@ -5199,6 +5420,28 @@ class ListSnapshotGroups(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class ListVmExtensionStatesResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[VmExtensionState] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class ListVmExtensionsResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[VmExtension] + 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 @@ -5214,6 +5457,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): @@ -5225,6 +5469,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 @@ -5265,6 +5513,7 @@ class MachineImageList(typing_extensions.TypedDict, total=False): class MachineImageParams(typing_extensions.TypedDict, total=False): excludedDisks: _list[str] includedDisks: _list[str] + resourceManagerTags: dict[str, typing.Any] @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): @@ -5317,6 +5566,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): allInstancesConfig: ManagedInstanceAllInstancesConfig currentAction: typing_extensions.Literal[ "ABANDONING", + "ADOPTING", "CREATING", "CREATING_ATOMICALLY", "CREATING_WITHOUT_RETRIES", @@ -5390,7 +5640,9 @@ class ManagedInstanceCurrentActionDetails(typing_extensions.TypedDict, total=Fal class ManagedInstanceInstanceFlexibilityOverride( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineType: str + minCpuPlatform: str provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -5411,7 +5663,9 @@ class ManagedInstanceLastAttempt(typing_extensions.TypedDict, total=False): class ManagedInstancePropertiesFromFlexibilityPolicy( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineType: str + minCpuPlatform: str provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -5621,6 +5875,7 @@ class NetworkAttachmentConnectedEndpoint(typing_extensions.TypedDict, total=Fals ipv6Address: str projectIdOrNum: str secondaryIpCidrRanges: _list[str] + serviceClassId: str status: typing_extensions.Literal[ "ACCEPTED", "CLOSED", @@ -5859,6 +6114,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] ipv6Address: str kind: str + macAddress: str name: str network: str networkAttachment: str @@ -5868,6 +6124,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): ] parentNicName: str queueCount: int + serviceClassId: str stackType: typing_extensions.Literal["IPV4_IPV6", "IPV4_ONLY", "IPV6_ONLY"] subinterfaces: _list[NetworkInterfaceSubInterface] subnetwork: str @@ -6014,10 +6271,6 @@ class NetworkPolicyTrafficClassificationRuleAction( ): dscpMode: typing_extensions.Literal["AUTO", "CUSTOM"] dscpValue: int - fieldType: typing_extensions.Literal[ - "DSCP", "FIELD_TYPE_UNSPECIFIED", "TRAFFIC_CLASS" - ] - fieldValue: int trafficClass: typing_extensions.Literal["TC1", "TC2", "TC3", "TC4", "TC5", "TC6"] type: str @@ -6079,6 +6332,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] + allowAddressCreation: typing_extensions.Literal[ + "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" + ] allowAliasIpRanges: typing_extensions.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] @@ -6113,6 +6369,10 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" + ] + allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] allowNetworkMigration: typing_extensions.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" @@ -6133,6 +6393,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowSubInterfaces: typing_extensions.Literal[ "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" ] + allowSubnetworkCreation: typing_extensions.Literal[ + "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" + ] allowVpcFirewallRules: typing_extensions.Literal[ "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" ] @@ -6141,13 +6404,20 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal["RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY"] + typing_extensions.Literal[ + "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + ] ] interfaceTypes: _list[ typing_extensions.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] + multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + predefinedNetworkInternalIpv6Range: str + predefinedSubnetworkRanges: _list[ + NetworkProfileNetworkFeaturesPredefinedSubnetworkRange + ] subnetPurposes: _list[ typing_extensions.Literal[ "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" @@ -6180,6 +6450,13 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] +@typing.type_check_only +class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( + typing_extensions.TypedDict, total=False +): + ipv6Range: str + namePrefix: str + @typing.type_check_only class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] @@ -7528,6 +7805,12 @@ class RegionInstanceGroupManagersAbandonInstancesRequest( ): instances: _list[str] +@typing.type_check_only +class RegionInstanceGroupManagersAdoptInstancesRequest( + typing_extensions.TypedDict, total=False +): + instances: _list[PerInstanceConfig] + @typing.type_check_only class RegionInstanceGroupManagersApplyUpdatesRequest( typing_extensions.TypedDict, total=False @@ -7783,6 +8066,7 @@ class Reservation(typing_extensions.TypedDict, total=False): kind: str linkedCommitments: _list[str] name: str + params: ReservationParams protectionTier: typing_extensions.Literal[ "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" ] @@ -7908,6 +8192,52 @@ 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 + id: str + kind: str + name: str + physicalTopology: ReservationSlotPhysicalTopology + selfLink: str + selfLinkWithId: str + shareSettings: ShareSettings + state: typing_extensions.Literal[ + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED", "UNAVAILABLE" + ] + status: ReservationSlotStatus + zone: str + +@typing.type_check_only +class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + host: str + subBlock: str + +@typing.type_check_only +class ReservationSlotStatus(typing_extensions.TypedDict, total=False): + physicalTopology: ReservationSlotPhysicalTopology + rdmaIpAddresses: _list[str] + runningInstances: _list[str] + +@typing.type_check_only +class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSlot + +@typing.type_check_only +class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSlot] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class ReservationSubBlock(typing_extensions.TypedDict, total=False): acceleratorTopologiesInfo: AcceleratorTopologiesInfo @@ -7970,7 +8300,11 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( typing_extensions.TypedDict, total=False ): behavior: typing_extensions.Literal[ - "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + "FAULT_BEHAVIOR_UNSPECIFIED", + "GPU_ERROR", + "PERFORMANCE", + "SILENT_DATA_CORRUPTION", + "SWITCH_FAILURE", ] description: str @@ -8059,6 +8393,7 @@ class ResourcePolicyDiskConsistencyGroupPolicy( @typing.type_check_only class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int collocation: typing_extensions.Literal[ "CLUSTERED", "COLLOCATED", "MAX_SPREAD", "UNSPECIFIED_COLLOCATION" @@ -8328,11 +8663,159 @@ class RiskRecommendation(typing_extensions.TypedDict, total=False): content: str referenceUrl: str +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + cancellationTime: str + completionTime: str + creationTimestamp: str + currentWaveNumber: str + description: str + etag: str + id: str + kind: str + name: str + rolloutEntity: RolloutRolloutEntity + rolloutPlan: str + selfLink: str + selfLinkWithId: str + state: typing_extensions.Literal[ + "CANCELLED", + "CANCELLING", + "CANCEL_FAILED", + "COMPLETED", + "COMPLETE_FAILED", + "COMPLETING", + "FAILED", + "PAUSED", + "PAUSE_FAILED", + "PAUSING", + "PROCESSING", + "READY", + "RESUMING", + "ROLLBACK_WAVE_FAILED", + "ROLLING_BACK", + "STATE_UNSPECIFIED", + "UNINITIALIZED", + "WAVE_FAILED", + ] + waveDetails: _list[RolloutWaveDetails] + +@typing.type_check_only +class RolloutPlan(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + locationScope: typing_extensions.Literal[ + "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" + ] + name: str + selfLink: str + selfLinkWithId: str + waves: _list[RolloutPlanWave] + +@typing.type_check_only +class RolloutPlanWave(typing_extensions.TypedDict, total=False): + displayName: str + number: str + orchestrationOptions: RolloutPlanWaveOrchestrationOptions + selectors: _list[RolloutPlanWaveSelector] + validation: RolloutPlanWaveValidation + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): + delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] + maxConcurrentLocations: str + maxConcurrentResourcesPerLocation: str + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptionsDelay( + typing_extensions.TypedDict, total=False +): + delimiter: typing_extensions.Literal[ + "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" + ] + duration: str + type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): + locationSelector: RolloutPlanWaveSelectorLocationSelector + resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector + +@typing.type_check_only +class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): + includedLocations: _list[str] + +@typing.type_check_only +class RolloutPlanWaveSelectorResourceHierarchySelector( + typing_extensions.TypedDict, total=False +): + includedFolders: _list[str] + includedOrganizations: _list[str] + includedProjects: _list[str] + +@typing.type_check_only +class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): + timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata + type: str + +@typing.type_check_only +class RolloutPlanWaveValidationTimeBasedValidationMetadata( + typing_extensions.TypedDict, total=False +): + waitDuration: str + +@typing.type_check_only +class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[RolloutPlan] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RolloutPolicy(typing_extensions.TypedDict, total=False): defaultRolloutTime: str locationRolloutPolicies: dict[str, typing.Any] +@typing.type_check_only +class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): + orchestratedEntity: RolloutRolloutEntityOrchestratedEntity + +@typing.type_check_only +class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): + conflictBehavior: str + orchestrationAction: str + orchestrationSource: str + +@typing.type_check_only +class RolloutWaveDetails(typing_extensions.TypedDict, total=False): + orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails + waveDisplayName: str + waveNumber: str + +@typing.type_check_only +class RolloutWaveDetailsOrchestratedWaveDetails( + typing_extensions.TypedDict, total=False +): + completedResourcesCount: str + estimatedTotalResourcesCount: str + failedLocations: _list[str] + failedResourcesCount: str + +@typing.type_check_only +class RolloutsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[Rollout] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): allowConflictingSubnetworks: bool @@ -9099,6 +9582,9 @@ class SecurityPolicyRulePreconfiguredWafConfig( class SecurityPolicyRulePreconfiguredWafConfigExclusion( typing_extensions.TypedDict, total=False ): + requestBodiesToExclude: _list[ + SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams + ] requestCookiesToExclude: _list[ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams ] @@ -9521,6 +10007,18 @@ class SnapshotList(typing_extensions.TypedDict, total=False): class SnapshotParams(typing_extensions.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] +@typing.type_check_only +class SnapshotRecycleBinPolicy(typing_extensions.TypedDict, total=False): + rules: dict[str, typing.Any] + +@typing.type_check_only +class SnapshotRecycleBinPolicyRule(typing_extensions.TypedDict, total=False): + standardSnapshots: SnapshotRecycleBinPolicyRuleRuleConfig + +@typing.type_check_only +class SnapshotRecycleBinPolicyRuleRuleConfig(typing_extensions.TypedDict, total=False): + retentionDurationDays: str + @typing.type_check_only class SnapshotResourceStatus(typing_extensions.TypedDict, total=False): scheduledDeletionTime: str @@ -9559,6 +10057,12 @@ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference( ): name: str +@typing.type_check_only +class SnapshotsGetEffectiveRecycleBinRuleResponse( + typing_extensions.TypedDict, total=False +): + retentionDurationDays: str + @typing.type_check_only class SnapshotsScopedList(typing_extensions.TypedDict, total=False): snapshots: _list[Snapshot] @@ -9747,6 +10251,7 @@ class StoragePool(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] name: str + params: StoragePoolParams performanceProvisioningType: typing_extensions.Literal[ "ADVANCED", "STANDARD", "UNSPECIFIED" ] @@ -9819,6 +10324,10 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class StoragePoolParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): aggregateDiskProvisionedIops: str @@ -10383,6 +10892,9 @@ class TargetTcpProxy(typing_extensions.TypedDict, total=False): description: str id: str kind: str + loadBalancingScheme: typing_extensions.Literal[ + "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL_MANAGED" + ] name: str proxyBind: bool proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] @@ -10721,6 +11233,11 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VmExtension(typing_extensions.TypedDict, total=False): + name: str + versions: _list[str] + @typing.type_check_only class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): vmExtensionPolicies: _list[VmExtensionPolicy] @@ -10778,6 +11295,35 @@ class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class VmExtensionState(typing_extensions.TypedDict, total=False): + enforcementMsg: str + enforcementState: typing_extensions.Literal[ + "APPLYING_CONFIG", + "ENFORCEMENT_STATE_UNSPECIFIED", + "INCOMPATIBLE", + "INSTALLED", + "INSTALLING", + "INSTALL_FAILED", + "REMOVING", + "ROLLBACK_FAILED", + "ROLLED_BACK", + "ROLLING_BACK", + "SERVICE_DISABLED", + ] + healthStatus: typing_extensions.Literal[ + "CRASHED", + "HEALTH_STATUS_UNSPECIFIED", + "RUNNING", + "STARTING", + "STOPPED", + "STOPPING", + ] + name: str + policyId: str + unhealthyMsg: str + version: str + @typing.type_check_only class VpnGateway(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -10862,6 +11408,7 @@ class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class VpnTunnel(typing_extensions.TypedDict, total=False): + capacityTier: typing_extensions.Literal["DEFAULT", "HIGH"] cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str @@ -11058,6 +11605,11 @@ class WireProperties(typing_extensions.TypedDict, total=False): faultResponse: typing_extensions.Literal["DISABLE_PORT", "NONE"] networkServiceClass: typing_extensions.Literal["BRONZE", "GOLD"] +@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/beta/resources.pyi b/googleapiclient-stubs/_apis/compute/beta/resources.pyi index 5adc77862..0dc696db4 100644 --- a/googleapiclient-stubs/_apis/compute/beta/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/resources.pyi @@ -981,7 +981,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, @@ -1633,6 +1637,72 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class GlobalVmExtensionPoliciesResource(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, + ) -> VmExtensionPolicyAggregatedListResponseHttpRequest: ... + def aggregatedList_next( + self, + previous_request: VmExtensionPolicyAggregatedListResponseHttpRequest, + previous_response: VmExtensionPolicyAggregatedListResponse, + ) -> VmExtensionPolicyAggregatedListResponseHttpRequest | None: ... + def delete( + self, + *, + project: str, + globalVmExtensionPolicy: str, + body: GlobalVmExtensionPolicyRolloutOperationRolloutInput = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, globalVmExtensionPolicy: str, **kwargs: typing.Any + ) -> GlobalVmExtensionPolicyHttpRequest: ... + def insert( + self, + *, + project: str, + body: GlobalVmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> GlobalVmExtensionPolicyListHttpRequest: ... + def list_next( + self, + previous_request: GlobalVmExtensionPolicyListHttpRequest, + previous_response: GlobalVmExtensionPolicyList, + ) -> GlobalVmExtensionPolicyListHttpRequest | None: ... + def update( + self, + *, + project: str, + globalVmExtensionPolicy: str, + body: GlobalVmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class HealthChecksResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -2087,6 +2157,11 @@ class ComputeResource(googleapiclient.discovery.Resource): instanceGroupManager: str, **kwargs: typing.Any, ) -> InstanceGroupManagerHttpRequest: ... + def getAvailableAcceleratorTopologies( + self, *, project: str, zone: str, resourceId: str, **kwargs: typing.Any + ) -> ( + InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseHttpRequest + ): ... def insert( self, *, @@ -3107,6 +3182,80 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class InstantSnapshotGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + zone: str, + instantSnapshotGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + zone: str, + instantSnapshotGroup: str, + **kwargs: typing.Any, + ) -> InstantSnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + zone: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + zone: str, + body: InstantSnapshotGroup = ..., + requestId: str = ..., + sourceConsistencyGroup: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ListInstantSnapshotGroupsHttpRequest: ... + def list_next( + self, + previous_request: ListInstantSnapshotGroupsHttpRequest, + previous_response: ListInstantSnapshotGroups, + ) -> ListInstantSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + zone: str, + resource: str, + body: ZoneSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class InstantSnapshotsResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -4281,6 +4430,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def cancelRequestRemovePeering( + self, + *, + project: str, + network: str, + body: NetworksCancelRequestRemovePeeringRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def delete( self, *, @@ -6226,6 +6384,16 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def adoptInstances( + self, + *, + project: str, + region: str, + instanceGroupManager: str, + body: RegionInstanceGroupManagersAdoptInstancesRequest = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def applyUpdatesToInstances( self, *, @@ -6636,6 +6804,80 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class RegionInstantSnapshotGroupsResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + region: str, + instantSnapshotGroup: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + region: str, + instantSnapshotGroup: str, + **kwargs: typing.Any, + ) -> InstantSnapshotGroupHttpRequest: ... + def getIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + optionsRequestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def insert( + self, + *, + project: str, + region: str, + body: InstantSnapshotGroup = ..., + requestId: str = ..., + sourceConsistencyGroup: 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, + ) -> ListInstantSnapshotGroupsHttpRequest: ... + def list_next( + self, + previous_request: ListInstantSnapshotGroupsHttpRequest, + previous_response: ListInstantSnapshotGroups, + ) -> ListInstantSnapshotGroupsHttpRequest | None: ... + def setIamPolicy( + self, + *, + project: str, + region: str, + resource: str, + body: RegionSetPolicyRequest = ..., + **kwargs: typing.Any, + ) -> PolicyHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only class RegionInstantSnapshotsResource(googleapiclient.discovery.Resource): def delete( @@ -6719,6 +6961,36 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RegionMultiMigMembersResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + region: str, + multiMig: str, + multiMigMember: str, + **kwargs: typing.Any, + ) -> MultiMigMemberHttpRequest: ... + def list( + self, + *, + project: str, + region: str, + multiMig: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> MultiMigMemberListHttpRequest: ... + def list_next( + self, + previous_request: MultiMigMemberListHttpRequest, + previous_response: MultiMigMemberList, + ) -> MultiMigMemberListHttpRequest | None: ... + @typing.type_check_only class RegionMultiMigsResource(googleapiclient.discovery.Resource): def delete( @@ -7978,6 +8250,47 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class ReservationSlotsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + **kwargs: typing.Any, + ) -> ReservationSlotsGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSlotsListResponseHttpRequest: ... + def list_next( + self, + 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): def get( @@ -7987,6 +8300,11 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, parentName: str, reservationSubBlock: str, + view: typing_extensions.Literal[ + "SUB_BLOCK_VIEW_BASIC", + "SUB_BLOCK_VIEW_FULL", + "SUB_BLOCK_VIEW_UNSPECIFIED", + ] = ..., **kwargs: typing.Any, ) -> ReservationSubBlocksGetResponseHttpRequest: ... def getIamPolicy( @@ -8279,6 +8597,83 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class RolloutPlansResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + rolloutPlan: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rolloutPlan: str, **kwargs: typing.Any + ) -> RolloutPlanHttpRequest: ... + def insert( + self, + *, + project: str, + body: RolloutPlan = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutPlansListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutPlansListResponseHttpRequest, + previous_response: RolloutPlansListResponse, + ) -> RolloutPlansListResponseHttpRequest | None: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + rollback: bool = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + project: str, + rollout: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, project: str, rollout: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + project: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> RolloutsListResponseHttpRequest: ... + def list_next( + self, + previous_request: RolloutsListResponseHttpRequest, + previous_response: RolloutsListResponse, + ) -> RolloutsListResponseHttpRequest | None: ... + @typing.type_check_only class RoutersResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -9185,6 +9580,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str = ..., returnPartialSuccess: bool = ..., serviceProjectNumber: str = ..., + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... def aggregatedList_next( @@ -10386,6 +10783,62 @@ class ComputeResource(googleapiclient.discovery.Resource): self, *, project: str, zone: str, operation: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... + @typing.type_check_only + class ZoneVmExtensionPoliciesResource(googleapiclient.discovery.Resource): + def delete( + self, + *, + project: str, + zone: str, + vmExtensionPolicy: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, + *, + project: str, + zone: str, + vmExtensionPolicy: str, + **kwargs: typing.Any, + ) -> VmExtensionPolicyHttpRequest: ... + def insert( + self, + *, + project: str, + zone: str, + body: VmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> VmExtensionPolicyListHttpRequest: ... + def list_next( + self, + previous_request: VmExtensionPolicyListHttpRequest, + previous_response: VmExtensionPolicyList, + ) -> VmExtensionPolicyListHttpRequest | None: ... + def update( + self, + *, + project: str, + zone: str, + vmExtensionPolicy: str, + body: VmExtensionPolicy = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class ZonesResource(googleapiclient.discovery.Resource): def get( @@ -10441,6 +10894,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def globalPublicDelegatedPrefixes( self, ) -> GlobalPublicDelegatedPrefixesResource: ... + def globalVmExtensionPolicies(self) -> GlobalVmExtensionPoliciesResource: ... def healthChecks(self) -> HealthChecksResource: ... def httpHealthChecks(self) -> HttpHealthChecksResource: ... def httpsHealthChecks(self) -> HttpsHealthChecksResource: ... @@ -10454,6 +10908,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def instanceSettings(self) -> InstanceSettingsResource: ... def instanceTemplates(self) -> InstanceTemplatesResource: ... def instances(self) -> InstancesResource: ... + def instantSnapshotGroups(self) -> InstantSnapshotGroupsResource: ... def instantSnapshots(self) -> InstantSnapshotsResource: ... def interconnectAttachmentGroups(self) -> InterconnectAttachmentGroupsResource: ... def interconnectAttachments(self) -> InterconnectAttachmentsResource: ... @@ -10501,7 +10956,9 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionInstanceGroups(self) -> RegionInstanceGroupsResource: ... def regionInstanceTemplates(self) -> RegionInstanceTemplatesResource: ... def regionInstances(self) -> RegionInstancesResource: ... + def regionInstantSnapshotGroups(self) -> RegionInstantSnapshotGroupsResource: ... def regionInstantSnapshots(self) -> RegionInstantSnapshotsResource: ... + def regionMultiMigMembers(self) -> RegionMultiMigMembersResource: ... def regionMultiMigs(self) -> RegionMultiMigsResource: ... def regionNetworkEndpointGroups(self) -> RegionNetworkEndpointGroupsResource: ... def regionNetworkFirewallPolicies( @@ -10522,9 +10979,12 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSlots(self) -> ReservationSlotsResource: ... def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... + def rolloutPlans(self) -> RolloutPlansResource: ... + def rollouts(self) -> RolloutsResource: ... def routers(self) -> RoutersResource: ... def routes(self) -> RoutesResource: ... def securityPolicies(self) -> SecurityPoliciesResource: ... @@ -10549,6 +11009,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def vpnTunnels(self) -> VpnTunnelsResource: ... def wireGroups(self) -> WireGroupsResource: ... def zoneOperations(self) -> ZoneOperationsResource: ... + def zoneVmExtensionPolicies(self) -> ZoneVmExtensionPoliciesResource: ... def zones(self) -> ZonesResource: ... @typing.type_check_only @@ -10965,6 +11426,22 @@ class FutureReservationsListResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> FutureReservationsListResponse: ... +@typing.type_check_only +class GlobalVmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalVmExtensionPolicy: ... + +@typing.type_check_only +class GlobalVmExtensionPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GlobalVmExtensionPolicyList: ... + @typing.type_check_only class GuestAttributesHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11201,6 +11678,16 @@ class InstanceGroupManagerResizeRequestsListResponseHttpRequest( num_retries: int = 0, ) -> InstanceGroupManagerResizeRequestsListResponse: ... +@typing.type_check_only +class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse: ... + @typing.type_check_only class InstanceGroupManagersListErrorsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -11313,6 +11800,14 @@ class InstantSnapshotAggregatedListHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> InstantSnapshotAggregatedList: ... +@typing.type_check_only +class InstantSnapshotGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstantSnapshotGroup: ... + @typing.type_check_only class InstantSnapshotListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11487,6 +11982,14 @@ class LicensesListResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LicensesListResponse: ... +@typing.type_check_only +class ListInstantSnapshotGroupsHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInstantSnapshotGroups: ... + @typing.type_check_only class MachineImageHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -11535,6 +12038,22 @@ class MultiMigHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> MultiMig: ... +@typing.type_check_only +class MultiMigMemberHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MultiMigMember: ... + +@typing.type_check_only +class MultiMigMemberListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> MultiMigMemberList: ... + @typing.type_check_only class MultiMigsListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12107,6 +12626,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSlotsGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsGetResponse: ... + +@typing.type_check_only +class ReservationSlotsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsListResponse: ... + @typing.type_check_only class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12147,6 +12682,38 @@ class ResourcePolicyListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ResourcePolicyList: ... +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutPlanHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlan: ... + +@typing.type_check_only +class RolloutPlansListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutPlansListResponse: ... + +@typing.type_check_only +class RolloutsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutsListResponse: ... + @typing.type_check_only class RouteHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -12743,6 +13310,32 @@ class VmEndpointNatMappingsListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> VmEndpointNatMappingsList: ... +@typing.type_check_only +class VmExtensionPolicyHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtensionPolicy: ... + +@typing.type_check_only +class VmExtensionPolicyAggregatedListResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtensionPolicyAggregatedListResponse: ... + +@typing.type_check_only +class VmExtensionPolicyListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> VmExtensionPolicyList: ... + @typing.type_check_only class VpnGatewayHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi index 9f084cb4e..dca81b2ba 100644 --- a/googleapiclient-stubs/_apis/compute/beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/beta/schemas.pyi @@ -16,6 +16,28 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): acceleratorCount: int acceleratorType: str +@typing.type_check_only +class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): + acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] + +@typing.type_check_only +class AcceleratorTopologiesInfoAcceleratorTopologyInfo( + typing_extensions.TypedDict, total=False +): + acceleratorTopology: str + infoPerTopologyStates: _list[ + AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState + ] + +@typing.type_check_only +class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( + typing_extensions.TypedDict, total=False +): + count: int + state: typing_extensions.Literal[ + "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" + ] + @typing.type_check_only class AcceleratorType(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -468,6 +490,7 @@ class BackendBucket(typing_extensions.TypedDict, total=False): ] name: str params: BackendBucketParams + region: str selfLink: str usedBy: _list[BackendBucketUsedBy] @@ -845,6 +868,7 @@ class BackendServiceReference(typing_extensions.TypedDict, total=False): @typing.type_check_only class BackendServiceTlsSettings(typing_extensions.TypedDict, total=False): authenticationConfig: str + identity: str sni: str subjectAltNames: _list[BackendServiceTlsSettingsSubjectAltName] @@ -966,11 +990,13 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): + instantSnapshotGroupParameters: InstantSnapshotGroupParameters sourceConsistencyGroupPolicy: str @typing.type_check_only class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): count: str + instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties locationPolicy: LocationPolicy minCount: str @@ -1092,15 +1118,24 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", "GENERAL_PURPOSE_N4", + "GENERAL_PURPOSE_N4A", + "GENERAL_PURPOSE_N4D", "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", + "GRAPHICS_OPTIMIZED_G4", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", "MEMORY_OPTIMIZED_M4_6TB", + "MEMORY_OPTIMIZED_X4_1440_24T", "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_1920_32T", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", + "MEMORY_OPTIMIZED_X4_480_6T", + "MEMORY_OPTIMIZED_X4_480_8T", + "MEMORY_OPTIMIZED_X4_960_12T", + "MEMORY_OPTIMIZED_X4_960_16T", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED", ] @@ -1154,6 +1189,7 @@ class CompositeHealthCheckAggregatedList(typing_extensions.TypedDict, total=Fals kind: str nextPageToken: str selfLink: str + unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -1539,6 +1575,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" ] @@ -1560,6 +1597,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 @@ -1632,7 +1673,9 @@ class FirewallPolicy(typing_extensions.TypedDict, total=False): packetMirroringRules: _list[FirewallPolicyRule] parent: str policySource: typing_extensions.Literal["SYSTEM", "USER_DEFINED"] - policyType: typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + policyType: typing_extensions.Literal[ + "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + ] region: str ruleTupleCount: int rules: _list[FirewallPolicyRule] @@ -1682,6 +1725,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] + destNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -1694,6 +1740,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] + srcNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] srcNetworkScope: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -1739,7 +1788,6 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): allPorts: bool allowGlobalAccess: bool allowPscGlobalAccess: bool - allowPscPacketInjection: bool backendService: str baseForwardingRule: str creationTimestamp: str @@ -2121,6 +2169,89 @@ class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): etag: str policy: Policy +@typing.type_check_only +class GlobalVmExtensionPolicy(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + extensionPolicies: dict[str, typing.Any] + id: str + instanceSelectors: _list[GlobalVmExtensionPolicyInstanceSelector] + kind: str + name: str + priority: int + rolloutOperation: GlobalVmExtensionPolicyRolloutOperation + scopedResourceStatus: typing_extensions.Literal[ + "SCOPED_RESOURCE_STATUS_DELETING", "SCOPED_RESOURCE_STATUS_UNSPECIFIED" + ] + selfLink: str + selfLinkWithId: str + updateTimestamp: str + +@typing.type_check_only +class GlobalVmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): + pinnedVersion: str + stringConfig: str + +@typing.type_check_only +class GlobalVmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): + labelSelector: GlobalVmExtensionPolicyLabelSelector + +@typing.type_check_only +class GlobalVmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): + inclusionLabels: dict[str, typing.Any] + +@typing.type_check_only +class GlobalVmExtensionPolicyList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[GlobalVmExtensionPolicy] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperation(typing_extensions.TypedDict, total=False): + rolloutInput: GlobalVmExtensionPolicyRolloutOperationRolloutInput + rolloutStatus: GlobalVmExtensionPolicyRolloutOperationRolloutStatus + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutInput( + typing_extensions.TypedDict, total=False +): + conflictBehavior: str + name: str + predefinedRolloutPlan: typing_extensions.Literal[ + "FAST_ROLLOUT", "ROLLOUT_PLAN_UNSPECIFIED", "SLOW_ROLLOUT" + ] + retryUuid: str + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutStatus( + typing_extensions.TypedDict, total=False +): + currentRollouts: _list[ + GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata + ] + previousRollout: GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata + +@typing.type_check_only +class GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadata( + typing_extensions.TypedDict, total=False +): + rollout: str + rolloutPlan: str + state: typing_extensions.Literal[ + "STATE_CANCELLED", + "STATE_COMPLETED", + "STATE_FAILED", + "STATE_PAUSED", + "STATE_PROCESSING", + "STATE_UNKNOWN", + "STATE_UNSPECIFIED", + ] + @typing.type_check_only class GroupMaintenanceInfo(typing_extensions.TypedDict, total=False): instanceMaintenanceOngoingCount: int @@ -2359,6 +2490,7 @@ class HealthSourceAggregatedList(typing_extensions.TypedDict, total=False): kind: str nextPageToken: str selfLink: str + unreachables: _list[str] warning: dict[str, typing.Any] @typing.type_check_only @@ -2741,6 +2873,18 @@ class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): memoryMb: int minNodeCpus: int +@typing.type_check_only +class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): + instanceSelections: dict[str, typing.Any] + +@typing.type_check_only +class InstanceFlexibilityPolicyInstanceSelection( + typing_extensions.TypedDict, total=False +): + disks: _list[AttachedDisk] + machineTypes: _list[str] + rank: str + @typing.type_check_only class InstanceGroup(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -2819,6 +2963,7 @@ class InstanceGroupManager(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstanceGroupManagerActionsSummary(typing_extensions.TypedDict, total=False): abandoning: int + adopting: int creating: int creatingWithoutRetries: int deleting: int @@ -2864,7 +3009,9 @@ class InstanceGroupManagerInstanceFlexibilityPolicy( class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineTypes: _list[str] + minCpuPlatform: str rank: int @typing.type_check_only @@ -3066,6 +3213,21 @@ class InstanceGroupManagersDeletePerInstanceConfigsReq( ): names: _list[str] +@typing.type_check_only +class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponse( + typing_extensions.TypedDict, total=False +): + acceleratorTopologiesInfo: dict[str, typing.Any] + +@typing.type_check_only +class InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyInfo( + typing_extensions.TypedDict, total=False +): + acceleratorTopology: str + acceleratorTopologyHealth: typing_extensions.Literal[ + "DEGRADED", "HEALTHY", "UNHEALTHY" + ] + @typing.type_check_only class InstanceGroupManagersListErrorsResponse(typing_extensions.TypedDict, total=False): items: _list[InstanceManagedByIgmError] @@ -3222,6 +3384,7 @@ class InstanceManagedByIgmErrorInstanceActionDetails( ): action: typing_extensions.Literal[ "ABANDONING", + "ADOPTING", "CREATING", "CREATING_WITHOUT_RETRIES", "DELETING", @@ -3428,6 +3591,7 @@ class InstancesReportHostAsFaultyRequestFaultReason( ): behavior: typing_extensions.Literal[ "BEHAVIOR_UNSPECIFIED", + "CHIP_ERROR", "PERFORMANCE", "SILENT_DATA_CORRUPTION", "UNRECOVERABLE_GPU_ERROR", @@ -3501,6 +3665,8 @@ class InstantSnapshot(typing_extensions.TypedDict, total=False): selfLinkWithId: str sourceDisk: str sourceDiskId: str + sourceInstantSnapshotGroup: str + sourceInstantSnapshotGroupId: str status: typing_extensions.Literal[ "CREATING", "DELETING", "FAILED", "READY", "UNAVAILABLE" ] @@ -3516,6 +3682,37 @@ class InstantSnapshotAggregatedList(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class InstantSnapshotGroup(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + name: str + region: str + resourceStatus: InstantSnapshotGroupResourceStatus + selfLink: str + selfLinkWithId: str + sourceConsistencyGroup: str + status: typing_extensions.Literal[ + "CREATING", "DELETING", "FAILED", "INVALID", "READY", "UNKNOWN" + ] + zone: str + +@typing.type_check_only +class InstantSnapshotGroupParameters(typing_extensions.TypedDict, total=False): + sourceInstantSnapshotGroup: str + +@typing.type_check_only +class InstantSnapshotGroupResourceStatus(typing_extensions.TypedDict, total=False): + consistencyMembershipResolutionTime: str + sourceInfo: InstantSnapshotGroupSourceInfo + +@typing.type_check_only +class InstantSnapshotGroupSourceInfo(typing_extensions.TypedDict, total=False): + consistencyGroup: str + consistencyGroupId: str + @typing.type_check_only class InstantSnapshotList(typing_extensions.TypedDict, total=False): id: str @@ -3545,7 +3742,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -3577,7 +3776,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] requestedLinkCount: int satisfiesPzs: bool @@ -3632,6 +3833,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "BPS_20G", "BPS_2G", "BPS_300M", + "BPS_400G", "BPS_400M", "BPS_500M", "BPS_50G", @@ -3663,6 +3865,7 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): interconnect: str ipsecInternalAddresses: _list[str] kind: str + l2Forwarding: InterconnectAttachmentL2Forwarding labelFingerprint: str labels: dict[str, typing.Any] mtu: int @@ -3689,7 +3892,9 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "UNPROVISIONED", ] subnetLength: int - type: typing_extensions.Literal["DEDICATED", "PARTNER", "PARTNER_PROVIDER"] + type: typing_extensions.Literal[ + "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" + ] vlanTag8021q: int @typing.type_check_only @@ -3877,6 +4082,37 @@ class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( "UNPROVISIONED", ] +@typing.type_check_only +class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): + applianceMappings: dict[str, typing.Any] + defaultApplianceIpAddress: str + geneveHeader: InterconnectAttachmentL2ForwardingGeneveHeader + network: str + tunnelEndpointIpAddress: str + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingApplianceMapping( + typing_extensions.TypedDict, total=False +): + applianceIpAddress: str + innerVlanToApplianceMappings: _list[ + InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping + ] + name: str + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping( + typing_extensions.TypedDict, total=False +): + innerApplianceIpAddress: str + innerVlanTags: _list[str] + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingGeneveHeader( + typing_extensions.TypedDict, total=False +): + vni: int + @typing.type_check_only class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): id: str @@ -4066,7 +4302,9 @@ class InterconnectGroupsCreateMembersInterconnectInput( nocContactEmail: str remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] requestedLinkCount: int @@ -4125,7 +4363,9 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] availableLinkTypes: _list[ typing_extensions.Literal[ @@ -4180,6 +4420,7 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): @typing.type_check_only class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): expectedRttMs: str + l2ForwardingEnabled: bool locationPresence: typing_extensions.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] @@ -4307,6 +4548,7 @@ class License(typing_extensions.TypedDict, total=False): multiTenantOnly: bool name: str osLicense: bool + params: LicenseParams removableFromDisk: bool requiredCoattachedLicenses: _list[str] resourceRequirements: LicenseResourceRequirements @@ -4335,6 +4577,10 @@ class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): description: str selfLink: str +@typing.type_check_only +class LicenseParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): amount: str @@ -4354,6 +4600,17 @@ class LicensesListResponse(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ListInstantSnapshotGroups(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[InstantSnapshotGroup] + 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 @@ -4391,6 +4648,7 @@ class MachineImage(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] machineImageEncryptionKey: CustomerEncryptionKey name: str + params: MachineImageParams satisfiesPzi: bool satisfiesPzs: bool savedDisks: _list[SavedDisk] @@ -4413,6 +4671,10 @@ class MachineImageList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class MachineImageParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] @@ -4463,6 +4725,7 @@ class ManagedInstance(typing_extensions.TypedDict, total=False): allInstancesConfig: ManagedInstanceAllInstancesConfig currentAction: typing_extensions.Literal[ "ABANDONING", + "ADOPTING", "CREATING", "CREATING_WITHOUT_RETRIES", "DELETING", @@ -4523,7 +4786,9 @@ class ManagedInstanceLastAttempt(typing_extensions.TypedDict, total=False): class ManagedInstancePropertiesFromFlexibilityPolicy( typing_extensions.TypedDict, total=False ): + disks: _list[AttachedDisk] machineType: str + minCpuPlatform: str provisioningModel: typing_extensions.Literal[ "FLEX_START", "RESERVATION_BOUND", "SPOT", "STANDARD" ] @@ -4565,6 +4830,29 @@ class MultiMig(typing_extensions.TypedDict, total=False): selfLink: str status: MultiMigStatus +@typing.type_check_only +class MultiMigMember(typing_extensions.TypedDict, total=False): + creationTimestamp: str + id: str + kind: str + name: str + region: str + selfLink: str + status: MultiMigMemberStatus + +@typing.type_check_only +class MultiMigMemberList(typing_extensions.TypedDict, total=False): + id: str + items: _list[MultiMigMember] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + +@typing.type_check_only +class MultiMigMemberStatus(typing_extensions.TypedDict, total=False): + instanceGroupManager: str + @typing.type_check_only class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): workloadPolicy: str @@ -4572,6 +4860,7 @@ class MultiMigResourcePolicies(typing_extensions.TypedDict, total=False): @typing.type_check_only class MultiMigStatus(typing_extensions.TypedDict, total=False): appliedAcceleratorTopologies: _list[MultiMigStatusAcceleratorTopology] + membersCount: int @typing.type_check_only class MultiMigStatusAcceleratorTopology(typing_extensions.TypedDict, total=False): @@ -4919,6 +5208,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] ipv6Address: str kind: str + macAddress: str name: str network: str networkAttachment: str @@ -4975,7 +5265,9 @@ class NetworkPeeringConnectionStatusConsensusState( deleteStatus: typing_extensions.Literal[ "DELETE_ACKNOWLEDGED", "DELETE_STATUS_UNSPECIFIED", + "LOCAL_CANCEL_REQUESTED", "LOCAL_DELETE_REQUESTED", + "PEER_CANCEL_REQUESTED", "PEER_DELETE_REQUESTED", ] updateStatus: typing_extensions.Literal[ @@ -5117,6 +5409,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] + allowAddressCreation: typing_extensions.Literal[ + "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" + ] allowAliasIpRanges: typing_extensions.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] @@ -5151,6 +5446,10 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" + ] + allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] allowNetworkMigration: typing_extensions.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" @@ -5171,18 +5470,31 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowSubInterfaces: typing_extensions.Literal[ "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" ] + allowSubnetworkCreation: typing_extensions.Literal[ + "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" + ] + allowVpcFirewallRules: typing_extensions.Literal[ + "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" + ] allowVpcPeering: typing_extensions.Literal[ "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" ] allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] firewallPolicyTypes: _list[ - typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + typing_extensions.Literal[ + "RDMA_FALCON_POLICY", "RDMA_ROCE_POLICY", "ULL_POLICY", "VPC_POLICY" + ] ] interfaceTypes: _list[ typing_extensions.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] + multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + predefinedNetworkInternalIpv6Range: str + predefinedSubnetworkRanges: _list[ + NetworkProfileNetworkFeaturesPredefinedSubnetworkRange + ] subnetPurposes: _list[ typing_extensions.Literal[ "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" @@ -5212,10 +5524,17 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] +@typing.type_check_only +class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( + typing_extensions.TypedDict, total=False +): + ipv6Range: str + namePrefix: str + @typing.type_check_only class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] - rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE"] + rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE", "ROCE_METAL"] ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] vpcSubtype: typing_extensions.Literal["REGIONAL"] @@ -5246,6 +5565,12 @@ class NetworksAddPeeringRequest(typing_extensions.TypedDict, total=False): networkPeering: NetworkPeering peerNetwork: str +@typing.type_check_only +class NetworksCancelRequestRemovePeeringRequest( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class NetworksGetEffectiveFirewallsResponse(typing_extensions.TypedDict, total=False): firewallPolicys: _list[NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy] @@ -6299,6 +6624,12 @@ class RegionInstanceGroupManagersAbandonInstancesRequest( ): instances: _list[str] +@typing.type_check_only +class RegionInstanceGroupManagersAdoptInstancesRequest( + typing_extensions.TypedDict, total=False +): + instances: _list[PerInstanceConfig] + @typing.type_check_only class RegionInstanceGroupManagersApplyUpdatesRequest( typing_extensions.TypedDict, total=False @@ -6640,8 +6971,51 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSlot(typing_extensions.TypedDict, total=False): + creationTimestamp: str + id: str + kind: str + name: str + physicalTopology: ReservationSlotPhysicalTopology + selfLink: str + selfLinkWithId: str + shareSettings: ShareSettings + state: typing_extensions.Literal[ + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED" + ] + status: ReservationSlotStatus + zone: str + +@typing.type_check_only +class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + host: str + subBlock: str + +@typing.type_check_only +class ReservationSlotStatus(typing_extensions.TypedDict, total=False): + physicalTopology: ReservationSlotPhysicalTopology + rdmaIpAddresses: _list[str] + runningInstances: _list[str] + +@typing.type_check_only +class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSlot + +@typing.type_check_only +class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSlot] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class ReservationSubBlock(typing_extensions.TypedDict, total=False): + acceleratorTopologiesInfo: AcceleratorTopologiesInfo count: int creationTimestamp: str healthInfo: ReservationSubBlockHealthInfo @@ -6701,7 +7075,11 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( typing_extensions.TypedDict, total=False ): behavior: typing_extensions.Literal[ - "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + "FAULT_BEHAVIOR_UNSPECIFIED", + "GPU_ERROR", + "PERFORMANCE", + "SILENT_DATA_CORRUPTION", + "SWITCH_FAILURE", ] description: str @@ -6788,6 +7166,7 @@ class ResourcePolicyDiskConsistencyGroupPolicy( @typing.type_check_only class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] gpuTopology: str @@ -6944,11 +7323,159 @@ class ResourceStatusShutdownDetails(typing_extensions.TypedDict, total=False): stopState: typing_extensions.Literal["PENDING_STOP", "STOPPING"] targetState: typing_extensions.Literal["DELETED", "STOPPED"] +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + cancellationTime: str + completionTime: str + creationTimestamp: str + currentWaveNumber: str + description: str + etag: str + id: str + kind: str + name: str + rolloutEntity: RolloutRolloutEntity + rolloutPlan: str + selfLink: str + selfLinkWithId: str + state: typing_extensions.Literal[ + "CANCELLED", + "CANCELLING", + "CANCEL_FAILED", + "COMPLETED", + "COMPLETE_FAILED", + "COMPLETING", + "FAILED", + "PAUSED", + "PAUSE_FAILED", + "PAUSING", + "PROCESSING", + "READY", + "RESUMING", + "ROLLBACK_WAVE_FAILED", + "ROLLING_BACK", + "STATE_UNSPECIFIED", + "UNINITIALIZED", + "WAVE_FAILED", + ] + waveDetails: _list[RolloutWaveDetails] + +@typing.type_check_only +class RolloutPlan(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + id: str + kind: str + locationScope: typing_extensions.Literal[ + "LOCATION_SCOPE_UNSPECIFIED", "REGIONAL", "ZONAL" + ] + name: str + selfLink: str + selfLinkWithId: str + waves: _list[RolloutPlanWave] + +@typing.type_check_only +class RolloutPlanWave(typing_extensions.TypedDict, total=False): + displayName: str + number: str + orchestrationOptions: RolloutPlanWaveOrchestrationOptions + selectors: _list[RolloutPlanWaveSelector] + validation: RolloutPlanWaveValidation + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptions(typing_extensions.TypedDict, total=False): + delays: _list[RolloutPlanWaveOrchestrationOptionsDelay] + maxConcurrentLocations: str + maxConcurrentResourcesPerLocation: str + +@typing.type_check_only +class RolloutPlanWaveOrchestrationOptionsDelay( + typing_extensions.TypedDict, total=False +): + delimiter: typing_extensions.Literal[ + "DELIMITER_BATCH", "DELIMITER_LOCATION", "DELIMITER_UNSPECIFIED" + ] + duration: str + type: typing_extensions.Literal["TYPE_MINIMUM", "TYPE_OFFSET", "TYPE_UNSPECIFIED"] + +@typing.type_check_only +class RolloutPlanWaveSelector(typing_extensions.TypedDict, total=False): + locationSelector: RolloutPlanWaveSelectorLocationSelector + resourceHierarchySelector: RolloutPlanWaveSelectorResourceHierarchySelector + +@typing.type_check_only +class RolloutPlanWaveSelectorLocationSelector(typing_extensions.TypedDict, total=False): + includedLocations: _list[str] + +@typing.type_check_only +class RolloutPlanWaveSelectorResourceHierarchySelector( + typing_extensions.TypedDict, total=False +): + includedFolders: _list[str] + includedOrganizations: _list[str] + includedProjects: _list[str] + +@typing.type_check_only +class RolloutPlanWaveValidation(typing_extensions.TypedDict, total=False): + timeBasedValidationMetadata: RolloutPlanWaveValidationTimeBasedValidationMetadata + type: str + +@typing.type_check_only +class RolloutPlanWaveValidationTimeBasedValidationMetadata( + typing_extensions.TypedDict, total=False +): + waitDuration: str + +@typing.type_check_only +class RolloutPlansListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[RolloutPlan] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class RolloutPolicy(typing_extensions.TypedDict, total=False): defaultRolloutTime: str locationRolloutPolicies: dict[str, typing.Any] +@typing.type_check_only +class RolloutRolloutEntity(typing_extensions.TypedDict, total=False): + orchestratedEntity: RolloutRolloutEntityOrchestratedEntity + +@typing.type_check_only +class RolloutRolloutEntityOrchestratedEntity(typing_extensions.TypedDict, total=False): + conflictBehavior: str + orchestrationAction: str + orchestrationSource: str + +@typing.type_check_only +class RolloutWaveDetails(typing_extensions.TypedDict, total=False): + orchestratedWaveDetails: RolloutWaveDetailsOrchestratedWaveDetails + waveDisplayName: str + waveNumber: str + +@typing.type_check_only +class RolloutWaveDetailsOrchestratedWaveDetails( + typing_extensions.TypedDict, total=False +): + completedResourcesCount: str + estimatedTotalResourcesCount: str + failedLocations: _list[str] + failedResourcesCount: str + +@typing.type_check_only +class RolloutsListResponse(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[Rollout] + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class Route(typing_extensions.TypedDict, total=False): asPaths: _list[RouteAsPath] @@ -7526,6 +8053,8 @@ class SecurityPolicyAssociation(typing_extensions.TypedDict, total=False): @typing.type_check_only class SecurityPolicyDdosProtectionConfig(typing_extensions.TypedDict, total=False): + ddosAdaptiveProtection: typing_extensions.Literal["DISABLED", "ENABLED", "PREVIEW"] + ddosImpactedBaselineThreshold: float ddosProtection: typing_extensions.Literal[ "ADVANCED", "ADVANCED_PREVIEW", "STANDARD" ] @@ -7636,6 +8165,9 @@ class SecurityPolicyRulePreconfiguredWafConfig( class SecurityPolicyRulePreconfiguredWafConfigExclusion( typing_extensions.TypedDict, total=False ): + requestBodiesToExclude: _list[ + SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams + ] requestCookiesToExclude: _list[ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams ] @@ -7873,6 +8405,8 @@ class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): + eccP256EncryptionKey: ShieldedInstanceIdentityEntry + eccP256SigningKey: ShieldedInstanceIdentityEntry encryptionKey: ShieldedInstanceIdentityEntry kind: str signingKey: ShieldedInstanceIdentityEntry @@ -8196,11 +8730,13 @@ class StoragePool(typing_extensions.TypedDict, total=False): ] creationTimestamp: str description: str + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb id: str kind: str labelFingerprint: str labels: dict[str, typing.Any] name: str + params: StoragePoolParams performanceProvisioningType: typing_extensions.Literal[ "ADVANCED", "STANDARD", "UNSPECIFIED" ] @@ -8242,6 +8778,12 @@ class StoragePoolDisk(typing_extensions.TypedDict, total=False): type: str usedBytes: str +@typing.type_check_only +class StoragePoolExapoolProvisionedCapacityGb(typing_extensions.TypedDict, total=False): + capacityOptimized: str + readOptimized: str + writeOptimized: str + @typing.type_check_only class StoragePoolList(typing_extensions.TypedDict, total=False): etag: str @@ -8264,9 +8806,17 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class StoragePoolParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): diskCount: str + exapoolMaxReadIops: str + exapoolMaxReadThroughput: str + exapoolMaxWriteIops: str + exapoolMaxWriteThroughput: str lastResizeTimestamp: str maxTotalProvisionedDiskCapacityGb: str poolUsedCapacityBytes: str @@ -8796,6 +9346,9 @@ class TargetTcpProxy(typing_extensions.TypedDict, total=False): description: str id: str kind: str + loadBalancingScheme: typing_extensions.Literal[ + "EXTERNAL", "EXTERNAL_MANAGED", "INTERNAL_MANAGED" + ] name: str proxyBind: bool proxyHeader: typing_extensions.Literal["NONE", "PROXY_V1"] @@ -8833,6 +9386,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"] @@ -8857,6 +9411,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] @@ -8906,6 +9464,7 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "FAILURE_NETWORK", "FAILURE_NVLINK", "FAILURE_REDUNDANT_HARDWARE_FAULT", + "FAILURE_TPU", "INFRASTRUCTURE_RELOCATION", "MAINTENANCE_REASON_UNKNOWN", "PLANNED_NETWORK_UPDATE", @@ -9086,6 +9645,63 @@ class VmEndpointNatMappingsList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class VmExtensionPoliciesScopedList(typing_extensions.TypedDict, total=False): + vmExtensionPolicies: _list[VmExtensionPolicy] + warning: dict[str, typing.Any] + +@typing.type_check_only +class VmExtensionPolicy(typing_extensions.TypedDict, total=False): + creationTimestamp: str + description: str + extensionPolicies: dict[str, typing.Any] + globalResourceLink: str + id: str + instanceSelectors: _list[VmExtensionPolicyInstanceSelector] + kind: str + managedByGlobal: bool + name: str + priority: int + selfLink: str + selfLinkWithId: str + state: typing_extensions.Literal["ACTIVE", "DELETING", "STATE_UNSPECIFIED"] + updateTimestamp: str + +@typing.type_check_only +class VmExtensionPolicyAggregatedListResponse(typing_extensions.TypedDict, total=False): + etag: str + 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 VmExtensionPolicyExtensionPolicy(typing_extensions.TypedDict, total=False): + pinnedVersion: str + stringConfig: str + +@typing.type_check_only +class VmExtensionPolicyInstanceSelector(typing_extensions.TypedDict, total=False): + labelSelector: VmExtensionPolicyLabelSelector + +@typing.type_check_only +class VmExtensionPolicyLabelSelector(typing_extensions.TypedDict, total=False): + inclusionLabels: dict[str, typing.Any] + +@typing.type_check_only +class VmExtensionPolicyList(typing_extensions.TypedDict, total=False): + etag: str + id: str + items: _list[VmExtensionPolicy] + kind: str + nextPageToken: str + selfLink: str + unreachables: _list[str] + warning: dict[str, typing.Any] + @typing.type_check_only class VpnGateway(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -9097,6 +9713,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"] @@ -9121,6 +9738,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] @@ -9165,6 +9786,7 @@ class VpnGatewaysScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class VpnTunnel(typing_extensions.TypedDict, total=False): + capacityTier: typing_extensions.Literal["DEFAULT", "HIGH"] cipherSuite: VpnTunnelCipherSuite creationTimestamp: str description: str @@ -9176,6 +9798,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 @@ -9229,6 +9852,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] diff --git a/googleapiclient-stubs/_apis/compute/v1/resources.pyi b/googleapiclient-stubs/_apis/compute/v1/resources.pyi index 3e40d0324..fde8e9b3f 100644 --- a/googleapiclient-stubs/_apis/compute/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/resources.pyi @@ -142,6 +142,17 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class AdviceResource(googleapiclient.discovery.Resource): + def calendarMode( + self, + *, + project: str, + region: str, + body: CalendarModeAdviceRequest = ..., + **kwargs: typing.Any, + ) -> CalendarModeAdviceResponseHttpRequest: ... + @typing.type_check_only class AutoscalersResource(googleapiclient.discovery.Resource): def aggregatedList( @@ -210,6 +221,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + zone: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -1004,6 +1024,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -1574,6 +1602,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -1630,6 +1666,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -1686,6 +1730,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -4954,6 +5006,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -5400,6 +5461,15 @@ class ComputeResource(googleapiclient.discovery.Resource): 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 RegionHealthChecksResource(googleapiclient.discovery.Resource): @@ -5451,6 +5521,15 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -6219,6 +6298,15 @@ class ComputeResource(googleapiclient.discovery.Resource): previous_request: NotificationEndpointListHttpRequest, previous_response: NotificationEndpointList, ) -> NotificationEndpointListHttpRequest | None: ... + def testIamPermissions( + self, + *, + project: str, + region: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class RegionOperationsResource(googleapiclient.discovery.Resource): @@ -6824,6 +6912,47 @@ class ComputeResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestPermissionsResponseHttpRequest: ... + @typing.type_check_only + class ReservationSlotsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + project: str, + zone: str, + parentName: str, + reservationSlot: str, + **kwargs: typing.Any, + ) -> ReservationSlotsGetResponseHttpRequest: ... + def list( + self, + *, + project: str, + zone: str, + parentName: str, + filter: str = ..., + maxResults: int = ..., + orderBy: str = ..., + pageToken: str = ..., + returnPartialSuccess: bool = ..., + **kwargs: typing.Any, + ) -> ReservationSlotsListResponseHttpRequest: ... + def list_next( + self, + 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): def get( @@ -6833,6 +6962,11 @@ class ComputeResource(googleapiclient.discovery.Resource): zone: str, parentName: str, reservationSubBlock: str, + view: typing_extensions.Literal[ + "SUB_BLOCK_VIEW_BASIC", + "SUB_BLOCK_VIEW_FULL", + "SUB_BLOCK_VIEW_UNSPECIFIED", + ] = ..., **kwargs: typing.Any, ) -> ReservationSubBlocksGetResponseHttpRequest: ... def getIamPolicy( @@ -7361,6 +7495,14 @@ class ComputeResource(googleapiclient.discovery.Resource): def list_next( self, previous_request: RouteListHttpRequest, previous_response: RouteList ) -> RouteListHttpRequest | None: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class SecurityPoliciesResource(googleapiclient.discovery.Resource): @@ -7972,6 +8114,8 @@ class ComputeResource(googleapiclient.discovery.Resource): pageToken: str = ..., returnPartialSuccess: bool = ..., serviceProjectNumber: str = ..., + views: typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"] + | _list[typing_extensions.Literal["DEFAULT", "WITH_UTILIZATION"]] = ..., **kwargs: typing.Any, ) -> SubnetworkAggregatedListHttpRequest: ... def aggregatedList_next( @@ -8631,6 +8775,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class TargetTcpProxiesResource(googleapiclient.discovery.Resource): @@ -8705,6 +8857,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... @typing.type_check_only class TargetVpnGatewaysResource(googleapiclient.discovery.Resource): @@ -8851,6 +9011,14 @@ class ComputeResource(googleapiclient.discovery.Resource): requestId: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def testIamPermissions( + self, + *, + project: str, + resource: str, + body: TestPermissionsRequest = ..., + **kwargs: typing.Any, + ) -> TestPermissionsResponseHttpRequest: ... def update( self, *, @@ -9141,6 +9309,7 @@ class ComputeResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def acceleratorTypes(self) -> AcceleratorTypesResource: ... def addresses(self) -> AddressesResource: ... + def advice(self) -> AdviceResource: ... def autoscalers(self) -> AutoscalersResource: ... def backendBuckets(self) -> BackendBucketsResource: ... def backendServices(self) -> BackendServicesResource: ... @@ -9227,6 +9396,7 @@ class ComputeResource(googleapiclient.discovery.Resource): def regionZones(self) -> RegionZonesResource: ... def regions(self) -> RegionsResource: ... def reservationBlocks(self) -> ReservationBlocksResource: ... + def reservationSlots(self) -> ReservationSlotsResource: ... def reservationSubBlocks(self) -> ReservationSubBlocksResource: ... def reservations(self) -> ReservationsResource: ... def resourcePolicies(self) -> ResourcePoliciesResource: ... @@ -9384,6 +9554,14 @@ class BackendServiceListUsableHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> BackendServiceListUsable: ... +@typing.type_check_only +class CalendarModeAdviceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> CalendarModeAdviceResponse: ... + @typing.type_check_only class CommitmentHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -10620,6 +10798,22 @@ class ReservationListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReservationList: ... +@typing.type_check_only +class ReservationSlotsGetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsGetResponse: ... + +@typing.type_check_only +class ReservationSlotsListResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReservationSlotsListResponse: ... + @typing.type_check_only class ReservationSubBlocksGetResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi index efbe6efd2..04fc557ce 100644 --- a/googleapiclient-stubs/_apis/compute/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/compute/v1/schemas.pyi @@ -16,6 +16,28 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): acceleratorCount: int acceleratorType: str +@typing.type_check_only +class AcceleratorTopologiesInfo(typing_extensions.TypedDict, total=False): + acceleratorTopologyInfos: _list[AcceleratorTopologiesInfoAcceleratorTopologyInfo] + +@typing.type_check_only +class AcceleratorTopologiesInfoAcceleratorTopologyInfo( + typing_extensions.TypedDict, total=False +): + acceleratorTopology: str + infoPerTopologyStates: _list[ + AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState + ] + +@typing.type_check_only +class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState( + typing_extensions.TypedDict, total=False +): + count: int + state: typing_extensions.Literal[ + "AVAILABLE", "DEGRADED", "RUNNING", "TOPOLOGY_STATE_UNSPECIFIED", "UNHEALTHY" + ] + @typing.type_check_only class AcceleratorType(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -74,6 +96,7 @@ class Address(typing_extensions.TypedDict, total=False): creationTimestamp: str description: str id: str + ipCollection: str ipVersion: typing_extensions.Literal["IPV4", "IPV6", "UNSPECIFIED_VERSION"] ipv6EndpointType: typing_extensions.Literal["NETLB", "VM"] kind: str @@ -565,6 +588,7 @@ class BackendService(typing_extensions.TypedDict, total=False): metadatas: dict[str, typing.Any] name: str network: str + networkPassThroughLbTrafficPolicy: BackendServiceNetworkPassThroughLbTrafficPolicy outlierDetection: OutlierDetection params: BackendServiceParams port: int @@ -755,6 +779,23 @@ class BackendServiceLogConfig(typing_extensions.TypedDict, total=False): ] sampleRate: float +@typing.type_check_only +class BackendServiceNetworkPassThroughLbTrafficPolicy( + typing_extensions.TypedDict, total=False +): + zonalAffinity: BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity + +@typing.type_check_only +class BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity( + typing_extensions.TypedDict, total=False +): + spillover: typing_extensions.Literal[ + "ZONAL_AFFINITY_DISABLED", + "ZONAL_AFFINITY_SPILL_CROSS_ZONE", + "ZONAL_AFFINITY_STAY_WITHIN_ZONE", + ] + spilloverRatio: float + @typing.type_check_only class BackendServiceParams(typing_extensions.TypedDict, total=False): resourceManagerTags: dict[str, typing.Any] @@ -886,6 +927,7 @@ class BulkInsertDiskResource(typing_extensions.TypedDict, total=False): @typing.type_check_only class BulkInsertInstanceResource(typing_extensions.TypedDict, total=False): count: str + instanceFlexibilityPolicy: InstanceFlexibilityPolicy instanceProperties: InstanceProperties locationPolicy: LocationPolicy minCount: str @@ -919,6 +961,11 @@ class BulkSetLabelsRequest(typing_extensions.TypedDict, total=False): class BulkZoneSetLabelsRequest(typing_extensions.TypedDict, total=False): requests: _list[BulkSetLabelsRequest] +@typing.type_check_only +class BundledLocalSsds(typing_extensions.TypedDict, total=False): + defaultInterface: str + partitionCount: int + @typing.type_check_only class CacheInvalidationRule(typing_extensions.TypedDict, total=False): cacheTags: _list[str] @@ -935,6 +982,18 @@ class CacheKeyPolicy(typing_extensions.TypedDict, total=False): queryStringBlacklist: _list[str] queryStringWhitelist: _list[str] +@typing.type_check_only +class CalendarModeAdviceRequest(typing_extensions.TypedDict, total=False): + futureResourcesSpecs: dict[str, typing.Any] + +@typing.type_check_only +class CalendarModeAdviceResponse(typing_extensions.TypedDict, total=False): + recommendations: _list[CalendarModeRecommendation] + +@typing.type_check_only +class CalendarModeRecommendation(typing_extensions.TypedDict, total=False): + recommendationsPerSpec: dict[str, typing.Any] + @typing.type_check_only class CircuitBreakers(typing_extensions.TypedDict, total=False): maxConnections: int @@ -989,15 +1048,24 @@ class Commitment(typing_extensions.TypedDict, total=False): "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", "GENERAL_PURPOSE_N4", + "GENERAL_PURPOSE_N4A", + "GENERAL_PURPOSE_N4D", "GENERAL_PURPOSE_T2D", "GRAPHICS_OPTIMIZED", + "GRAPHICS_OPTIMIZED_G4", "MEMORY_OPTIMIZED", "MEMORY_OPTIMIZED_M3", "MEMORY_OPTIMIZED_M4", "MEMORY_OPTIMIZED_M4_6TB", + "MEMORY_OPTIMIZED_X4_1440_24T", "MEMORY_OPTIMIZED_X4_16TB", + "MEMORY_OPTIMIZED_X4_1920_32T", "MEMORY_OPTIMIZED_X4_24TB", "MEMORY_OPTIMIZED_X4_32TB", + "MEMORY_OPTIMIZED_X4_480_6T", + "MEMORY_OPTIMIZED_X4_480_8T", + "MEMORY_OPTIMIZED_X4_960_12T", + "MEMORY_OPTIMIZED_X4_960_16T", "STORAGE_OPTIMIZED_Z3", "TYPE_UNSPECIFIED", ] @@ -1513,6 +1581,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): destAddressGroups: _list[str] destFqdns: _list[str] destIpRanges: _list[str] + destNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] destNetworkType: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -1522,6 +1593,9 @@ class FirewallPolicyRuleMatcher(typing_extensions.TypedDict, total=False): srcAddressGroups: _list[str] srcFqdns: _list[str] srcIpRanges: _list[str] + srcNetworkContext: typing_extensions.Literal[ + "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" + ] srcNetworkType: typing_extensions.Literal[ "INTERNET", "INTRA_VPC", "NON_INTERNET", "UNSPECIFIED", "VPC_NETWORKS" ] @@ -1546,6 +1620,13 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int +@typing.type_check_only +class FlexibleTimeRange(typing_extensions.TypedDict, total=False): + maxDuration: str + minDuration: str + startTimeNotEarlierThan: str + startTimeNotLaterThan: str + @typing.type_check_only class ForwardingRule(typing_extensions.TypedDict, total=False): IPAddress: str @@ -1661,6 +1742,9 @@ class FutureReservation(typing_extensions.TypedDict, total=False): planningStatus: typing_extensions.Literal[ "DRAFT", "PLANNING_STATUS_UNSPECIFIED", "SUBMITTED" ] + reservationMode: typing_extensions.Literal[ + "CALENDAR", "DEFAULT", "RESERVATION_MODE_UNSPECIFIED" + ] reservationName: str schedulingType: typing_extensions.Literal[ "GROUPED", "GROUP_MAINTENANCE_TYPE_UNSPECIFIED", "INDEPENDENT" @@ -1803,6 +1887,78 @@ class FutureReservationsScopedList(typing_extensions.TypedDict, total=False): futureReservations: _list[FutureReservation] warning: dict[str, typing.Any] +@typing.type_check_only +class FutureResourcesRecommendation(typing_extensions.TypedDict, total=False): + endTime: str + location: str + otherLocations: dict[str, typing.Any] + recommendationId: str + recommendationType: typing_extensions.Literal[ + "FUTURE_RESERVATION", "RECOMMENDATION_TYPE_UNSPECIFIED" + ] + startTime: str + +@typing.type_check_only +class FutureResourcesRecommendationOtherLocation( + typing_extensions.TypedDict, total=False +): + details: str + status: typing_extensions.Literal[ + "CONDITIONS_NOT_MET", + "NOT_SUPPORTED", + "NO_CAPACITY", + "OTHER_LOCATION_STATUS_UNDEFINED", + "RECOMMENDED", + ] + +@typing.type_check_only +class FutureResourcesSpec(typing_extensions.TypedDict, total=False): + deploymentType: typing_extensions.Literal["DENSE", "DEPLOYMENT_TYPE_UNSPECIFIED"] + locationPolicy: FutureResourcesSpecLocationPolicy + targetResources: FutureResourcesSpecTargetResources + timeRangeSpec: FlexibleTimeRange + +@typing.type_check_only +class FutureResourcesSpecAggregateResources(typing_extensions.TypedDict, total=False): + acceleratorCount: str + vmFamily: typing_extensions.Literal[ + "VM_FAMILY_CLOUD_TPU_DEVICE_CT3", + "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT6E", + "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_TPU7X", + ] + workloadType: typing_extensions.Literal["BATCH", "SERVING", "UNSPECIFIED"] + +@typing.type_check_only +class FutureResourcesSpecLocalSsdPartition(typing_extensions.TypedDict, total=False): + diskInterface: typing_extensions.Literal["NVME", "SCSI"] + diskSizeGb: str + +@typing.type_check_only +class FutureResourcesSpecLocationPolicy(typing_extensions.TypedDict, total=False): + locations: dict[str, typing.Any] + +@typing.type_check_only +class FutureResourcesSpecLocationPolicyLocation( + typing_extensions.TypedDict, total=False +): + preference: typing_extensions.Literal["ALLOW", "DENY", "PREFERENCE_UNSPECIFIED"] + +@typing.type_check_only +class FutureResourcesSpecSpecificSKUResources(typing_extensions.TypedDict, total=False): + instanceCount: str + localSsdPartitions: _list[FutureResourcesSpecLocalSsdPartition] + machineType: str + +@typing.type_check_only +class FutureResourcesSpecTargetResources(typing_extensions.TypedDict, total=False): + aggregateResources: FutureResourcesSpecAggregateResources + specificSkuResources: FutureResourcesSpecSpecificSKUResources + @typing.type_check_only class GRPCHealthCheck(typing_extensions.TypedDict, total=False): grpcServiceName: str @@ -1812,6 +1968,14 @@ class GRPCHealthCheck(typing_extensions.TypedDict, total=False): "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" ] +@typing.type_check_only +class GRPCTLSHealthCheck(typing_extensions.TypedDict, total=False): + grpcServiceName: str + port: int + portSpecification: typing_extensions.Literal[ + "USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT" + ] + @typing.type_check_only class GlobalAddressesMoveRequest(typing_extensions.TypedDict, total=False): description: str @@ -1940,6 +2104,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): creationTimestamp: str description: str grpcHealthCheck: GRPCHealthCheck + grpcTlsHealthCheck: GRPCTLSHealthCheck healthyThreshold: int http2HealthCheck: HTTP2HealthCheck httpHealthCheck: HTTPHealthCheck @@ -1955,7 +2120,7 @@ class HealthCheck(typing_extensions.TypedDict, total=False): tcpHealthCheck: TCPHealthCheck timeoutSec: int type: typing_extensions.Literal[ - "GRPC", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" + "GRPC", "GRPC_WITH_TLS", "HTTP", "HTTP2", "HTTPS", "INVALID", "SSL", "TCP" ] unhealthyThreshold: int @@ -2366,6 +2531,18 @@ class InstanceConsumptionInfo(typing_extensions.TypedDict, total=False): memoryMb: int minNodeCpus: int +@typing.type_check_only +class InstanceFlexibilityPolicy(typing_extensions.TypedDict, total=False): + instanceSelections: dict[str, typing.Any] + +@typing.type_check_only +class InstanceFlexibilityPolicyInstanceSelection( + typing_extensions.TypedDict, total=False +): + disks: _list[AttachedDisk] + machineTypes: _list[str] + rank: str + @typing.type_check_only class InstanceGroup(typing_extensions.TypedDict, total=False): creationTimestamp: str @@ -2964,6 +3141,7 @@ class InstancesReportHostAsFaultyRequestFaultReason( ): behavior: typing_extensions.Literal[ "BEHAVIOR_UNSPECIFIED", + "CHIP_ERROR", "PERFORMANCE", "SILENT_DATA_CORRUPTION", "UNRECOVERABLE_GPU_ERROR", @@ -3076,7 +3254,9 @@ class Interconnect(typing_extensions.TypedDict, total=False): adminEnabled: bool applicationAwareInterconnect: InterconnectApplicationAwareInterconnect availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] circuitInfos: _list[InterconnectCircuitInfo] creationTimestamp: str @@ -3103,11 +3283,14 @@ class Interconnect(typing_extensions.TypedDict, total=False): name: str nocContactEmail: str operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] + params: InterconnectParams peerIpAddress: str provisionedLinkCount: int remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] requestedLinkCount: int satisfiesPzs: bool @@ -3162,12 +3345,17 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "BPS_20G", "BPS_2G", "BPS_300M", + "BPS_400G", "BPS_400M", "BPS_500M", "BPS_50G", "BPS_50M", "BPS_5G", ] + candidateCloudRouterIpAddress: str + candidateCloudRouterIpv6Address: str + candidateCustomerRouterIpAddress: str + candidateCustomerRouterIpv6Address: str candidateIpv6Subnets: _list[str] candidateSubnets: _list[str] cloudRouterIpAddress: str @@ -3189,12 +3377,14 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): interconnect: str ipsecInternalAddresses: _list[str] kind: str + l2Forwarding: InterconnectAttachmentL2Forwarding labelFingerprint: str labels: dict[str, typing.Any] mtu: int name: str operationalStatus: typing_extensions.Literal["OS_ACTIVE", "OS_UNPROVISIONED"] pairingKey: str + params: InterconnectAttachmentParams partnerAsn: str partnerMetadata: InterconnectAttachmentPartnerMetadata privateInterconnectInfo: InterconnectAttachmentPrivateInfo @@ -3214,7 +3404,9 @@ class InterconnectAttachment(typing_extensions.TypedDict, total=False): "UNPROVISIONED", ] subnetLength: int - type: typing_extensions.Literal["DEDICATED", "PARTNER", "PARTNER_PROVIDER"] + type: typing_extensions.Literal[ + "DEDICATED", "L2_DEDICATED", "PARTNER", "PARTNER_PROVIDER" + ] vlanTag8021q: int @typing.type_check_only @@ -3402,6 +3594,37 @@ class InterconnectAttachmentGroupsOperationalStatusAttachmentStatus( "UNPROVISIONED", ] +@typing.type_check_only +class InterconnectAttachmentL2Forwarding(typing_extensions.TypedDict, total=False): + applianceMappings: dict[str, typing.Any] + defaultApplianceIpAddress: str + geneveHeader: InterconnectAttachmentL2ForwardingGeneveHeader + network: str + tunnelEndpointIpAddress: str + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingApplianceMapping( + typing_extensions.TypedDict, total=False +): + applianceIpAddress: str + innerVlanToApplianceMappings: _list[ + InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping + ] + name: str + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping( + typing_extensions.TypedDict, total=False +): + innerApplianceIpAddress: str + innerVlanTags: _list[str] + +@typing.type_check_only +class InterconnectAttachmentL2ForwardingGeneveHeader( + typing_extensions.TypedDict, total=False +): + vni: int + @typing.type_check_only class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): id: str @@ -3411,6 +3634,10 @@ class InterconnectAttachmentList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class InterconnectAttachmentParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InterconnectAttachmentPartnerMetadata(typing_extensions.TypedDict, total=False): interconnectName: str @@ -3587,7 +3814,9 @@ class InterconnectGroupsCreateMembersInterconnectInput( nocContactEmail: str remoteLocation: str requestedFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] requestedLinkCount: int @@ -3646,7 +3875,9 @@ class InterconnectLocation(typing_extensions.TypedDict, total=False): address: str availabilityZone: str availableFeatures: _list[ - typing_extensions.Literal["IF_CROSS_SITE_NETWORK", "IF_MACSEC"] + typing_extensions.Literal[ + "IF_CROSS_SITE_NETWORK", "IF_L2_FORWARDING", "IF_MACSEC" + ] ] availableLinkTypes: _list[ typing_extensions.Literal[ @@ -3701,6 +3932,7 @@ class InterconnectLocationList(typing_extensions.TypedDict, total=False): @typing.type_check_only class InterconnectLocationRegionInfo(typing_extensions.TypedDict, total=False): expectedRttMs: str + l2ForwardingEnabled: bool locationPresence: typing_extensions.Literal[ "GLOBAL", "LOCAL_REGION", "LP_GLOBAL", "LP_LOCAL_REGION" ] @@ -3742,6 +3974,10 @@ class InterconnectOutageNotification(typing_extensions.TypedDict, total=False): "ACTIVE", "CANCELLED", "COMPLETED", "NS_ACTIVE", "NS_CANCELED" ] +@typing.type_check_only +class InterconnectParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class InterconnectRemoteLocation(typing_extensions.TypedDict, total=False): address: str @@ -3824,6 +4060,7 @@ class License(typing_extensions.TypedDict, total=False): multiTenantOnly: bool name: str osLicense: bool + params: LicenseParams removableFromDisk: bool requiredCoattachedLicenses: _list[str] resourceRequirements: LicenseResourceRequirements @@ -3852,6 +4089,10 @@ class LicenseCodeLicenseAlias(typing_extensions.TypedDict, total=False): description: str selfLink: str +@typing.type_check_only +class LicenseParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class LicenseResourceCommitment(typing_extensions.TypedDict, total=False): amount: str @@ -3908,6 +4149,7 @@ class MachineImage(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] machineImageEncryptionKey: CustomerEncryptionKey name: str + params: MachineImageParams satisfiesPzi: bool satisfiesPzs: bool savedDisks: _list[SavedDisk] @@ -3930,12 +4172,17 @@ class MachineImageList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class MachineImageParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class MachineType(typing_extensions.TypedDict, total=False): accelerators: _list[dict[str, typing.Any]] architecture: typing_extensions.Literal[ "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" ] + bundledLocalSsds: BundledLocalSsds creationTimestamp: str deprecated: DeprecationStatus description: str @@ -4333,6 +4580,7 @@ class NetworkInterface(typing_extensions.TypedDict, total=False): accessConfigs: _list[AccessConfig] aliasIpRanges: _list[AliasIpRange] fingerprint: str + igmpQuery: typing_extensions.Literal["IGMP_QUERY_DISABLED", "IGMP_QUERY_V2"] internalIpv6PrefixLength: int ipv6AccessConfigs: _list[AccessConfig] ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] @@ -4450,6 +4698,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): "VPC_PEERING", ] ] + allowAddressCreation: typing_extensions.Literal[ + "ADDRESS_CREATION_ALLOWED", "ADDRESS_CREATION_BLOCKED" + ] allowAliasIpRanges: typing_extensions.Literal[ "ALIAS_IP_RANGES_ALLOWED", "ALIAS_IP_RANGES_BLOCKED" ] @@ -4469,6 +4720,9 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowExternalIpAccess: typing_extensions.Literal[ "EXTERNAL_IP_ACCESS_ALLOWED", "EXTERNAL_IP_ACCESS_BLOCKED" ] + allowFirewallPolicy: typing_extensions.Literal[ + "FIREWALL_POLICY_ALLOWED", "FIREWALL_POLICY_BLOCKED" + ] allowInterconnect: typing_extensions.Literal[ "INTERCONNECT_ALLOWED", "INTERCONNECT_BLOCKED" ] @@ -4481,6 +4735,10 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowMultiNicInSameNetwork: typing_extensions.Literal[ "MULTI_NIC_IN_SAME_NETWORK_ALLOWED", "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" ] + allowMultiNicInSameSubnetwork: typing_extensions.Literal[ + "MULTI_NIC_IN_SAME_SUBNETWORK_ALLOWED", "MULTI_NIC_IN_SAME_SUBNETWORK_BLOCKED" + ] + allowMulticast: typing_extensions.Literal["MULTICAST_ALLOWED", "MULTICAST_BLOCKED"] allowNcc: typing_extensions.Literal["NCC_ALLOWED", "NCC_BLOCKED"] allowNetworkMigration: typing_extensions.Literal[ "NETWORK_MIGRATION_ALLOWED", "NETWORK_MIGRATION_BLOCKED" @@ -4501,15 +4759,29 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): allowSubInterfaces: typing_extensions.Literal[ "SUBINTERFACES_ALLOWED", "SUBINTERFACES_BLOCKED" ] + allowSubnetworkCreation: typing_extensions.Literal[ + "SUBNETWORK_CREATION_ALLOWED", "SUBNETWORK_CREATION_BLOCKED" + ] + allowVpcFirewallRules: typing_extensions.Literal[ + "VPC_FIREWALL_RULES_ALLOWED", "VPC_FIREWALL_RULES_BLOCKED" + ] allowVpcPeering: typing_extensions.Literal[ "VPC_PEERING_ALLOWED", "VPC_PEERING_BLOCKED" ] allowVpn: typing_extensions.Literal["VPN_ALLOWED", "VPN_BLOCKED"] + firewallPolicyTypes: _list[ + typing_extensions.Literal["RDMA_ROCE_POLICY", "VPC_POLICY"] + ] interfaceTypes: _list[ typing_extensions.Literal[ "GVNIC", "IDPF", "IRDMA", "MRDMA", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ] ] + multicast: typing_extensions.Literal["MULTICAST_SDN", "MULTICAST_ULL"] + predefinedNetworkInternalIpv6Range: str + predefinedSubnetworkRanges: _list[ + NetworkProfileNetworkFeaturesPredefinedSubnetworkRange + ] subnetPurposes: _list[ typing_extensions.Literal[ "SUBNET_PURPOSE_CUSTOM_HARDWARE", "SUBNET_PURPOSE_PRIVATE" @@ -4539,10 +4811,17 @@ class NetworkProfileNetworkFeatures(typing_extensions.TypedDict, total=False): ] unicast: typing_extensions.Literal["UNICAST_SDN", "UNICAST_ULL"] +@typing.type_check_only +class NetworkProfileNetworkFeaturesPredefinedSubnetworkRange( + typing_extensions.TypedDict, total=False +): + ipv6Range: str + namePrefix: str + @typing.type_check_only class NetworkProfileProfileType(typing_extensions.TypedDict, total=False): networkType: typing_extensions.Literal["RDMA", "ULL", "VPC"] - rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE"] + rdmaSubtype: typing_extensions.Literal["FALCON", "ROCE", "ROCE_METAL"] ullSubtype: typing_extensions.Literal["OPERATOR", "PARTICIPANT"] vpcSubtype: typing_extensions.Literal["REGIONAL"] @@ -5221,6 +5500,7 @@ class PublicDelegatedPrefix(typing_extensions.TypedDict, total=False): byoipApiVersion: typing_extensions.Literal["V1", "V2"] creationTimestamp: str description: str + enableEnhancedIpv4Allocation: bool fingerprint: str id: str ipCidrRange: str @@ -5274,6 +5554,7 @@ class PublicDelegatedPrefixPublicDelegatedSubPrefix( allocatablePrefixLength: int delegateeProject: str description: str + enableEnhancedIpv4Allocation: bool ipCidrRange: str ipv6AccessType: typing_extensions.Literal["EXTERNAL", "INTERNAL"] isAddress: bool @@ -5783,6 +6064,9 @@ class Reservation(typing_extensions.TypedDict, total=False): kind: str linkedCommitments: _list[str] name: str + protectionTier: typing_extensions.Literal[ + "CAPACITY_OPTIMIZED", "PROTECTION_TIER_UNSPECIFIED", "STANDARD" + ] reservationSharingPolicy: AllocationReservationSharingPolicy resourcePolicies: dict[str, typing.Any] resourceStatus: AllocationResourceStatus @@ -5832,6 +6116,7 @@ class ReservationBlock(typing_extensions.TypedDict, total=False): healthInfo: ReservationBlockHealthInfo id: str inUseCount: int + inUseHostCount: int kind: str name: str physicalTopology: ReservationBlockPhysicalTopology @@ -5894,13 +6179,57 @@ class ReservationList(typing_extensions.TypedDict, total=False): selfLink: str warning: dict[str, typing.Any] +@typing.type_check_only +class ReservationSlot(typing_extensions.TypedDict, total=False): + creationTimestamp: str + id: str + kind: str + name: str + physicalTopology: ReservationSlotPhysicalTopology + selfLink: str + selfLinkWithId: str + shareSettings: ShareSettings + state: typing_extensions.Literal[ + "ACTIVE", "CREATING", "DELETING", "STATE_UNSPECIFIED" + ] + status: ReservationSlotStatus + zone: str + +@typing.type_check_only +class ReservationSlotPhysicalTopology(typing_extensions.TypedDict, total=False): + block: str + cluster: str + host: str + subBlock: str + +@typing.type_check_only +class ReservationSlotStatus(typing_extensions.TypedDict, total=False): + physicalTopology: ReservationSlotPhysicalTopology + rdmaIpAddresses: _list[str] + runningInstances: _list[str] + +@typing.type_check_only +class ReservationSlotsGetResponse(typing_extensions.TypedDict, total=False): + resource: ReservationSlot + +@typing.type_check_only +class ReservationSlotsListResponse(typing_extensions.TypedDict, total=False): + id: str + items: _list[ReservationSlot] + kind: str + nextPageToken: str + selfLink: str + warning: dict[str, typing.Any] + @typing.type_check_only class ReservationSubBlock(typing_extensions.TypedDict, total=False): + acceleratorTopologiesInfo: AcceleratorTopologiesInfo count: int creationTimestamp: str healthInfo: ReservationSubBlockHealthInfo id: str inUseCount: int + inUseHostCount: int kind: str name: str physicalTopology: ReservationSubBlockPhysicalTopology @@ -5954,7 +6283,11 @@ class ReservationSubBlocksReportFaultyRequestFaultReason( typing_extensions.TypedDict, total=False ): behavior: typing_extensions.Literal[ - "FAULT_BEHAVIOR_UNSPECIFIED", "GPU_ERROR", "PERFORMANCE", "SWITCH_FAILURE" + "FAULT_BEHAVIOR_UNSPECIFIED", + "GPU_ERROR", + "PERFORMANCE", + "SILENT_DATA_CORRUPTION", + "SWITCH_FAILURE", ] description: str @@ -6041,6 +6374,7 @@ class ResourcePolicyDiskConsistencyGroupPolicy( @typing.type_check_only class ResourcePolicyGroupPlacementPolicy(typing_extensions.TypedDict, total=False): + acceleratorTopologyMode: typing_extensions.Literal["AUTO_CONNECT", "PROVISION_ONLY"] availabilityDomainCount: int collocation: typing_extensions.Literal["COLLOCATED", "UNSPECIFIED_COLLOCATION"] gpuTopology: str @@ -6198,6 +6532,7 @@ class Route(typing_extensions.TypedDict, total=False): nextHopIlb: str nextHopInstance: str nextHopInterRegionCost: int + nextHopInterconnectAttachment: str nextHopIp: str nextHopMed: int nextHopNetwork: str @@ -6653,6 +6988,7 @@ class SecurityPolicy(typing_extensions.TypedDict, total=False): labelFingerprint: str labels: dict[str, typing.Any] name: str + parent: str recaptchaOptionsConfig: SecurityPolicyRecaptchaOptionsConfig region: str rules: _list[SecurityPolicyRule] @@ -6710,6 +7046,7 @@ class SecurityPolicyAdvancedOptionsConfig(typing_extensions.TypedDict, total=Fal "DISABLED", "STANDARD", "STANDARD_WITH_GRAPHQL" ] logLevel: typing_extensions.Literal["NORMAL", "VERBOSE"] + requestBodyInspectionSize: str userIpRequestHeaders: _list[str] @typing.type_check_only @@ -7046,6 +7383,8 @@ class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ShieldedInstanceIdentity(typing_extensions.TypedDict, total=False): + eccP256EncryptionKey: ShieldedInstanceIdentityEntry + eccP256SigningKey: ShieldedInstanceIdentityEntry encryptionKey: ShieldedInstanceIdentityEntry kind: str signingKey: ShieldedInstanceIdentityEntry @@ -7166,6 +7505,9 @@ class SourceInstanceProperties(typing_extensions.TypedDict, total=False): metadata: Metadata minCpuPlatform: str networkInterfaces: _list[NetworkInterface] + postKeyRevocationActionType: typing_extensions.Literal[ + "NOOP", "POST_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", "SHUTDOWN" + ] scheduling: Scheduling serviceAccounts: _list[ServiceAccount] tags: Tags @@ -7313,11 +7655,13 @@ class StoragePool(typing_extensions.TypedDict, total=False): ] creationTimestamp: str description: str + exapoolProvisionedCapacityGb: StoragePoolExapoolProvisionedCapacityGb id: str kind: str labelFingerprint: str labels: dict[str, typing.Any] name: str + params: StoragePoolParams performanceProvisioningType: typing_extensions.Literal[ "ADVANCED", "STANDARD", "UNSPECIFIED" ] @@ -7359,6 +7703,12 @@ class StoragePoolDisk(typing_extensions.TypedDict, total=False): type: str usedBytes: str +@typing.type_check_only +class StoragePoolExapoolProvisionedCapacityGb(typing_extensions.TypedDict, total=False): + capacityOptimized: str + readOptimized: str + writeOptimized: str + @typing.type_check_only class StoragePoolList(typing_extensions.TypedDict, total=False): etag: str @@ -7381,9 +7731,17 @@ class StoragePoolListDisks(typing_extensions.TypedDict, total=False): unreachables: _list[str] warning: dict[str, typing.Any] +@typing.type_check_only +class StoragePoolParams(typing_extensions.TypedDict, total=False): + resourceManagerTags: dict[str, typing.Any] + @typing.type_check_only class StoragePoolResourceStatus(typing_extensions.TypedDict, total=False): diskCount: str + exapoolMaxReadIops: str + exapoolMaxReadThroughput: str + exapoolMaxWriteIops: str + exapoolMaxWriteThroughput: str lastResizeTimestamp: str maxTotalProvisionedDiskCapacityGb: str poolUsedCapacityBytes: str @@ -7444,6 +7802,7 @@ class StoragePoolsScopedList(typing_extensions.TypedDict, total=False): @typing.type_check_only class Subnetwork(typing_extensions.TypedDict, total=False): + allowSubnetCidrRoutesOverlap: bool creationTimestamp: str description: str enableFlowLogs: bool @@ -7480,6 +7839,7 @@ class Subnetwork(typing_extensions.TypedDict, total=False): ] region: str reservedInternalRange: str + resolveSubnetMask: typing_extensions.Literal["ARP_ALL_RANGES", "ARP_PRIMARY_RANGE"] role: typing_extensions.Literal["ACTIVE", "BACKUP"] secondaryIpRanges: _list[SubnetworkSecondaryRange] selfLink: str @@ -8011,6 +8371,7 @@ class UpcomingMaintenance(typing_extensions.TypedDict, total=False): "FAILURE_NETWORK", "FAILURE_NVLINK", "FAILURE_REDUNDANT_HARDWARE_FAULT", + "FAILURE_TPU", "INFRASTRUCTURE_RELOCATION", "MAINTENANCE_REASON_UNKNOWN", "PLANNED_NETWORK_UPDATE", diff --git a/googleapiclient-stubs/_apis/config/v1/resources.pyi b/googleapiclient-stubs/_apis/config/v1/resources.pyi index 059e2edf3..578485f99 100644 --- a/googleapiclient-stubs/_apis/config/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/config/v1/resources.pyi @@ -316,6 +316,9 @@ class ConfigResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... + def getAutoMigrationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> AutoMigrationConfigHttpRequest: ... def list( self, *, @@ -331,6 +334,14 @@ class ConfigResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def updateAutoMigrationConfig( + self, + *, + name: str, + body: AutoMigrationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def deployments(self) -> DeploymentsResource: ... def operations(self) -> OperationsResource: ... def previews(self) -> PreviewsResource: ... @@ -352,6 +363,14 @@ class ConfigResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AutoMigrationConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutoMigrationConfig: ... + @typing.type_check_only class DeploymentHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/config/v1/schemas.pyi b/googleapiclient-stubs/_apis/config/v1/schemas.pyi index 5281ace01..369abc78d 100644 --- a/googleapiclient-stubs/_apis/config/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/config/v1/schemas.pyi @@ -22,6 +22,12 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] +@typing.type_check_only +class AutoMigrationConfig(typing_extensions.TypedDict, total=False): + autoMigrationEnabled: bool + name: str + updateTime: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -51,6 +57,7 @@ class Deployment(typing_extensions.TypedDict, total=False): "DELETE_BUILD_RUN_FAILED", "BUCKET_CREATION_PERMISSION_DENIED", "BUCKET_CREATION_FAILED", + "EXTERNAL_VALUE_SOURCE_IMPORT_FAILED", ] errorLogs: str importExistingResources: bool @@ -259,6 +266,7 @@ class Preview(typing_extensions.TypedDict, total=False): "DEPLOYMENT_LOCK_ACQUIRE_FAILED", "PREVIEW_BUILD_API_FAILED", "PREVIEW_BUILD_RUN_FAILED", + "EXTERNAL_VALUE_SOURCE_IMPORT_FAILED", ] errorLogs: str errorStatus: Status @@ -404,6 +412,7 @@ class Revision(typing_extensions.TypedDict, total=False): "APPLY_BUILD_API_FAILED", "APPLY_BUILD_RUN_FAILED", "QUOTA_VALIDATION_FAILED", + "EXTERNAL_VALUE_SOURCE_IMPORT_FAILED", ] errorLogs: str importExistingResources: bool diff --git a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi index 0f7c721aa..9c63a7827 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/resources.pyi @@ -214,6 +214,13 @@ class ConnectorsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def generateToolspecOverride( + self, + *, + name: str, + body: GenerateConnectionToolspecOverrideRequest = ..., + **kwargs: typing.Any, + ) -> GenerateConnectionToolspecOverrideResponseHttpRequest: ... def get( self, *, @@ -258,6 +265,13 @@ class ConnectorsResource(googleapiclient.discovery.Resource): body: ListenEventRequest = ..., **kwargs: typing.Any, ) -> ListenEventResponseHttpRequest: ... + def modifyToolspecOverride( + self, + *, + name: str, + body: ModifyConnectionToolspecOverrideRequest = ..., + **kwargs: typing.Any, + ) -> ModifyConnectionToolspecOverrideResponseHttpRequest: ... def patch( self, *, @@ -266,6 +280,13 @@ class ConnectorsResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def removeToolspecOverride( + self, + *, + name: str, + body: RemoveConnectionToolspecOverrideRequest = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... def repairEventing( self, *, @@ -840,6 +861,16 @@ class FetchAuthSchemaResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FetchAuthSchemaResponse: ... +@typing.type_check_only +class GenerateConnectionToolspecOverrideResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GenerateConnectionToolspecOverrideResponse: ... + @typing.type_check_only class ListActionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1000,6 +1031,16 @@ class ManagedZoneHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ManagedZone: ... +@typing.type_check_only +class ModifyConnectionToolspecOverrideResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ModifyConnectionToolspecOverrideResponse: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi index b6bde665e..228ef8cb9 100644 --- a/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v1/schemas.pyi @@ -278,6 +278,7 @@ class Connector(typing_extensions.TypedDict, total=False): class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): alwaysAllocateCpu: bool connectionRatelimitWindowSeconds: str + connectionServiceAccountEnabled: bool connectorVersioningEnabled: bool deploymentModel: typing_extensions.Literal[ "DEPLOYMENT_MODEL_UNSPECIFIED", "GKE_MST", "CLOUD_RUN_MST" @@ -290,6 +291,7 @@ class ConnectorInfraConfig(typing_extensions.TypedDict, total=False): networkEgressModeOverride: NetworkEgressModeOverride provisionCloudSpanner: bool provisionMemstore: bool + publicNetworkIngressEnabled: bool ratelimitThreshold: str resourceLimits: ResourceLimits resourceRequests: ResourceRequests @@ -465,8 +467,16 @@ class EUASecret(typing_extensions.TypedDict, total=False): @typing.type_check_only class EgressControlConfig(typing_extensions.TypedDict, total=False): + accessMode: typing_extensions.Literal[ + "ACCESS_MODE_UNSPECIFIED", "RESTRICTED", "ALLOW_ALL" + ] + additionalExtractionRules: ExtractionRules + allowlistedProjectNumbers: _list[str] backends: str extractionRules: ExtractionRules + launchEnvironment: typing_extensions.Literal[ + "LAUNCH_ENVIRONMENT_UNSPECIFIED", "AUTOPUSH", "STAGING", "PROD" + ] @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -769,6 +779,7 @@ class Expr(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExtractionRule(typing_extensions.TypedDict, total=False): extractionRegex: str + formatString: str source: Source @typing.type_check_only @@ -848,6 +859,18 @@ class FieldComparison(typing_extensions.TypedDict, total=False): key: str stringValue: str +@typing.type_check_only +class GenerateConnectionToolspecOverrideRequest( + typing_extensions.TypedDict, total=False +): + toolNames: _list[ToolName] + +@typing.type_check_only +class GenerateConnectionToolspecOverrideResponse( + typing_extensions.TypedDict, total=False +): + toolspecOverride: ToolspecOverride + @typing.type_check_only class HPAConfig(typing_extensions.TypedDict, total=False): cpuUtilizationThreshold: str @@ -1193,6 +1216,16 @@ class MarketplaceConnectorDetails(typing_extensions.TypedDict, total=False): marketplaceProductUri: str partner: str +@typing.type_check_only +class ModifyConnectionToolspecOverrideRequest(typing_extensions.TypedDict, total=False): + toolspecOverride: ToolspecOverride + +@typing.type_check_only +class ModifyConnectionToolspecOverrideResponse( + typing_extensions.TypedDict, total=False +): + toolspecOverrides: ToolspecOverride + @typing.type_check_only class MultipleSelectConfig(typing_extensions.TypedDict, total=False): allowCustomValues: bool @@ -1378,6 +1411,11 @@ class RegionalSettings(typing_extensions.TypedDict, total=False): networkConfig: NetworkConfig provisioned: bool +@typing.type_check_only +class RemoveConnectionToolspecOverrideRequest( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class RepairEventingRequest(typing_extensions.TypedDict, total=False): ... @@ -1573,7 +1611,9 @@ class SloMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class Source(typing_extensions.TypedDict, total=False): fieldId: str - sourceType: typing_extensions.Literal["SOURCE_TYPE_UNSPECIFIED", "CONFIG_VARIABLE"] + sourceType: typing_extensions.Literal[ + "SOURCE_TYPE_UNSPECIFIED", "CONFIG_VARIABLE", "AUTH_CONFIG_VARIABLE" + ] @typing.type_check_only class SshPublicKey(typing_extensions.TypedDict, total=False): @@ -1639,6 +1679,20 @@ class TimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class ToolName(typing_extensions.TypedDict, total=False): + entityType: str + name: str + operation: typing_extensions.Literal[ + "OPERATION_UNSPECIFIED", "LIST", "GET", "CREATE", "UPDATE", "DELETE" + ] + +@typing.type_check_only +class ToolspecOverride(typing_extensions.TypedDict, total=False): + createTime: str + tools: _list[dict[str, typing.Any]] + updateTime: str + @typing.type_check_only class TrafficShapingConfig(typing_extensions.TypedDict, total=False): duration: str diff --git a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi index c4e73e19f..09b865877 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/resources.pyi @@ -32,6 +32,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, + executionConfig_headers: str = ..., view: typing_extensions.Literal[ "ACTION_SCHEMA_VIEW_UNSPECIFIED", "ACTION_SCHEMA_VIEW_BASIC", @@ -43,6 +44,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, parent: str, + executionConfig_headers: str = ..., pageSize: int = ..., pageToken: str = ..., view: typing_extensions.Literal[ @@ -67,26 +69,37 @@ class ConnectorsResource(googleapiclient.discovery.Resource): *, parent: str, body: Entity = ..., + executionConfig_headers: str = ..., **kwargs: typing.Any, ) -> EntityHttpRequest: ... def delete( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + executionConfig_headers: str = ..., + **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def deleteEntitiesWithConditions( self, *, entityType: str, conditions: str = ..., + executionConfig_headers: str = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + executionConfig_headers: str = ..., + **kwargs: typing.Any, ) -> EntityHttpRequest: ... def list( self, *, parent: str, conditions: str = ..., + executionConfig_headers: str = ..., pageSize: int = ..., pageToken: str = ..., sortBy: str | _list[str] = ..., @@ -99,7 +112,12 @@ class ConnectorsResource(googleapiclient.discovery.Resource): previous_response: ListEntitiesResponse, ) -> ListEntitiesResponseHttpRequest | None: ... def patch( - self, *, name: str, body: Entity = ..., **kwargs: typing.Any + self, + *, + name: str, + body: Entity = ..., + executionConfig_headers: str = ..., + **kwargs: typing.Any, ) -> EntityHttpRequest: ... def updateEntitiesWithConditions( self, @@ -107,6 +125,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): entityType: str, body: Entity = ..., conditions: str = ..., + executionConfig_headers: str = ..., **kwargs: typing.Any, ) -> UpdateEntitiesWithConditionsResponseHttpRequest: ... @@ -115,6 +134,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): *, name: str, contextMetadata: str = ..., + executionConfig_headers: str = ..., view: typing_extensions.Literal[ "ENTITY_TYPE_SCHEMA_VIEW_UNSPECIFIED", "ENTITY_TYPE_SCHEMA_VIEW_BASIC", @@ -126,6 +146,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, parent: str, + executionConfig_headers: str = ..., pageSize: int = ..., pageToken: str = ..., view: typing_extensions.Literal[ @@ -145,12 +166,24 @@ class ConnectorsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ResourcesResource(googleapiclient.discovery.Resource): def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + executionConfig_headers: str = ..., + **kwargs: typing.Any, + ) -> GetResourceResponseHttpRequest: ... + def getResourcePost( + self, + *, + name: str, + body: GetResourcePostRequest = ..., + **kwargs: typing.Any, ) -> GetResourceResponseHttpRequest: ... def list( self, *, parent: str, + executionConfig_headers: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -174,6 +207,7 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, parent: str, + executionConfig_headers: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -188,7 +222,11 @@ class ConnectorsResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> CheckReadinessResponseHttpRequest: ... def checkStatus( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + executionConfig_headers: str = ..., + **kwargs: typing.Any, ) -> CheckStatusResponseHttpRequest: ... def exchangeAuthCode( self, diff --git a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi index 2ac760eb5..4d753e972 100644 --- a/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/connectors/v2/schemas.pyi @@ -82,6 +82,8 @@ class EntityType(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExchangeAuthCodeRequest(typing_extensions.TypedDict, total=False): authCodeData: AuthCodeData + executionConfig: ExecutionConfig + oauth2Config: OAuth2Config @typing.type_check_only class ExchangeAuthCodeResponse(typing_extensions.TypedDict, total=False): @@ -90,6 +92,7 @@ class ExchangeAuthCodeResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecuteActionRequest(typing_extensions.TypedDict, total=False): + executionConfig: ExecutionConfig parameters: dict[str, typing.Any] @typing.type_check_only @@ -107,13 +110,19 @@ class ExecuteSqlQueryResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class ExecuteToolRequest(typing_extensions.TypedDict, total=False): + executionConfig: ExecutionConfig parameters: dict[str, typing.Any] + toolDefinition: dict[str, typing.Any] @typing.type_check_only class ExecuteToolResponse(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] result: dict[str, typing.Any] +@typing.type_check_only +class ExecutionConfig(typing_extensions.TypedDict, total=False): + headers: str + @typing.type_check_only class Field(typing_extensions.TypedDict, total=False): additionalDetails: dict[str, typing.Any] @@ -172,6 +181,11 @@ class Field(typing_extensions.TypedDict, total=False): nullable: bool reference: Reference +@typing.type_check_only +class GetResourcePostRequest(typing_extensions.TypedDict, total=False): + executionConfig: ExecutionConfig + toolSpec: ToolSpec + @typing.type_check_only class GetResourceResponse(typing_extensions.TypedDict, total=False): data: str @@ -348,6 +362,13 @@ class ListResourcesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str resources: _list[Resource] +@typing.type_check_only +class ListToolsPostRequest(typing_extensions.TypedDict, total=False): + executionConfig: ExecutionConfig + pageSize: int + pageToken: str + toolSpec: ToolSpec + @typing.type_check_only class ListToolsResponse(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] @@ -393,6 +414,12 @@ class NodeSloMetadata(typing_extensions.TypedDict, total=False): class NotificationParameter(typing_extensions.TypedDict, total=False): values: _list[str] +@typing.type_check_only +class OAuth2Config(typing_extensions.TypedDict, total=False): + authUri: str + clientId: str + clientSecret: str + @typing.type_check_only class PerSliSloEligibility(typing_extensions.TypedDict, total=False): eligibilities: dict[str, typing.Any] @@ -467,6 +494,8 @@ class Reference(typing_extensions.TypedDict, total=False): @typing.type_check_only class RefreshAccessTokenRequest(typing_extensions.TypedDict, total=False): + executionConfig: ExecutionConfig + oauth2Config: OAuth2Config refreshToken: str @typing.type_check_only @@ -587,6 +616,11 @@ class ToolAnnotations(typing_extensions.TypedDict, total=False): readOnlyHint: bool title: str +@typing.type_check_only +class ToolSpec(typing_extensions.TypedDict, total=False): + toolDefinitions: _list[dict[str, typing.Any]] + toolSpecVersion: str + @typing.type_check_only class UpdateEntitiesWithConditionsResponse(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi index aada505ca..0d4b1934f 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/resources.pyi @@ -90,6 +90,13 @@ class CCAIPlatformResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + def generateShifts( + self, + *, + parent: str, + body: GenerateShiftsRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... diff --git a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi index e901f6104..bc3c5bbe0 100644 --- a/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenteraiplatform/v1alpha1/schemas.pyi @@ -25,8 +25,10 @@ class ContactCenter(typing_extensions.TypedDict, total=False): createTime: str critical: Critical customerDomainPrefix: str + deleteTime: str displayName: str early: Early + expireTime: str featureConfig: FeatureConfig instanceConfig: InstanceConfig kmsKey: str @@ -35,6 +37,7 @@ class ContactCenter(typing_extensions.TypedDict, total=False): normal: Normal privateAccess: PrivateAccess privateComponents: _list[str] + purgeTime: str releaseVersion: str samlParams: SAMLParams state: typing_extensions.Literal[ @@ -64,16 +67,59 @@ class ContactCenterQuota(typing_extensions.TypedDict, total=False): class Critical(typing_extensions.TypedDict, total=False): peakHours: _list[WeeklySchedule] +@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): + values: _list[Date] + +@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 Early(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EmployeeInfo(typing_extensions.TypedDict, total=False): + id: str + unwantedEventIntervals: _list[UnwantedEventInterval] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EventTemplate(typing_extensions.TypedDict, total=False): + durationMinutes: int + id: str + maximumMinutesAfterShiftStart: int + minimumMinutesAfterShiftStart: int + startTimeIncrementMinutes: int + @typing.type_check_only class FeatureConfig(typing_extensions.TypedDict, total=False): agentDesktopEnabled: bool +@typing.type_check_only +class GenerateShiftsRequest(typing_extensions.TypedDict, total=False): + employeeInfo: _list[EmployeeInfo] + planningHorizon: PlanningHorizon + shiftTemplates: _list[ShiftTemplate] + solverConfig: SolverConfig + workforceDemands: WorkforceDemandList + @typing.type_check_only class GoogleCloudCommonOperationMetadata(typing_extensions.TypedDict, total=False): apiVersion: str @@ -153,6 +199,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PlanningHorizon(typing_extensions.TypedDict, total=False): + endTime: DateTime + startTime: DateTime + @typing.type_check_only class PrivateAccess(typing_extensions.TypedDict, total=False): egressSettings: _list[Component] @@ -225,6 +276,31 @@ class SAMLParams(typing_extensions.TypedDict, total=False): ssoUri: str userEmail: str +@typing.type_check_only +class ShiftTemplate(typing_extensions.TypedDict, total=False): + assignableEmployeeIds: _list[str] + daysOffCountPerWeek: int + daysOffDates: DateList + durationMinutes: int + earliestStartTime: TimeOfDay + eventTemplates: _list[EventTemplate] + id: str + latestStartTime: TimeOfDay + maximumEmployeeCount: int + minimumEmployeeCount: int + minimumIntereventGapMinutes: int + startTimeIncrementMinutes: int + +@typing.type_check_only +class SolverConfig(typing_extensions.TypedDict, total=False): + maximumProcessingDuration: str + scheduleType: typing_extensions.Literal[ + "SCHEDULE_TYPE_UNSPECIFIED", + "SINGLE_SHIFT", + "WEEKLY_WITH_FIXED_EVENTS", + "WEEKLY_WITH_VARIABLE_EVENTS", + ] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -238,6 +314,11 @@ class TimeOfDay(typing_extensions.TypedDict, total=False): nanos: int seconds: int +@typing.type_check_only +class TimeZone(typing_extensions.TypedDict, total=False): + id: str + version: str + @typing.type_check_only class URIs(typing_extensions.TypedDict, total=False): chatBotUri: str @@ -245,6 +326,11 @@ class URIs(typing_extensions.TypedDict, total=False): rootUri: str virtualAgentStreamingServiceUri: str +@typing.type_check_only +class UnwantedEventInterval(typing_extensions.TypedDict, total=False): + durationMinutes: int + startTime: DateTime + @typing.type_check_only class WeeklySchedule(typing_extensions.TypedDict, total=False): days: _list[ @@ -262,3 +348,13 @@ class WeeklySchedule(typing_extensions.TypedDict, total=False): duration: str endTime: TimeOfDay startTime: TimeOfDay + +@typing.type_check_only +class WorkforceDemand(typing_extensions.TypedDict, total=False): + employeeCount: int + endTime: DateTime + startTime: DateTime + +@typing.type_check_only +class WorkforceDemandList(typing_extensions.TypedDict, total=False): + values: _list[WorkforceDemand] diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi index 9c6417b32..7fd0e5f7c 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/resources.pyi @@ -104,41 +104,6 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): class AuthorizedViewsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ConversationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnalysesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudContactcenterinsightsV1Analysis = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ( - GoogleCloudContactcenterinsightsV1AnalysisHttpRequest - ): ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest, - previous_response: GoogleCloudContactcenterinsightsV1ListAnalysesResponse, - ) -> ( - GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest - | None - ): ... - @typing.type_check_only class AssessmentsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -293,13 +258,6 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest: ... - def bulkAnalyze( - self, - *, - parent: str, - body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def calculateStats( self, *, @@ -310,6 +268,9 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def generateSignedAudio( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponseHttpRequest: ... def get( self, *, @@ -342,7 +303,6 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest | None ): ... - def analyses(self) -> AnalysesResource: ... def assessments(self) -> AssessmentsResource: ... def feedbackLabels(self) -> FeedbackLabelsResource: ... @@ -385,6 +345,13 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def generativeInsights( + self, + *, + location: str, + body: GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -516,6 +483,54 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest: ... def authorizedViews(self) -> AuthorizedViewsResource: ... + @typing.type_check_only + class AutoLabelingRulesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1AutoLabelingRule = ..., + autoLabelingRuleId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AutoLabelingRuleHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1AutoLabelingRuleHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1AutoLabelingRule = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1AutoLabelingRuleHttpRequest: ... + def test( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponseHttpRequest: ... + @typing.type_check_only class ConversationsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -685,6 +700,16 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest: ... + @typing.type_check_only + class SegmentsResource(googleapiclient.discovery.Resource): + def bulkAnalyze( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def bulkAnalyze( self, *, @@ -715,6 +740,9 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def generateSignedAudio( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponseHttpRequest: ... def get( self, *, @@ -758,6 +786,7 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): name: str, body: GoogleCloudContactcenterinsightsV1Conversation = ..., allowMissing: bool = ..., + conversationAutoLabelingUpdateConfig_allowAutoLabelingUpdate: bool = ..., updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudContactcenterinsightsV1ConversationHttpRequest: ... @@ -778,44 +807,88 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def analyses(self) -> AnalysesResource: ... def assessments(self) -> AssessmentsResource: ... def feedbackLabels(self) -> FeedbackLabelsResource: ... + def segments(self) -> SegmentsResource: ... + + @typing.type_check_only + class DashboardsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ChartsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Chart = ..., + chartId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ChartHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1ChartHttpRequest: ... + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> ( + GoogleCloudContactcenterinsightsV1ListChartsResponseHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1Chart = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1ChartHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudContactcenterinsightsV1Dashboard = ..., + dashboardId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1DashboardHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1DashboardHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudContactcenterinsightsV1ListDashboardsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudContactcenterinsightsV1ListDashboardsResponseHttpRequest, + previous_response: GoogleCloudContactcenterinsightsV1ListDashboardsResponse, + ) -> ( + GoogleCloudContactcenterinsightsV1ListDashboardsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1Dashboard = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1DashboardHttpRequest: ... + def charts(self) -> ChartsResource: ... @typing.type_check_only class DatasetsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ConversationsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AnalysesResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: GoogleCloudContactcenterinsightsV1Analysis = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... - def delete( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleProtobufEmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> GoogleCloudContactcenterinsightsV1AnalysisHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest: ... - def list_next( - self, - previous_request: GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest, - previous_response: GoogleCloudContactcenterinsightsV1ListAnalysesResponse, - ) -> ( - GoogleCloudContactcenterinsightsV1ListAnalysesResponseHttpRequest - | None - ): ... - @typing.type_check_only class FeedbackLabelsResource(googleapiclient.discovery.Resource): def create( @@ -864,13 +937,6 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest ): ... - def bulkAnalyze( - self, - *, - parent: str, - body: GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest = ..., - **kwargs: typing.Any, - ) -> GoogleLongrunningOperationHttpRequest: ... def bulkDelete( self, *, @@ -888,6 +954,9 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> GoogleProtobufEmptyHttpRequest: ... + def generateSignedAudio( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponseHttpRequest: ... def get( self, *, @@ -932,7 +1001,6 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1SampleConversationsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... - def analyses(self) -> AnalysesResource: ... def feedbackLabels(self) -> FeedbackLabelsResource: ... @typing.type_check_only @@ -1468,6 +1536,16 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def generativeInsights( + self, + *, + location: str, + body: GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def getCorrelationConfig( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudContactcenterinsightsV1CorrelationConfigHttpRequest: ... def getEncryptionSpec( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudContactcenterinsightsV1EncryptionSpecHttpRequest: ... @@ -1505,6 +1583,21 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): body: GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def testCorrelationConfig( + self, + *, + location: str, + body: GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def updateCorrelationConfig( + self, + *, + name: str, + body: GoogleCloudContactcenterinsightsV1CorrelationConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudContactcenterinsightsV1CorrelationConfigHttpRequest: ... def updateSettings( self, *, @@ -1516,7 +1609,9 @@ class ContactcenterinsightsResource(googleapiclient.discovery.Resource): def analysisRules(self) -> AnalysisRulesResource: ... def assessmentRules(self) -> AssessmentRulesResource: ... def authorizedViewSets(self) -> AuthorizedViewSetsResource: ... + def autoLabelingRules(self) -> AutoLabelingRulesResource: ... def conversations(self) -> ConversationsResource: ... + def dashboards(self) -> DashboardsResource: ... def datasets(self) -> DatasetsResource: ... def encryptionSpec(self) -> EncryptionSpecResource: ... def insightsdata(self) -> InsightsdataResource: ... @@ -1603,6 +1698,16 @@ class GoogleCloudContactcenterinsightsV1AuthorizedViewSetHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1AuthorizedViewSet: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AutoLabelingRuleHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1AutoLabelingRule: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1623,6 +1728,16 @@ class GoogleCloudContactcenterinsightsV1CalculateStatsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1CalculateStatsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ChartHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1Chart: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationHttpRequest( googleapiclient.http.HttpRequest @@ -1633,6 +1748,26 @@ class GoogleCloudContactcenterinsightsV1ConversationHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1Conversation: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1CorrelationConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1CorrelationConfig: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DashboardHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1Dashboard: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DatasetHttpRequest( googleapiclient.http.HttpRequest @@ -1663,6 +1798,16 @@ class GoogleCloudContactcenterinsightsV1FeedbackLabelHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1FeedbackLabel: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1IssueHttpRequest( googleapiclient.http.HttpRequest @@ -1753,6 +1898,26 @@ class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse: ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListChartsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListChartsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1763,6 +1928,16 @@ class GoogleCloudContactcenterinsightsV1ListConversationsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1ListConversationsResponse: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListDashboardsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1ListDashboardsResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListDatasetsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -1953,6 +2128,16 @@ class GoogleCloudContactcenterinsightsV1SettingsHttpRequest( num_retries: int = 0, ) -> GoogleCloudContactcenterinsightsV1Settings: ... +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse: ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ViewHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi index 6ec65d763..adeabcdb0 100644 --- a/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/contactcenterinsights/v1/schemas.pyi @@ -172,6 +172,31 @@ class GoogleCloudContactcenterinsightsV1AuthorizedViewSet( name: str updateTime: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AutoLabelingRule( + typing_extensions.TypedDict, total=False +): + active: bool + conditions: _list[ + GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition + ] + createTime: str + description: str + displayName: str + labelKey: str + labelKeyType: typing_extensions.Literal[ + "LABEL_KEY_TYPE_UNSPECIFIED", "LABEL_KEY_TYPE_CUSTOM" + ] + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1AutoLabelingRuleLabelingCondition( + typing_extensions.TypedDict, total=False +): + condition: str + value: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata( typing_extensions.TypedDict, total=False @@ -385,12 +410,80 @@ class GoogleCloudContactcenterinsightsV1CallAnnotation( sentimentData: GoogleCloudContactcenterinsightsV1SentimentData silenceData: GoogleCloudContactcenterinsightsV1SilenceData +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Chart(typing_extensions.TypedDict, total=False): + chartType: typing_extensions.Literal[ + "CHART_TYPE_UNSPECIFIED", "SYSTEM_DEFINED", "USER_DEFINED" + ] + chartVisualizationType: typing_extensions.Literal[ + "CHART_VISUALIZATION_TYPE_UNSPECIFIED", + "BAR", + "LINE", + "AREA", + "PIE", + "SCATTER", + "TABLE", + "SCORE_CARD", + "SUNBURST", + "GAUGE", + "SANKEY", + ] + createTime: str + dataSource: GoogleCloudContactcenterinsightsV1ChartDataSource + dateRangeConfig: GoogleCloudContactcenterinsightsV1DateRangeConfig + description: str + displayName: str + filter: str + height: int + name: str + updateTime: str + width: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ChartDataSource( + typing_extensions.TypedDict, total=False +): + generativeInsights: GoogleCloudContactcenterinsightsV1GenerativeInsights + queryMetrics: GoogleCloudContactcenterinsightsV1QueryMetrics + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult( + typing_extensions.TypedDict, total=False +): + conversationA: str + conversationB: str + ruleConstraintResults: _list[ + GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult( + typing_extensions.TypedDict, total=False +): + constraintMet: bool + error: GoogleRpcStatus + ruleId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Container( + typing_extensions.TypedDict, total=False +): + containerId: str + dateRangeConfig: GoogleCloudContactcenterinsightsV1DateRangeConfig + description: str + displayName: str + filter: str + height: int + widgets: _list[GoogleCloudContactcenterinsightsV1Widget] + width: int + @typing.type_check_only class GoogleCloudContactcenterinsightsV1Conversation( typing_extensions.TypedDict, total=False ): agentId: str callMetadata: GoogleCloudContactcenterinsightsV1ConversationCallMetadata + correlationInfo: GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo createTime: str dataSource: GoogleCloudContactcenterinsightsV1ConversationDataSource dialogflowIntents: dict[str, typing.Any] @@ -421,6 +514,41 @@ class GoogleCloudContactcenterinsightsV1ConversationCallMetadata( agentChannel: int customerChannel: int +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConversationCorrelationInfo( + typing_extensions.TypedDict, total=False +): + correlationTypes: _list[ + typing_extensions.Literal[ + "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" + ] + ] + fullConversationCorrelationId: str + mergedFullConversationCorrelationId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConversationCorrelationResult( + typing_extensions.TypedDict, total=False +): + conversation: str + ruleResults: _list[ + GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConversationCorrelationResultRuleCorrelationResult( + typing_extensions.TypedDict, total=False +): + correlationId: str + error: GoogleRpcStatus + ruleId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConversationDataOptions( + typing_extensions.TypedDict, total=False +): + includeDialogflowInteractionData: bool + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationDataSource( typing_extensions.TypedDict, total=False @@ -429,6 +557,13 @@ class GoogleCloudContactcenterinsightsV1ConversationDataSource( gcsSource: GoogleCloudContactcenterinsightsV1GcsSource metadataUri: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio( + typing_extensions.TypedDict, total=False +): + audioDuration: str + audioGcsUri: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment( typing_extensions.TypedDict, total=False @@ -536,6 +671,30 @@ class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentW startOffset: str word: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1CorrelationConfig( + typing_extensions.TypedDict, total=False +): + createTime: str + fullConversationConfig: GoogleCloudContactcenterinsightsV1CorrelationTypeConfig + name: str + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1CorrelationRule( + typing_extensions.TypedDict, total=False +): + active: bool + constraintExpression: str + joinKeyExpression: str + ruleId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1CorrelationTypeConfig( + typing_extensions.TypedDict, total=False +): + correlationRules: _list[GoogleCloudContactcenterinsightsV1CorrelationRule] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata( typing_extensions.TypedDict, total=False @@ -575,6 +734,20 @@ class GoogleCloudContactcenterinsightsV1CreateIssueRequest( issue: GoogleCloudContactcenterinsightsV1Issue parent: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Dashboard( + typing_extensions.TypedDict, total=False +): + createTime: str + dateRangeConfig: GoogleCloudContactcenterinsightsV1DateRangeConfig + description: str + displayName: str + filter: str + name: str + readOnly: bool + rootContainer: GoogleCloudContactcenterinsightsV1Container + updateTime: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1Dataset( typing_extensions.TypedDict, total=False @@ -587,6 +760,24 @@ class GoogleCloudContactcenterinsightsV1Dataset( type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] updateTime: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DateRangeConfig( + typing_extensions.TypedDict, total=False +): + absoluteDateRange: GoogleCloudContactcenterinsightsV1QueryInterval + relativeDateRange: ( + GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange( + typing_extensions.TypedDict, total=False +): + quantity: str + unit: typing_extensions.Literal[ + "TIME_UNIT_UNSPECIFIED", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR" + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -666,6 +857,12 @@ class GoogleCloudContactcenterinsightsV1Dimension( agentDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata ) + clientSentimentCategoryDimensionMetadata: GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata + conversationProfileDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata + ) + conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata + conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata dimensionKey: typing_extensions.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", @@ -677,13 +874,27 @@ class GoogleCloudContactcenterinsightsV1Dimension( "QA_SCORECARD_ID", "CONVERSATION_PROFILE_ID", "MEDIUM", + "CONVERSATIONAL_AGENTS_PLAYBOOK_ID", + "CONVERSATIONAL_AGENTS_PLAYBOOK_NAME", + "CONVERSATIONAL_AGENTS_TOOL_ID", + "CONVERSATIONAL_AGENTS_TOOL_NAME", + "CLIENT_SENTIMENT_CATEGORY", "AGENT_VERSION_ID", "AGENT_DEPLOYMENT_ID", "AGENT_ASSIST_SUPERVISOR_ID", + "LABEL_KEY", + "LABEL_VALUE", + "LABEL_KEY_AND_VALUE", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata ) + labelDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata + ) + mediumDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata + ) qaQuestionAnswerDimensionMetadata: ( GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata ) @@ -706,6 +917,32 @@ class GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata( agentVersionDisplayName: str agentVersionId: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionClientSentimentCategoryDimensionMetadata( + typing_extensions.TypedDict, total=False +): + sentimentCategory: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionConversationProfileDimensionMetadata( + typing_extensions.TypedDict, total=False +): + conversationProfileId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsPlaybookDimensionMetadata( + typing_extensions.TypedDict, total=False +): + playbookDisplayName: str + playbookId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionConversationalAgentsToolDimensionMetadata( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata( typing_extensions.TypedDict, total=False @@ -714,6 +951,19 @@ class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata( issueId: str issueModelId: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata( + typing_extensions.TypedDict, total=False +): + labelKey: str + labelValue: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata( + typing_extensions.TypedDict, total=False +): + medium: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1DimensionQaQuestionAnswerDimensionMetadata( typing_extensions.TypedDict, total=False @@ -813,6 +1063,12 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest( "EXPORT_V9", "EXPORT_V10", "EXPORT_V11", + "EXPORT_V12", + "EXPORT_V13", + "EXPORT_V14", + "EXPORT_V15", + "EXPORT_V16", + "EXPORT_V17", "EXPORT_VERSION_LATEST_AVAILABLE", ] filter: str @@ -897,6 +1153,177 @@ class GoogleCloudContactcenterinsightsV1GcsSource( audioUri: str transcriptUri: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse( + typing_extensions.TypedDict, total=False +): + signedAudioUris: GoogleCloudContactcenterinsightsV1SignedAudioUris + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript( + typing_extensions.TypedDict, total=False +): + conversationId: str + createTime: str + messages: _list[ + GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessage( + typing_extensions.TypedDict, total=False +): + createTime: str + messageId: str + systemMessageWrapper: GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages + userMessage: GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput + userProvidedChartSpec: dict[str, typing.Any] + userProvidedSqlQuery: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessages( + typing_extensions.TypedDict, total=False +): + systemMessages: _list[ + GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageSystemMessage + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscriptMessageUserMessage( + typing_extensions.TypedDict, total=False +): + text: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsights( + typing_extensions.TypedDict, total=False +): + chartCheckpoint: GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint + chartConversations: _list[ + GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation + ] + chartSpec: dict[str, typing.Any] + request: dict[str, typing.Any] + sqlComparisonKey: str + sqlQuery: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartCheckpoint( + typing_extensions.TypedDict, total=False +): + revisionId: str + sessionId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation( + typing_extensions.TypedDict, total=False +): + conversationId: str + createTime: str + messages: _list[ + GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage( + typing_extensions.TypedDict, total=False +): + createTime: str + messageId: str + systemMessage: GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage + userMessage: GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessage( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textOutput: GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageSystemMessageTextOutput( + typing_extensions.TypedDict, total=False +): + texts: _list[str] + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessageUserMessage( + typing_extensions.TypedDict, total=False +): + text: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsMetadata( + typing_extensions.TypedDict, total=False +): + errorMessages: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsRequest( + typing_extensions.TypedDict, total=False +): + chart: str + comparisonFilter: str + filter: str + naturalLanguageQuery: str + revisionId: str + sessionId: str + sqlComparisonKey: str + sqlQuery: str + userProvidedChartSpec: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponse( + typing_extensions.TypedDict, total=False +): + generativeResponses: _list[ + GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse + ] + transcript: ( + GoogleCloudContactcenterinsightsV1GenerativeInsightConversationTranscript + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponse( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput + textOutput: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1GenerativeInsightsResponseGenerativeResponseTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1HoldData( typing_extensions.TypedDict, total=False @@ -1159,6 +1586,20 @@ class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse( authorizedViews: _list[GoogleCloudContactcenterinsightsV1AuthorizedView] nextPageToken: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse( + typing_extensions.TypedDict, total=False +): + autoLabelingRules: _list[GoogleCloudContactcenterinsightsV1AutoLabelingRule] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListChartsResponse( + typing_extensions.TypedDict, total=False +): + charts: _list[GoogleCloudContactcenterinsightsV1Chart] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListConversationsResponse( typing_extensions.TypedDict, total=False @@ -1166,6 +1607,13 @@ class GoogleCloudContactcenterinsightsV1ListConversationsResponse( conversations: _list[GoogleCloudContactcenterinsightsV1Conversation] nextPageToken: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1ListDashboardsResponse( + typing_extensions.TypedDict, total=False +): + dashboards: _list[GoogleCloudContactcenterinsightsV1Dashboard] + nextPageToken: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1ListDatasetsResponse( typing_extensions.TypedDict, total=False @@ -1289,6 +1737,7 @@ class GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig( typing_extensions.TypedDict, total=False ): exactMatchConfig: GoogleCloudContactcenterinsightsV1ExactMatchConfig + regexMatchConfig: GoogleCloudContactcenterinsightsV1RegexMatchConfig @typing.type_check_only class GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup( @@ -1372,6 +1821,9 @@ class GoogleCloudContactcenterinsightsV1QaQuestion( predefinedQuestionConfig: ( GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig ) + qaQuestionDataOptions: ( + GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions + ) questionBody: str questionType: typing_extensions.Literal[ "QA_QUESTION_TYPE_UNSPECIFIED", "CUSTOMIZABLE", "PREDEFINED" @@ -1405,10 +1857,14 @@ class GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig( "PREDEFINED_QUESTION_TYPE_UNSPECIFIED", "CONVERSATION_OUTCOME", "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE", - "CONVERSATION_OUTCOME_CUSTOMER_SATISFACTION", - "CONVERSATION_OUTCOME_AGENT_HELPFULNESS", ] +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QaQuestionQaQuestionDataOptions( + typing_extensions.TypedDict, total=False +): + conversationDataOptions: GoogleCloudContactcenterinsightsV1ConversationDataOptions + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QaQuestionTag( typing_extensions.TypedDict, total=False @@ -1513,6 +1969,12 @@ class GoogleCloudContactcenterinsightsV1QueryInterval( endTime: str startTime: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryMetrics( + typing_extensions.TypedDict, total=False +): + request: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsMetadata( typing_extensions.TypedDict, total=False @@ -1558,12 +2020,25 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint( typing_extensions.TypedDict, total=False ): conversationMeasure: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure + dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure interval: GoogleTypeInterval @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure( typing_extensions.TypedDict, total=False ): + aaSupervisorAssignedConversationsCount: int + aaSupervisorDroppedConversationsCount: int + aaSupervisorEscalatedConversationsCount: int + aaSupervisorMonitoredConversationsCount: int + aaSupervisorTransferredToHumanAgentConvCount: int + aiCoachSuggestionAgentMessageTriggerCount: int + aiCoachSuggestionAgentUsageCount: int + aiCoachSuggestionAgentUsageRatio: float + aiCoachSuggestionCustomerMessageTriggerCount: int + aiCoachSuggestionCustomerMessageTriggerRatio: float + aiCoachSuggestionMessageTriggerCount: int + aiCoachSuggestionMessageTriggerRatio: float averageAgentSentimentScore: float averageClientSentimentScore: float averageCustomerSatisfactionRating: float @@ -1571,11 +2046,44 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConver averageQaNormalizedScore: float averageQaQuestionNormalizedScore: float averageSilencePercentage: float + averageSummarizationSuggestionEditDistance: float + averageSummarizationSuggestionNormalizedEditDistance: float averageTurnCount: float + avgConversationClientTurnSentimentEma: float + containedConversationCount: int + containedConversationRatio: float + conversationAiCoachSuggestionCount: int + conversationAiCoachSuggestionRatio: float conversationCount: int + conversationSuggestedSummaryRatio: float + conversationTotalAgentMessageCount: int + conversationTotalCustomerMessageCount: int + conversationalAgentsAverageAudioInAudioOutLatency: float + conversationalAgentsAverageEndToEndLatency: float + conversationalAgentsAverageLlmCallLatency: float + conversationalAgentsAverageTtsLatency: float + dialogflowAverageWebhookLatency: float + dialogflowConversationsEscalationCount: float + dialogflowConversationsEscalationRatio: float + dialogflowInteractionsNoInputRatio: float + dialogflowInteractionsNoMatchRatio: float + dialogflowWebhookFailureRatio: float + dialogflowWebhookTimeoutRatio: float + knowledgeAssistNegativeFeedbackRatio: float + knowledgeAssistPositiveFeedbackRatio: float + knowledgeAssistResultCount: int + knowledgeAssistUriClickRatio: float + knowledgeSearchAgentQuerySourceRatio: float + knowledgeSearchNegativeFeedbackRatio: float + knowledgeSearchPositiveFeedbackRatio: float + knowledgeSearchResultCount: int + knowledgeSearchSuggestedQuerySourceRatio: float + knowledgeSearchUriClickRatio: float qaTagScores: _list[ GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore ] + summarizationSuggestionEditRatio: float + summarizationSuggestionResultCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( @@ -1584,6 +2092,24 @@ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConver averageTagNormalizedScore: float tag: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( + typing_extensions.TypedDict, total=False +): + percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult + percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult + percentileLlmCallLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult + percentileToolUseLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult + percentileTtsLatency: GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult( + typing_extensions.TypedDict, total=False +): + p50: float + p90: float + p99: float + @typing.type_check_only class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries( typing_extensions.TypedDict, total=False @@ -1627,6 +2153,11 @@ class GoogleCloudContactcenterinsightsV1RedactionConfig( deidentifyTemplate: str inspectTemplate: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1RegexMatchConfig( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudContactcenterinsightsV1RuntimeAnnotation( typing_extensions.TypedDict, total=False @@ -1741,6 +2272,16 @@ class GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig( runtimeIntegrationAnalysisPercentage: float uploadConversationAnalysisPercentage: float +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1SignedAudioUris( + typing_extensions.TypedDict, total=False +): + signedDialogflowAudioUri: str + signedGcsAudioUri: str + signedTurnLevelAudios: _list[ + GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1SilenceData( typing_extensions.TypedDict, total=False @@ -1768,8 +2309,84 @@ class GoogleCloudContactcenterinsightsV1SmartReplyData( class GoogleCloudContactcenterinsightsV1SpeechConfig( typing_extensions.TypedDict, total=False ): + disableWordTimeOffsets: bool speechRecognizer: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest( + typing_extensions.TypedDict, total=False +): + autoLabelingRule: GoogleCloudContactcenterinsightsV1AutoLabelingRule + conversation: GoogleCloudContactcenterinsightsV1Conversation + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse( + typing_extensions.TypedDict, total=False +): + labelResult: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + dataset: str + stats: GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStats( + typing_extensions.TypedDict, total=False +): + conversationCorrelationErrors: _list[ + GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError + ] + correlatedConversationsCount: int + failedConversationsCount: int + partialErrors: _list[GoogleRpcStatus] + sampledConversationsCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( + typing_extensions.TypedDict, total=False +): + conversation: str + status: GoogleRpcStatus + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest( + typing_extensions.TypedDict, total=False +): + conversations: ( + GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations + ) + correlationConfig: GoogleCloudContactcenterinsightsV1CorrelationConfig + filter: str + maxSampleCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequestConversations( + typing_extensions.TypedDict, total=False +): + conversations: _list[GoogleCloudContactcenterinsightsV1Conversation] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponse( + typing_extensions.TypedDict, total=False +): + detailedResults: GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults + partialErrors: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1TestCorrelationConfigResponseDetailedCorrelationResults( + typing_extensions.TypedDict, total=False +): + constraintResults: _list[ + GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult + ] + joinKeyResults: _list[ + GoogleCloudContactcenterinsightsV1ConversationCorrelationResult + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest( typing_extensions.TypedDict, total=False @@ -1850,6 +2467,15 @@ class GoogleCloudContactcenterinsightsV1View(typing_extensions.TypedDict, total= updateTime: str value: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1Widget( + typing_extensions.TypedDict, total=False +): + chart: GoogleCloudContactcenterinsightsV1Chart + chartReference: str + container: GoogleCloudContactcenterinsightsV1Container + filter: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1Analysis( typing_extensions.TypedDict, total=False @@ -2045,12 +2671,31 @@ class GoogleCloudContactcenterinsightsV1alpha1CallAnnotation( sentimentData: GoogleCloudContactcenterinsightsV1alpha1SentimentData silenceData: GoogleCloudContactcenterinsightsV1alpha1SilenceData +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult( + typing_extensions.TypedDict, total=False +): + conversationA: str + conversationB: str + ruleConstraintResults: _list[ + GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult( + typing_extensions.TypedDict, total=False +): + constraintMet: bool + error: GoogleRpcStatus + ruleId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1Conversation( typing_extensions.TypedDict, total=False ): agentId: str callMetadata: GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata + correlationInfo: GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo createTime: str dataSource: GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource dialogflowIntents: dict[str, typing.Any] @@ -2081,6 +2726,35 @@ class GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata( agentChannel: int customerChannel: int +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationInfo( + typing_extensions.TypedDict, total=False +): + correlationTypes: _list[ + typing_extensions.Literal[ + "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" + ] + ] + fullConversationCorrelationId: str + mergedFullConversationCorrelationId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult( + typing_extensions.TypedDict, total=False +): + conversation: str + ruleResults: _list[ + GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult( + typing_extensions.TypedDict, total=False +): + correlationId: str + error: GoogleRpcStatus + ruleId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource( typing_extensions.TypedDict, total=False @@ -2321,6 +2995,10 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( agentDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata ) + clientSentimentCategoryDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata + conversationProfileDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata + conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata + conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata dimensionKey: typing_extensions.Literal[ "DIMENSION_KEY_UNSPECIFIED", "ISSUE", @@ -2332,13 +3010,27 @@ class GoogleCloudContactcenterinsightsV1alpha1Dimension( "QA_SCORECARD_ID", "CONVERSATION_PROFILE_ID", "MEDIUM", + "CONVERSATIONAL_AGENTS_PLAYBOOK_ID", + "CONVERSATIONAL_AGENTS_PLAYBOOK_NAME", + "CONVERSATIONAL_AGENTS_TOOL_ID", + "CONVERSATIONAL_AGENTS_TOOL_NAME", + "CLIENT_SENTIMENT_CATEGORY", "AGENT_VERSION_ID", "AGENT_DEPLOYMENT_ID", "AGENT_ASSIST_SUPERVISOR_ID", + "LABEL_KEY", + "LABEL_VALUE", + "LABEL_KEY_AND_VALUE", ] issueDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata ) + labelDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata + ) + mediumDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata + ) qaQuestionAnswerDimensionMetadata: GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata qaQuestionDimensionMetadata: ( GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionDimensionMetadata @@ -2359,6 +3051,32 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionAgentDimensionMetadata( agentVersionDisplayName: str agentVersionId: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionClientSentimentCategoryDimensionMetadata( + typing_extensions.TypedDict, total=False +): + sentimentCategory: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationProfileDimensionMetadata( + typing_extensions.TypedDict, total=False +): + conversationProfileId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsPlaybookDimensionMetadata( + typing_extensions.TypedDict, total=False +): + playbookDisplayName: str + playbookId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionConversationalAgentsToolDimensionMetadata( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolId: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata( typing_extensions.TypedDict, total=False @@ -2367,6 +3085,19 @@ class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata( issueId: str issueModelId: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata( + typing_extensions.TypedDict, total=False +): + labelKey: str + labelValue: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata( + typing_extensions.TypedDict, total=False +): + medium: str + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1DimensionQaQuestionAnswerDimensionMetadata( typing_extensions.TypedDict, total=False @@ -2458,6 +3189,12 @@ class GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest( "EXPORT_V9", "EXPORT_V10", "EXPORT_V11", + "EXPORT_V12", + "EXPORT_V13", + "EXPORT_V14", + "EXPORT_V15", + "EXPORT_V16", + "EXPORT_V17", "EXPORT_VERSION_LATEST_AVAILABLE", ] filter: str @@ -2537,6 +3274,94 @@ class GoogleCloudContactcenterinsightsV1alpha1GcsSource( audioUri: str transcriptUri: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript( + typing_extensions.TypedDict, total=False +): + conversationId: str + createTime: str + messages: _list[ + GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessage( + typing_extensions.TypedDict, total=False +): + createTime: str + messageId: str + systemMessageWrapper: GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages + userMessage: GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput + userProvidedChartSpec: dict[str, typing.Any] + userProvidedSqlQuery: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessages( + typing_extensions.TypedDict, total=False +): + systemMessages: _list[ + GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageSystemMessage + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscriptMessageUserMessage( + typing_extensions.TypedDict, total=False +): + text: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsMetadata( + typing_extensions.TypedDict, total=False +): + errorMessages: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponse( + typing_extensions.TypedDict, total=False +): + generativeResponses: _list[ + GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse + ] + transcript: ( + GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightConversationTranscript + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponse( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput + textOutput: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1HoldData( typing_extensions.TypedDict, total=False @@ -2890,12 +3715,25 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint typing_extensions.TypedDict, total=False ): conversationMeasure: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure + dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure interval: GoogleTypeInterval @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure( typing_extensions.TypedDict, total=False ): + aaSupervisorAssignedConversationsCount: int + aaSupervisorDroppedConversationsCount: int + aaSupervisorEscalatedConversationsCount: int + aaSupervisorMonitoredConversationsCount: int + aaSupervisorTransferredToHumanAgentConvCount: int + aiCoachSuggestionAgentMessageTriggerCount: int + aiCoachSuggestionAgentUsageCount: int + aiCoachSuggestionAgentUsageRatio: float + aiCoachSuggestionCustomerMessageTriggerCount: int + aiCoachSuggestionCustomerMessageTriggerRatio: float + aiCoachSuggestionMessageTriggerCount: int + aiCoachSuggestionMessageTriggerRatio: float averageAgentSentimentScore: float averageClientSentimentScore: float averageCustomerSatisfactionRating: float @@ -2903,11 +3741,44 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint averageQaNormalizedScore: float averageQaQuestionNormalizedScore: float averageSilencePercentage: float + averageSummarizationSuggestionEditDistance: float + averageSummarizationSuggestionNormalizedEditDistance: float averageTurnCount: float + avgConversationClientTurnSentimentEma: float + containedConversationCount: int + containedConversationRatio: float + conversationAiCoachSuggestionCount: int + conversationAiCoachSuggestionRatio: float conversationCount: int + conversationSuggestedSummaryRatio: float + conversationTotalAgentMessageCount: int + conversationTotalCustomerMessageCount: int + conversationalAgentsAverageAudioInAudioOutLatency: float + conversationalAgentsAverageEndToEndLatency: float + conversationalAgentsAverageLlmCallLatency: float + conversationalAgentsAverageTtsLatency: float + dialogflowAverageWebhookLatency: float + dialogflowConversationsEscalationCount: float + dialogflowConversationsEscalationRatio: float + dialogflowInteractionsNoInputRatio: float + dialogflowInteractionsNoMatchRatio: float + dialogflowWebhookFailureRatio: float + dialogflowWebhookTimeoutRatio: float + knowledgeAssistNegativeFeedbackRatio: float + knowledgeAssistPositiveFeedbackRatio: float + knowledgeAssistResultCount: int + knowledgeAssistUriClickRatio: float + knowledgeSearchAgentQuerySourceRatio: float + knowledgeSearchNegativeFeedbackRatio: float + knowledgeSearchPositiveFeedbackRatio: float + knowledgeSearchResultCount: int + knowledgeSearchSuggestedQuerySourceRatio: float + knowledgeSearchUriClickRatio: float qaTagScores: _list[ GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore ] + summarizationSuggestionEditRatio: float + summarizationSuggestionResultCount: int @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( @@ -2916,6 +3787,24 @@ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPoint averageTagNormalizedScore: float tag: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( + typing_extensions.TypedDict, total=False +): + percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult + percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult + percentileLlmCallLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult + percentileToolUseLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult + percentileTtsLatency: GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult( + typing_extensions.TypedDict, total=False +): + p50: float + p90: float + p99: float + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries( typing_extensions.TypedDict, total=False @@ -3048,8 +3937,54 @@ class GoogleCloudContactcenterinsightsV1alpha1SmartReplyData( class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig( typing_extensions.TypedDict, total=False ): + disableWordTimeOffsets: bool speechRecognizer: str +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + dataset: str + stats: GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStats( + typing_extensions.TypedDict, total=False +): + conversationCorrelationErrors: _list[ + GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError + ] + correlatedConversationsCount: int + failedConversationsCount: int + partialErrors: _list[GoogleRpcStatus] + sampledConversationsCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( + typing_extensions.TypedDict, total=False +): + conversation: str + status: GoogleRpcStatus + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponse( + typing_extensions.TypedDict, total=False +): + detailedResults: GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults + partialErrors: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1alpha1TestCorrelationConfigResponseDetailedCorrelationResults( + typing_extensions.TypedDict, total=False +): + constraintResults: _list[ + GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult + ] + joinKeyResults: _list[ + GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult + ] + @typing.type_check_only class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata( typing_extensions.TypedDict, total=False @@ -3104,6 +4039,1626 @@ class GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest( redactionConfig: GoogleCloudContactcenterinsightsV1alpha1RedactionConfig speechConfig: GoogleCloudContactcenterinsightsV1alpha1SpeechConfig +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnalysis( + typing_extensions.TypedDict, total=False +): + analysisResult: GoogleCloudContactcenterinsightsV1mainAnalysisResult + annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector + createTime: str + name: str + requestTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnalysisResult( + typing_extensions.TypedDict, total=False +): + callAnalysisMetadata: ( + GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata + ) + endTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnalysisResultCallAnalysisMetadata( + typing_extensions.TypedDict, total=False +): + annotations: _list[GoogleCloudContactcenterinsightsV1mainCallAnnotation] + entities: dict[str, typing.Any] + intents: dict[str, typing.Any] + issueModelResult: GoogleCloudContactcenterinsightsV1mainIssueModelResult + phraseMatchers: dict[str, typing.Any] + qaScorecardResults: _list[GoogleCloudContactcenterinsightsV1mainQaScorecardResult] + sentiments: _list[GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment] + silence: GoogleCloudContactcenterinsightsV1mainConversationLevelSilence + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnnotationBoundary( + typing_extensions.TypedDict, total=False +): + transcriptIndex: int + wordIndex: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnnotatorSelector( + typing_extensions.TypedDict, total=False +): + issueModels: _list[str] + phraseMatchers: _list[str] + qaConfig: GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig + runEntityAnnotator: bool + runIntentAnnotator: bool + runInterruptionAnnotator: bool + runIssueModelAnnotator: bool + runPhraseMatcherAnnotator: bool + runQaAnnotator: bool + runSentimentAnnotator: bool + runSilenceAnnotator: bool + runSummarizationAnnotator: bool + summarizationConfig: ( + GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfig( + typing_extensions.TypedDict, total=False +): + scorecardList: ( + GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorQaConfigScorecardList( + typing_extensions.TypedDict, total=False +): + qaScorecardRevisions: _list[str] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnnotatorSelectorSummarizationConfig( + typing_extensions.TypedDict, total=False +): + conversationProfile: str + generator: str + summarizationModel: typing_extensions.Literal[ + "SUMMARIZATION_MODEL_UNSPECIFIED", "BASELINE_MODEL", "BASELINE_MODEL_V2_0" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainAnswerFeedback( + typing_extensions.TypedDict, total=False +): + clicked: bool + correctnessLevel: typing_extensions.Literal[ + "CORRECTNESS_LEVEL_UNSPECIFIED", + "NOT_CORRECT", + "PARTIALLY_CORRECT", + "FULLY_CORRECT", + ] + displayed: bool + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainArticleSuggestionData( + typing_extensions.TypedDict, total=False +): + confidenceScore: float + metadata: dict[str, typing.Any] + queryRecord: str + source: str + title: str + uri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsMetadata( + typing_extensions.TypedDict, total=False +): + completedAnalysesCount: int + createTime: str + endTime: str + failedAnalysesCount: int + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest + totalRequestedAnalysesCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsRequest( + typing_extensions.TypedDict, total=False +): + analysisPercentage: float + annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector + filter: str + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkAnalyzeConversationsResponse( + typing_extensions.TypedDict, total=False +): + failedAnalysisCount: int + successfulAnalysisCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + force: bool + maxDeleteCount: int + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteConversationsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsMetadata( + typing_extensions.TypedDict, total=False +): + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsRequest( + typing_extensions.TypedDict, total=False +): + filter: str + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDeleteFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + downloadStats: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsMetadataDownloadStats( + typing_extensions.TypedDict, total=False +): + fileNames: _list[str] + processedObjectCount: int + successfulDownloadCount: int + totalFilesWritten: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequest( + typing_extensions.TypedDict, total=False +): + conversationFilter: str + feedbackLabelType: typing_extensions.Literal[ + "FEEDBACK_LABEL_TYPE_UNSPECIFIED", + "QUALITY_AI", + "TOPIC_MODELING", + "AGENT_ASSIST_SUMMARY", + ] + filter: str + gcsDestination: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination + maxDownloadCount: int + parent: str + sheetsDestination: GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination + templateQaScorecardId: _list[str] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestGcsDestination( + typing_extensions.TypedDict, total=False +): + addWhitespace: bool + alwaysPrintEmptyFields: bool + format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "CSV", "JSON"] + objectUri: str + recordsPerFileCount: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsRequestSheetsDestination( + typing_extensions.TypedDict, total=False +): + sheetTitle: str + spreadsheetUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainBulkDownloadFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCallAnnotation( + typing_extensions.TypedDict, total=False +): + annotationEndBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary + annotationStartBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary + channelTag: int + entityMentionData: GoogleCloudContactcenterinsightsV1mainEntityMentionData + holdData: GoogleCloudContactcenterinsightsV1mainHoldData + intentMatchData: GoogleCloudContactcenterinsightsV1mainIntentMatchData + interruptionData: GoogleCloudContactcenterinsightsV1mainInterruptionData + issueMatchData: GoogleCloudContactcenterinsightsV1mainIssueMatchData + phraseMatchData: GoogleCloudContactcenterinsightsV1mainPhraseMatchData + sentimentData: GoogleCloudContactcenterinsightsV1mainSentimentData + silenceData: GoogleCloudContactcenterinsightsV1mainSilenceData + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult( + typing_extensions.TypedDict, total=False +): + conversationA: str + conversationB: str + ruleConstraintResults: _list[ + GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResultRuleConstraintResult( + typing_extensions.TypedDict, total=False +): + constraintMet: bool + error: GoogleRpcStatus + ruleId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversation( + typing_extensions.TypedDict, total=False +): + agentId: str + callMetadata: GoogleCloudContactcenterinsightsV1mainConversationCallMetadata + correlationInfo: GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo + createTime: str + dataSource: GoogleCloudContactcenterinsightsV1mainConversationDataSource + dialogflowIntents: dict[str, typing.Any] + duration: str + expireTime: str + labels: dict[str, typing.Any] + languageCode: str + latestAnalysis: GoogleCloudContactcenterinsightsV1mainAnalysis + latestSummary: ( + GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData + ) + medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + metadataJson: str + name: str + obfuscatedUserId: str + qualityMetadata: GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata + runtimeAnnotations: _list[GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation] + startTime: str + transcript: GoogleCloudContactcenterinsightsV1mainConversationTranscript + ttl: str + turnCount: int + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationCallMetadata( + typing_extensions.TypedDict, total=False +): + agentChannel: int + customerChannel: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationCorrelationInfo( + typing_extensions.TypedDict, total=False +): + correlationTypes: _list[ + typing_extensions.Literal[ + "CORRELATION_TYPE_UNSPECIFIED", "SEGMENT", "PARTIAL", "FULL", "SYNTHETIC" + ] + ] + fullConversationCorrelationId: str + mergedFullConversationCorrelationId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult( + typing_extensions.TypedDict, total=False +): + conversation: str + ruleResults: _list[ + GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationCorrelationResultRuleCorrelationResult( + typing_extensions.TypedDict, total=False +): + correlationId: str + error: GoogleRpcStatus + ruleId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationDataSource( + typing_extensions.TypedDict, total=False +): + dialogflowSource: GoogleCloudContactcenterinsightsV1mainDialogflowSource + gcsSource: GoogleCloudContactcenterinsightsV1mainGcsSource + metadataUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationLevelSentiment( + typing_extensions.TypedDict, total=False +): + channelTag: int + sentimentData: GoogleCloudContactcenterinsightsV1mainSentimentData + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationLevelSilence( + typing_extensions.TypedDict, total=False +): + silenceDuration: str + silencePercentage: float + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationParticipant( + typing_extensions.TypedDict, total=False +): + dialogflowParticipant: str + dialogflowParticipantName: str + obfuscatedExternalUserId: str + role: typing_extensions.Literal[ + "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" + ] + userId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadata( + typing_extensions.TypedDict, total=False +): + agentInfo: _list[ + GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo + ] + customerSatisfactionRating: int + feedbackLabels: _list[GoogleCloudContactcenterinsightsV1mainFeedbackLabel] + menuPath: str + waitDuration: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo( + typing_extensions.TypedDict, total=False +): + agentId: str + agentType: typing_extensions.Literal[ + "ROLE_UNSPECIFIED", "HUMAN_AGENT", "AUTOMATED_AGENT", "END_USER", "ANY_AGENT" + ] + deploymentDisplayName: str + deploymentId: str + displayName: str + dispositionCode: str + location: str + team: str + teams: _list[str] + versionDisplayName: str + versionId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData( + typing_extensions.TypedDict, total=False +): + answerRecord: str + confidence: float + conversationModel: str + generatorId: str + metadata: dict[str, typing.Any] + text: str + textSections: dict[str, typing.Any] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationTranscript( + typing_extensions.TypedDict, total=False +): + transcriptSegments: _list[ + GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegment( + typing_extensions.TypedDict, total=False +): + channelTag: int + confidence: float + dialogflowSegmentMetadata: GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata + languageCode: str + messageTime: str + segmentParticipant: GoogleCloudContactcenterinsightsV1mainConversationParticipant + sentiment: GoogleCloudContactcenterinsightsV1mainSentimentData + text: str + words: _list[ + GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata( + typing_extensions.TypedDict, total=False +): + smartReplyAllowlistCovered: bool + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainConversationTranscriptTranscriptSegmentWordInfo( + typing_extensions.TypedDict, total=False +): + confidence: float + endOffset: str + startOffset: str + word: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCreateAnalysisOperationMetadata( + typing_extensions.TypedDict, total=False +): + annotatorSelector: GoogleCloudContactcenterinsightsV1mainAnnotatorSelector + conversation: str + createTime: str + endTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCreateIssueMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainCreateIssueRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCreateIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCreateIssueModelRequest( + typing_extensions.TypedDict, total=False +): + issueModel: GoogleCloudContactcenterinsightsV1mainIssueModel + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainCreateIssueRequest( + typing_extensions.TypedDict, total=False +): + issue: GoogleCloudContactcenterinsightsV1mainIssue + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDataset( + typing_extensions.TypedDict, total=False +): + createTime: str + description: str + displayName: str + name: str + ttl: str + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "EVAL", "LIVE"] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeleteIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeleteIssueModelRequest( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeleteQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeployIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeployIssueModelRequest( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDeployIssueModelResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDialogflowIntent( + typing_extensions.TypedDict, total=False +): + displayName: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData( + typing_extensions.TypedDict, total=False +): + confidence: float + dialogflowIntentId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDialogflowSource( + typing_extensions.TypedDict, total=False +): + audioUri: str + dialogflowConversation: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimension( + typing_extensions.TypedDict, total=False +): + agentDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata + ) + clientSentimentCategoryDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata + conversationProfileDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata + conversationalAgentsPlaybookDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata + conversationalAgentsToolDimensionMetadata: GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata + dimensionKey: typing_extensions.Literal[ + "DIMENSION_KEY_UNSPECIFIED", + "ISSUE", + "ISSUE_NAME", + "AGENT", + "AGENT_TEAM", + "QA_QUESTION_ID", + "QA_QUESTION_ANSWER_VALUE", + "QA_SCORECARD_ID", + "CONVERSATION_PROFILE_ID", + "MEDIUM", + "CONVERSATIONAL_AGENTS_PLAYBOOK_ID", + "CONVERSATIONAL_AGENTS_PLAYBOOK_NAME", + "CONVERSATIONAL_AGENTS_TOOL_ID", + "CONVERSATIONAL_AGENTS_TOOL_NAME", + "CLIENT_SENTIMENT_CATEGORY", + "AGENT_VERSION_ID", + "AGENT_DEPLOYMENT_ID", + "AGENT_ASSIST_SUPERVISOR_ID", + "LABEL_KEY", + "LABEL_VALUE", + "LABEL_KEY_AND_VALUE", + ] + issueDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata + ) + labelDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata + ) + mediumDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata + ) + qaQuestionAnswerDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata + ) + qaQuestionDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata + ) + qaScorecardDimensionMetadata: ( + GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionAgentDimensionMetadata( + typing_extensions.TypedDict, total=False +): + agentDeploymentDisplayName: str + agentDeploymentId: str + agentDisplayName: str + agentId: str + agentTeam: str + agentVersionDisplayName: str + agentVersionId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionClientSentimentCategoryDimensionMetadata( + typing_extensions.TypedDict, total=False +): + sentimentCategory: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionConversationProfileDimensionMetadata( + typing_extensions.TypedDict, total=False +): + conversationProfileId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsPlaybookDimensionMetadata( + typing_extensions.TypedDict, total=False +): + playbookDisplayName: str + playbookId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionConversationalAgentsToolDimensionMetadata( + typing_extensions.TypedDict, total=False +): + toolDisplayName: str + toolId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionIssueDimensionMetadata( + typing_extensions.TypedDict, total=False +): + issueDisplayName: str + issueId: str + issueModelId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionLabelDimensionMetadata( + typing_extensions.TypedDict, total=False +): + labelKey: str + labelValue: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionMediumDimensionMetadata( + typing_extensions.TypedDict, total=False +): + medium: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionAnswerDimensionMetadata( + typing_extensions.TypedDict, total=False +): + answerValue: str + qaQuestionId: str + qaScorecardId: str + questionBody: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionQaQuestionDimensionMetadata( + typing_extensions.TypedDict, total=False +): + qaQuestionId: str + qaScorecardId: str + questionBody: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainDimensionQaScorecardDimensionMetadata( + typing_extensions.TypedDict, total=False +): + qaScorecardId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainEncryptionSpec( + typing_extensions.TypedDict, total=False +): + kmsKey: str + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainEntity( + typing_extensions.TypedDict, total=False +): + displayName: str + metadata: dict[str, typing.Any] + salience: float + sentiment: GoogleCloudContactcenterinsightsV1mainSentimentData + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", + "PERSON", + "LOCATION", + "ORGANIZATION", + "EVENT", + "WORK_OF_ART", + "CONSUMER_GOOD", + "OTHER", + "PHONE_NUMBER", + "ADDRESS", + "DATE", + "NUMBER", + "PRICE", + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainEntityMentionData( + typing_extensions.TypedDict, total=False +): + entityUniqueId: str + sentiment: GoogleCloudContactcenterinsightsV1mainSentimentData + type: typing_extensions.Literal["MENTION_TYPE_UNSPECIFIED", "PROPER", "COMMON"] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportInsightsDataMetadata( + typing_extensions.TypedDict, total=False +): + completedExportCount: int + createTime: str + endTime: str + failedExportCount: int + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequest( + typing_extensions.TypedDict, total=False +): + bigQueryDestination: GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination + exportSchemaVersion: typing_extensions.Literal[ + "EXPORT_SCHEMA_VERSION_UNSPECIFIED", + "EXPORT_V1", + "EXPORT_V2", + "EXPORT_V3", + "EXPORT_V4", + "EXPORT_V5", + "EXPORT_V6", + "EXPORT_V7", + "EXPORT_V8", + "EXPORT_V9", + "EXPORT_V10", + "EXPORT_V11", + "EXPORT_V12", + "EXPORT_V13", + "EXPORT_V14", + "EXPORT_V15", + "EXPORT_V16", + "EXPORT_V17", + "EXPORT_VERSION_LATEST_AVAILABLE", + ] + filter: str + kmsKey: str + parent: str + writeDisposition: typing_extensions.Literal[ + "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_TRUNCATE", "WRITE_APPEND" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportInsightsDataRequestBigQueryDestination( + typing_extensions.TypedDict, total=False +): + dataset: str + projectId: str + table: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportInsightsDataResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportIssueModelRequest( + typing_extensions.TypedDict, total=False +): + gcsDestination: ( + GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination + ) + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportIssueModelRequestGcsDestination( + typing_extensions.TypedDict, total=False +): + objectUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainExportIssueModelResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainFaqAnswerData( + typing_extensions.TypedDict, total=False +): + answer: str + confidenceScore: float + metadata: dict[str, typing.Any] + queryRecord: str + question: str + source: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainFeedbackLabel( + typing_extensions.TypedDict, total=False +): + createTime: str + label: str + labeledResource: str + name: str + qaAnswerLabel: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGcsSource( + typing_extensions.TypedDict, total=False +): + audioUri: str + transcriptUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript( + typing_extensions.TypedDict, total=False +): + conversationId: str + createTime: str + messages: _list[ + GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage + ] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessage( + typing_extensions.TypedDict, total=False +): + createTime: str + messageId: str + systemMessageWrapper: GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages + userMessage: GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput + userProvidedChartSpec: dict[str, typing.Any] + userProvidedSqlQuery: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessageTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessages( + typing_extensions.TypedDict, total=False +): + systemMessages: _list[ + GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageSystemMessage + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscriptMessageUserMessage( + typing_extensions.TypedDict, total=False +): + text: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsMetadata( + typing_extensions.TypedDict, total=False +): + errorMessages: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponse( + typing_extensions.TypedDict, total=False +): + generativeResponses: _list[ + GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse + ] + transcript: ( + GoogleCloudContactcenterinsightsV1mainGenerativeInsightConversationTranscript + ) + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponse( + typing_extensions.TypedDict, total=False +): + chartSpec: dict[str, typing.Any] + generatedSqlQuery: str + textMessage: GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput + textOutput: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainGenerativeInsightsResponseGenerativeResponseTextOutput( + typing_extensions.TypedDict, total=False +): + text: _list[str] + textType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "THOUGHT", "FINAL_RESPONSE", "PROGRESS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainHoldData( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainImportIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainImportIssueModelRequest( + typing_extensions.TypedDict, total=False +): + createNewModel: bool + gcsSource: GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource + parent: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainImportIssueModelRequestGcsSource( + typing_extensions.TypedDict, total=False +): + objectUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainImportIssueModelResponse( + typing_extensions.TypedDict, total=False +): + issueModel: GoogleCloudContactcenterinsightsV1mainIssueModel + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + ingestConversationsStats: GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest + sampledConversations: _list[str] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsMetadataIngestConversationsStats( + typing_extensions.TypedDict, total=False +): + duplicatesSkippedCount: int + failedIngestCount: int + processedObjectCount: int + successfulIngestCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequest( + typing_extensions.TypedDict, total=False +): + conversationConfig: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig + gcsSource: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource + parent: str + redactionConfig: GoogleCloudContactcenterinsightsV1mainRedactionConfig + sampleSize: int + speechConfig: GoogleCloudContactcenterinsightsV1mainSpeechConfig + transcriptObjectConfig: GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestConversationConfig( + typing_extensions.TypedDict, total=False +): + agentChannel: int + agentId: str + customerChannel: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestGcsSource( + typing_extensions.TypedDict, total=False +): + audioBucketUri: str + bucketObjectType: typing_extensions.Literal[ + "BUCKET_OBJECT_TYPE_UNSPECIFIED", "TRANSCRIPT", "AUDIO" + ] + bucketUri: str + customMetadataKeys: _list[str] + metadataBucketUri: str + transcriptBucketUri: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsRequestTranscriptObjectConfig( + typing_extensions.TypedDict, total=False +): + medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIngestConversationsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecRequest( + typing_extensions.TypedDict, total=False +): + encryptionSpec: GoogleCloudContactcenterinsightsV1mainEncryptionSpec + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainInitializeEncryptionSpecResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIntent( + typing_extensions.TypedDict, total=False +): + displayName: str + id: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIntentMatchData( + typing_extensions.TypedDict, total=False +): + intentUniqueId: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainInterruptionData( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssue( + typing_extensions.TypedDict, total=False +): + createTime: str + displayDescription: str + displayName: str + name: str + sampleUtterances: _list[str] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueAssignment( + typing_extensions.TypedDict, total=False +): + displayName: str + issue: str + score: float + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueMatchData( + typing_extensions.TypedDict, total=False +): + issueAssignment: GoogleCloudContactcenterinsightsV1mainIssueAssignment + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueModel( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + inputDataConfig: GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig + issueCount: str + languageCode: str + modelType: typing_extensions.Literal["MODEL_TYPE_UNSPECIFIED", "TYPE_V1", "TYPE_V2"] + name: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "UNDEPLOYED", + "DEPLOYING", + "DEPLOYED", + "UNDEPLOYING", + "DELETING", + ] + trainingStats: GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueModelInputDataConfig( + typing_extensions.TypedDict, total=False +): + filter: str + medium: typing_extensions.Literal["MEDIUM_UNSPECIFIED", "PHONE_CALL", "CHAT"] + trainingConversationsCount: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStats( + typing_extensions.TypedDict, total=False +): + analyzedConversationsCount: str + issueStats: dict[str, typing.Any] + unclassifiedConversationsCount: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueModelLabelStatsIssueStats( + typing_extensions.TypedDict, total=False +): + displayName: str + issue: str + labeledConversationsCount: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainIssueModelResult( + typing_extensions.TypedDict, total=False +): + issueModel: str + issues: _list[GoogleCloudContactcenterinsightsV1mainIssueAssignment] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainListAllFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): + feedbackLabels: _list[GoogleCloudContactcenterinsightsV1mainFeedbackLabel] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainListFeedbackLabelsResponse( + typing_extensions.TypedDict, total=False +): + feedbackLabels: _list[GoogleCloudContactcenterinsightsV1mainFeedbackLabel] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainPhraseMatchData( + typing_extensions.TypedDict, total=False +): + displayName: str + phraseMatcher: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaAnswer( + typing_extensions.TypedDict, total=False +): + answerSources: _list[GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource] + answerValue: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue + conversation: str + qaQuestion: str + questionBody: str + tags: _list[str] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource( + typing_extensions.TypedDict, total=False +): + answerValue: GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue + sourceType: typing_extensions.Literal[ + "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED", "MANUAL_EDIT" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerValue( + typing_extensions.TypedDict, total=False +): + boolValue: bool + key: str + naValue: bool + normalizedScore: float + numValue: float + potentialScore: float + score: float + skipValue: bool + strValue: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaQuestionTag( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + name: str + qaQuestionIds: _list[str] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaScorecardResult( + typing_extensions.TypedDict, total=False +): + agentId: str + conversation: str + createTime: str + name: str + normalizedScore: float + potentialScore: float + qaAnswers: _list[GoogleCloudContactcenterinsightsV1mainQaAnswer] + qaScorecardRevision: str + qaTagResults: _list[ + GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult + ] + score: float + scoreSources: _list[ + GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult( + typing_extensions.TypedDict, total=False +): + normalizedScore: float + potentialScore: float + score: float + tag: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQaScorecardResultScoreSource( + typing_extensions.TypedDict, total=False +): + normalizedScore: float + potentialScore: float + qaTagResults: _list[ + GoogleCloudContactcenterinsightsV1mainQaScorecardResultQaTagResult + ] + score: float + sourceType: typing_extensions.Literal[ + "SOURCE_TYPE_UNSPECIFIED", "SYSTEM_GENERATED_ONLY", "INCLUDES_MANUAL_EDITS" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsMetadata( + typing_extensions.TypedDict, total=False +): + resultIsTruncated: bool + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponse( + typing_extensions.TypedDict, total=False +): + location: str + macroAverageSlice: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice + slices: _list[GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice] + updateTime: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSlice( + typing_extensions.TypedDict, total=False +): + dimensions: _list[GoogleCloudContactcenterinsightsV1mainDimension] + timeSeries: ( + GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries + ) + total: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint( + typing_extensions.TypedDict, total=False +): + conversationMeasure: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure + dialogflowInteractionMeasure: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure + interval: GoogleTypeInterval + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure( + typing_extensions.TypedDict, total=False +): + aaSupervisorAssignedConversationsCount: int + aaSupervisorDroppedConversationsCount: int + aaSupervisorEscalatedConversationsCount: int + aaSupervisorMonitoredConversationsCount: int + aaSupervisorTransferredToHumanAgentConvCount: int + aiCoachSuggestionAgentMessageTriggerCount: int + aiCoachSuggestionAgentUsageCount: int + aiCoachSuggestionAgentUsageRatio: float + aiCoachSuggestionCustomerMessageTriggerCount: int + aiCoachSuggestionCustomerMessageTriggerRatio: float + aiCoachSuggestionMessageTriggerCount: int + aiCoachSuggestionMessageTriggerRatio: float + averageAgentSentimentScore: float + averageClientSentimentScore: float + averageCustomerSatisfactionRating: float + averageDuration: str + averageQaNormalizedScore: float + averageQaQuestionNormalizedScore: float + averageSilencePercentage: float + averageSummarizationSuggestionEditDistance: float + averageSummarizationSuggestionNormalizedEditDistance: float + averageTurnCount: float + avgConversationClientTurnSentimentEma: float + containedConversationCount: int + containedConversationRatio: float + conversationAiCoachSuggestionCount: int + conversationAiCoachSuggestionRatio: float + conversationCount: int + conversationSuggestedSummaryRatio: float + conversationTotalAgentMessageCount: int + conversationTotalCustomerMessageCount: int + conversationalAgentsAverageAudioInAudioOutLatency: float + conversationalAgentsAverageEndToEndLatency: float + conversationalAgentsAverageLlmCallLatency: float + conversationalAgentsAverageTtsLatency: float + dialogflowAverageWebhookLatency: float + dialogflowConversationsEscalationCount: float + dialogflowConversationsEscalationRatio: float + dialogflowInteractionsNoInputRatio: float + dialogflowInteractionsNoMatchRatio: float + dialogflowWebhookFailureRatio: float + dialogflowWebhookTimeoutRatio: float + knowledgeAssistNegativeFeedbackRatio: float + knowledgeAssistPositiveFeedbackRatio: float + knowledgeAssistResultCount: int + knowledgeAssistUriClickRatio: float + knowledgeSearchAgentQuerySourceRatio: float + knowledgeSearchNegativeFeedbackRatio: float + knowledgeSearchPositiveFeedbackRatio: float + knowledgeSearchResultCount: int + knowledgeSearchSuggestedQuerySourceRatio: float + knowledgeSearchUriClickRatio: float + qaTagScores: _list[ + GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore + ] + summarizationSuggestionEditRatio: float + summarizationSuggestionResultCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore( + typing_extensions.TypedDict, total=False +): + averageTagNormalizedScore: float + tag: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure( + typing_extensions.TypedDict, total=False +): + percentileAudioInAudioOutLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult + percentileEndToEndLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult + percentileLlmCallLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult + percentileToolUseLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult + percentileTtsLatency: GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult( + typing_extensions.TypedDict, total=False +): + p50: float + p90: float + p99: float + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries( + typing_extensions.TypedDict, total=False +): + dataPoints: _list[ + GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPoint + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewMetadata( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainQueryPerformanceOverviewResponse( + typing_extensions.TypedDict, total=False +): + summaryText: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainRedactionConfig( + typing_extensions.TypedDict, total=False +): + deidentifyTemplate: str + inspectTemplate: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotation( + typing_extensions.TypedDict, total=False +): + annotationId: str + answerFeedback: GoogleCloudContactcenterinsightsV1mainAnswerFeedback + articleSuggestion: GoogleCloudContactcenterinsightsV1mainArticleSuggestionData + conversationSummarizationSuggestion: ( + GoogleCloudContactcenterinsightsV1mainConversationSummarizationSuggestionData + ) + createTime: str + dialogflowInteraction: ( + GoogleCloudContactcenterinsightsV1mainDialogflowInteractionData + ) + endBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary + faqAnswer: GoogleCloudContactcenterinsightsV1mainFaqAnswerData + smartComposeSuggestion: ( + GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData + ) + smartReply: GoogleCloudContactcenterinsightsV1mainSmartReplyData + startBoundary: GoogleCloudContactcenterinsightsV1mainAnnotationBoundary + userInput: GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainRuntimeAnnotationUserInput( + typing_extensions.TypedDict, total=False +): + generatorName: str + query: str + querySource: typing_extensions.Literal[ + "QUERY_SOURCE_UNSPECIFIED", "AGENT_QUERY", "SUGGESTED_QUERY" + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + partialErrors: _list[GoogleRpcStatus] + request: GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest + sampleConversationsStats: GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSampleConversationsMetadataSampleConversationsStats( + typing_extensions.TypedDict, total=False +): + failedSampleCount: int + successfulSampleCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSampleConversationsRequest( + typing_extensions.TypedDict, total=False +): + destinationDataset: GoogleCloudContactcenterinsightsV1mainDataset + parent: str + sampleRule: GoogleCloudContactcenterinsightsV1mainSampleRule + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSampleConversationsResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSampleRule( + typing_extensions.TypedDict, total=False +): + conversationFilter: str + dimension: str + samplePercentage: float + sampleRow: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSentimentData( + typing_extensions.TypedDict, total=False +): + magnitude: float + score: float + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSilenceData( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSmartComposeSuggestionData( + typing_extensions.TypedDict, total=False +): + confidenceScore: float + metadata: dict[str, typing.Any] + queryRecord: str + suggestion: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSmartReplyData( + typing_extensions.TypedDict, total=False +): + confidenceScore: float + metadata: dict[str, typing.Any] + queryRecord: str + reply: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainSpeechConfig( + typing_extensions.TypedDict, total=False +): + disableWordTimeOffsets: bool + speechRecognizer: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + dataset: str + stats: GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStats( + typing_extensions.TypedDict, total=False +): + conversationCorrelationErrors: _list[ + GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError + ] + correlatedConversationsCount: int + failedConversationsCount: int + partialErrors: _list[GoogleRpcStatus] + sampledConversationsCount: int + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigMetadataFullConversationCorrelationStatsConversationCorrelationError( + typing_extensions.TypedDict, total=False +): + conversation: str + status: GoogleRpcStatus + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponse( + typing_extensions.TypedDict, total=False +): + detailedResults: GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults + partialErrors: _list[GoogleRpcStatus] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainTestCorrelationConfigResponseDetailedCorrelationResults( + typing_extensions.TypedDict, total=False +): + constraintResults: _list[ + GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult + ] + joinKeyResults: _list[ + GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult + ] + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelRequest( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUndeployIssueModelResponse( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUpdateQaQuestionTagRequest( + typing_extensions.TypedDict, total=False +): + qaQuestionTag: GoogleCloudContactcenterinsightsV1mainQaQuestionTag + updateMask: str + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUploadConversationMetadata( + typing_extensions.TypedDict, total=False +): + analysisOperation: str + appliedRedactionConfig: GoogleCloudContactcenterinsightsV1mainRedactionConfig + createTime: str + endTime: str + request: GoogleCloudContactcenterinsightsV1mainUploadConversationRequest + +@typing.type_check_only +class GoogleCloudContactcenterinsightsV1mainUploadConversationRequest( + typing_extensions.TypedDict, total=False +): + conversation: GoogleCloudContactcenterinsightsV1mainConversation + conversationId: str + parent: str + redactionConfig: GoogleCloudContactcenterinsightsV1mainRedactionConfig + speechConfig: GoogleCloudContactcenterinsightsV1mainSpeechConfig + @typing.type_check_only class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): auditLogConfigs: _list[GoogleIamV1AuditLogConfig] diff --git a/googleapiclient-stubs/_apis/container/v1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1/schemas.pyi index 0407ba9f7..c89cdcbde 100644 --- a/googleapiclient-stubs/_apis/container/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1/schemas.pyi @@ -15,6 +15,7 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): podIpv4RangeNames: _list[str] + status: typing_extensions.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] subnetwork: str @typing.type_check_only @@ -51,6 +52,7 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): networkPolicyConfig: NetworkPolicyConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig rayOperatorConfig: RayOperatorConfig + sliceControllerConfig: SliceControllerConfig statefulHaConfig: StatefulHAConfig @typing.type_check_only @@ -182,6 +184,11 @@ class BootDisk(typing_extensions.TypedDict, total=False): provisionedThroughput: str sizeGb: str +@typing.type_check_only +class BootDiskProfile(typing_extensions.TypedDict, total=False): + swapSizeGib: str + swapSizePercent: int + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): name: str @@ -194,6 +201,15 @@ class CertificateAuthorityDomainConfig(typing_extensions.TypedDict, total=False) fqdns: _list[str] gcpSecretManagerCertificateConfig: GCPSecretManagerCertificateConfig +@typing.type_check_only +class CertificateConfig(typing_extensions.TypedDict, total=False): + gcpSecretManagerSecretUri: str + +@typing.type_check_only +class CertificateConfigPair(typing_extensions.TypedDict, total=False): + cert: CertificateConfig + key: CertificateConfig + @typing.type_check_only class CheckAutopilotCompatibilityResponse(typing_extensions.TypedDict, total=False): issues: _list[AutopilotCompatibilityIssue] @@ -261,6 +277,7 @@ class Cluster(typing_extensions.TypedDict, total=False): loggingConfig: LoggingConfig loggingService: str maintenancePolicy: MaintenancePolicy + managedOpentelemetryConfig: ManagedOpenTelemetryConfig masterAuth: MasterAuth masterAuthorizedNetworksConfig: MasterAuthorizedNetworksConfig meshCertificates: MeshCertificates @@ -309,6 +326,9 @@ 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" + ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults autoscalingProfile: typing_extensions.Literal[ @@ -366,6 +386,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredLocations: _list[str] desiredLoggingConfig: LoggingConfig desiredLoggingService: str + desiredManagedOpentelemetryConfig: ManagedOpenTelemetryConfig desiredMasterAuthorizedNetworksConfig: MasterAuthorizedNetworksConfig desiredMasterVersion: str desiredMeshCertificates: MeshCertificates @@ -392,6 +413,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL", ] + desiredPrivilegedAdmissionConfig: PrivilegedAdmissionConfig desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig @@ -472,6 +494,7 @@ class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContainerdConfig(typing_extensions.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig + registryHosts: _list[RegistryHostConfig] writableCgroups: WritableCgroups @typing.type_check_only @@ -537,6 +560,10 @@ class DatabaseEncryption(typing_extensions.TypedDict, total=False): lastOperationErrors: _list[OperationError] state: typing_extensions.Literal["UNKNOWN", "ENCRYPTED", "DECRYPTED"] +@typing.type_check_only +class DedicatedLocalSsdProfile(typing_extensions.TypedDict, total=False): + diskCount: str + @typing.type_check_only class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -555,6 +582,15 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DisruptionEvent(typing_extensions.TypedDict, total=False): + disruptionType: typing_extensions.Literal[ + "DISRUPTION_TYPE_UNSPECIFIED", "POD_NOT_ENOUGH_PDB", "POD_PDB_VIOLATION" + ] + pdbBlockedNode: str + pdbBlockedPod: _list[PdbBlockedPod] + pdbViolationTimeout: str + @typing.type_check_only class DnsCacheConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -562,6 +598,10 @@ class DnsCacheConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EncryptionConfig(typing_extensions.TypedDict, total=False): + disabled: bool + @typing.type_check_only class EnterpriseConfig(typing_extensions.TypedDict, total=False): clusterTier: typing_extensions.Literal[ @@ -571,6 +611,11 @@ class EnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class EphemeralLocalSsdProfile(typing_extensions.TypedDict, total=False): + swapSizeGib: str + swapSizePercent: int + @typing.type_check_only class EphemeralStorageLocalSsdConfig(typing_extensions.TypedDict, total=False): dataCacheCount: int @@ -632,6 +677,12 @@ class Fleet(typing_extensions.TypedDict, total=False): class GCPSecretManagerCertificateConfig(typing_extensions.TypedDict, total=False): secretUri: str +@typing.type_check_only +class GPUDirectConfig(typing_extensions.TypedDict, total=False): + gpuDirectStrategy: typing_extensions.Literal[ + "GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA" + ] + @typing.type_check_only class GPUDriverInstallationConfig(typing_extensions.TypedDict, total=False): gpuDriverVersion: typing_extensions.Literal[ @@ -702,6 +753,23 @@ class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): disabled: bool +@typing.type_check_only +class HostConfig(typing_extensions.TypedDict, total=False): + ca: _list[CertificateConfig] + capabilities: _list[ + typing_extensions.Literal[ + "HOST_CAPABILITY_UNSPECIFIED", + "HOST_CAPABILITY_PULL", + "HOST_CAPABILITY_RESOLVE", + "HOST_CAPABILITY_PUSH", + ] + ] + client: _list[CertificateConfigPair] + dialTimeout: str + header: _list[RegistryHeader] + host: str + overridePath: bool + @typing.type_check_only class HttpCacheControlResponseHeader(typing_extensions.TypedDict, total=False): age: str @@ -797,6 +865,8 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] hugepages: HugepagesConfig + nodeKernelModuleLoading: NodeKernelModuleLoading + swapConfig: SwapConfig sysctls: dict[str, typing.Any] transparentHugepageDefrag: typing_extensions.Literal[ "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", @@ -869,6 +939,9 @@ class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): + endTimeBehavior: typing_extensions.Literal[ + "END_TIME_BEHAVIOR_UNSPECIFIED", "UNTIL_END_OF_SUPPORT" + ] scope: typing_extensions.Literal[ "NO_UPGRADES", "NO_MINOR_UPGRADES", "NO_MINOR_OR_NODE_UPGRADES" ] @@ -884,6 +957,12 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): maintenanceExclusions: dict[str, typing.Any] recurringWindow: RecurringTimeWindow +@typing.type_check_only +class ManagedOpenTelemetryConfig(typing_extensions.TypedDict, total=False): + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", "NONE", "COLLECTION_AND_INSTRUMENTATION_COMPONENTS" + ] + @typing.type_check_only class ManagedPrometheusConfig(typing_extensions.TypedDict, total=False): autoMonitoringConfig: AutoMonitoringConfig @@ -1022,6 +1101,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): bootDisk: BootDisk bootDiskKmsKey: str confidentialNodes: ConfidentialNodes + consolidationDelay: str containerdConfig: ContainerdConfig diskSizeGb: int diskType: str @@ -1035,6 +1115,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): fastSocket: FastSocket flexStart: bool gcfsConfig: GcfsConfig + gpuDirectConfig: GPUDirectConfig gvnic: VirtualNIC imageType: str kubeletConfig: NodeKubeletConfig @@ -1078,6 +1159,16 @@ class NodeConfigDefaults(typing_extensions.TypedDict, total=False): loggingConfig: NodePoolLoggingConfig nodeKubeletConfig: NodeKubeletConfig +@typing.type_check_only +class NodeDrainConfig(typing_extensions.TypedDict, total=False): + respectPdbDuringNodePoolDeletion: bool + +@typing.type_check_only +class NodeKernelModuleLoading(typing_extensions.TypedDict, total=False): + policy: typing_extensions.Literal[ + "POLICY_UNSPECIFIED", "ENFORCE_SIGNED_MODULES", "DO_NOT_ENFORCE_SIGNED_MODULES" + ] + @typing.type_check_only class NodeKubeletConfig(typing_extensions.TypedDict, total=False): allowedUnsafeSysctls: _list[str] @@ -1140,6 +1231,7 @@ class NodePool(typing_extensions.TypedDict, total=False): maxPodsConstraint: MaxPodsConstraint name: str networkConfig: NodeNetworkConfig + nodeDrainConfig: NodeDrainConfig placementPolicy: PlacementPolicy podIpv4CidrSize: int queuedProvisioning: QueuedProvisioning @@ -1287,6 +1379,11 @@ class ParentProductConfig(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] productName: str +@typing.type_check_only +class PdbBlockedPod(typing_extensions.TypedDict, total=False): + name: str + namespace: str + @typing.type_check_only class PlacementPolicy(typing_extensions.TypedDict, total=False): policyName: str @@ -1366,6 +1463,16 @@ class RecurringTimeWindow(typing_extensions.TypedDict, total=False): recurrence: str window: TimeWindow +@typing.type_check_only +class RegistryHeader(typing_extensions.TypedDict, total=False): + key: str + value: _list[str] + +@typing.type_check_only +class RegistryHostConfig(typing_extensions.TypedDict, total=False): + hosts: _list[HostConfig] + server: str + @typing.type_check_only class ReleaseChannel(typing_extensions.TypedDict, total=False): channel: typing_extensions.Literal[ @@ -1591,6 +1698,10 @@ class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): class ShieldedNodes(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class SliceControllerConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class SoleTenantConfig(typing_extensions.TypedDict, total=False): minNodeCpus: int @@ -1654,6 +1765,14 @@ class StatusCondition(typing_extensions.TypedDict, total=False): ] message: str +@typing.type_check_only +class SwapConfig(typing_extensions.TypedDict, total=False): + bootDiskProfile: BootDiskProfile + dedicatedLocalSsdProfile: DedicatedLocalSsdProfile + enabled: bool + encryptionConfig: EncryptionConfig + ephemeralLocalSsdProfile: EphemeralLocalSsdProfile + @typing.type_check_only class TimeWindow(typing_extensions.TypedDict, total=False): endTime: str @@ -1691,6 +1810,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): bootDisk: BootDisk clusterId: str confidentialNodes: ConfidentialNodes + consolidationDelay: str containerdConfig: ContainerdConfig diskSizeGb: str diskType: str @@ -1708,6 +1828,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): machineType: str maxRunDuration: str name: str + nodeDrainConfig: NodeDrainConfig nodeNetworkConfig: NodeNetworkConfig nodePoolId: str nodeVersion: str @@ -1760,12 +1881,14 @@ class UpgradeEvent(typing_extensions.TypedDict, total=False): class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): currentVersion: str description: str + disruptionEvent: DisruptionEvent endTime: str eventType: typing_extensions.Literal[ "EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT", "COS_MILESTONE_VERSION_UPDATE", "UPGRADE_LIFECYCLE", + "DISRUPTION_EVENT", ] extendedSupportEndTime: str operation: str @@ -1786,7 +1909,7 @@ class UpgradeSettings(typing_extensions.TypedDict, total=False): maxSurge: int maxUnavailable: int strategy: typing_extensions.Literal[ - "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE" + "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE", "SHORT_LIVED" ] @typing.type_check_only @@ -1814,6 +1937,7 @@ class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): aggregationCa: str clusterCa: str controlPlaneDiskEncryptionKey: str + controlPlaneDiskEncryptionKeyVersions: _list[str] etcdApiCa: str etcdPeerCa: str gkeopsEtcdBackupEncryptionKey: str diff --git a/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi index a1748700e..0e1b3505c 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/resources.pyi @@ -133,6 +133,13 @@ class ContainerResource(googleapiclient.discovery.Resource): def checkAutopilotCompatibility( self, *, name: str, **kwargs: typing.Any ) -> CheckAutopilotCompatibilityResponseHttpRequest: ... + def completeControlPlaneUpgrade( + self, + *, + name: str, + body: CompleteControlPlaneUpgradeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def completeIpRotation( self, *, @@ -414,6 +421,13 @@ class ContainerResource(googleapiclient.discovery.Resource): body: SetAddonsConfigRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def completeControlPlaneUpgrade( + self, + *, + name: str, + body: CompleteControlPlaneUpgradeRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def completeIpRotation( self, *, diff --git a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi index 1ddfab95c..1e66abc40 100644 --- a/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/container/v1beta1/schemas.pyi @@ -16,6 +16,7 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class AdditionalIPRangesConfig(typing_extensions.TypedDict, total=False): podIpv4RangeNames: _list[str] + status: typing_extensions.Literal["STATUS_UNSPECIFIED", "ACTIVE", "DRAINING"] subnetwork: str @typing.type_check_only @@ -53,7 +54,9 @@ class AddonsConfig(typing_extensions.TypedDict, total=False): lustreCsiDriverConfig: LustreCsiDriverConfig networkPolicyConfig: NetworkPolicyConfig parallelstoreCsiDriverConfig: ParallelstoreCsiDriverConfig + podSnapshotConfig: PodSnapshotConfig rayOperatorConfig: RayOperatorConfig + sliceControllerConfig: SliceControllerConfig statefulHaConfig: StatefulHAConfig @typing.type_check_only @@ -201,6 +204,11 @@ class BootDisk(typing_extensions.TypedDict, total=False): provisionedThroughput: str sizeGb: str +@typing.type_check_only +class BootDiskProfile(typing_extensions.TypedDict, total=False): + swapSizeGib: str + swapSizePercent: int + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): name: str @@ -213,6 +221,15 @@ class CertificateAuthorityDomainConfig(typing_extensions.TypedDict, total=False) fqdns: _list[str] gcpSecretManagerCertificateConfig: GCPSecretManagerCertificateConfig +@typing.type_check_only +class CertificateConfig(typing_extensions.TypedDict, total=False): + gcpSecretManagerSecretUri: str + +@typing.type_check_only +class CertificateConfigPair(typing_extensions.TypedDict, total=False): + cert: CertificateConfig + key: CertificateConfig + @typing.type_check_only class CheckAutopilotCompatibilityResponse(typing_extensions.TypedDict, total=False): issues: _list[AutopilotCompatibilityIssue] @@ -253,6 +270,7 @@ class Cluster(typing_extensions.TypedDict, total=False): controlPlaneEndpointsConfig: ControlPlaneEndpointsConfig costManagementConfig: CostManagementConfig createTime: str + currentEmulatedVersion: str currentMasterVersion: str currentNodeCount: int currentNodeVersion: str @@ -281,6 +299,7 @@ class Cluster(typing_extensions.TypedDict, total=False): loggingConfig: LoggingConfig loggingService: str maintenancePolicy: MaintenancePolicy + managedOpentelemetryConfig: ManagedOpenTelemetryConfig master: Master masterAuth: MasterAuth masterAuthorizedNetworksConfig: MasterAuthorizedNetworksConfig @@ -308,6 +327,7 @@ class Cluster(typing_extensions.TypedDict, total=False): releaseChannel: ReleaseChannel resourceLabels: dict[str, typing.Any] resourceUsageExportConfig: ResourceUsageExportConfig + rollbackSafeUpgrade: RollbackSafeUpgrade satisfiesPzi: bool satisfiesPzs: bool secretManagerConfig: SecretManagerConfig @@ -338,6 +358,9 @@ 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" + ] autoprovisioningLocations: _list[str] autoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults autoscalingProfile: typing_extensions.Literal[ @@ -401,6 +424,7 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): desiredLocations: _list[str] desiredLoggingConfig: LoggingConfig desiredLoggingService: str + desiredManagedOpentelemetryConfig: ManagedOpenTelemetryConfig desiredMaster: Master desiredMasterAuthorizedNetworksConfig: MasterAuthorizedNetworksConfig desiredMasterVersion: str @@ -429,11 +453,14 @@ class ClusterUpdate(typing_extensions.TypedDict, total=False): "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE", "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL", ] + desiredPrivilegedAdmissionConfig: PrivilegedAdmissionConfig desiredProtectConfig: ProtectConfig desiredRbacBindingConfig: RBACBindingConfig desiredReleaseChannel: ReleaseChannel desiredResourceUsageExportConfig: ResourceUsageExportConfig + desiredRollbackSafeUpgrade: RollbackSafeUpgrade desiredSecretManagerConfig: SecretManagerConfig + desiredSecretSyncConfig: SecretSyncConfig desiredSecurityPostureConfig: SecurityPostureConfig desiredServiceExternalIpsConfig: ServiceExternalIPsConfig desiredShieldedNodes: ShieldedNodes @@ -475,8 +502,18 @@ class ClusterUpgradeInfo(typing_extensions.TypedDict, total=False): "SYSTEM_CONFIG", ] ] + rollbackSafeUpgradeStatus: RollbackSafeUpgradeStatus upgradeDetails: _list[UpgradeDetails] +@typing.type_check_only +class CompatibilityStatus(typing_extensions.TypedDict, total=False): + downgradableVersion: str + emulatedVersionTime: str + +@typing.type_check_only +class CompleteControlPlaneUpgradeRequest(typing_extensions.TypedDict, total=False): + version: str + @typing.type_check_only class CompleteIPRotationRequest(typing_extensions.TypedDict, total=False): clusterId: str @@ -514,6 +551,7 @@ class ConsumptionMeteringConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class ContainerdConfig(typing_extensions.TypedDict, total=False): privateRegistryAccessConfig: PrivateRegistryAccessConfig + registryHosts: _list[RegistryHostConfig] writableCgroups: WritableCgroups @typing.type_check_only @@ -585,6 +623,10 @@ class Date(typing_extensions.TypedDict, total=False): month: int year: int +@typing.type_check_only +class DedicatedLocalSsdProfile(typing_extensions.TypedDict, total=False): + diskCount: str + @typing.type_check_only class DefaultComputeClassConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -603,6 +645,15 @@ class DesiredEnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class DisruptionEvent(typing_extensions.TypedDict, total=False): + disruptionType: typing_extensions.Literal[ + "DISRUPTION_TYPE_UNSPECIFIED", "POD_NOT_ENOUGH_PDB", "POD_PDB_VIOLATION" + ] + pdbBlockedNode: str + pdbBlockedPod: _list[PdbBlockedPod] + pdbViolationTimeout: str + @typing.type_check_only class DnsCacheConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -610,6 +661,10 @@ class DnsCacheConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class EncryptionConfig(typing_extensions.TypedDict, total=False): + disabled: bool + @typing.type_check_only class EnterpriseConfig(typing_extensions.TypedDict, total=False): clusterTier: typing_extensions.Literal[ @@ -619,6 +674,11 @@ class EnterpriseConfig(typing_extensions.TypedDict, total=False): "CLUSTER_TIER_UNSPECIFIED", "STANDARD", "ENTERPRISE" ] +@typing.type_check_only +class EphemeralLocalSsdProfile(typing_extensions.TypedDict, total=False): + swapSizeGib: str + swapSizePercent: int + @typing.type_check_only class EphemeralStorageConfig(typing_extensions.TypedDict, total=False): localSsdCount: int @@ -684,6 +744,12 @@ class Fleet(typing_extensions.TypedDict, total=False): class GCPSecretManagerCertificateConfig(typing_extensions.TypedDict, total=False): secretUri: str +@typing.type_check_only +class GPUDirectConfig(typing_extensions.TypedDict, total=False): + gpuDirectStrategy: typing_extensions.Literal[ + "GPU_DIRECT_STRATEGY_UNSPECIFIED", "RDMA" + ] + @typing.type_check_only class GPUDriverInstallationConfig(typing_extensions.TypedDict, total=False): gpuDriverVersion: typing_extensions.Literal[ @@ -754,6 +820,23 @@ class HighScaleCheckpointingConfig(typing_extensions.TypedDict, total=False): class HorizontalPodAutoscaling(typing_extensions.TypedDict, total=False): disabled: bool +@typing.type_check_only +class HostConfig(typing_extensions.TypedDict, total=False): + ca: _list[CertificateConfig] + capabilities: _list[ + typing_extensions.Literal[ + "HOST_CAPABILITY_UNSPECIFIED", + "HOST_CAPABILITY_PULL", + "HOST_CAPABILITY_RESOLVE", + "HOST_CAPABILITY_PUSH", + ] + ] + client: _list[CertificateConfigPair] + dialTimeout: str + header: _list[RegistryHeader] + host: str + overridePath: bool + @typing.type_check_only class HostMaintenancePolicy(typing_extensions.TypedDict, total=False): maintenanceInterval: typing_extensions.Literal[ @@ -866,6 +949,8 @@ class LinuxNodeConfig(typing_extensions.TypedDict, total=False): "CGROUP_MODE_UNSPECIFIED", "CGROUP_MODE_V1", "CGROUP_MODE_V2" ] hugepages: HugepagesConfig + nodeKernelModuleLoading: NodeKernelModuleLoading + swapConfig: SwapConfig sysctls: dict[str, typing.Any] transparentHugepageDefrag: typing_extensions.Literal[ "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED", @@ -949,6 +1034,9 @@ class LustreCsiDriverConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class MaintenanceExclusionOptions(typing_extensions.TypedDict, total=False): + endTimeBehavior: typing_extensions.Literal[ + "END_TIME_BEHAVIOR_UNSPECIFIED", "UNTIL_END_OF_SUPPORT" + ] scope: typing_extensions.Literal[ "NO_UPGRADES", "NO_MINOR_UPGRADES", "NO_MINOR_OR_NODE_UPGRADES" ] @@ -964,13 +1052,20 @@ class MaintenanceWindow(typing_extensions.TypedDict, total=False): maintenanceExclusions: dict[str, typing.Any] recurringWindow: RecurringTimeWindow +@typing.type_check_only +class ManagedOpenTelemetryConfig(typing_extensions.TypedDict, total=False): + scope: typing_extensions.Literal[ + "SCOPE_UNSPECIFIED", "NONE", "COLLECTION_AND_INSTRUMENTATION_COMPONENTS" + ] + @typing.type_check_only class ManagedPrometheusConfig(typing_extensions.TypedDict, total=False): autoMonitoringConfig: AutoMonitoringConfig enabled: bool @typing.type_check_only -class Master(typing_extensions.TypedDict, total=False): ... +class Master(typing_extensions.TypedDict, total=False): + compatibilityStatus: CompatibilityStatus @typing.type_check_only class MasterAuth(typing_extensions.TypedDict, total=False): @@ -1109,6 +1204,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): bootDisk: BootDisk bootDiskKmsKey: str confidentialNodes: ConfidentialNodes + consolidationDelay: str containerdConfig: ContainerdConfig diskSizeGb: int diskType: str @@ -1123,6 +1219,7 @@ class NodeConfig(typing_extensions.TypedDict, total=False): fastSocket: FastSocket flexStart: bool gcfsConfig: GcfsConfig + gpuDirectConfig: GPUDirectConfig gvnic: VirtualNIC hostMaintenancePolicy: HostMaintenancePolicy imageType: str @@ -1168,6 +1265,16 @@ class NodeConfigDefaults(typing_extensions.TypedDict, total=False): loggingConfig: NodePoolLoggingConfig nodeKubeletConfig: NodeKubeletConfig +@typing.type_check_only +class NodeDrainConfig(typing_extensions.TypedDict, total=False): + respectPdbDuringNodePoolDeletion: bool + +@typing.type_check_only +class NodeKernelModuleLoading(typing_extensions.TypedDict, total=False): + policy: typing_extensions.Literal[ + "POLICY_UNSPECIFIED", "ENFORCE_SIGNED_MODULES", "DO_NOT_ENFORCE_SIGNED_MODULES" + ] + @typing.type_check_only class NodeKubeletConfig(typing_extensions.TypedDict, total=False): allowedUnsafeSysctls: _list[str] @@ -1203,6 +1310,7 @@ class NodeManagement(typing_extensions.TypedDict, total=False): @typing.type_check_only class NodeNetworkConfig(typing_extensions.TypedDict, total=False): + acceleratorNetworkProfile: str additionalNodeNetworkConfigs: _list[AdditionalNodeNetworkConfig] additionalPodNetworkConfigs: _list[AdditionalPodNetworkConfig] createPodRange: bool @@ -1230,6 +1338,7 @@ class NodePool(typing_extensions.TypedDict, total=False): maxPodsConstraint: MaxPodsConstraint name: str networkConfig: NodeNetworkConfig + nodeDrainConfig: NodeDrainConfig placementPolicy: PlacementPolicy podIpv4CidrSize: int queuedProvisioning: QueuedProvisioning @@ -1383,6 +1492,11 @@ class ParentProductConfig(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] productName: str +@typing.type_check_only +class PdbBlockedPod(typing_extensions.TypedDict, total=False): + name: str + namespace: str + @typing.type_check_only class PlacementPolicy(typing_extensions.TypedDict, total=False): policyName: str @@ -1403,6 +1517,10 @@ class PodCIDROverprovisionConfig(typing_extensions.TypedDict, total=False): class PodSecurityPolicyConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class PodSnapshotConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class PolicyBinding(typing_extensions.TypedDict, total=False): name: str @@ -1477,6 +1595,16 @@ class RecurringTimeWindow(typing_extensions.TypedDict, total=False): recurrence: str window: TimeWindow +@typing.type_check_only +class RegistryHeader(typing_extensions.TypedDict, total=False): + key: str + value: _list[str] + +@typing.type_check_only +class RegistryHostConfig(typing_extensions.TypedDict, total=False): + hosts: _list[HostConfig] + server: str + @typing.type_check_only class ReleaseChannel(typing_extensions.TypedDict, total=False): channel: typing_extensions.Literal[ @@ -1530,6 +1658,18 @@ class RollbackNodePoolUpgradeRequest(typing_extensions.TypedDict, total=False): respectPdb: bool zone: str +@typing.type_check_only +class RollbackSafeUpgrade(typing_extensions.TypedDict, total=False): + controlPlaneSoakDuration: str + +@typing.type_check_only +class RollbackSafeUpgradeStatus(typing_extensions.TypedDict, total=False): + controlPlaneUpgradeRollbackEndTime: str + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE" + ] + previousVersion: str + @typing.type_check_only class RotationConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -1710,6 +1850,10 @@ class ShieldedInstanceConfig(typing_extensions.TypedDict, total=False): class ShieldedNodes(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class SliceControllerConfig(typing_extensions.TypedDict, total=False): + enabled: bool + @typing.type_check_only class SoleTenantConfig(typing_extensions.TypedDict, total=False): minNodeCpus: int @@ -1773,6 +1917,14 @@ class StatusCondition(typing_extensions.TypedDict, total=False): ] message: str +@typing.type_check_only +class SwapConfig(typing_extensions.TypedDict, total=False): + bootDiskProfile: BootDiskProfile + dedicatedLocalSsdProfile: DedicatedLocalSsdProfile + enabled: bool + encryptionConfig: EncryptionConfig + ephemeralLocalSsdProfile: EphemeralLocalSsdProfile + @typing.type_check_only class SyncRotationConfig(typing_extensions.TypedDict, total=False): enabled: bool @@ -1821,6 +1973,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): bootDisk: BootDisk clusterId: str confidentialNodes: ConfidentialNodes + consolidationDelay: str containerdConfig: ContainerdConfig diskSizeGb: str diskType: str @@ -1838,6 +1991,7 @@ class UpdateNodePoolRequest(typing_extensions.TypedDict, total=False): machineType: str maxRunDuration: str name: str + nodeDrainConfig: NodeDrainConfig nodeNetworkConfig: NodeNetworkConfig nodePoolId: str nodeVersion: str @@ -1866,6 +2020,7 @@ class UpgradeAvailableEvent(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpgradeDetails(typing_extensions.TypedDict, total=False): endTime: str + initialEmulatedVersion: str initialVersion: str startTime: str startType: typing_extensions.Literal[ @@ -1874,10 +2029,12 @@ class UpgradeDetails(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "UNKNOWN", "FAILED", "SUCCEEDED", "CANCELED", "RUNNING" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only class UpgradeEvent(typing_extensions.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str operation: str operationStartTime: str @@ -1885,18 +2042,22 @@ class UpgradeEvent(typing_extensions.TypedDict, total=False): resourceType: typing_extensions.Literal[ "UPGRADE_RESOURCE_TYPE_UNSPECIFIED", "MASTER", "NODE_POOL" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): + currentEmulatedVersion: str currentVersion: str description: str + disruptionEvent: DisruptionEvent endTime: str eventType: typing_extensions.Literal[ "EVENT_TYPE_UNSPECIFIED", "END_OF_SUPPORT", "COS_MILESTONE_VERSION_UPDATE", "UPGRADE_LIFECYCLE", + "DISRUPTION_EVENT", ] extendedSupportEndTime: str operation: str @@ -1909,6 +2070,7 @@ class UpgradeInfoEvent(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "STARTED", "SUCCEEDED", "FAILED", "CANCELED" ] + targetEmulatedVersion: str targetVersion: str @typing.type_check_only @@ -1917,7 +2079,7 @@ class UpgradeSettings(typing_extensions.TypedDict, total=False): maxSurge: int maxUnavailable: int strategy: typing_extensions.Literal[ - "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE" + "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED", "BLUE_GREEN", "SURGE", "SHORT_LIVED" ] @typing.type_check_only @@ -1945,6 +2107,7 @@ class UserManagedKeysConfig(typing_extensions.TypedDict, total=False): aggregationCa: str clusterCa: str controlPlaneDiskEncryptionKey: str + controlPlaneDiskEncryptionKeyVersions: _list[str] etcdApiCa: str etcdPeerCa: str gkeopsEtcdBackupEncryptionKey: str diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi index f2902a9a2..73a5fca91 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1/schemas.pyi @@ -373,6 +373,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False ): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -561,6 +562,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str digest: str name: str pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @@ -758,6 +760,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -766,6 +769,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -774,6 +778,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -782,6 +787,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -882,6 +888,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): cpe: str files: _list[File] lastScanTime: str + lastVulnerabilityUpdateTime: str sbomStatus: SBOMStatus @typing.type_check_only @@ -1162,6 +1169,7 @@ class NonCompliantFile(typing_extensions.TypedDict, total=False): @typing.type_check_only class Note(typing_extensions.TypedDict, total=False): + advisoryPublishTime: str attestation: AttestationNote build: BuildNote compliance: ComplianceNote diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi index c9e3c68eb..a3ea06e87 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1alpha1/schemas.pyi @@ -315,6 +315,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False ): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -503,6 +504,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str digest: str name: str pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @@ -700,6 +702,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -708,6 +711,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -716,6 +720,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -724,6 +729,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -814,6 +820,7 @@ class Discovered(typing_extensions.TypedDict, total=False): cpe: str files: _list[File] lastScanTime: str + lastVulnerabilityUpdateTime: str operation: Operation sbomStatus: SBOMStatus vulnerabilityAttestation: VulnerabilityAttestation @@ -1078,7 +1085,7 @@ class GoogleDevtoolsContaineranalysisV1alpha1SourceContext( @typing.type_check_only class Hash(typing_extensions.TypedDict, total=False): - type: typing_extensions.Literal["NONE", "SHA256", "GO_MODULE_H1"] + type: typing_extensions.Literal["NONE", "SHA256", "GO_MODULE_H1", "DIRSUM_SHA256"] value: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi index ac7c9786d..e595515b5 100644 --- a/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/containeranalysis/v1beta1/schemas.pyi @@ -333,6 +333,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact( typing_extensions.TypedDict, total=False ): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -521,6 +522,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning( class ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str digest: str name: str pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan @@ -718,6 +720,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -726,6 +729,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGoModule( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -734,6 +738,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -742,6 +747,7 @@ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage( class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes pushTiming: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -818,6 +824,7 @@ class Discovered(typing_extensions.TypedDict, total=False): files: _list[File] lastAnalysisTime: str lastScanTime: str + lastVulnerabilityUpdateTime: str sbomStatus: SBOMStatus @typing.type_check_only @@ -1066,7 +1073,7 @@ class GrafeasV1beta1VulnerabilityDetails(typing_extensions.TypedDict, total=Fals @typing.type_check_only class Hash(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal[ - "HASH_TYPE_UNSPECIFIED", "SHA256", "GO_MODULE_H1", "SHA512" + "HASH_TYPE_UNSPECIFIED", "SHA256", "GO_MODULE_H1", "SHA512", "DIRSUM_SHA256" ] value: str @@ -1184,6 +1191,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class Note(typing_extensions.TypedDict, total=False): + advisoryPublishTime: str attestationAuthority: Authority baseImage: Basis build: Build diff --git a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi index 2ca1bcd20..f875ae865 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/resources.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/resources.pyi @@ -870,53 +870,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): previous_response: SearchResponse, ) -> SearchResponseHttpRequest | None: ... - @typing.type_check_only - class ReturnaddressResource(googleapiclient.discovery.Resource): - def custombatch( - self, *, body: ReturnaddressCustomBatchRequest = ..., **kwargs: typing.Any - ) -> ReturnaddressCustomBatchResponseHttpRequest: ... - def delete( - self, *, merchantId: str, returnAddressId: str, **kwargs: typing.Any - ) -> googleapiclient.http.HttpRequest: ... - def get( - self, *, merchantId: str, returnAddressId: str, **kwargs: typing.Any - ) -> ReturnAddressHttpRequest: ... - def insert( - self, *, merchantId: str, body: ReturnAddress = ..., **kwargs: typing.Any - ) -> ReturnAddressHttpRequest: ... - def list( - self, - *, - merchantId: str, - country: str = ..., - maxResults: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ReturnaddressListResponseHttpRequest: ... - def list_next( - self, - previous_request: ReturnaddressListResponseHttpRequest, - previous_response: ReturnaddressListResponse, - ) -> ReturnaddressListResponseHttpRequest | None: ... - - @typing.type_check_only - class ReturnpolicyResource(googleapiclient.discovery.Resource): - def custombatch( - self, *, body: ReturnpolicyCustomBatchRequest = ..., **kwargs: typing.Any - ) -> ReturnpolicyCustomBatchResponseHttpRequest: ... - def delete( - self, *, merchantId: str, returnPolicyId: str, **kwargs: typing.Any - ) -> googleapiclient.http.HttpRequest: ... - def get( - self, *, merchantId: str, returnPolicyId: str, **kwargs: typing.Any - ) -> ReturnPolicyHttpRequest: ... - def insert( - self, *, merchantId: str, body: ReturnPolicy = ..., **kwargs: typing.Any - ) -> ReturnPolicyHttpRequest: ... - def list( - self, *, merchantId: str, **kwargs: typing.Any - ) -> ReturnpolicyListResponseHttpRequest: ... - @typing.type_check_only class ReturnpolicyonlineResource(googleapiclient.discovery.Resource): def create( @@ -1036,8 +989,6 @@ class ShoppingContentResource(googleapiclient.discovery.Resource): def regionalinventory(self) -> RegionalinventoryResource: ... def regions(self) -> RegionsResource: ... def reports(self) -> ReportsResource: ... - def returnaddress(self) -> ReturnaddressResource: ... - def returnpolicy(self) -> ReturnpolicyResource: ... def returnpolicyonline(self) -> ReturnpolicyonlineResource: ... def shippingsettings(self) -> ShippingsettingsResource: ... def shoppingadsprogram(self) -> ShoppingadsprogramResource: ... @@ -1644,22 +1595,6 @@ class RequestPhoneVerificationResponseHttpRequest(googleapiclient.http.HttpReque num_retries: int = 0, ) -> RequestPhoneVerificationResponse: ... -@typing.type_check_only -class ReturnAddressHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnAddress: ... - -@typing.type_check_only -class ReturnPolicyHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnPolicy: ... - @typing.type_check_only class ReturnPolicyOnlineHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1668,38 +1603,6 @@ class ReturnPolicyOnlineHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReturnPolicyOnline: ... -@typing.type_check_only -class ReturnaddressCustomBatchResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnaddressCustomBatchResponse: ... - -@typing.type_check_only -class ReturnaddressListResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnaddressListResponse: ... - -@typing.type_check_only -class ReturnpolicyCustomBatchResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnpolicyCustomBatchResponse: ... - -@typing.type_check_only -class ReturnpolicyListResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReturnpolicyListResponse: ... - @typing.type_check_only class SearchResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi index 938e0f40b..45b3ae6b2 100644 --- a/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi +++ b/googleapiclient-stubs/_apis/content/v2_1/schemas.pyi @@ -1772,6 +1772,7 @@ class ProductStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class ProductStatusDestinationStatus(typing_extensions.TypedDict, total=False): approvedCountries: _list[str] + channel: str destination: str disapprovedCountries: _list[str] pendingCountries: _list[str] @@ -2256,36 +2257,6 @@ class RequestReviewFreeListingsRequest(typing_extensions.TypedDict, total=False) class RequestReviewShoppingAdsRequest(typing_extensions.TypedDict, total=False): regionCode: str -@typing.type_check_only -class ReturnAddress(typing_extensions.TypedDict, total=False): - address: ReturnAddressAddress - country: str - kind: str - label: str - phoneNumber: str - returnAddressId: str - -@typing.type_check_only -class ReturnAddressAddress(typing_extensions.TypedDict, total=False): - country: str - locality: str - postalCode: str - recipientName: str - region: str - streetAddress: _list[str] - -@typing.type_check_only -class ReturnPolicy(typing_extensions.TypedDict, total=False): - country: str - kind: str - label: str - name: str - nonFreeReturnReasons: _list[str] - policy: ReturnPolicyPolicy - returnPolicyId: str - returnShippingFee: Price - seasonalOverrides: _list[ReturnPolicySeasonalOverride] - @typing.type_check_only class ReturnPolicyOnline(typing_extensions.TypedDict, total=False): countries: _list[str] @@ -2342,78 +2313,6 @@ class ReturnPolicyOnlineReturnShippingFee(typing_extensions.TypedDict, total=Fal "TYPE_UNSPECIFIED", "FIXED", "CUSTOMER_PAYING_ACTUAL_FEE" ] -@typing.type_check_only -class ReturnPolicyPolicy(typing_extensions.TypedDict, total=False): - lastReturnDate: str - numberOfDays: str - type: str - -@typing.type_check_only -class ReturnPolicySeasonalOverride(typing_extensions.TypedDict, total=False): - endDate: str - name: str - policy: ReturnPolicyPolicy - startDate: str - -@typing.type_check_only -class ReturnaddressCustomBatchRequest(typing_extensions.TypedDict, total=False): - entries: _list[ReturnaddressCustomBatchRequestEntry] - -@typing.type_check_only -class ReturnaddressCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): - batchId: int - merchantId: str - method: str - returnAddress: ReturnAddress - returnAddressId: str - -@typing.type_check_only -class ReturnaddressCustomBatchResponse(typing_extensions.TypedDict, total=False): - entries: _list[ReturnaddressCustomBatchResponseEntry] - kind: str - -@typing.type_check_only -class ReturnaddressCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): - batchId: int - errors: Errors - kind: str - returnAddress: ReturnAddress - -@typing.type_check_only -class ReturnaddressListResponse(typing_extensions.TypedDict, total=False): - kind: str - nextPageToken: str - resources: _list[ReturnAddress] - -@typing.type_check_only -class ReturnpolicyCustomBatchRequest(typing_extensions.TypedDict, total=False): - entries: _list[ReturnpolicyCustomBatchRequestEntry] - -@typing.type_check_only -class ReturnpolicyCustomBatchRequestEntry(typing_extensions.TypedDict, total=False): - batchId: int - merchantId: str - method: str - returnPolicy: ReturnPolicy - returnPolicyId: str - -@typing.type_check_only -class ReturnpolicyCustomBatchResponse(typing_extensions.TypedDict, total=False): - entries: _list[ReturnpolicyCustomBatchResponseEntry] - kind: str - -@typing.type_check_only -class ReturnpolicyCustomBatchResponseEntry(typing_extensions.TypedDict, total=False): - batchId: int - errors: Errors - kind: str - returnPolicy: ReturnPolicy - -@typing.type_check_only -class ReturnpolicyListResponse(typing_extensions.TypedDict, total=False): - kind: str - resources: _list[ReturnPolicy] - @typing.type_check_only class Row(typing_extensions.TypedDict, total=False): cells: _list[Value] diff --git a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi index aeac5b2cd..3df76194a 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1/schemas.pyi @@ -260,6 +260,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): filesetSpec: GoogleCloudDatacatalogV1FilesetSpec fullyQualifiedName: str gcsFilesetSpec: GoogleCloudDatacatalogV1GcsFilesetSpec + graphSpec: GoogleCloudDatacatalogV1GraphSpec integratedSystem: typing_extensions.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", @@ -282,6 +283,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): schema: GoogleCloudDatacatalogV1Schema serviceSpec: GoogleCloudDatacatalogV1ServiceSpec sourceSystemTimestamps: GoogleCloudDatacatalogV1SystemTimestamps + spannerTableSpec: GoogleCloudDatacatalogV1SpannerTableSpec sqlDatabaseSystemSpec: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec type: typing_extensions.Literal[ "ENTRY_TYPE_UNSPECIFIED", @@ -303,6 +305,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): "FEATURE_ONLINE_STORE", "FEATURE_VIEW", "FEATURE_GROUP", + "GRAPH", ] usageSignal: GoogleCloudDatacatalogV1UsageSignal userSpecifiedSystem: str @@ -373,6 +376,55 @@ class GoogleCloudDatacatalogV1GcsFilesetSpec(typing_extensions.TypedDict, total= filePatterns: _list[str] sampleGcsFileSpecs: _list[GoogleCloudDatacatalogV1GcsFileSpec] +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpec(typing_extensions.TypedDict, total=False): + edgeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] + name: str + nodeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( + typing_extensions.TypedDict, total=False +): + alias: str + dataSource: str + destinationNodeReference: ( + GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference + ) + dynamicLabelColumn: str + dynamicPropertiesColumn: str + elementKeys: _list[str] + inputSource: typing_extensions.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] + kind: typing_extensions.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] + labelAndProperties: _list[ + GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties + ] + sourceNodeReference: ( + GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference + ) + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( + typing_extensions.TypedDict, total=False +): + edgeTableColumns: _list[str] + nodeAlias: str + nodeTableColumns: _list[str] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties( + typing_extensions.TypedDict, total=False +): + label: str + properties: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty( + typing_extensions.TypedDict, total=False +): + name: str + type: str + @typing.type_check_only class GoogleCloudDatacatalogV1ImportEntriesMetadata( typing_extensions.TypedDict, total=False @@ -723,6 +775,36 @@ class GoogleCloudDatacatalogV1SetConfigRequest( "TAG_TEMPLATE_MIGRATION_DISABLED", ] +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpec( + typing_extensions.TypedDict, total=False +): + foreignKeys: _list[GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey] + primaryKey: GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( + typing_extensions.TypedDict, total=False +): + columnMappings: _list[ + GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping + ] + entry: str + name: str + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping( + typing_extensions.TypedDict, total=False +): + column: str + referenceColumn: str + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey( + typing_extensions.TypedDict, total=False +): + columns: _list[str] + @typing.type_check_only class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi index db9ad2267..25bf0cd9a 100644 --- a/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datacatalog/v1beta1/schemas.pyi @@ -254,6 +254,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): filesetSpec: GoogleCloudDatacatalogV1FilesetSpec fullyQualifiedName: str gcsFilesetSpec: GoogleCloudDatacatalogV1GcsFilesetSpec + graphSpec: GoogleCloudDatacatalogV1GraphSpec integratedSystem: typing_extensions.Literal[ "INTEGRATED_SYSTEM_UNSPECIFIED", "BIGQUERY", @@ -276,6 +277,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): schema: GoogleCloudDatacatalogV1Schema serviceSpec: GoogleCloudDatacatalogV1ServiceSpec sourceSystemTimestamps: GoogleCloudDatacatalogV1SystemTimestamps + spannerTableSpec: GoogleCloudDatacatalogV1SpannerTableSpec sqlDatabaseSystemSpec: GoogleCloudDatacatalogV1SqlDatabaseSystemSpec type: typing_extensions.Literal[ "ENTRY_TYPE_UNSPECIFIED", @@ -297,6 +299,7 @@ class GoogleCloudDatacatalogV1Entry(typing_extensions.TypedDict, total=False): "FEATURE_ONLINE_STORE", "FEATURE_VIEW", "FEATURE_GROUP", + "GRAPH", ] usageSignal: GoogleCloudDatacatalogV1UsageSignal userSpecifiedSystem: str @@ -329,6 +332,55 @@ class GoogleCloudDatacatalogV1GcsFilesetSpec(typing_extensions.TypedDict, total= filePatterns: _list[str] sampleGcsFileSpecs: _list[GoogleCloudDatacatalogV1GcsFileSpec] +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpec(typing_extensions.TypedDict, total=False): + edgeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] + name: str + nodeTables: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTable] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTable( + typing_extensions.TypedDict, total=False +): + alias: str + dataSource: str + destinationNodeReference: ( + GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference + ) + dynamicLabelColumn: str + dynamicPropertiesColumn: str + elementKeys: _list[str] + inputSource: typing_extensions.Literal["INPUT_SOURCE_UNSPECIFIED", "TABLE", "VIEW"] + kind: typing_extensions.Literal["KIND_UNSPECIFIED", "NODE", "EDGE"] + labelAndProperties: _list[ + GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties + ] + sourceNodeReference: ( + GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference + ) + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableGraphNodeReference( + typing_extensions.TypedDict, total=False +): + edgeTableColumns: _list[str] + nodeAlias: str + nodeTableColumns: _list[str] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties( + typing_extensions.TypedDict, total=False +): + label: str + properties: _list[GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty] + +@typing.type_check_only +class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty( + typing_extensions.TypedDict, total=False +): + name: str + type: str + @typing.type_check_only class GoogleCloudDatacatalogV1ImportEntriesMetadata( typing_extensions.TypedDict, total=False @@ -458,6 +510,36 @@ class GoogleCloudDatacatalogV1Schema(typing_extensions.TypedDict, total=False): class GoogleCloudDatacatalogV1ServiceSpec(typing_extensions.TypedDict, total=False): cloudBigtableInstanceSpec: GoogleCloudDatacatalogV1CloudBigtableInstanceSpec +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpec( + typing_extensions.TypedDict, total=False +): + foreignKeys: _list[GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey] + primaryKey: GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKey( + typing_extensions.TypedDict, total=False +): + columnMappings: _list[ + GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping + ] + entry: str + name: str + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerForeignKeyForeignKeyColumnMapping( + typing_extensions.TypedDict, total=False +): + column: str + referenceColumn: str + +@typing.type_check_only +class GoogleCloudDatacatalogV1SpannerTableSpecSpannerPrimaryKey( + typing_extensions.TypedDict, total=False +): + columns: _list[str] + @typing.type_check_only class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi index 775fb9c4b..0c3327d69 100644 --- a/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataflow/v1b3/schemas.pyi @@ -456,6 +456,7 @@ class GetTemplateResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class GetWorkerStacktracesRequest(typing_extensions.TypedDict, total=False): + endTime: str workerId: str @typing.type_check_only @@ -995,6 +996,7 @@ class RuntimeMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class RuntimeUpdatableParams(typing_extensions.TypedDict, total=False): + acceptableBacklogDuration: str maxNumWorkers: int minNumWorkers: int workerUtilizationHint: float @@ -1313,6 +1315,7 @@ class StreamingConfigTask(typing_extensions.TypedDict, total=False): maxWorkItemCommitBytes: str operationalLimits: StreamingOperationalLimits streamingComputationConfigs: _list[StreamingComputationConfig] + streamingEngineStateTagEncodingVersion: int userStepToStateFamilyNameMap: dict[str, typing.Any] userWorkerRunnerV1Settings: str userWorkerRunnerV2Settings: str diff --git a/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi index 44f430a5f..dd551172a 100644 --- a/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1/schemas.pyi @@ -130,6 +130,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): gitCommitish: str internalMetadata: str name: str + privateResourceMetadata: PrivateResourceMetadata releaseConfig: str resolvedGitCommitSha: str workspace: str @@ -434,6 +435,10 @@ class PolicyName(typing_extensions.TypedDict, total=False): region: str type: str +@typing.type_check_only +class PrivateResourceMetadata(typing_extensions.TypedDict, total=False): + userScoped: bool + @typing.type_check_only class PullGitCommitsRequest(typing_extensions.TypedDict, total=False): author: CommitAuthor @@ -483,8 +488,10 @@ class ReadRepositoryFileResponse(typing_extensions.TypedDict, total=False): class Relation(typing_extensions.TypedDict, total=False): additionalOptions: dict[str, typing.Any] clusterExpressions: _list[str] + connection: str dependencyTargets: _list[Target] disabled: bool + fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] incrementalTableConfig: IncrementalTableConfig partitionExpirationDays: int partitionExpression: str @@ -500,6 +507,8 @@ class Relation(typing_extensions.TypedDict, total=False): ] requirePartitionFilter: bool selectQuery: str + storageUri: str + tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] tags: _list[str] @typing.type_check_only @@ -645,6 +654,7 @@ class WorkflowInvocation(typing_extensions.TypedDict, total=False): invocationConfig: InvocationConfig invocationTiming: Interval name: str + privateResourceMetadata: PrivateResourceMetadata resolvedCompilationResult: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED", "CANCELING" @@ -671,6 +681,7 @@ class Workspace(typing_extensions.TypedDict, total=False): dataEncryptionState: DataEncryptionState internalMetadata: str name: str + privateResourceMetadata: PrivateResourceMetadata @typing.type_check_only class WorkspaceCompilationOverrides(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi index bb590571c..7ab35a423 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/resources.pyi @@ -19,6 +19,20 @@ class DataformResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class FoldersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Folder = ..., + folderId: str = ..., + **kwargs: typing.Any, + ) -> FolderHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FolderHttpRequest: ... def getIamPolicy( self, *, @@ -26,6 +40,36 @@ class DataformResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def move( + self, + *, + name: str, + body: MoveFolderRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def patch( + self, + *, + name: str, + body: Folder = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> FolderHttpRequest: ... + def queryFolderContents( + self, + *, + folder: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryFolderContentsResponseHttpRequest: ... + def queryFolderContents_next( + self, + previous_request: QueryFolderContentsResponseHttpRequest, + previous_response: QueryFolderContentsResponse, + ) -> QueryFolderContentsResponseHttpRequest | None: ... def setIamPolicy( self, *, @@ -484,6 +528,13 @@ class DataformResource(googleapiclient.discovery.Resource): previous_request: ListRepositoriesResponseHttpRequest, previous_response: ListRepositoriesResponse, ) -> ListRepositoriesResponseHttpRequest | None: ... + def move( + self, + *, + name: str, + body: MoveRepositoryRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patch( self, *, @@ -537,6 +588,20 @@ class DataformResource(googleapiclient.discovery.Resource): @typing.type_check_only class TeamFoldersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: TeamFolder = ..., + teamFolderId: str = ..., + **kwargs: typing.Any, + ) -> TeamFolderHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> TeamFolderHttpRequest: ... def getIamPolicy( self, *, @@ -544,6 +609,44 @@ class DataformResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def patch( + self, + *, + name: str, + body: TeamFolder = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> TeamFolderHttpRequest: ... + def queryContents( + self, + *, + teamFolder: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryTeamFolderContentsResponseHttpRequest: ... + def queryContents_next( + self, + previous_request: QueryTeamFolderContentsResponseHttpRequest, + previous_response: QueryTeamFolderContentsResponse, + ) -> QueryTeamFolderContentsResponseHttpRequest | None: ... + def search( + self, + *, + location: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> SearchTeamFoldersResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchTeamFoldersResponseHttpRequest, + previous_response: SearchTeamFoldersResponse, + ) -> SearchTeamFoldersResponseHttpRequest | None: ... def setIamPolicy( self, *, @@ -580,6 +683,21 @@ class DataformResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def queryUserRootContents( + self, + *, + location: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> QueryUserRootContentsResponseHttpRequest: ... + def queryUserRootContents_next( + self, + previous_request: QueryUserRootContentsResponseHttpRequest, + previous_response: QueryUserRootContentsResponse, + ) -> QueryUserRootContentsResponseHttpRequest | None: ... def updateConfig( self, *, @@ -707,6 +825,14 @@ class FetchRepositoryHistoryResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> FetchRepositoryHistoryResponse: ... +@typing.type_check_only +class FolderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Folder: ... + @typing.type_check_only class InstallNpmPackagesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -861,6 +987,14 @@ class QueryDirectoryContentsResponseHttpRequest(googleapiclient.http.HttpRequest num_retries: int = 0, ) -> QueryDirectoryContentsResponse: ... +@typing.type_check_only +class QueryFolderContentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryFolderContentsResponse: ... + @typing.type_check_only class QueryRepositoryDirectoryContentsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -871,6 +1005,22 @@ class QueryRepositoryDirectoryContentsResponseHttpRequest( num_retries: int = 0, ) -> QueryRepositoryDirectoryContentsResponse: ... +@typing.type_check_only +class QueryTeamFolderContentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryTeamFolderContentsResponse: ... + +@typing.type_check_only +class QueryUserRootContentsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> QueryUserRootContentsResponse: ... + @typing.type_check_only class QueryWorkflowInvocationActionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -945,6 +1095,22 @@ class SearchFilesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> SearchFilesResponse: ... +@typing.type_check_only +class SearchTeamFoldersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchTeamFoldersResponse: ... + +@typing.type_check_only +class TeamFolderHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TeamFolder: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi index 44f430a5f..ee1d1abc1 100644 --- a/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataform/v1beta1/schemas.pyi @@ -130,6 +130,7 @@ class CompilationResult(typing_extensions.TypedDict, total=False): gitCommitish: str internalMetadata: str name: str + privateResourceMetadata: PrivateResourceMetadata releaseConfig: str resolvedGitCommitSha: str workspace: str @@ -242,6 +243,22 @@ class FileOperation(typing_extensions.TypedDict, total=False): class FileSearchResult(typing_extensions.TypedDict, total=False): path: str +@typing.type_check_only +class Folder(typing_extensions.TypedDict, total=False): + containingFolder: str + createTime: str + creatorIamPrincipal: str + displayName: str + internalMetadata: str + name: str + teamFolderName: str + updateTime: str + +@typing.type_check_only +class FolderContentsEntry(typing_extensions.TypedDict, total=False): + folder: Folder + repository: Repository + @typing.type_check_only class GitRemoteSettings(typing_extensions.TypedDict, total=False): authenticationTokenSecretVersion: str @@ -378,6 +395,14 @@ class MoveFileRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class MoveFileResponse(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class MoveFolderRequest(typing_extensions.TypedDict, total=False): + destinationContainingFolder: str + +@typing.type_check_only +class MoveRepositoryRequest(typing_extensions.TypedDict, total=False): + destinationContainingFolder: str + @typing.type_check_only class Notebook(typing_extensions.TypedDict, total=False): contents: str @@ -434,6 +459,10 @@ class PolicyName(typing_extensions.TypedDict, total=False): region: str type: str +@typing.type_check_only +class PrivateResourceMetadata(typing_extensions.TypedDict, total=False): + userScoped: bool + @typing.type_check_only class PullGitCommitsRequest(typing_extensions.TypedDict, total=False): author: CommitAuthor @@ -459,6 +488,11 @@ class QueryDirectoryContentsResponse(typing_extensions.TypedDict, total=False): directoryEntries: _list[DirectoryEntry] nextPageToken: str +@typing.type_check_only +class QueryFolderContentsResponse(typing_extensions.TypedDict, total=False): + entries: _list[FolderContentsEntry] + nextPageToken: str + @typing.type_check_only class QueryRepositoryDirectoryContentsResponse( typing_extensions.TypedDict, total=False @@ -466,6 +500,16 @@ class QueryRepositoryDirectoryContentsResponse( directoryEntries: _list[DirectoryEntry] nextPageToken: str +@typing.type_check_only +class QueryTeamFolderContentsResponse(typing_extensions.TypedDict, total=False): + entries: _list[TeamFolderContentsEntry] + nextPageToken: str + +@typing.type_check_only +class QueryUserRootContentsResponse(typing_extensions.TypedDict, total=False): + entries: _list[RootContentsEntry] + nextPageToken: str + @typing.type_check_only class QueryWorkflowInvocationActionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -483,8 +527,10 @@ class ReadRepositoryFileResponse(typing_extensions.TypedDict, total=False): class Relation(typing_extensions.TypedDict, total=False): additionalOptions: dict[str, typing.Any] clusterExpressions: _list[str] + connection: str dependencyTargets: _list[Target] disabled: bool + fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "PARQUET"] incrementalTableConfig: IncrementalTableConfig partitionExpirationDays: int partitionExpression: str @@ -500,6 +546,8 @@ class Relation(typing_extensions.TypedDict, total=False): ] requirePartitionFilter: bool selectQuery: str + storageUri: str + tableFormat: typing_extensions.Literal["TABLE_FORMAT_UNSPECIFIED", "ICEBERG"] tags: _list[str] @typing.type_check_only @@ -536,6 +584,7 @@ class RemoveFileResponse(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Repository(typing_extensions.TypedDict, total=False): + containingFolder: str createTime: str dataEncryptionState: DataEncryptionState displayName: str @@ -547,6 +596,7 @@ class Repository(typing_extensions.TypedDict, total=False): npmrcEnvironmentVariablesSecretVersion: str serviceAccount: str setAuthenticatedUserAdmin: bool + teamFolderName: str workspaceCompilationOverrides: WorkspaceCompilationOverrides @typing.type_check_only @@ -557,6 +607,11 @@ class ResetWorkspaceChangesRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResetWorkspaceChangesResponse(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RootContentsEntry(typing_extensions.TypedDict, total=False): + folder: Folder + repository: Repository + @typing.type_check_only class ScheduledExecutionRecord(typing_extensions.TypedDict, total=False): errorStatus: Status @@ -579,6 +634,11 @@ class SearchResult(typing_extensions.TypedDict, total=False): directory: DirectorySearchResult file: FileSearchResult +@typing.type_check_only +class SearchTeamFoldersResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + results: _list[TeamFolderSearchResult] + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -609,6 +669,24 @@ class Target(typing_extensions.TypedDict, total=False): name: str schema: str +@typing.type_check_only +class TeamFolder(typing_extensions.TypedDict, total=False): + createTime: str + creatorIamPrincipal: str + displayName: str + internalMetadata: str + name: str + updateTime: str + +@typing.type_check_only +class TeamFolderContentsEntry(typing_extensions.TypedDict, total=False): + folder: Folder + repository: Repository + +@typing.type_check_only +class TeamFolderSearchResult(typing_extensions.TypedDict, total=False): + teamFolder: TeamFolder + @typing.type_check_only class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] @@ -645,6 +723,7 @@ class WorkflowInvocation(typing_extensions.TypedDict, total=False): invocationConfig: InvocationConfig invocationTiming: Interval name: str + privateResourceMetadata: PrivateResourceMetadata resolvedCompilationResult: str state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELLED", "FAILED", "CANCELING" @@ -669,8 +748,10 @@ class WorkflowInvocationAction(typing_extensions.TypedDict, total=False): class Workspace(typing_extensions.TypedDict, total=False): createTime: str dataEncryptionState: DataEncryptionState + disableMoves: bool internalMetadata: str name: str + privateResourceMetadata: PrivateResourceMetadata @typing.type_check_only class WorkspaceCompilationOverrides(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi index b2bd51f35..f451ffd48 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/resources.pyi @@ -135,6 +135,7 @@ class DataFusionResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi index 8060d8090..8df101723 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1/schemas.pyi @@ -91,6 +91,7 @@ class Instance(typing_extensions.TypedDict, total=False): loggingConfig: LoggingConfig maintenanceEvents: _list[MaintenanceEvent] maintenancePolicy: MaintenancePolicy + monitoringConfig: MonitoringConfig name: str networkConfig: NetworkConfig options: dict[str, typing.Any] @@ -152,6 +153,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -163,6 +165,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LoggingConfig(typing_extensions.TypedDict, total=False): + enableInstanceV2Logs: bool instanceCloudLoggingDisabled: bool @typing.type_check_only @@ -182,6 +185,10 @@ class MaintenancePolicy(typing_extensions.TypedDict, total=False): class MaintenanceWindow(typing_extensions.TypedDict, total=False): recurringTimeWindow: RecurringTimeWindow +@typing.type_check_only +class MonitoringConfig(typing_extensions.TypedDict, total=False): + enableInstanceV2Metrics: bool + @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): connectionType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi index c0df0bb5d..ff9fb9976 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/resources.pyi @@ -185,6 +185,7 @@ class DataFusionResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi index 75df002d9..5f16b918e 100644 --- a/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datafusion/v1beta1/schemas.pyi @@ -96,6 +96,7 @@ class Instance(typing_extensions.TypedDict, total=False): loggingConfig: LoggingConfig maintenanceEvents: _list[MaintenanceEvent] maintenancePolicy: MaintenancePolicy + monitoringConfig: MonitoringConfig name: str networkConfig: NetworkConfig options: dict[str, typing.Any] @@ -162,6 +163,7 @@ class ListNamespacesResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -173,6 +175,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LoggingConfig(typing_extensions.TypedDict, total=False): + enableInstanceV2Logs: bool instanceCloudLoggingDisabled: bool @typing.type_check_only @@ -192,6 +195,10 @@ class MaintenancePolicy(typing_extensions.TypedDict, total=False): class MaintenanceWindow(typing_extensions.TypedDict, total=False): recurringTimeWindow: RecurringTimeWindow +@typing.type_check_only +class MonitoringConfig(typing_extensions.TypedDict, total=False): + enableInstanceV2Metrics: bool + @typing.type_check_only class Namespace(typing_extensions.TypedDict, total=False): iamPolicy: IAMPolicy diff --git a/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi index a2d24450b..4f699bde4 100644 --- a/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalabeling/v1beta1/resources.pyi @@ -446,6 +446,7 @@ class DataLabelingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi index 3055820a9..3c8a57f8d 100644 --- a/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalabeling/v1beta1/schemas.pyi @@ -1664,6 +1664,7 @@ class GoogleCloudDatalabelingV1p2alpha1OutputConfig( class GoogleLongrunningListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[GoogleLongrunningOperation] + unreachable: _list[str] @typing.type_check_only class GoogleLongrunningOperation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi index dd8ad7a13..6be990849 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/resources.pyi @@ -13,10 +13,77 @@ _list = list @typing.type_check_only class DatalineageResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FoldersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConfigResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDatacatalogLineageConfigmanagementV1Config = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + + def config(self) -> ConfigResource: ... + + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class OrganizationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConfigResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDatacatalogLineageConfigmanagementV1Config = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + + def config(self) -> ConfigResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ConfigResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDatacatalogLineageConfigmanagementV1Config = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest + ): ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -215,6 +282,7 @@ class DatalineageResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDatacatalogLineageV1SearchLinksResponseHttpRequest | None ): ... + def config(self) -> ConfigResource: ... def operations(self) -> OperationsResource: ... def processes(self) -> ProcessesResource: ... @@ -232,8 +300,20 @@ class DatalineageResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def folders(self) -> FoldersResource: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDatacatalogLineageConfigmanagementV1Config: ... + @typing.type_check_only class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi index 46acd37e3..7d81ddb5e 100644 --- a/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datalineage/v1/schemas.pyi @@ -4,6 +4,71 @@ 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 ApiservingMcpMcpToolLifecycleProfile(typing_extensions.TypedDict, total=False): + launchState: typing_extensions.Literal[ + "LAUNCH_STATE_UNSPECIFIED", + "LAUNCH_STATE_DEVELOPMENT", + "LAUNCH_STATE_PRODUCTION_PREVIEW", + "LAUNCH_STATE_GENERAL_AVAILABILITY", + ] + +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1Config( + typing_extensions.TypedDict, total=False +): + etag: str + ingestion: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion + name: str + +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestion( + typing_extensions.TypedDict, total=False +): + rules: _list[ + GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule + ] + +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRule( + typing_extensions.TypedDict, total=False +): + integrationSelector: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector + lineageEnablement: GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement + +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleIntegrationSelector( + typing_extensions.TypedDict, total=False +): + integration: typing_extensions.Literal["INTEGRATION_UNSPECIFIED", "DATAPROC"] + +@typing.type_check_only +class GoogleCloudDatacatalogLineageConfigmanagementV1ConfigIngestionIngestionRuleLineageEnablement( + typing_extensions.TypedDict, total=False +): + enabled: bool + @typing.type_check_only class GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi index 5ff290199..74a6be843 100644 --- a/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamanager/v1/schemas.pyi @@ -27,6 +27,13 @@ class AudienceMember(typing_extensions.TypedDict, total=False): pairData: PairData userData: UserData +@typing.type_check_only +class AwsWrappedKeyInfo(typing_extensions.TypedDict, total=False): + encryptedDek: str + kekUri: str + keyType: typing_extensions.Literal["KEY_TYPE_UNSPECIFIED", "XCHACHA20_POLY1305"] + roleArn: str + @typing.type_check_only class CartData(typing_extensions.TypedDict, total=False): items: _list[Item] @@ -65,6 +72,7 @@ class DeviceInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class EncryptionInfo(typing_extensions.TypedDict, total=False): + awsWrappedKeyInfo: AwsWrappedKeyInfo gcpWrappedKeyInfo: GcpWrappedKeyInfo @typing.type_check_only @@ -95,6 +103,7 @@ class ErrorCount(typing_extensions.TypedDict, total=False): "PROCESSING_ERROR_REASON_INVALID_KEK", "PROCESSING_ERROR_REASON_WIP_AUTH_FAILED", "PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED", + "PROCESSING_ERROR_REASON_AWS_AUTH_FAILED", "PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", "PROCESSING_ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER", ] @@ -107,13 +116,16 @@ class ErrorInfo(typing_extensions.TypedDict, total=False): @typing.type_check_only class Event(typing_extensions.TypedDict, total=False): adIdentifiers: AdIdentifiers + additionalEventParameters: _list[EventParameter] cartData: CartData + clientId: str consent: Consent conversionValue: float currency: str customVariables: _list[CustomVariable] destinationReferences: _list[str] eventDeviceInfo: DeviceInfo + eventName: str eventSource: typing_extensions.Literal[ "EVENT_SOURCE_UNSPECIFIED", "WEB", "APP", "IN_STORE", "PHONE", "OTHER" ] @@ -122,8 +134,14 @@ class Event(typing_extensions.TypedDict, total=False): lastUpdatedTimestamp: str transactionId: str userData: UserData + userId: str userProperties: UserProperties +@typing.type_check_only +class EventParameter(typing_extensions.TypedDict, total=False): + parameterName: str + value: str + @typing.type_check_only class ExperimentalField(typing_extensions.TypedDict, total=False): field: str @@ -203,10 +221,17 @@ class IngestUserDataStatus(typing_extensions.TypedDict, total=False): @typing.type_check_only class Item(typing_extensions.TypedDict, total=False): + additionalItemParameters: _list[ItemParameter] + itemId: str merchantProductId: str quantity: str unitPrice: float +@typing.type_check_only +class ItemParameter(typing_extensions.TypedDict, total=False): + parameterName: str + value: str + @typing.type_check_only class MobileData(typing_extensions.TypedDict, total=False): mobileIds: _list[str] @@ -224,6 +249,7 @@ class ProductAccount(typing_extensions.TypedDict, total=False): "DISPLAY_VIDEO_PARTNER", "DISPLAY_VIDEO_ADVERTISER", "DATA_PARTNER", + "GOOGLE_ANALYTICS_PROPERTY", ] product: typing_extensions.Literal[ "PRODUCT_UNSPECIFIED", @@ -282,6 +308,12 @@ class RequestStatusPerDestination(typing_extensions.TypedDict, total=False): class RetrieveRequestStatusResponse(typing_extensions.TypedDict, total=False): requestStatusPerDestination: _list[RequestStatusPerDestination] +@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 TermsOfService(typing_extensions.TypedDict, total=False): customerMatchTermsOfServiceStatus: typing_extensions.Literal[ @@ -300,6 +332,7 @@ class UserIdentifier(typing_extensions.TypedDict, total=False): @typing.type_check_only class UserProperties(typing_extensions.TypedDict, total=False): + additionalUserProperties: _list[UserProperty] customerType: typing_extensions.Literal[ "CUSTOMER_TYPE_UNSPECIFIED", "NEW", "RETURNING", "REENGAGED" ] @@ -307,6 +340,11 @@ class UserProperties(typing_extensions.TypedDict, total=False): "CUSTOMER_VALUE_BUCKET_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" ] +@typing.type_check_only +class UserProperty(typing_extensions.TypedDict, total=False): + propertyName: str + value: str + @typing.type_check_only class WarningCount(typing_extensions.TypedDict, total=False): reason: typing_extensions.Literal[ @@ -319,6 +357,7 @@ class WarningCount(typing_extensions.TypedDict, total=False): "PROCESSING_WARNING_REASON_INVALID_KEK", "PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR", "PROCESSING_WARNING_REASON_INTERNAL_ERROR", + "PROCESSING_WARNING_REASON_AWS_AUTH_FAILED", ] recordCount: str diff --git a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi index 3dbd90ced..46b908dfe 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/resources.pyi @@ -479,6 +479,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi index 82e3287f3..20163ed7d 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1/schemas.pyi @@ -17,6 +17,7 @@ class AlloyDbSettings(typing_extensions.TypedDict, total=False): "POSTGRES_15", "POSTGRES_16", "POSTGRES_17", + "POSTGRES_18", ] encryptionConfig: EncryptionConfig initialUser: UserPassword @@ -82,6 +83,10 @@ class BackgroundJobLogEntry(typing_extensions.TypedDict, total=False): seedJobDetails: SeedJobDetails startTime: str +@typing.type_check_only +class BadRequest(typing_extensions.TypedDict, total=False): + fieldViolations: _list[FieldViolation] + @typing.type_check_only class BinaryLogParser(typing_extensions.TypedDict, total=False): logFileDirectories: LogFileDirectories @@ -360,6 +365,11 @@ class DatabaseType(typing_extensions.TypedDict, total=False): "AZURE_DATABASE", ] +@typing.type_check_only +class DebugInfo(typing_extensions.TypedDict, total=False): + detail: str + stackEntries: _list[str] + @typing.type_check_only class DemoteDestinationRequest(typing_extensions.TypedDict, total=False): ... @@ -522,6 +532,12 @@ class EntityMappingLogEntry(typing_extensions.TypedDict, total=False): class EntityMove(typing_extensions.TypedDict, total=False): newSchema: 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 Expr(typing_extensions.TypedDict, total=False): description: str @@ -534,6 +550,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 FilterTableColumns(typing_extensions.TypedDict, total=False): excludeColumns: _list[str] @@ -577,6 +600,10 @@ class GoogleCloudClouddmsV1OperationMetadata(typing_extensions.TypedDict, total= target: str verb: str +@typing.type_check_only +class Help(typing_extensions.TypedDict, total=False): + links: _list[Link] + @typing.type_check_only class HeterogeneousMetadata(typing_extensions.TypedDict, total=False): unsupportedEventsCount: str @@ -626,6 +653,11 @@ class IntComparisonFilter(typing_extensions.TypedDict, total=False): "VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN", ] +@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] @@ -663,6 +695,7 @@ class ListMigrationJobsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): @@ -670,6 +703,11 @@ class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): privateConnections: _list[PrivateConnection] 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 @@ -769,6 +807,7 @@ class MigrationJob(typing_extensions.TypedDict, total=False): name: str objectsConfig: MigrationJobObjectsConfig oracleToPostgresConfig: OracleToPostgresConfig + originalMigrationName: str performanceConfig: PerformanceConfig phase: typing_extensions.Literal[ "PHASE_UNSPECIFIED", @@ -779,6 +818,8 @@ class MigrationJob(typing_extensions.TypedDict, total=False): "PREPARING_THE_DUMP", "READY_FOR_PROMOTE", ] + postgresToSqlserverConfig: PostgresToSqlServerConfig + purpose: typing_extensions.Literal["PURPOSE_UNSPECIFIED", "MIGRATE", "FAILBACK"] reverseSshConnectivity: ReverseSshConnectivity satisfiesPzi: bool satisfiesPzs: bool @@ -993,6 +1034,7 @@ class PostgreSqlConnectionProfile(typing_extensions.TypedDict, total=False): alloydbClusterId: str cloudSqlId: str database: str + forwardSshConnectivity: ForwardSshTunnelConnectivity host: str networkArchitecture: typing_extensions.Literal[ "NETWORK_ARCHITECTURE_UNSPECIFIED", @@ -1002,6 +1044,7 @@ class PostgreSqlConnectionProfile(typing_extensions.TypedDict, total=False): password: str passwordSet: bool port: int + privateConnectivity: PrivateConnectivity privateServiceConnectConnectivity: PrivateServiceConnectConnectivity ssl: SslConfig staticIpConnectivity: StaticIpConnectivity @@ -1012,6 +1055,25 @@ class PostgresDestinationConfig(typing_extensions.TypedDict, total=False): maxConcurrentConnections: int transactionTimeout: str +@typing.type_check_only +class PostgresSourceConfig(typing_extensions.TypedDict, total=False): + skipFullDump: bool + +@typing.type_check_only +class PostgresToSqlServerConfig(typing_extensions.TypedDict, total=False): + postgresSourceConfig: PostgresSourceConfig + sqlserverDestinationConfig: SqlServerDestinationConfig + +@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 PrimaryInstanceSettings(typing_extensions.TypedDict, total=False): databaseFlags: dict[str, typing.Any] @@ -1060,6 +1122,33 @@ class PromoteMigrationJobRequest(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 RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): objectsFilter: MigrationJobObjectsConfig @@ -1070,6 +1159,10 @@ class RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): class ResumeMigrationJobRequest(typing_extensions.TypedDict, total=False): skipValidation: bool +@typing.type_check_only +class RetryInfo(typing_extensions.TypedDict, total=False): + retryDelay: str + @typing.type_check_only class ReverseSshConnectivity(typing_extensions.TypedDict, total=False): vm: str @@ -1244,6 +1337,11 @@ class SqlServerDatabaseBackup(typing_extensions.TypedDict, total=False): database: str encryptionOptions: SqlServerEncryptionOptions +@typing.type_check_only +class SqlServerDestinationConfig(typing_extensions.TypedDict, total=False): + maxConcurrentConnections: int + transactionTimeout: str + @typing.type_check_only class SqlServerEncryptionOptions(typing_extensions.TypedDict, total=False): certPath: str diff --git a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi index 470ce424f..d5fe088d2 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1beta1/resources.pyi @@ -224,6 +224,7 @@ class DatabaseMigrationServiceResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi index 754bc00a0..30c147da1 100644 --- a/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datamigration/v1beta1/schemas.pyi @@ -16,6 +16,10 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] +@typing.type_check_only +class BadRequest(typing_extensions.TypedDict, total=False): + fieldViolations: _list[FieldViolation] + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -86,9 +90,20 @@ class DatabaseType(typing_extensions.TypedDict, total=False): "DATABASE_PROVIDER_UNSPECIFIED", "CLOUDSQL", "RDS" ] +@typing.type_check_only +class DebugInfo(typing_extensions.TypedDict, total=False): + detail: str + stackEntries: _list[str] + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@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 Expr(typing_extensions.TypedDict, total=False): description: str @@ -96,6 +111,13 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: 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 GenerateSshScriptRequest(typing_extensions.TypedDict, total=False): vm: str @@ -115,6 +137,15 @@ class GoogleCloudClouddmsV1beta1OperationMetadata( target: str verb: str +@typing.type_check_only +class Help(typing_extensions.TypedDict, total=False): + links: _list[Link] + +@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] @@ -136,6 +167,12 @@ class ListMigrationJobsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + 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): @@ -241,15 +278,56 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@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 PromoteMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +@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 RestartMigrationJobRequest(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ResumeMigrationJobRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class RetryInfo(typing_extensions.TypedDict, total=False): + retryDelay: str + @typing.type_check_only class ReverseSshConnectivity(typing_extensions.TypedDict, total=False): vm: str diff --git a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi index c33d02d06..b4871ab40 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/resources.pyi @@ -279,21 +279,106 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): class DataProductsResource(googleapiclient.discovery.Resource): @typing.type_check_only class DataAssetsResource(googleapiclient.discovery.Resource): - def setIamPolicy( + def create( self, *, - resource: str, - body: GoogleIamV1SetIamPolicyRequest = ..., + parent: str, + body: GoogleCloudDataplexV1DataAsset = ..., + dataAssetId: str = ..., + validateOnly: bool = ..., **kwargs: typing.Any, - ) -> GoogleIamV1PolicyHttpRequest: ... - def testIamPermissions( + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( self, *, - resource: str, - body: GoogleIamV1TestIamPermissionsRequest = ..., + name: str, + etag: str = ..., + validateOnly: bool = ..., **kwargs: typing.Any, - ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1DataAssetHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListDataAssetsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListDataAssetsResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListDataAssetsResponse, + ) -> ( + GoogleCloudDataplexV1ListDataAssetsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1DataAsset = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1DataProduct = ..., + dataProductId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1DataProductHttpRequest: ... + def getIamPolicy( + self, + *, + resource: str, + options_requestedPolicyVersion: int = ..., + **kwargs: typing.Any, + ) -> GoogleIamV1PolicyHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListDataProductsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListDataProductsResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListDataProductsResponse, + ) -> ( + GoogleCloudDataplexV1ListDataProductsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1DataProduct = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def setIamPolicy( self, *, @@ -1667,6 +1752,50 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def tasks(self) -> TasksResource: ... def zones(self) -> ZonesResource: ... + @typing.type_check_only + class MetadataFeedsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDataplexV1MetadataFeed = ..., + metadataFeedId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDataplexV1MetadataFeedHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDataplexV1ListMetadataFeedsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDataplexV1ListMetadataFeedsResponseHttpRequest, + previous_response: GoogleCloudDataplexV1ListMetadataFeedsResponse, + ) -> ( + GoogleCloudDataplexV1ListMetadataFeedsResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDataplexV1MetadataFeed = ..., + updateMask: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class MetadataJobsResource(googleapiclient.discovery.Resource): def cancel( @@ -1796,6 +1925,7 @@ class CloudDataplexResource(googleapiclient.discovery.Resource): def glossaries(self) -> GlossariesResource: ... def governanceRules(self) -> GovernanceRulesResource: ... def lakes(self) -> LakesResource: ... + def metadataFeeds(self) -> MetadataFeedsResource: ... def metadataJobs(self) -> MetadataJobsResource: ... def operations(self) -> OperationsResource: ... @@ -1848,6 +1978,14 @@ class GoogleCloudDataplexV1ContentHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleCloudDataplexV1Content: ... +@typing.type_check_only +class GoogleCloudDataplexV1DataAssetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1DataAsset: ... + @typing.type_check_only class GoogleCloudDataplexV1DataAttributeHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1866,6 +2004,14 @@ class GoogleCloudDataplexV1DataAttributeBindingHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1DataAttributeBinding: ... +@typing.type_check_only +class GoogleCloudDataplexV1DataProductHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1DataProduct: ... + @typing.type_check_only class GoogleCloudDataplexV1DataScanHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2040,6 +2186,16 @@ class GoogleCloudDataplexV1ListContentResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListContentResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1ListDataAssetsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListDataAssetsResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1ListDataAttributeBindingsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2060,6 +2216,16 @@ class GoogleCloudDataplexV1ListDataAttributesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListDataAttributesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1ListDataProductsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListDataProductsResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1ListDataScanJobsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2200,6 +2366,16 @@ class GoogleCloudDataplexV1ListLakesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListLakesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1ListMetadataFeedsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1ListMetadataFeedsResponse: ... + @typing.type_check_only class GoogleCloudDataplexV1ListMetadataJobsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2250,6 +2426,14 @@ class GoogleCloudDataplexV1ListZonesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDataplexV1ListZonesResponse: ... +@typing.type_check_only +class GoogleCloudDataplexV1MetadataFeedHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDataplexV1MetadataFeed: ... + @typing.type_check_only class GoogleCloudDataplexV1MetadataJobHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi index 2f7883aeb..ca15badfe 100644 --- a/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataplex/v1/schemas.pyi @@ -320,6 +320,23 @@ class GoogleCloudDataplexV1ContentSqlScript(typing_extensions.TypedDict, total=F class GoogleCloudDataplexV1DataAccessSpec(typing_extensions.TypedDict, total=False): readers: _list[str] +@typing.type_check_only +class GoogleCloudDataplexV1DataAsset(typing_extensions.TypedDict, total=False): + accessGroupConfigs: dict[str, typing.Any] + createTime: str + etag: str + labels: dict[str, typing.Any] + name: str + resource: str + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataAssetAccessGroupConfig( + typing_extensions.TypedDict, total=False +): + iamRoles: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1DataAttribute(typing_extensions.TypedDict, total=False): attributeCount: int @@ -469,10 +486,50 @@ class GoogleCloudDataplexV1DataDocumentationResultTableResult( @typing.type_check_only class GoogleCloudDataplexV1DataDocumentationSpec( typing_extensions.TypedDict, total=False -): ... +): + catalogPublishingEnabled: bool + generationScopes: _list[ + typing_extensions.Literal[ + "GENERATION_SCOPE_UNSPECIFIED", + "ALL", + "TABLE_AND_COLUMN_DESCRIPTIONS", + "SQL_QUERIES", + ] + ] + +@typing.type_check_only +class GoogleCloudDataplexV1DataProduct(typing_extensions.TypedDict, total=False): + accessGroups: dict[str, typing.Any] + assetCount: int + createTime: str + description: str + displayName: str + etag: str + icon: str + labels: dict[str, typing.Any] + name: str + ownerEmails: _list[str] + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1DataProductAccessGroup( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + id: str + principal: GoogleCloudDataplexV1DataProductPrincipal + +@typing.type_check_only +class GoogleCloudDataplexV1DataProductPrincipal( + typing_extensions.TypedDict, total=False +): + googleGroup: str @typing.type_check_only class GoogleCloudDataplexV1DataProfileResult(typing_extensions.TypedDict, total=False): + catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus postScanActionsResult: GoogleCloudDataplexV1DataProfileResultPostScanActionsResult profile: GoogleCloudDataplexV1DataProfileResultProfile rowCount: str @@ -567,6 +624,7 @@ class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue( @typing.type_check_only class GoogleCloudDataplexV1DataProfileSpec(typing_extensions.TypedDict, total=False): + catalogPublishingEnabled: bool excludeFields: GoogleCloudDataplexV1DataProfileSpecSelectedFields includeFields: GoogleCloudDataplexV1DataProfileSpecSelectedFields postScanActions: GoogleCloudDataplexV1DataProfileSpecPostScanActions @@ -616,6 +674,9 @@ class GoogleCloudDataplexV1DataQualityDimensionResult( @typing.type_check_only class GoogleCloudDataplexV1DataQualityResult(typing_extensions.TypedDict, total=False): + anomalyDetectionGeneratedAssets: ( + GoogleCloudDataplexV1DataQualityResultAnomalyDetectionGeneratedAssets + ) catalogPublishingStatus: GoogleCloudDataplexV1DataScanCatalogPublishingStatus columns: _list[GoogleCloudDataplexV1DataQualityColumnResult] dimensions: _list[GoogleCloudDataplexV1DataQualityDimensionResult] @@ -626,6 +687,15 @@ class GoogleCloudDataplexV1DataQualityResult(typing_extensions.TypedDict, total= scannedData: GoogleCloudDataplexV1ScannedData score: float +@typing.type_check_only +class GoogleCloudDataplexV1DataQualityResultAnomalyDetectionGeneratedAssets( + typing_extensions.TypedDict, total=False +): + dataIntermediateTable: str + freshnessIntermediateTable: str + resultTable: str + volumeIntermediateTable: str + @typing.type_check_only class GoogleCloudDataplexV1DataQualityResultPostScanActionsResult( typing_extensions.TypedDict, total=False @@ -862,7 +932,9 @@ class GoogleCloudDataplexV1DataScan(typing_extensions.TypedDict, total=False): class GoogleCloudDataplexV1DataScanCatalogPublishingStatus( typing_extensions.TypedDict, total=False ): - state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "SUCCEEDED", "FAILED", "SKIPPED" + ] @typing.type_check_only class GoogleCloudDataplexV1DataScanEvent(typing_extensions.TypedDict, total=False): @@ -1475,6 +1547,13 @@ class GoogleCloudDataplexV1ListContentResponse( content: _list[GoogleCloudDataplexV1Content] nextPageToken: str +@typing.type_check_only +class GoogleCloudDataplexV1ListDataAssetsResponse( + typing_extensions.TypedDict, total=False +): + dataAssets: _list[GoogleCloudDataplexV1DataAsset] + nextPageToken: str + @typing.type_check_only class GoogleCloudDataplexV1ListDataAttributeBindingsResponse( typing_extensions.TypedDict, total=False @@ -1491,6 +1570,14 @@ class GoogleCloudDataplexV1ListDataAttributesResponse( nextPageToken: str unreachableLocations: _list[str] +@typing.type_check_only +class GoogleCloudDataplexV1ListDataProductsResponse( + typing_extensions.TypedDict, total=False +): + dataProducts: _list[GoogleCloudDataplexV1DataProduct] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1ListDataScanJobsResponse( typing_extensions.TypedDict, total=False @@ -1594,6 +1681,14 @@ class GoogleCloudDataplexV1ListLakesResponse(typing_extensions.TypedDict, total= nextPageToken: str unreachableLocations: _list[str] +@typing.type_check_only +class GoogleCloudDataplexV1ListMetadataFeedsResponse( + typing_extensions.TypedDict, total=False +): + metadataFeeds: _list[GoogleCloudDataplexV1MetadataFeed] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1ListMetadataJobsResponse( typing_extensions.TypedDict, total=False @@ -1627,6 +1722,35 @@ class GoogleCloudDataplexV1ListZonesResponse(typing_extensions.TypedDict, total= nextPageToken: str zones: _list[GoogleCloudDataplexV1Zone] +@typing.type_check_only +class GoogleCloudDataplexV1MetadataFeed(typing_extensions.TypedDict, total=False): + createTime: str + filters: GoogleCloudDataplexV1MetadataFeedFilters + labels: dict[str, typing.Any] + name: str + pubsubTopic: str + scope: GoogleCloudDataplexV1MetadataFeedScope + uid: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDataplexV1MetadataFeedFilters( + typing_extensions.TypedDict, total=False +): + aspectTypes: _list[str] + changeTypes: _list[ + typing_extensions.Literal[ + "CHANGE_TYPE_UNSPECIFIED", "CREATE", "UPDATE", "DELETE" + ] + ] + entryTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDataplexV1MetadataFeedScope(typing_extensions.TypedDict, total=False): + entryGroups: _list[str] + organizationLevel: bool + projects: _list[str] + @typing.type_check_only class GoogleCloudDataplexV1MetadataJob(typing_extensions.TypedDict, total=False): createTime: str @@ -2040,6 +2164,7 @@ class GoogleCloudDataplexV1TaskTriggerSpec(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDataplexV1Trigger(typing_extensions.TypedDict, total=False): onDemand: GoogleCloudDataplexV1TriggerOnDemand + oneTime: GoogleCloudDataplexV1TriggerOneTime schedule: GoogleCloudDataplexV1TriggerSchedule @typing.type_check_only @@ -2047,6 +2172,10 @@ class GoogleCloudDataplexV1TriggerOnDemand( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDataplexV1TriggerOneTime(typing_extensions.TypedDict, total=False): + ttlAfterScanCompletion: str + @typing.type_check_only class GoogleCloudDataplexV1TriggerSchedule(typing_extensions.TypedDict, total=False): cron: str diff --git a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi index 2137af065..6f9897f8d 100644 --- a/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dataproc/v1/schemas.pyi @@ -293,6 +293,7 @@ class ClusterConfig(typing_extensions.TypedDict, total=False): ] configBucket: str dataprocMetricConfig: DataprocMetricConfig + diagnosticBucket: str encryptionConfig: EncryptionConfig endpointConfig: EndpointConfig gceClusterConfig: GceClusterConfig @@ -569,6 +570,7 @@ class FlinkJob(typing_extensions.TypedDict, total=False): @typing.type_check_only class GceClusterConfig(typing_extensions.TypedDict, total=False): + autoZoneExcludeZoneUris: _list[str] confidentialInstanceConfig: ConfidentialInstanceConfig internalIpOnly: bool metadata: dict[str, typing.Any] @@ -1611,6 +1613,39 @@ class SparkBatch(typing_extensions.TypedDict, total=False): @typing.type_check_only class SparkConnectConfig(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class SparkConnectExecutionInfo(typing_extensions.TypedDict, total=False): + closeTimestamp: str + detail: str + finishTimestamp: str + jobIds: _list[str] + jobTag: str + operationId: str + sessionId: str + sparkSessionTags: _list[str] + sqlExecIds: _list[str] + startTimestamp: str + state: typing_extensions.Literal[ + "EXECUTION_STATE_UNKNOWN", + "EXECUTION_STATE_STARTED", + "EXECUTION_STATE_COMPILED", + "EXECUTION_STATE_READY", + "EXECUTION_STATE_CANCELED", + "EXECUTION_STATE_FAILED", + "EXECUTION_STATE_FINISHED", + "EXECUTION_STATE_CLOSED", + ] + statement: str + userId: str + +@typing.type_check_only +class SparkConnectSessionInfo(typing_extensions.TypedDict, total=False): + finishTimestamp: str + sessionId: str + startTimestamp: str + totalExecution: str + userId: str + @typing.type_check_only class SparkHistoryServerConfig(typing_extensions.TypedDict, total=False): dataprocCluster: str @@ -1720,6 +1755,8 @@ class SparkWrapperObject(typing_extensions.TypedDict, total=False): rddOperationGraph: RddOperationGraph rddStorageInfo: RddStorageInfo resourceProfileInfo: ResourceProfileInfo + sparkConnectExecutionInfo: SparkConnectExecutionInfo + sparkConnectSessionInfo: SparkConnectSessionInfo sparkPlanGraph: SparkPlanGraph speculationStageSummary: SpeculationStageSummary sqlExecutionUiData: SqlExecutionUiData diff --git a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi index 4781f2c60..133306934 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/resources.pyi @@ -92,6 +92,7 @@ class DatastreamResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi index 15e9d8539..cef09f471 100644 --- a/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1/schemas.pyi @@ -17,6 +17,7 @@ class BackfillAllStrategy(typing_extensions.TypedDict, total=False): oracleExcludedObjects: OracleRdbms postgresqlExcludedObjects: PostgresqlRdbms salesforceExcludedObjects: SalesforceOrg + spannerExcludedObjects: SpannerDatabase sqlServerExcludedObjects: SqlServerRdbms @typing.type_check_only @@ -42,6 +43,10 @@ class BackfillNoneStrategy(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class BasicEncryption(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class BigQueryClustering(typing_extensions.TypedDict, total=False): + columns: _list[str] + @typing.type_check_only class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): appendOnly: AppendOnly @@ -51,6 +56,13 @@ class BigQueryDestinationConfig(typing_extensions.TypedDict, total=False): singleTargetDataset: SingleTargetDataset sourceHierarchyDatasets: SourceHierarchyDatasets +@typing.type_check_only +class BigQueryPartitioning(typing_extensions.TypedDict, total=False): + ingestionTimePartition: IngestionTimePartition + integerRangePartition: IntegerRangePartition + requirePartitionFilter: bool + timeUnitPartition: TimeUnitPartition + @typing.type_check_only class BigQueryProfile(typing_extensions.TypedDict, total=False): ... @@ -96,10 +108,16 @@ class ConnectionProfile(typing_extensions.TypedDict, total=False): salesforceProfile: SalesforceProfile satisfiesPzi: bool satisfiesPzs: bool + spannerProfile: SpannerProfile sqlServerProfile: SqlServerProfile staticServiceIpConnectivity: StaticServiceIpConnectivity updateTime: str +@typing.type_check_only +class CustomizationRule(typing_extensions.TypedDict, total=False): + bigqueryClustering: BigQueryClustering + bigqueryPartitioning: BigQueryPartitioning + @typing.type_check_only class DatasetTemplate(typing_extensions.TypedDict, total=False): datasetIdPrefix: str @@ -123,6 +141,7 @@ class DiscoverConnectionProfileRequest(typing_extensions.TypedDict, total=False) oracleRdbms: OracleRdbms postgresqlRdbms: PostgresqlRdbms salesforceOrg: SalesforceOrg + spannerDatabase: SpannerDatabase sqlServerRdbms: SqlServerRdbms @typing.type_check_only @@ -132,6 +151,7 @@ class DiscoverConnectionProfileResponse(typing_extensions.TypedDict, total=False oracleRdbms: OracleRdbms postgresqlRdbms: PostgresqlRdbms salesforceOrg: SalesforceOrg + spannerDatabase: SpannerDatabase sqlServerRdbms: SqlServerRdbms @typing.type_check_only @@ -156,6 +176,10 @@ class Error(typing_extensions.TypedDict, total=False): message: str reason: str +@typing.type_check_only +class EventFilter(typing_extensions.TypedDict, total=False): + sqlWhereClause: str + @typing.type_check_only class FetchStaticIpsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -190,6 +214,23 @@ class HostAddress(typing_extensions.TypedDict, total=False): hostname: str port: int +@typing.type_check_only +class IngestionTimePartition(typing_extensions.TypedDict, total=False): + partitioningTimeGranularity: typing_extensions.Literal[ + "PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", + "PARTITIONING_TIME_GRANULARITY_HOUR", + "PARTITIONING_TIME_GRANULARITY_DAY", + "PARTITIONING_TIME_GRANULARITY_MONTH", + "PARTITIONING_TIME_GRANULARITY_YEAR", + ] + +@typing.type_check_only +class IntegerRangePartition(typing_extensions.TypedDict, total=False): + column: str + end: str + interval: str + start: str + @typing.type_check_only class JsonFileFormat(typing_extensions.TypedDict, total=False): compression: typing_extensions.Literal[ @@ -214,6 +255,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): @@ -290,6 +332,7 @@ class MongodbObjectIdentifier(typing_extensions.TypedDict, total=False): @typing.type_check_only class MongodbProfile(typing_extensions.TypedDict, total=False): + additionalOptions: dict[str, typing.Any] hostAddresses: _list[HostAddress] password: str replicaSet: str @@ -303,6 +346,9 @@ class MongodbProfile(typing_extensions.TypedDict, total=False): class MongodbSourceConfig(typing_extensions.TypedDict, total=False): excludeObjects: MongodbCluster includeObjects: MongodbCluster + jsonMode: typing_extensions.Literal[ + "MONGODB_JSON_MODE_UNSPECIFIED", "STRICT", "CANONICAL" + ] maxConcurrentBackfillTasks: int @typing.type_check_only @@ -394,6 +440,10 @@ class Oauth2ClientCredentials(typing_extensions.TypedDict, total=False): clientSecret: str secretManagerStoredClientSecret: str +@typing.type_check_only +class ObjectFilter(typing_extensions.TypedDict, total=False): + sourceObjectIdentifier: SourceObjectIdentifier + @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): done: bool @@ -583,6 +633,11 @@ class Route(typing_extensions.TypedDict, total=False): name: str updateTime: str +@typing.type_check_only +class RuleSet(typing_extensions.TypedDict, total=False): + customizationRules: _list[CustomizationRule] + objectFilter: ObjectFilter + @typing.type_check_only class RunStreamRequest(typing_extensions.TypedDict, total=False): cdcStrategy: CdcStrategy @@ -643,6 +698,7 @@ class SourceConfig(typing_extensions.TypedDict, total=False): postgresqlSourceConfig: PostgresqlSourceConfig salesforceSourceConfig: SalesforceSourceConfig sourceConnectionProfile: str + spannerSourceConfig: SpannerSourceConfig sqlServerSourceConfig: SqlServerSourceConfig @typing.type_check_only @@ -657,8 +713,53 @@ class SourceObjectIdentifier(typing_extensions.TypedDict, total=False): oracleIdentifier: OracleObjectIdentifier postgresqlIdentifier: PostgresqlObjectIdentifier salesforceIdentifier: SalesforceObjectIdentifier + spannerIdentifier: SpannerObjectIdentifier sqlServerIdentifier: SqlServerObjectIdentifier +@typing.type_check_only +class SpannerColumn(typing_extensions.TypedDict, total=False): + column: str + dataType: str + isPrimaryKey: bool + ordinalPosition: str + +@typing.type_check_only +class SpannerDatabase(typing_extensions.TypedDict, total=False): + schemas: _list[SpannerSchema] + +@typing.type_check_only +class SpannerObjectIdentifier(typing_extensions.TypedDict, total=False): + schema: str + table: str + +@typing.type_check_only +class SpannerProfile(typing_extensions.TypedDict, total=False): + database: str + host: str + +@typing.type_check_only +class SpannerSchema(typing_extensions.TypedDict, total=False): + schema: str + tables: _list[SpannerTable] + +@typing.type_check_only +class SpannerSourceConfig(typing_extensions.TypedDict, total=False): + backfillDataBoostEnabled: bool + changeStreamName: str + excludeObjects: SpannerDatabase + fgacRole: str + includeObjects: SpannerDatabase + maxConcurrentBackfillTasks: int + maxConcurrentCdcTasks: int + spannerRpcPriority: typing_extensions.Literal[ + "SPANNER_RPC_PRIORITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH" + ] + +@typing.type_check_only +class SpannerTable(typing_extensions.TypedDict, total=False): + columns: _list[SpannerColumn] + table: str + @typing.type_check_only class SpecificStartPosition(typing_extensions.TypedDict, total=False): mongodbChangeStreamPosition: MongodbChangeStreamPosition @@ -740,7 +841,8 @@ class StandardConnectionFormat(typing_extensions.TypedDict, total=False): directConnection: bool @typing.type_check_only -class StartBackfillJobRequest(typing_extensions.TypedDict, total=False): ... +class StartBackfillJobRequest(typing_extensions.TypedDict, total=False): + eventFilter: EventFilter @typing.type_check_only class StartBackfillJobResponse(typing_extensions.TypedDict, total=False): @@ -774,6 +876,7 @@ class Stream(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] lastRecoveryTime: str name: str + ruleSets: _list[RuleSet] satisfiesPzi: bool satisfiesPzs: bool sourceConfig: SourceConfig @@ -797,12 +900,24 @@ class StreamLargeObjects(typing_extensions.TypedDict, total=False): ... class StreamObject(typing_extensions.TypedDict, total=False): backfillJob: BackfillJob createTime: str + customizationRules: _list[CustomizationRule] displayName: str errors: _list[Error] name: str sourceObject: SourceObjectIdentifier updateTime: str +@typing.type_check_only +class TimeUnitPartition(typing_extensions.TypedDict, total=False): + column: str + partitioningTimeGranularity: typing_extensions.Literal[ + "PARTITIONING_TIME_GRANULARITY_UNSPECIFIED", + "PARTITIONING_TIME_GRANULARITY_HOUR", + "PARTITIONING_TIME_GRANULARITY_DAY", + "PARTITIONING_TIME_GRANULARITY_MONTH", + "PARTITIONING_TIME_GRANULARITY_YEAR", + ] + @typing.type_check_only class UserCredentials(typing_extensions.TypedDict, total=False): password: str diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi index cd4d232f1..7dd1da03c 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/resources.pyi @@ -89,6 +89,7 @@ class DatastreamResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi index 5cf0fe5b3..63cd6be42 100644 --- a/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/datastream/v1alpha1/schemas.pyi @@ -141,6 +141,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPrivateConnectionsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi index b047e9a9e..1471df622 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/alpha/schemas.pyi @@ -164,6 +164,10 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): + allocatedPriority: int + @typing.type_check_only class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): bindings: _list[Binding] @@ -235,6 +239,7 @@ class Operation(typing_extensions.TypedDict, total=False): description: str endTime: str error: dict[str, typing.Any] + firewallPolicyRuleOperationMetadata: FirewallPolicyRuleOperationMetadata httpErrorMessage: str httpErrorStatusCode: int id: str diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi index b5d53f007..034fa1618 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2/schemas.pyi @@ -98,6 +98,10 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): + allocatedPriority: int + @typing.type_check_only class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): bindings: _list[Binding] @@ -154,6 +158,7 @@ class Operation(typing_extensions.TypedDict, total=False): description: str endTime: str error: dict[str, typing.Any] + firewallPolicyRuleOperationMetadata: FirewallPolicyRuleOperationMetadata httpErrorMessage: str httpErrorStatusCode: int id: str diff --git a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi index 13f1607db..071f08c4c 100644 --- a/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/deploymentmanager/v2beta/schemas.pyi @@ -155,6 +155,10 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class FirewallPolicyRuleOperationMetadata(typing_extensions.TypedDict, total=False): + allocatedPriority: int + @typing.type_check_only class GlobalSetPolicyRequest(typing_extensions.TypedDict, total=False): bindings: _list[Binding] @@ -218,6 +222,7 @@ class Operation(typing_extensions.TypedDict, total=False): description: str endTime: str error: dict[str, typing.Any] + firewallPolicyRuleOperationMetadata: FirewallPolicyRuleOperationMetadata httpErrorMessage: str httpErrorStatusCode: int id: str diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi index 02a2f8715..9e293f490 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/resources.pyi @@ -43,6 +43,17 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): def fetchSelf( self, *, name: str, **kwargs: typing.Any ) -> UserHttpRequest: ... + def finishOAuthFlow( + self, + *, + accountConnector: str, + googleOauthParams_scopes: str | _list[str] = ..., + googleOauthParams_ticket: str = ..., + googleOauthParams_versionInfo: str = ..., + oauthParams_code: str = ..., + oauthParams_ticket: str = ..., + **kwargs: typing.Any, + ) -> FinishOAuthResponseHttpRequest: ... def list( self, *, @@ -58,6 +69,9 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): previous_request: ListUsersResponseHttpRequest, previous_response: ListUsersResponse, ) -> ListUsersResponseHttpRequest | None: ... + def startOAuthFlow( + self, *, accountConnector: str, **kwargs: typing.Any + ) -> StartOAuthResponseHttpRequest: ... def create( self, @@ -285,6 +299,26 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): @typing.type_check_only class InsightsConfigsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DeploymentEventsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DeploymentEventHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDeploymentEventsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDeploymentEventsResponseHttpRequest, + previous_response: ListDeploymentEventsResponse, + ) -> ListDeploymentEventsResponseHttpRequest | None: ... + def create( self, *, @@ -331,6 +365,7 @@ class DeveloperConnectResource(googleapiclient.discovery.Resource): validateOnly: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def deploymentEvents(self) -> DeploymentEventsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -418,6 +453,14 @@ class ConnectionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Connection: ... +@typing.type_check_only +class DeploymentEventHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DeploymentEvent: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -474,6 +517,14 @@ class FetchReadWriteTokenResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> FetchReadWriteTokenResponse: ... +@typing.type_check_only +class FinishOAuthResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FinishOAuthResponse: ... + @typing.type_check_only class GitRepositoryLinkHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -506,6 +557,14 @@ class ListConnectionsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListConnectionsResponse: ... +@typing.type_check_only +class ListDeploymentEventsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDeploymentEventsResponse: ... + @typing.type_check_only class ListGitRepositoryLinksResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -562,6 +621,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class StartOAuthResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StartOAuthResponse: ... + @typing.type_check_only class UserHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi index 8a2289826..3fb554c92 100644 --- a/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/developerconnect/v1/schemas.pyi @@ -15,6 +15,12 @@ class AccountConnector(typing_extensions.TypedDict, total=False): providerOauthConfig: ProviderOAuthConfig updateTime: str +@typing.type_check_only +class AppHubService(typing_extensions.TypedDict, total=False): + apphubService: str + criticality: str + environment: str + @typing.type_check_only class AppHubWorkload(typing_extensions.TypedDict, total=False): criticality: str @@ -27,6 +33,25 @@ class ArtifactConfig(typing_extensions.TypedDict, total=False): googleArtifactRegistry: GoogleArtifactRegistry uri: str +@typing.type_check_only +class ArtifactDeployment(typing_extensions.TypedDict, total=False): + artifactAlias: str + artifactReference: str + containerStatusSummary: str + deployTime: str + id: str + sourceCommitUris: _list[str] + undeployTime: str + +@typing.type_check_only +class BasicAuthentication(typing_extensions.TypedDict, total=False): + passwordSecretVersion: str + username: str + +@typing.type_check_only +class BearerTokenAuthentication(typing_extensions.TypedDict, total=False): + tokenSecretVersion: str + @typing.type_check_only class BitbucketCloudConfig(typing_extensions.TypedDict, total=False): authorizerCredential: UserCredential @@ -62,10 +87,12 @@ class Connection(typing_extensions.TypedDict, total=False): githubEnterpriseConfig: GitHubEnterpriseConfig gitlabConfig: GitLabConfig gitlabEnterpriseConfig: GitLabEnterpriseConfig + httpConfig: GenericHTTPEndpointConfig installationState: InstallationState labels: dict[str, typing.Any] name: str reconciling: bool + secureSourceManagerInstanceConfig: SecureSourceManagerInstanceConfig uid: str updateTime: str @@ -73,6 +100,20 @@ class Connection(typing_extensions.TypedDict, total=False): class CryptoKeyConfig(typing_extensions.TypedDict, total=False): keyReference: str +@typing.type_check_only +class DeploymentEvent(typing_extensions.TypedDict, total=False): + artifactDeployments: _list[ArtifactDeployment] + createTime: str + deployTime: str + name: str + runtimeConfig: RuntimeConfig + runtimeDeploymentUri: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "STATE_ACTIVE", "STATE_INACTIVE" + ] + undeployTime: str + updateTime: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -123,11 +164,23 @@ class FetchReadWriteTokenResponse(typing_extensions.TypedDict, total=False): gitUsername: str token: str +@typing.type_check_only +class FinishOAuthResponse(typing_extensions.TypedDict, total=False): + exchangeError: ExchangeError + @typing.type_check_only class GKEWorkload(typing_extensions.TypedDict, total=False): cluster: str deployment: str +@typing.type_check_only +class GenericHTTPEndpointConfig(typing_extensions.TypedDict, total=False): + basicAuthentication: BasicAuthentication + bearerTokenAuthentication: BearerTokenAuthentication + hostUri: str + serviceDirectoryConfig: ServiceDirectoryConfig + sslCaCertificate: str + @typing.type_check_only class GitHubConfig(typing_extensions.TypedDict, total=False): appInstallationId: str @@ -144,6 +197,7 @@ class GitHubEnterpriseConfig(typing_extensions.TypedDict, total=False): appSlug: str hostUri: str installationUri: str + organization: str privateKeySecretVersion: str serverVersion: str serviceDirectoryConfig: ServiceDirectoryConfig @@ -169,6 +223,7 @@ class GitLabEnterpriseConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class GitProxyConfig(typing_extensions.TypedDict, total=False): enabled: bool + httpProxyBaseUri: str @typing.type_check_only class GitRepositoryLink(typing_extensions.TypedDict, total=False): @@ -194,6 +249,10 @@ class GoogleArtifactRegistry(typing_extensions.TypedDict, total=False): artifactRegistryPackage: str projectId: str +@typing.type_check_only +class GoogleCloudRun(typing_extensions.TypedDict, total=False): + serviceUri: str + @typing.type_check_only class HttpBody(typing_extensions.TypedDict, total=False): contentType: str @@ -209,6 +268,7 @@ class InsightsConfig(typing_extensions.TypedDict, total=False): errors: _list[Status] labels: dict[str, typing.Any] name: str + projects: Projects reconciling: bool runtimeConfigs: _list[RuntimeConfig] state: typing_extensions.Literal[ @@ -250,6 +310,11 @@ class ListConnectionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListDeploymentEventsResponse(typing_extensions.TypedDict, total=False): + deploymentEvents: _list[DeploymentEvent] + nextPageToken: str + @typing.type_check_only class ListGitRepositoryLinksResponse(typing_extensions.TypedDict, total=False): gitRepositoryLinks: _list[GitRepositoryLink] @@ -332,6 +397,10 @@ class ProcessGitLabEnterpriseWebhookRequest(typing_extensions.TypedDict, total=F class ProcessGitLabWebhookRequest(typing_extensions.TypedDict, total=False): body: HttpBody +@typing.type_check_only +class Projects(typing_extensions.TypedDict, total=False): + projectIds: _list[str] + @typing.type_check_only class ProviderOAuthConfig(typing_extensions.TypedDict, total=False): scopes: _list[str] @@ -349,15 +418,41 @@ class ProviderOAuthConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class RuntimeConfig(typing_extensions.TypedDict, total=False): + appHubService: AppHubService appHubWorkload: AppHubWorkload gkeWorkload: GKEWorkload + googleCloudRun: GoogleCloudRun state: typing_extensions.Literal["STATE_UNSPECIFIED", "LINKED", "UNLINKED"] uri: str +@typing.type_check_only +class SecureSourceManagerInstanceConfig(typing_extensions.TypedDict, total=False): + instance: str + @typing.type_check_only class ServiceDirectoryConfig(typing_extensions.TypedDict, total=False): service: str +@typing.type_check_only +class StartOAuthResponse(typing_extensions.TypedDict, total=False): + authUri: str + clientId: str + codeChallenge: str + codeChallengeMethod: str + scopes: _list[str] + systemProviderId: typing_extensions.Literal[ + "SYSTEM_PROVIDER_UNSPECIFIED", + "GITHUB", + "GITLAB", + "GOOGLE", + "SENTRY", + "ROVO", + "NEW_RELIC", + "DATASTAX", + "DYNATRACE", + ] + ticket: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi index bf00037b4..596b5d062 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v4/schemas.pyi @@ -143,6 +143,7 @@ class Ad(typing_extensions.TypedDict, total=False): "IN_STREAM_VIDEO", "IN_STREAM_AUDIO", ] + contextualKeywordTargeting: ContextualKeywordTargeting createInfo: LastModifiedInfo creativeGroupAssignments: _list[CreativeGroupAssignment] creativeRotation: CreativeRotation @@ -581,6 +582,14 @@ class ContentSourceMetaData(typing_extensions.TypedDict, total=False): rowNumber: int separator: str +@typing.type_check_only +class ContextualKeyword(typing_extensions.TypedDict, total=False): + keyword: str + +@typing.type_check_only +class ContextualKeywordTargeting(typing_extensions.TypedDict, total=False): + keywords: _list[ContextualKeyword] + @typing.type_check_only class Conversion(typing_extensions.TypedDict, total=False): adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] @@ -682,6 +691,9 @@ class Creative(typing_extensions.TypedDict, total=False): "CREATIVE_AUTHORING_SOURCE_ACS", "CREATIVE_AUTHORING_SOURCE_ADOBE", "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", + "CREATIVE_AUTHORING_SOURCE_REMBRAND", + "CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", + "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", ] authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool @@ -3277,6 +3289,7 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue + contextualKeywordTargeting: ContextualKeywordTargeting dayPartTargeting: DayPartTargeting geoTargeting: GeoTargeting id: str @@ -3374,7 +3387,7 @@ class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class UniversalAdId(typing_extensions.TypedDict, total=False): registry: typing_extensions.Literal[ - "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP" + "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP", "CUSV" ] value: str diff --git a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi index 2543f08b7..baba122c5 100644 --- a/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/dfareporting/v5/schemas.pyi @@ -143,6 +143,7 @@ class Ad(typing_extensions.TypedDict, total=False): "IN_STREAM_VIDEO", "IN_STREAM_AUDIO", ] + contextualKeywordTargeting: ContextualKeywordTargeting createInfo: LastModifiedInfo creativeGroupAssignments: _list[CreativeGroupAssignment] creativeRotation: CreativeRotation @@ -560,6 +561,14 @@ class ContentSourceMetaData(typing_extensions.TypedDict, total=False): rowNumber: int separator: str +@typing.type_check_only +class ContextualKeyword(typing_extensions.TypedDict, total=False): + keyword: str + +@typing.type_check_only +class ContextualKeywordTargeting(typing_extensions.TypedDict, total=False): + keywords: _list[ContextualKeyword] + @typing.type_check_only class Conversion(typing_extensions.TypedDict, total=False): adUserDataConsent: typing_extensions.Literal["GRANTED", "DENIED"] @@ -661,6 +670,9 @@ class Creative(typing_extensions.TypedDict, total=False): "CREATIVE_AUTHORING_SOURCE_ACS", "CREATIVE_AUTHORING_SOURCE_ADOBE", "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI", + "CREATIVE_AUTHORING_SOURCE_REMBRAND", + "CREATIVE_AUTHORING_SOURCE_TRACKTO_STUDIO", + "CREATIVE_AUTHORING_SOURCE_BORNLOGIC", ] authoringTool: typing_extensions.Literal["NINJA", "SWIFFY"] autoAdvanceImages: bool @@ -3120,6 +3132,7 @@ class TargetingTemplate(typing_extensions.TypedDict, total=False): accountId: str advertiserId: str advertiserIdDimensionValue: DimensionValue + contextualKeywordTargeting: ContextualKeywordTargeting dayPartTargeting: DayPartTargeting geoTargeting: GeoTargeting id: str @@ -3217,7 +3230,7 @@ class TvCampaignTimepoint(typing_extensions.TypedDict, total=False): @typing.type_check_only class UniversalAdId(typing_extensions.TypedDict, total=False): registry: typing_extensions.Literal[ - "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP" + "OTHER", "AD_ID_OFFICIAL", "CLEARCAST", "DCM", "ARPP", "CUSV" ] value: str diff --git a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi index 4eca28eba..5ed67fd79 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2/schemas.pyi @@ -752,6 +752,9 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -777,6 +780,12 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -1635,6 +1644,9 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -1660,6 +1672,12 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderV ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -1840,6 +1858,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @@ -2880,6 +2906,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig( ): enableEntityExtraction: bool enableSentimentAnalysis: bool + enableSentimentAnalysisV3: bool @typing.type_check_only class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( @@ -3100,6 +3127,31 @@ class GoogleCloudDialogflowV2IngestContextReferencesResponse( ): ingestedContextReferences: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -3488,6 +3540,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer @@ -3530,6 +3583,71 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeBase(typing_extensions.TypedDict, total=False): displayName: str @@ -3761,6 +3879,14 @@ class GoogleCloudDialogflowV2OutputAudioConfig( @typing.type_check_only class GoogleCloudDialogflowV2Participant(typing_extensions.TypedDict, total=False): + agentDesktopSource: typing_extensions.Literal[ + "AGENT_DESKTOP_SOURCE_UNSPECIFIED", + "LIVE_PERSON", + "GENESYS_CLOUD", + "TWILIO", + "SALESFORCE", + "OTHER", + ] documentsMetadataFilters: dict[str, typing.Any] name: str obfuscatedExternalUserId: str @@ -3873,6 +3999,38 @@ class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource( title: str uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2SearchKnowledgeDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo + ) + searchKnowledgeBehavior: ( + GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior + ) + serviceLatency: GoogleCloudDialogflowV2ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + endUserMetadataIncluded: bool + thirdPartyConnectorAllowed: bool + @typing.type_check_only class GoogleCloudDialogflowV2SearchKnowledgeRequest( typing_extensions.TypedDict, total=False @@ -3961,6 +4119,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeResponse( ): answers: _list[GoogleCloudDialogflowV2SearchKnowledgeAnswer] rewrittenQuery: str + searchKnowledgeDebugInfo: GoogleCloudDialogflowV2SearchKnowledgeDebugInfo @typing.type_check_only class GoogleCloudDialogflowV2Sentiment(typing_extensions.TypedDict, total=False): @@ -3979,6 +4138,21 @@ class GoogleCloudDialogflowV2SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2SessionEntityType( typing_extensions.TypedDict, total=False @@ -4151,9 +4325,19 @@ class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary( ): answerRecord: str baselineModelVersion: str + sortedTextSections: _list[ + GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection + ] text: str textSections: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + @typing.type_check_only class GoogleCloudDialogflowV2SuggestFaqAnswersRequest( typing_extensions.TypedDict, total=False @@ -4699,6 +4883,14 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @@ -4967,6 +5159,31 @@ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -5452,6 +5669,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer @@ -5496,6 +5714,71 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2beta1ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -5617,6 +5900,23 @@ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatency( + typing_extensions.TypedDict, total=False +): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SessionEntityType( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi index ca2bf8016..4f697757d 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v2beta1/schemas.pyi @@ -752,6 +752,9 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -777,6 +780,12 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -1635,6 +1644,9 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -1660,6 +1672,12 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderV ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -1752,6 +1770,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @@ -2114,6 +2140,31 @@ class GoogleCloudDialogflowV2ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -2457,6 +2508,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer @@ -2499,6 +2551,71 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -2567,6 +2684,21 @@ class GoogleCloudDialogflowV2SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2SessionEntityType( typing_extensions.TypedDict, total=False @@ -2845,6 +2977,14 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @@ -3811,6 +3951,7 @@ class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig ): enableEntityExtraction: bool enableSentimentAnalysis: bool + enableSentimentAnalysisV3: bool @typing.type_check_only class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig( @@ -4013,6 +4154,31 @@ class GoogleCloudDialogflowV2beta1IngestContextReferencesResponse( ): ingestedContextReferences: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -4542,6 +4708,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer @@ -4586,6 +4753,71 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2beta1ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeBase( typing_extensions.TypedDict, total=False @@ -4815,6 +5047,14 @@ class GoogleCloudDialogflowV2beta1OutputAudioConfig( @typing.type_check_only class GoogleCloudDialogflowV2beta1Participant(typing_extensions.TypedDict, total=False): + agentDesktopSource: typing_extensions.Literal[ + "AGENT_DESKTOP_SOURCE_UNSPECIFIED", + "LIVE_PERSON", + "GENESYS_CLOUD", + "TWILIO", + "SALESFORCE", + "OTHER", + ] documentsMetadataFilters: dict[str, typing.Any] name: str obfuscatedExternalUserId: str @@ -4991,6 +5231,38 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource( title: str uri: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo + ) + searchKnowledgeBehavior: ( + GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior + ) + serviceLatency: GoogleCloudDialogflowV2beta1ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfoSearchKnowledgeBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + endUserMetadataIncluded: bool + thirdPartyConnectorAllowed: bool + @typing.type_check_only class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest( typing_extensions.TypedDict, total=False @@ -5079,6 +5351,7 @@ class GoogleCloudDialogflowV2beta1SearchKnowledgeResponse( ): answers: _list[GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer] rewrittenQuery: str + searchKnowledgeDebugInfo: GoogleCloudDialogflowV2beta1SearchKnowledgeDebugInfo @typing.type_check_only class GoogleCloudDialogflowV2beta1Sentiment(typing_extensions.TypedDict, total=False): @@ -5097,6 +5370,23 @@ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatency( + typing_extensions.TypedDict, total=False +): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SessionEntityType( typing_extensions.TypedDict, total=False @@ -5262,9 +5552,19 @@ class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary( ): answerRecord: str baselineModelVersion: str + sortedTextSections: _list[ + GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection + ] text: str textSections: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummarySummarySection( + typing_extensions.TypedDict, total=False +): + section: str + summary: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi index 1da5d3b2b..4604a57b9 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3/schemas.pyi @@ -239,6 +239,10 @@ class GoogleCloudDialogflowCxV3Changelog(typing_extensions.TypedDict, total=Fals type: str userEmail: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3CodeBlock(typing_extensions.TypedDict, total=False): + code: str + @typing.type_check_only class GoogleCloudDialogflowCxV3CompareVersionsRequest( typing_extensions.TypedDict, total=False @@ -457,6 +461,12 @@ class GoogleCloudDialogflowCxV3DetectIntentRequest( outputAudioConfig: GoogleCloudDialogflowCxV3OutputAudioConfig queryInput: GoogleCloudDialogflowCxV3QueryInput queryParams: GoogleCloudDialogflowCxV3QueryParameters + responseView: typing_extensions.Literal[ + "DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", + "DETECT_INTENT_RESPONSE_VIEW_FULL", + "DETECT_INTENT_RESPONSE_VIEW_BASIC", + "DETECT_INTENT_RESPONSE_VIEW_DEFAULT", + ] @typing.type_check_only class GoogleCloudDialogflowCxV3DetectIntentResponse( @@ -1540,10 +1550,12 @@ class GoogleCloudDialogflowCxV3Phrase(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleCloudDialogflowCxV3Playbook(typing_extensions.TypedDict, total=False): + codeBlock: GoogleCloudDialogflowCxV3CodeBlock createTime: str displayName: str goal: str handlers: _list[GoogleCloudDialogflowCxV3Handler] + inlineActions: _list[str] inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3ParameterDefinition] instruction: GoogleCloudDialogflowCxV3PlaybookInstruction llmModelSettings: GoogleCloudDialogflowCxV3LlmModelSettings @@ -1678,6 +1690,7 @@ class GoogleCloudDialogflowCxV3QueryParameters( class GoogleCloudDialogflowCxV3QueryResult(typing_extensions.TypedDict, total=False): advancedSettings: GoogleCloudDialogflowCxV3AdvancedSettings allowAnswerFeedback: bool + currentFlow: GoogleCloudDialogflowCxV3Flow currentPage: GoogleCloudDialogflowCxV3Page dataStoreConnectionSignals: GoogleCloudDialogflowCxV3DataStoreConnectionSignals diagnosticInfo: dict[str, typing.Any] @@ -1887,9 +1900,11 @@ class GoogleCloudDialogflowCxV3SafetySettings(typing_extensions.TypedDict, total defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" ] + defaultRaiSettings: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings promptSecuritySettings: ( GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings ) + raiSettings: GoogleCloudDialogflowCxV3SafetySettingsRaiSettings @typing.type_check_only class GoogleCloudDialogflowCxV3SafetySettingsPhrase( @@ -1904,6 +1919,33 @@ class GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings( ): enablePromptSecurity: bool +@typing.type_check_only +class GoogleCloudDialogflowCxV3SafetySettingsRaiSettings( + typing_extensions.TypedDict, total=False +): + categoryFilters: _list[ + GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3SafetySettingsRaiSettingsCategoryFilter( + typing_extensions.TypedDict, total=False +): + category: typing_extensions.Literal[ + "SAFETY_CATEGORY_UNSPECIFIED", + "DANGEROUS_CONTENT", + "HATE_SPEECH", + "HARASSMENT", + "SEXUALLY_EXPLICIT_CONTENT", + ] + filterLevel: typing_extensions.Literal[ + "SAFETY_FILTER_LEVEL_UNSPECIFIED", + "BLOCK_NONE", + "BLOCK_FEW", + "BLOCK_SOME", + "BLOCK_MOST", + ] + @typing.type_check_only class GoogleCloudDialogflowCxV3SearchConfig(typing_extensions.TypedDict, total=False): boostSpecs: _list[GoogleCloudDialogflowCxV3BoostSpecs] @@ -2085,6 +2127,9 @@ class GoogleCloudDialogflowCxV3ToolAuthentication( apiKeyConfig: GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig + ) serviceAgentAuthConfig: ( GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig ) @@ -2120,6 +2165,12 @@ class GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig( secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig( typing_extensions.TypedDict, total=False @@ -2430,6 +2481,9 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -2455,6 +2509,12 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -3313,6 +3373,9 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -3338,6 +3401,12 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderV ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -3430,6 +3499,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @@ -3792,6 +3869,31 @@ class GoogleCloudDialogflowV2ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -4135,6 +4237,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer @@ -4177,6 +4280,71 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -4245,6 +4413,21 @@ class GoogleCloudDialogflowV2SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2SessionEntityType( typing_extensions.TypedDict, total=False @@ -4435,6 +4618,14 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @@ -4703,6 +4894,31 @@ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -5188,6 +5404,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer @@ -5232,6 +5449,71 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2beta1ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -5353,6 +5635,23 @@ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatency( + typing_extensions.TypedDict, total=False +): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SessionEntityType( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi index 0496601a5..501f1c4ce 100644 --- a/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/dialogflow/v3beta1/schemas.pyi @@ -752,6 +752,9 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -777,6 +780,12 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue( ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3WebhookRequest(typing_extensions.TypedDict, total=False): detectIntentResponseId: str @@ -1186,6 +1195,10 @@ class GoogleCloudDialogflowCxV3beta1Changelog(typing_extensions.TypedDict, total type: str userEmail: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1CodeBlock(typing_extensions.TypedDict, total=False): + code: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest( typing_extensions.TypedDict, total=False @@ -1491,6 +1504,12 @@ class GoogleCloudDialogflowCxV3beta1DetectIntentRequest( outputAudioConfig: GoogleCloudDialogflowCxV3beta1OutputAudioConfig queryInput: GoogleCloudDialogflowCxV3beta1QueryInput queryParams: GoogleCloudDialogflowCxV3beta1QueryParameters + responseView: typing_extensions.Literal[ + "DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED", + "DETECT_INTENT_RESPONSE_VIEW_FULL", + "DETECT_INTENT_RESPONSE_VIEW_BASIC", + "DETECT_INTENT_RESPONSE_VIEW_DEFAULT", + ] session: str @typing.type_check_only @@ -2702,10 +2721,12 @@ class GoogleCloudDialogflowCxV3beta1Phrase(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudDialogflowCxV3beta1Playbook(typing_extensions.TypedDict, total=False): + codeBlock: GoogleCloudDialogflowCxV3beta1CodeBlock createTime: str displayName: str goal: str handlers: _list[GoogleCloudDialogflowCxV3beta1Handler] + inlineActions: _list[str] inputParameterDefinitions: _list[GoogleCloudDialogflowCxV3beta1ParameterDefinition] instruction: GoogleCloudDialogflowCxV3beta1PlaybookInstruction llmModelSettings: GoogleCloudDialogflowCxV3beta1LlmModelSettings @@ -3078,9 +3099,11 @@ class GoogleCloudDialogflowCxV3beta1SafetySettings( defaultBannedPhraseMatchStrategy: typing_extensions.Literal[ "PHRASE_MATCH_STRATEGY_UNSPECIFIED", "PARTIAL_MATCH", "WORD_MATCH" ] + defaultRaiSettings: GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings promptSecuritySettings: ( GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings ) + raiSettings: GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SafetySettingsPhrase( @@ -3095,6 +3118,33 @@ class GoogleCloudDialogflowCxV3beta1SafetySettingsPromptSecuritySettings( ): enablePromptSecurity: bool +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettings( + typing_extensions.TypedDict, total=False +): + categoryFilters: _list[ + GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter + ] + +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1SafetySettingsRaiSettingsCategoryFilter( + typing_extensions.TypedDict, total=False +): + category: typing_extensions.Literal[ + "SAFETY_CATEGORY_UNSPECIFIED", + "DANGEROUS_CONTENT", + "HATE_SPEECH", + "HARASSMENT", + "SEXUALLY_EXPLICIT_CONTENT", + ] + filterLevel: typing_extensions.Literal[ + "SAFETY_FILTER_LEVEL_UNSPECIFIED", + "BLOCK_NONE", + "BLOCK_FEW", + "BLOCK_SOME", + "BLOCK_MOST", + ] + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1SearchConfig( typing_extensions.TypedDict, total=False @@ -3302,6 +3352,9 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthentication( apiKeyConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationApiKeyConfig bearerTokenConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationBearerTokenConfig oauthConfig: GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig + ) serviceAgentAuthConfig: ( GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig ) @@ -3337,6 +3390,12 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig( secretVersionForClientSecret: str tokenEndpoint: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig( typing_extensions.TypedDict, total=False @@ -3735,6 +3794,9 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService( requestHeaders: dict[str, typing.Any] secretVersionForUsernamePassword: str secretVersionsForRequestHeaders: dict[str, typing.Any] + serviceAccountAuthConfig: ( + GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + ) serviceAgentAuth: typing_extensions.Literal[ "SERVICE_AGENT_AUTH_UNSPECIFIED", "NONE", "ID_TOKEN", "ACCESS_TOKEN" ] @@ -3760,6 +3822,12 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderV ): secretVersion: str +@typing.type_check_only +class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig( + typing_extensions.TypedDict, total=False +): + serviceAccount: str + @typing.type_check_only class GoogleCloudDialogflowCxV3beta1WebhookRequest( typing_extensions.TypedDict, total=False @@ -3852,6 +3920,14 @@ class GoogleCloudDialogflowV2AgentCoachingInstruction( GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult( @@ -4214,6 +4290,31 @@ class GoogleCloudDialogflowV2ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -4557,6 +4658,7 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer @@ -4599,6 +4701,71 @@ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -4667,6 +4834,21 @@ class GoogleCloudDialogflowV2SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatency(typing_extensions.TypedDict, total=False): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2SessionEntityType( typing_extensions.TypedDict, total=False @@ -4857,6 +5039,14 @@ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction( GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult ) systemAction: str + triggeringEvent: typing_extensions.Literal[ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL", + "CUSTOMER_MESSAGE", + "AGENT_MESSAGE", + "TOOL_CALL_COMPLETION", + ] @typing.type_check_only class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult( @@ -5125,6 +5315,31 @@ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse( ): warnings: _list[GoogleRpcStatus] +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo( + typing_extensions.TypedDict, total=False +): + contextReferenceRetrieved: bool + ingestedParametersDebugInfo: _list[ + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo + ] + projectNotAllowlisted: bool + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo( + typing_extensions.TypedDict, total=False +): + ingestionStatus: typing_extensions.Literal[ + "INGESTION_STATUS_UNSPECIFIED", + "INGESTION_STATUS_SUCCEEDED", + "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE", + "INGESTION_STATUS_PARSE_FAILED", + "INGESTION_STATUS_INVALID_ENTRY", + "INGESTION_STATUS_INVALID_FORMAT", + "INGESTION_STATUS_LANGUAGE_MISMATCH", + ] + parameter: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata( typing_extensions.TypedDict, total=False @@ -5610,6 +5825,7 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer( typing_extensions.TypedDict, total=False ): answerRecord: str + knowledgeAssistDebugInfo: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo suggestedQuery: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery suggestedQueryAnswer: ( GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer @@ -5654,6 +5870,71 @@ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery( ): queryText: str +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo( + typing_extensions.TypedDict, total=False +): + datastoreResponseReason: typing_extensions.Literal[ + "DATASTORE_RESPONSE_REASON_UNSPECIFIED", + "NONE", + "SEARCH_OUT_OF_QUOTA", + "SEARCH_EMPTY_RESULTS", + "ANSWER_GENERATION_GEN_AI_DISABLED", + "ANSWER_GENERATION_OUT_OF_QUOTA", + "ANSWER_GENERATION_ERROR", + "ANSWER_GENERATION_NOT_ENOUGH_INFO", + "ANSWER_GENERATION_RAI_FAILED", + "ANSWER_GENERATION_NOT_GROUNDED", + ] + ingestedContextReferenceDebugInfo: ( + GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo + ) + knowledgeAssistBehavior: ( + GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior + ) + queryCategorizationFailureReason: typing_extensions.Literal[ + "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_CATEGORIZATION_INVALID_CONFIG", + "QUERY_CATEGORIZATION_RESULT_NOT_FOUND", + "QUERY_CATEGORIZATION_FAILED", + ] + queryGenerationFailureReason: typing_extensions.Literal[ + "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED", + "QUERY_GENERATION_OUT_OF_QUOTA", + "QUERY_GENERATION_FAILED", + "QUERY_GENERATION_NO_QUERY_GENERATED", + "QUERY_GENERATION_RAI_FAILED", + "NOT_IN_ALLOWLIST", + "QUERY_GENERATION_QUERY_REDACTED", + "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED", + "QUERY_GENERATION_EMPTY_CONVERSATION", + "QUERY_GENERATION_EMPTY_LAST_MESSAGE", + "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET", + ] + serviceLatency: GoogleCloudDialogflowV2beta1ServiceLatency + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior( + typing_extensions.TypedDict, total=False +): + answerGenerationRewriterOn: bool + appendedSearchContextCount: int + conversationTranscriptHasMixedLanguages: bool + disableSyncDelivery: bool + endUserMetadataIncluded: bool + invalidItemsQuerySuggestionSkipped: bool + multipleQueriesGenerated: bool + previousQueriesIncluded: bool + primaryQueryRedactedAndReplaced: bool + queryContainedSearchContext: bool + queryGenerationAgentLanguageMismatch: bool + queryGenerationEndUserLanguageMismatch: bool + returnQueryOnly: bool + thirdPartyConnectorAllowed: bool + useCustomSafetyFilterLevel: bool + usePubsubDelivery: bool + useTranslatedMessage: bool + @typing.type_check_only class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata( typing_extensions.TypedDict, total=False @@ -5775,6 +6056,23 @@ class GoogleCloudDialogflowV2beta1SentimentAnalysisResult( ): queryTextSentiment: GoogleCloudDialogflowV2beta1Sentiment +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatency( + typing_extensions.TypedDict, total=False +): + internalServiceLatencies: _list[ + GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency + ] + +@typing.type_check_only +class GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency( + typing_extensions.TypedDict, total=False +): + completeTime: str + latencyMs: float + startTime: str + step: str + @typing.type_check_only class GoogleCloudDialogflowV2beta1SessionEntityType( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi index f98603355..b4e6c2b90 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/resources.pyi @@ -13,25 +13,6 @@ _list = list @typing.type_check_only class DiscoveryEngineResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class MediaResource(googleapiclient.discovery.Resource): - def download( - self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> GdataMediaHttpRequest: ... - def download_media( - self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> BytesHttpRequest: ... - @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -445,6 +426,36 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1AnswerQueryResponseHttpRequest ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1ServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListServingConfigsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest + | None + ): ... def patch( self, *, @@ -777,6 +788,25 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1UserEventHttpRequest: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1WidgetConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def completeQuery( self, *, @@ -862,14 +892,54 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, ) -> SuggestionDenyListEntriesResource: ... def userEvents(self) -> UserEventsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class EnginesResource(googleapiclient.discovery.Resource): @typing.type_check_only class AssistantsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1Assistant = ..., + assistantId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1AssistantHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1AssistantHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ListAssistantsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListAssistantsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListAssistantsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListAssistantsResponseHttpRequest + | None + ): ... def patch( self, *, @@ -887,6 +957,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1StreamAssistResponseHttpRequest ): ... + def agents(self) -> AgentsResource: ... @typing.type_check_only class CompletionConfigResource(googleapiclient.discovery.Resource): @@ -1032,6 +1103,36 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1AnswerQueryResponseHttpRequest ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1ServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListServingConfigsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest + | None + ): ... def patch( self, *, @@ -1142,6 +1243,25 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> GoogleCloudDiscoveryengineV1SessionHttpRequest: ... def answers(self) -> AnswersResource: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1WidgetConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def create( self, *, @@ -1188,6 +1308,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def servingConfigs(self) -> ServingConfigsResource: ... def sessions(self) -> SessionsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -1552,6 +1673,36 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1AnswerQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1AnswerQueryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1ServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ServingConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1ListServingConfigsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest + | None + ): ... def patch( self, *, @@ -1805,6 +1956,25 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1UserEventHttpRequest: ... + @typing.type_check_only + class WidgetConfigsResource(googleapiclient.discovery.Resource): + def get( + self, + *, + name: str, + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1WidgetConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest: ... + def completeQuery( self, *, @@ -1875,6 +2045,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, ) -> SuggestionDenyListEntriesResource: ... def userEvents(self) -> UserEventsResource: ... + def widgetConfigs(self) -> WidgetConfigsResource: ... @typing.type_check_only class GroundingConfigsResource(googleapiclient.discovery.Resource): @@ -2067,13 +2238,21 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LicenseConfigsUsageStatsResource( + googleapiclient.discovery.Resource + ): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponseHttpRequest: ... + @typing.type_check_only class UserLicensesResource(googleapiclient.discovery.Resource): def list( self, *, parent: str, - filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -2096,6 +2275,31 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1UserStore = ..., + userStoreId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1UserStoreHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1UserStoreHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1UserStore = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1UserStoreHttpRequest: ... + def licenseConfigsUsageStats( + self, + ) -> LicenseConfigsUsageStatsResource: ... def userLicenses(self) -> UserLicensesResource: ... def getAclConfig( @@ -2197,17 +2401,8 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... - def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... -@typing.type_check_only -class GdataMediaHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GdataMedia: ... - @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2408,6 +2603,16 @@ class GoogleCloudDiscoveryengineV1LicenseConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1LicenseConfig: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListAssistantsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListAssistantsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCmekConfigsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2498,6 +2703,16 @@ class GoogleCloudDiscoveryengineV1ListIdentityMappingsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSchemasResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2508,6 +2723,16 @@ class GoogleCloudDiscoveryengineV1ListSchemasResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1ListSchemasResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListServingConfigsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1ListServingConfigsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSessionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2635,35 +2860,47 @@ class GoogleCloudDiscoveryengineV1UserEventHttpRequest( ) -> GoogleCloudDiscoveryengineV1UserEvent: ... @typing.type_check_only -class GoogleLongrunningListOperationsResponseHttpRequest( +class GoogleCloudDiscoveryengineV1UserStoreHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleLongrunningListOperationsResponse: ... + ) -> GoogleCloudDiscoveryengineV1UserStore: ... @typing.type_check_only -class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): +class GoogleCloudDiscoveryengineV1WidgetConfigHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleLongrunningOperation: ... + ) -> GoogleCloudDiscoveryengineV1WidgetConfig: ... @typing.type_check_only -class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): +class GoogleLongrunningListOperationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleProtobufEmpty: ... + ) -> GoogleLongrunningListOperationsResponse: ... + +@typing.type_check_only +class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleLongrunningOperation: ... @typing.type_check_only -class BytesHttpRequest(googleapiclient.http.HttpRequest): +class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> bytes: ... + ) -> GoogleProtobufEmpty: ... diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi index 838b22a26..322e0914d 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1/schemas.pyi @@ -4,124 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): - blobGeneration: str - blobId: str - downloadReadHandle: str - readToken: str - uploadMetadataContainer: str - -@typing.type_check_only -class GdataCompositeMedia(typing_extensions.TypedDict, total=False): - blobRef: str - blobstore2Info: GdataBlobstore2Info - cosmoBinaryReference: str - crc32cHash: int - inline: str - length: str - md5Hash: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" - ] - sha1Hash: str - -@typing.type_check_only -class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): - bestGuess: str - fromBytes: str - fromFileName: str - fromHeader: str - fromUrlPath: str - -@typing.type_check_only -class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): - checksumsLocation: GdataCompositeMedia - chunkSizeBytes: str - objectLocation: GdataCompositeMedia - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): - objectLocation: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): - checksumsInfo: GdataCompositeMedia - objectInfo: GdataCompositeMedia - objectVersion: str - -@typing.type_check_only -class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): - objectVersion: str - originalObject: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDownloadParameters(typing_extensions.TypedDict, total=False): - allowGzipCompression: bool - ignoreRange: bool - -@typing.type_check_only -class GdataMedia(typing_extensions.TypedDict, total=False): - algorithm: str - bigstoreObjectRef: str - blobRef: str - blobstore2Info: GdataBlobstore2Info - compositeMedia: _list[GdataCompositeMedia] - contentType: str - contentTypeInfo: GdataContentTypeInfo - cosmoBinaryReference: str - crc32cHash: int - diffChecksumsResponse: GdataDiffChecksumsResponse - diffDownloadResponse: GdataDiffDownloadResponse - diffUploadRequest: GdataDiffUploadRequest - diffUploadResponse: GdataDiffUploadResponse - diffVersionResponse: GdataDiffVersionResponse - downloadParameters: GdataDownloadParameters - filename: str - hash: str - hashVerified: bool - inline: str - isPotentialRetry: bool - length: str - md5Hash: str - mediaId: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES", - ] - sha1Hash: str - sha256Hash: str - timestamp: str - token: str - -@typing.type_check_only -class GdataObjectId(typing_extensions.TypedDict, total=False): - bucketName: str - generation: str - objectName: str - @typing.type_check_only class GoogleApiDistribution(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -967,6 +849,9 @@ class GoogleCloudDiscoveryengineV1AssistUserMetadata( @typing.type_check_only class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + defaultWebGroundingToggleOff: bool + description: str + displayName: str enabledTools: dict[str, typing.Any] generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str @@ -1058,7 +943,9 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( typing_extensions.TypedDict, total=False ): + allowedModelIds: _list[str] defaultLanguage: str + defaultModelId: str systemInstruction: ( GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction ) @@ -1754,6 +1641,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -1866,6 +1754,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -1885,6 +1774,9 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F isInfobotFaqDataStore: bool kmsKeyName: str name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig + ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ @@ -2102,6 +1994,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -2141,6 +2034,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -2154,10 +2048,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -2199,6 +2096,25 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -2241,6 +2157,21 @@ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommend class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -2316,12 +2247,14 @@ class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntry( typing_extensions.TypedDict, total=False ): externalIdentity: str + externalIdentityName: str groupId: str userId: str @@ -2564,8 +2497,23 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1LicenseConfigUsageStats( + typing_extensions.TypedDict, total=False +): + licenseConfig: str + usedLicenseCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListAssistantsResponse( + typing_extensions.TypedDict, total=False +): + assistants: _list[GoogleCloudDiscoveryengineV1Assistant] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse( typing_extensions.TypedDict, total=False @@ -2627,6 +2575,12 @@ class GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse( identityMappingEntries: _list[GoogleCloudDiscoveryengineV1IdentityMappingEntry] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListLicenseConfigsUsageStatsResponse( + typing_extensions.TypedDict, total=False +): + licenseConfigUsageStats: _list[GoogleCloudDiscoveryengineV1LicenseConfigUsageStats] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSchemasResponse( typing_extensions.TypedDict, total=False @@ -2634,6 +2588,13 @@ class GoogleCloudDiscoveryengineV1ListSchemasResponse( nextPageToken: str schemas: _list[GoogleCloudDiscoveryengineV1Schema] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ListServingConfigsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + servingConfigs: _list[GoogleCloudDiscoveryengineV1ServingConfig] + @typing.type_check_only class GoogleCloudDiscoveryengineV1ListSessionsResponse( typing_extensions.TypedDict, total=False @@ -2661,6 +2622,19 @@ class GoogleCloudDiscoveryengineV1MediaInfo(typing_extensions.TypedDict, total=F mediaProgressDuration: str mediaProgressPercentage: float +@typing.type_check_only +class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1PageInfo(typing_extensions.TypedDict, total=False): pageCategory: str @@ -2684,12 +2658,26 @@ class GoogleCloudDiscoveryengineV1Principal(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -2703,6 +2691,8 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -2966,6 +2956,7 @@ class GoogleCloudDiscoveryengineV1SearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec] dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec facetSpecs: _list[GoogleCloudDiscoveryengineV1SearchRequestFacetSpec] @@ -2978,6 +2969,7 @@ class GoogleCloudDiscoveryengineV1SearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -3110,6 +3102,16 @@ class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModel ): version: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -3210,11 +3212,17 @@ class GoogleCloudDiscoveryengineV1SearchResponse( attributionToken: str correctedQuery: str facets: _list[GoogleCloudDiscoveryengineV1SearchResponseFacet] + naturalLanguageQueryUnderstandingInfo: ( + GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo + ) nextPageToken: str queryExpansionInfo: GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo redirectUri: str results: _list[GoogleCloudDiscoveryengineV1SearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1SearchLinkPromotion] + semanticState: typing_extensions.Literal[ + "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" + ] sessionInfo: GoogleCloudDiscoveryengineV1SearchResponseSessionInfo summary: GoogleCloudDiscoveryengineV1SearchResponseSummary totalSize: int @@ -3235,6 +3243,81 @@ class GoogleCloudDiscoveryengineV1SearchResponseFacetFacetValue( interval: GoogleCloudDiscoveryengineV1Interval value: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfo( + typing_extensions.TypedDict, total=False +): + classifiedIntents: _list[str] + extractedFilters: str + rewrittenQuery: str + structuredExtractedFilter: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter( + typing_extensions.TypedDict, total=False +): + expression: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression( + typing_extensions.TypedDict, total=False +): + expressions: _list[ + GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression( + typing_extensions.TypedDict, total=False +): + andExpr: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression + geolocationConstraint: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint + numberConstraint: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint + orExpr: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression + stringConstraint: GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint( + typing_extensions.TypedDict, total=False +): + address: str + fieldName: str + latitude: float + longitude: float + radiusInMeters: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint( + typing_extensions.TypedDict, total=False +): + comparison: typing_extensions.Literal[ + "COMPARISON_UNSPECIFIED", + "EQUALS", + "LESS_THAN_EQUALS", + "LESS_THAN", + "GREATER_THAN_EQUALS", + "GREATER_THAN", + ] + fieldName: str + querySegment: str + value: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression( + typing_extensions.TypedDict, total=False +): + expressions: _list[ + GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1SearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint( + typing_extensions.TypedDict, total=False +): + fieldName: str + querySegment: str + values: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo( typing_extensions.TypedDict, total=False @@ -3538,6 +3621,7 @@ class GoogleCloudDiscoveryengineV1StreamAssistResponse( ): answer: GoogleCloudDiscoveryengineV1AssistAnswer assistToken: str + invocationTools: _list[str] sessionInfo: GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo @typing.type_check_only @@ -3716,6 +3800,247 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfig( + typing_extensions.TypedDict, total=False +): + accessSettings: GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings + allowPublicAccess: bool + allowlistedDomains: _list[str] + assistantSettings: GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings + collectionComponents: _list[ + GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent + ] + configId: str + contentSearchSpec: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec + createTime: str + customerProvidedConfig: ( + GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig + ) + dataStoreType: typing_extensions.Literal[ + "DATA_STORE_TYPE_UNSPECIFIED", + "SITE_SEARCH", + "STRUCTURED", + "UNSTRUCTURED", + "BLENDED", + ] + dataStoreUiConfigs: _list[GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig] + defaultSearchRequestOrderBy: str + displayName: str + enableAutocomplete: bool + enableConversationalSearch: bool + enablePrivateKnowledgeGraph: bool + enableQualityFeedback: bool + enableResultScore: bool + enableSafeSearch: bool + enableSearchAsYouType: bool + enableSnippetResultSummary: bool + enableSummarization: bool + enableWebApp: bool + facetField: _list[GoogleCloudDiscoveryengineV1WidgetConfigFacetField] + fieldsUiComponentsMap: dict[str, typing.Any] + geminiBundle: bool + homepageSetting: GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting + industryVertical: typing_extensions.Literal[ + "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" + ] + llmEnabled: bool + minimumDataTermAccepted: bool + name: str + nodes: _list[GoogleCloudDiscoveryengineV1WidgetConfigNode] + resultDisplayType: typing_extensions.Literal[ + "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" + ] + solutionType: typing_extensions.Literal[ + "SOLUTION_TYPE_UNSPECIFIED", + "SOLUTION_TYPE_RECOMMENDATION", + "SOLUTION_TYPE_SEARCH", + "SOLUTION_TYPE_CHAT", + "SOLUTION_TYPE_GENERATIVE_CHAT", + ] + uiBranding: GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings + uiSettings: GoogleCloudDiscoveryengineV1WidgetConfigUiSettings + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigAccessSettings( + typing_extensions.TypedDict, total=False +): + allowPublicAccess: bool + allowlistedDomains: _list[str] + enableWebApp: bool + languageCode: str + workforceIdentityPoolProvider: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigAssistantSettings( + typing_extensions.TypedDict, total=False +): + defaultWebGroundingToggleOff: bool + disableLocationContext: bool + googleSearchGroundingEnabled: bool + webGroundingType: typing_extensions.Literal[ + "WEB_GROUNDING_TYPE_UNSPECIFIED", + "WEB_GROUNDING_TYPE_DISABLED", + "WEB_GROUNDING_TYPE_GOOGLE_SEARCH", + "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigCollectionComponent( + typing_extensions.TypedDict, total=False +): + connectorIconLink: str + dataSource: str + dataSourceDisplayName: str + dataStoreComponents: _list[ + GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent + ] + displayName: str + id: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigCustomerProvidedConfig( + typing_extensions.TypedDict, total=False +): + customerType: typing_extensions.Literal["DEFAULT_CUSTOMER", "GOVERNMENT_CUSTOMER"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreComponent( + typing_extensions.TypedDict, total=False +): + dataStoreConfigType: typing_extensions.Literal[ + "DATA_STORE_CONFIG_TYPE_UNSPECIFIED", + "ALLOW_DB_CONFIG", + "THIRD_PARTY_OAUTH_CONFIG", + "NOTEBOOKLM_CONFIG", + ] + displayName: str + entityName: str + id: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig( + typing_extensions.TypedDict, total=False +): + facetField: _list[GoogleCloudDiscoveryengineV1WidgetConfigFacetField] + fieldsUiComponentsMap: dict[str, typing.Any] + id: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigFacetField( + typing_extensions.TypedDict, total=False +): + displayName: str + field: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigHomepageSetting( + typing_extensions.TypedDict, total=False +): + shortcuts: _list[GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigHomepageSettingShortcut( + typing_extensions.TypedDict, total=False +): + destinationUri: str + icon: GoogleCloudDiscoveryengineV1WidgetConfigImage + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigImage( + typing_extensions.TypedDict, total=False +): + url: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigNode( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + iconUrl: str + outputSchema: dict[str, typing.Any] + parameterSchema: dict[str, typing.Any] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigUIComponentField( + typing_extensions.TypedDict, total=False +): + deviceVisibility: _list[ + typing_extensions.Literal["DEVICE_VISIBILITY_UNSPECIFIED", "MOBILE", "DESKTOP"] + ] + displayTemplate: str + field: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigUiBrandingSettings( + typing_extensions.TypedDict, total=False +): + logo: GoogleCloudDiscoveryengineV1WidgetConfigImage + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigUiSettings( + typing_extensions.TypedDict, total=False +): + dataStoreUiConfigs: _list[GoogleCloudDiscoveryengineV1WidgetConfigDataStoreUiConfig] + defaultSearchRequestOrderBy: str + disableUserEventsCollection: bool + enableAutocomplete: bool + enableCreateAgentButton: bool + enablePeopleSearch: bool + enableQualityFeedback: bool + enableSafeSearch: bool + enableSearchAsYouType: bool + enableVisualContentSummary: bool + features: dict[str, typing.Any] + generativeAnswerConfig: ( + GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig + ) + interactionType: typing_extensions.Literal[ + "INTERACTION_TYPE_UNSPECIFIED", + "SEARCH_ONLY", + "SEARCH_WITH_ANSWER", + "SEARCH_WITH_FOLLOW_UPS", + ] + modelConfigs: dict[str, typing.Any] + resultDescriptionType: typing_extensions.Literal[ + "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsGenerativeAnswerConfig( + typing_extensions.TypedDict, total=False +): + disableRelatedQuestions: bool + ignoreAdversarialQuery: bool + ignoreLowRelevantContent: bool + ignoreNonAnswerSeekingQuery: bool + imageSource: typing_extensions.Literal[ + "IMAGE_SOURCE_UNSPECIFIED", + "ALL_AVAILABLE_SOURCES", + "CORPUS_IMAGE_ONLY", + "FIGURE_GENERATION_ONLY", + ] + languageCode: str + maxRephraseSteps: int + modelPromptPreamble: str + modelVersion: str + resultCount: int + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -3752,6 +4077,13 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( serviceName: str useStaticSecrets: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -4554,6 +4886,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -4668,6 +5001,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -4733,6 +5067,13 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( typing_extensions.TypedDict, total=False @@ -4768,6 +5109,12 @@ class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( typing_extensions.TypedDict, total=False @@ -4795,6 +5142,13 @@ class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False @@ -4868,6 +5222,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -4898,6 +5253,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -4911,10 +5267,13 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig recommendationMetadata: ( GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata ) @@ -4962,6 +5321,27 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -5018,6 +5398,21 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -5150,6 +5545,7 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( @@ -5328,6 +5724,7 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] @typing.type_check_only @@ -5353,6 +5750,13 @@ class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( typing_extensions.TypedDict, total=False @@ -5373,10 +5777,22 @@ class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + filtersAddedCount: str + filtersRemovedCount: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig @@ -5385,6 +5801,17 @@ class GoogleCloudDiscoveryengineV1alphaProject( provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -5398,6 +5825,8 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -5565,6 +5994,20 @@ class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( error: GoogleRpcStatus state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSafetyRating( typing_extensions.TypedDict, total=False @@ -5617,6 +6060,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec] customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec @@ -5629,6 +6073,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -5646,6 +6091,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -5784,6 +6232,16 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -5871,6 +6329,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -6373,6 +6847,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -6536,6 +7011,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -6566,6 +7042,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -6579,10 +7056,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -6624,6 +7104,27 @@ class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -6666,6 +7167,21 @@ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecom class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -6707,6 +7223,7 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( @@ -6875,6 +7392,7 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] @typing.type_check_only @@ -6883,6 +7401,13 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( typing_extensions.TypedDict, total=False @@ -6905,6 +7430,9 @@ class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @@ -6913,6 +7441,17 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -6926,6 +7465,8 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -7040,6 +7581,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec] dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec @@ -7051,6 +7593,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -7068,6 +7611,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -7205,6 +7751,16 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -7292,6 +7848,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -7466,6 +8038,16 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserStore( + typing_extensions.TypedDict, total=False +): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi index f8c9622b7..b22b064d7 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/resources.pyi @@ -14,28 +14,96 @@ _list = list @typing.type_check_only class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only - class MediaResource(googleapiclient.discovery.Resource): - def download( - self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> GdataMediaHttpRequest: ... - def download_media( + class BillingAccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BillingAccountLicenseConfigsResource(googleapiclient.discovery.Resource): + def distributeLicenseConfig( + self, + *, + billingAccountLicenseConfig: str, + body: GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfigHttpRequest + ): ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponseHttpRequest + | None + ): ... + def retractLicenseConfig( + self, + *, + billingAccountLicenseConfig: str, + body: GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponseHttpRequest + ): ... + + def billingAccountLicenseConfigs( self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> BytesHttpRequest: ... + ) -> BillingAccountLicenseConfigsResource: ... @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AuthorizationsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAuthorization = ..., + authorizationId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAuthorizationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaAuthorizationHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaAuthorization = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAuthorizationHttpRequest: ... + @typing.type_check_only class CmekConfigsResource(googleapiclient.discovery.Resource): def delete( @@ -557,6 +625,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaAnswerQueryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaServingConfigHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -936,7 +1017,24 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaWidgetConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest + ): ... + def addPatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def completeQuery( self, *, @@ -962,6 +1060,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def deletePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... @@ -998,6 +1103,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... + def removePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def replacePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def trainCustomModel( self, *, @@ -1044,12 +1163,234 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def getConfig( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1alphaAnalyticsConfigHttpRequest + ): ... + def updateConfig( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaAnalyticsConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaAnalyticsConfigHttpRequest + ): ... @typing.type_check_only class AssistantsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FilesResource(googleapiclient.discovery.Resource): + def import_( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaImportAgentFileResponseHttpRequest: ... + + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAgent = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAgentHttpRequest: ... + 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, + *, + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListAgentsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListAgentsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListAgentsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListAgentsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaAgent = ..., + 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: ... + + @typing.type_check_only + class CannedQueriesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaCannedQuery = ..., + cannedQueryId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaCannedQueryHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ( + GoogleCloudDiscoveryengineV1alphaCannedQueryHttpRequest + ): ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse, + ) -> ( + GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaCannedQuery = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaCannedQueryHttpRequest + ): ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaAssistant = ..., + assistantId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaListAssistantsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1alphaListAssistantsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1alphaListAssistantsResponse, + ) -> ( + 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, *, @@ -1065,6 +1406,8 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaStreamAssistRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaStreamAssistResponseHttpRequest: ... + def agents(self) -> AgentsResource: ... + def cannedQueries(self) -> CannedQueriesResource: ... @typing.type_check_only class CompletionConfigResource(googleapiclient.discovery.Resource): @@ -1212,6 +1555,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaAnswerQueryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaServingConfigHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -1294,6 +1650,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class SessionsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AlphaEvolveExperimentsResource( + googleapiclient.discovery.Resource + ): + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + @typing.type_check_only class AnswersResource(googleapiclient.discovery.Resource): def get( @@ -1321,6 +1691,12 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): | None ): ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def create( self, *, @@ -1364,8 +1740,12 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaSessionHttpRequest: ... + def alphaEvolveExperiments( + self, + ) -> AlphaEvolveExperimentsResource: ... def answers(self) -> AnswersResource: ... def files(self) -> FilesResource: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class WidgetConfigsResource(googleapiclient.discovery.Resource): @@ -1373,8 +1753,18 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, name: str, - acceptCache: bool = ..., - getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + acceptCache: bool = ..., + getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaWidgetConfig = ..., + updateMask: str = ..., **kwargs: typing.Any, ) -> ( GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest @@ -1914,6 +2304,17 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1alphaAnswerQueryResponseHttpRequest ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaServingConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaServingConfigHttpRequest: ... @@ -2200,7 +2601,22 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): getWidgetConfigRequestOption_turnOffCollectionComponents: bool = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaWidgetConfig = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest: ... + def addPatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def completeQuery( self, *, @@ -2228,6 +2644,13 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> GoogleLongrunningOperationHttpRequest: ... + def deletePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... @@ -2266,6 +2689,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest: ... + def removePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def replacePatientFilter( + self, + *, + dataStore: str, + body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... def updateDocumentProcessingConfig( self, *, @@ -2506,16 +2943,6 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudNotebooklmV1alphaSourceHttpRequest: ... - def uploadFile( - self, - *, - parent: str, - sourceId: str, - body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest - ): ... def batchDelete( self, @@ -2739,6 +3166,14 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LicenseConfigsUsageStatsResource( + googleapiclient.discovery.Resource + ): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponseHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get( @@ -2766,7 +3201,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): self, *, parent: str, - filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -2787,6 +3222,31 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1alphaUserStore = ..., + userStoreId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaUserStoreHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1alphaUserStoreHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1alphaUserStore = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1alphaUserStoreHttpRequest: ... + def licenseConfigsUsageStats( + self, + ) -> LicenseConfigsUsageStatsResource: ... def operations(self) -> OperationsResource: ... def userLicenses(self) -> UserLicensesResource: ... @@ -2803,10 +3263,20 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): def getCmekConfig( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1alphaCmekConfigHttpRequest: ... - def getConfigurablePricingUsageStats( + def obtainCrawlRate( self, *, - name: str, + location: str, + body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponseHttpRequest + ): ... + def queryConfigurablePricingUsageStats( + self, + *, + project: str, + location: str, metricTypes: typing_extensions.Literal[ "BILLING_METRIC_TYPE_UNSPECIFIED", "DAILY_MDN_QPM", @@ -2832,16 +3302,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): timeRange_startDate_month: int = ..., timeRange_startDate_year: int = ..., **kwargs: typing.Any, - ) -> GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsHttpRequest: ... - def obtainCrawlRate( - self, - *, - location: str, - body: GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest = ..., - **kwargs: typing.Any, - ) -> ( - GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponseHttpRequest - ): ... + ) -> GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseHttpRequest: ... def removeDedicatedCrawlRate( self, *, @@ -2887,6 +3348,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): setDefault: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def authorizations(self) -> AuthorizationsResource: ... def cmekConfigs(self) -> CmekConfigsResource: ... def collections(self) -> CollectionsResource: ... def dataStores(self) -> DataStoresResource: ... @@ -2964,17 +3426,9 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... - def media(self) -> MediaResource: ... + def billingAccounts(self) -> BillingAccountsResource: ... def projects(self) -> ProjectsResource: ... -@typing.type_check_only -class GdataMediaHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GdataMedia: ... - @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3013,6 +3467,26 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgentHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAgent: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnalyticsConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAnalyticsConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswerHttpRequest( googleapiclient.http.HttpRequest @@ -3043,6 +3517,16 @@ class GoogleCloudDiscoveryengineV1alphaAssistantHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaAssistant: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAuthorizationHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaAuthorization: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3053,6 +3537,16 @@ class GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseHttpRequ num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfigHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBranchHttpRequest( googleapiclient.http.HttpRequest @@ -3063,6 +3557,16 @@ class GoogleCloudDiscoveryengineV1alphaBranchHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaBranch: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCannedQueryHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaCannedQuery: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3133,16 +3637,6 @@ class GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse: ... -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats: ... - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRunHttpRequest( googleapiclient.http.HttpRequest @@ -3203,6 +3697,16 @@ class GoogleCloudDiscoveryengineV1alphaDataStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaDataStore: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocumentHttpRequest( googleapiclient.http.HttpRequest @@ -3263,6 +3767,16 @@ 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 @@ -3293,6 +3807,16 @@ class GoogleCloudDiscoveryengineV1alphaIdentityMappingStoreHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaIdentityMappingStore: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportAgentFileResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest( googleapiclient.http.HttpRequest @@ -3303,6 +3827,56 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaLicenseConfig: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAgentsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListAgentsResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAssistantsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListAssistantsResponse: ... + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListBillingAccountLicenseConfigsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBranchesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3313,6 +3887,16 @@ class GoogleCloudDiscoveryengineV1alphaListBranchesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListBranchesResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3463,6 +4047,16 @@ class GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3563,6 +4157,18 @@ class GoogleCloudDiscoveryengineV1alphaProjectHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaProject: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ( + GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse + ): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRankResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3593,6 +4199,16 @@ class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSampleQueryHttpRequest( googleapiclient.http.HttpRequest @@ -3693,6 +4309,16 @@ class GoogleCloudDiscoveryengineV1alphaUserEventHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1alphaUserEvent: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUserStoreHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1alphaUserStore: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigHttpRequest( googleapiclient.http.HttpRequest @@ -3770,14 +4396,12 @@ class GoogleCloudNotebooklmV1alphaSourceHttpRequest(googleapiclient.http.HttpReq ) -> GoogleCloudNotebooklmV1alphaSource: ... @typing.type_check_only -class GoogleCloudNotebooklmV1alphaUploadSourceFileResponseHttpRequest( - googleapiclient.http.HttpRequest -): +class GoogleIamV1PolicyHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleCloudNotebooklmV1alphaUploadSourceFileResponse: ... + ) -> GoogleIamV1Policy: ... @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( @@ -3804,11 +4428,3 @@ class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> GoogleProtobufEmpty: ... - -@typing.type_check_only -class BytesHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> bytes: ... diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi index 864867441..6c4c495c1 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1alpha/schemas.pyi @@ -4,169 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class ApiservingMediaRequestInfo(typing_extensions.TypedDict, total=False): - currentBytes: str - customData: str - diffObjectVersion: str - finalStatus: int - notificationType: typing_extensions.Literal[ - "START", "PROGRESS", "END", "RESPONSE_SENT", "ERROR" - ] - physicalHeaders: str - requestId: str - requestReceivedParamsServingInfo: str - totalBytes: str - totalBytesIsEstimated: bool - -@typing.type_check_only -class ApiservingMediaResponseInfo(typing_extensions.TypedDict, total=False): - customData: str - dataStorageTransform: str - destinationBlobMintIndex: int - dynamicDropTarget: str - dynamicDropzone: str - mediaForDiff: GdataMedia - originalObjectBlobMintIndex: int - requestClass: typing_extensions.Literal[ - "UNKNOWN_REQUEST_CLASS", "LATENCY_SENSITIVE", "PRODUCTION_BATCH", "BEST_EFFORT" - ] - scottyAgentUserId: str - scottyCustomerLog: str - trafficClassField: typing_extensions.Literal[ - "BE1", - "AF1", - "AF2", - "AF3", - "AF4", - "NC1", - "NC0", - "BE0", - "LLQ", - "LLQ1", - "LLQ2", - "LLQ3", - ] - verifyHashFromHeader: bool - -@typing.type_check_only -class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): - blobGeneration: str - blobId: str - downloadReadHandle: str - readToken: str - uploadMetadataContainer: str - -@typing.type_check_only -class GdataCompositeMedia(typing_extensions.TypedDict, total=False): - blobRef: str - blobstore2Info: GdataBlobstore2Info - cosmoBinaryReference: str - crc32cHash: int - inline: str - length: str - md5Hash: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" - ] - sha1Hash: str - -@typing.type_check_only -class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): - bestGuess: str - fromBytes: str - fromFileName: str - fromHeader: str - fromUrlPath: str - -@typing.type_check_only -class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): - checksumsLocation: GdataCompositeMedia - chunkSizeBytes: str - objectLocation: GdataCompositeMedia - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): - objectLocation: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): - checksumsInfo: GdataCompositeMedia - objectInfo: GdataCompositeMedia - objectVersion: str - -@typing.type_check_only -class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): - objectVersion: str - originalObject: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDownloadParameters(typing_extensions.TypedDict, total=False): - allowGzipCompression: bool - ignoreRange: bool - -@typing.type_check_only -class GdataMedia(typing_extensions.TypedDict, total=False): - algorithm: str - bigstoreObjectRef: str - blobRef: str - blobstore2Info: GdataBlobstore2Info - compositeMedia: _list[GdataCompositeMedia] - contentType: str - contentTypeInfo: GdataContentTypeInfo - cosmoBinaryReference: str - crc32cHash: int - diffChecksumsResponse: GdataDiffChecksumsResponse - diffDownloadResponse: GdataDiffDownloadResponse - diffUploadRequest: GdataDiffUploadRequest - diffUploadResponse: GdataDiffUploadResponse - diffVersionResponse: GdataDiffVersionResponse - downloadParameters: GdataDownloadParameters - filename: str - hash: str - hashVerified: bool - inline: str - isPotentialRetry: bool - length: str - md5Hash: str - mediaId: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES", - ] - sha1Hash: str - sha256Hash: str - timestamp: str - token: str - -@typing.type_check_only -class GdataObjectId(typing_extensions.TypedDict, total=False): - bucketName: str - generation: str - objectName: str - @typing.type_check_only class GoogleApiDistribution(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -361,6 +198,9 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + defaultWebGroundingToggleOff: bool + description: str + displayName: str enabledTools: dict[str, typing.Any] generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str @@ -408,7 +248,9 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( typing_extensions.TypedDict, total=False ): + allowedModelIds: _list[str] defaultLanguage: str + defaultModelId: str systemInstruction: ( GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction ) @@ -697,6 +539,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -809,6 +652,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -828,6 +672,9 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F isInfobotFaqDataStore: bool kmsKeyName: str name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig + ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ @@ -985,6 +832,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -1015,6 +863,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -1028,10 +877,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -1073,6 +925,25 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -1115,6 +986,21 @@ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommend class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -1128,6 +1014,7 @@ class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( @@ -1266,16 +1153,44 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -1289,6 +1204,8 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -1611,6 +1528,14 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -1630,6 +1555,22 @@ class GoogleCloudDiscoveryengineV1WorkspaceConfig( "GOOGLE_PEOPLE", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition( + typing_extensions.TypedDict, total=False +): + cloudMarketplaceConfig: ( + GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig + ) + jsonAgentCard: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig( + typing_extensions.TypedDict, total=False +): + entitlement: str + order: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAclConfig( typing_extensions.TypedDict, total=False @@ -1659,6 +1600,27 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( serviceName: str useStaticSecrets: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition( + typing_extensions.TypedDict, total=False +): + provisionedReasoningEngine: ( + GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine + ) + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAdkAgentDefinitionProvisionedReasoningEngine( + typing_extensions.TypedDict, total=False +): + reasoningEngine: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest( typing_extensions.TypedDict, total=False @@ -1783,6 +1745,127 @@ class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( disableAutomaticRefresh: bool disableInitialIndex: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgent(typing_extensions.TypedDict, total=False): + a2aAgentDefinition: GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition + adkAgentDefinition: GoogleCloudDiscoveryengineV1alphaAdkAgentDefinition + authorizationConfig: GoogleCloudDiscoveryengineV1alphaAuthorizationConfig + createTime: str + customPlaceholderText: str + deploymentFailureReason: str + description: str + dialogflowAgentDefinition: ( + GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition + ) + displayName: str + icon: GoogleCloudDiscoveryengineV1alphaAgentImage + languageCode: str + managedAgentDefinition: GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition + name: str + rejectionReason: str + sharingConfig: GoogleCloudDiscoveryengineV1alphaAgentSharingConfig + starterPrompts: _list[GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "CONFIGURED", + "DEPLOYING", + "DISABLED", + "DEPLOYMENT_FAILED", + "PRIVATE", + "ENABLED", + "SUSPENDED", + ] + suspensionReason: str + updateTime: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgentFile( + typing_extensions.TypedDict, total=False +): + fileName: str + mimeType: str + name: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgentImage( + typing_extensions.TypedDict, total=False +): + content: str + uri: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgentSharingConfig( + typing_extensions.TypedDict, total=False +): + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "RESTRICTED", "ALL_USERS"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAgentStarterPrompt( + typing_extensions.TypedDict, total=False +): + 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 @@ -1833,6 +1916,13 @@ class GoogleCloudDiscoveryengineV1alphaAlloyDbSource( projectId: str tableId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAnalyticsConfig( + typing_extensions.TypedDict, total=False +): + name: str + userLevelMetricsEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAnswer(typing_extensions.TypedDict, total=False): answerSkippedReasons: _list[ @@ -2420,6 +2510,10 @@ class GoogleCloudDiscoveryengineV1alphaAssistant( typing_extensions.TypedDict, total=False ): customerPolicy: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy + defaultWebGroundingToggleOff: bool + description: str + disableLocationContext: bool + displayName: str enabledTools: dict[str, typing.Any] generationConfig: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig name: str @@ -2513,7 +2607,9 @@ class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorConfig( class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig( typing_extensions.TypedDict, total=False ): + allowedModelIds: _list[str] defaultLanguage: str + defaultModelId: str systemInstruction: ( GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction ) @@ -2586,6 +2682,32 @@ class GoogleCloudDiscoveryengineV1alphaAssistantToolList( ): toolInfo: _list[GoogleCloudDiscoveryengineV1alphaAssistantToolInfo] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAuthorization( + typing_extensions.TypedDict, total=False +): + displayName: str + name: str + serverSideOauth2: GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2 + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAuthorizationConfig( + typing_extensions.TypedDict, total=False +): + agentAuthorization: str + toolAuthorizations: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAuthorizationServerSideOAuth2( + typing_extensions.TypedDict, total=False +): + authorizationUri: str + clientId: str + clientSecret: str + pkceVerificationEnabled: bool + scopes: _list[str] + tokenUri: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBAPConfig( typing_extensions.TypedDict, total=False @@ -2752,6 +2874,45 @@ class GoogleCloudDiscoveryengineV1alphaBigtableSource( projectId: str tableId: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig( + typing_extensions.TypedDict, total=False +): + autoRenew: bool + endDate: GoogleTypeDate + geminiBundle: bool + licenseConfigDistributions: dict[str, typing.Any] + licenseCount: str + name: str + procurementEntitlementId: str + startDate: GoogleTypeDate + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ACTIVE", "EXPIRED", "NOT_STARTED" + ] + subscriptionDisplayName: str + subscriptionName: str + subscriptionTerm: typing_extensions.Literal[ + "SUBSCRIPTION_TERM_UNSPECIFIED", + "SUBSCRIPTION_TERM_ONE_MONTH", + "SUBSCRIPTION_TERM_ONE_YEAR", + "SUBSCRIPTION_TERM_THREE_YEARS", + ] + subscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaBranch(typing_extensions.TypedDict, total=False): branchStats: GoogleCloudDiscoveryengineV1alphaBranchBranchStats @@ -2766,6 +2927,40 @@ class GoogleCloudDiscoveryengineV1alphaBranchBranchStats( ): documentCounts: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCannedQuery( + typing_extensions.TypedDict, total=False +): + defaultTexts: GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts + displayName: str + enabled: bool + googleDefined: bool + localizedTexts: dict[str, typing.Any] + name: str + requiredCapabilities: _list[ + GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability( + typing_extensions.TypedDict, total=False +): + actionName: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts( + typing_extensions.TypedDict, total=False +): + prefix: str + suggestedPrompts: _list[GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt] + title: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt( + typing_extensions.TypedDict, total=False +): + promptText: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest( typing_extensions.TypedDict, total=False @@ -3024,39 +3219,6 @@ class GoogleCloudDiscoveryengineV1alphaConditionTimeRange( endTime: str startTime: str -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats( - typing_extensions.TypedDict, total=False -): - metricUsages: _list[ - GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage - ] - name: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage( - typing_extensions.TypedDict, total=False -): - date: GoogleTypeDate - usage: float - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage( - typing_extensions.TypedDict, total=False -): - datedUsages: _list[ - GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage - ] - metricType: typing_extensions.Literal[ - "BILLING_METRIC_TYPE_UNSPECIFIED", - "DAILY_MDN_QPM", - "DAILY_MIN_QPM", - "DAILY_MAX_QPM", - "DAILY_SEARCH_REQUEST", - "TOTAL_STORAGE", - ] - totalUsages: _list[float] - @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaConnectorRun( typing_extensions.TypedDict, total=False @@ -3403,6 +3565,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -3517,6 +3680,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -3582,6 +3746,13 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( typing_extensions.TypedDict, total=False @@ -3617,6 +3788,12 @@ class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( typing_extensions.TypedDict, total=False @@ -3644,6 +3821,13 @@ class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False @@ -3660,6 +3844,12 @@ class GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination( host: str port: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDialogflowAgentDefinition( + typing_extensions.TypedDict, total=False +): + dialogflowAgent: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata( typing_extensions.TypedDict, total=False @@ -3677,6 +3867,21 @@ class GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest( + typing_extensions.TypedDict, total=False +): + licenseConfigId: str + licenseCount: str + location: str + projectNumber: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse( + typing_extensions.TypedDict, total=False +): + licenseConfig: GoogleCloudDiscoveryengineV1alphaLicenseConfig + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDocument( typing_extensions.TypedDict, total=False @@ -3779,6 +3984,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -3826,6 +4032,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -3839,10 +4046,13 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig recommendationMetadata: ( GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata ) @@ -3890,6 +4100,27 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -3940,12 +4171,27 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( servingState: typing_extensions.Literal[ "SERVING_STATE_UNSPECIFIED", "INACTIVE", "ACTIVE", "TUNED" ] - tuningOperation: str - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( - typing_extensions.TypedDict, total=False -): + tuningOperation: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( + typing_extensions.TypedDict, total=False +): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -4206,6 +4452,12 @@ 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 @@ -4251,12 +4503,14 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry( typing_extensions.TypedDict, total=False ): externalIdentity: str + externalIdentityName: str groupId: str userId: str @@ -4313,6 +4567,19 @@ class GoogleCloudDiscoveryengineV1alphaImageCharacteristics( height: int width: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest( + typing_extensions.TypedDict, total=False +): + fileName: str + mimeType: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaImportAgentFileResponse( + typing_extensions.TypedDict, total=False +): + agentFile: GoogleCloudDiscoveryengineV1alphaAgentFile + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata( typing_extensions.TypedDict, total=False @@ -4566,7 +4833,52 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats( + typing_extensions.TypedDict, total=False +): + licenseConfig: str + usedLicenseCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAgentsResponse( + typing_extensions.TypedDict, total=False +): + agents: _list[GoogleCloudDiscoveryengineV1alphaAgent] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAssistantsResponse( + typing_extensions.TypedDict, total=False +): + assistants: _list[GoogleCloudDiscoveryengineV1alphaAssistant] + nextPageToken: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse( + typing_extensions.TypedDict, total=False +): + 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 +): + billingAccountLicenseConfigs: _list[ + GoogleCloudDiscoveryengineV1alphaBillingAccountLicenseConfig ] + nextPageToken: str @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListBranchesResponse( @@ -4574,6 +4886,13 @@ class GoogleCloudDiscoveryengineV1alphaListBranchesResponse( ): branches: _list[GoogleCloudDiscoveryengineV1alphaBranch] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse( + typing_extensions.TypedDict, total=False +): + cannedQueries: _list[GoogleCloudDiscoveryengineV1alphaCannedQuery] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListChunksResponse( typing_extensions.TypedDict, total=False @@ -4686,6 +5005,14 @@ class GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse( identityMappingEntries: _list[GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaListLicenseConfigsUsageStatsResponse( + typing_extensions.TypedDict, total=False +): + licenseConfigUsageStats: _list[ + GoogleCloudDiscoveryengineV1alphaLicenseConfigUsageStats + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse( typing_extensions.TypedDict, total=False @@ -4746,6 +5073,11 @@ class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse( nextPageToken: str userLicenses: _list[GoogleCloudDiscoveryengineV1alphaUserLicense] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaMediaInfo( typing_extensions.TypedDict, total=False @@ -4759,6 +5091,13 @@ class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest( typing_extensions.TypedDict, total=False @@ -4810,6 +5149,15 @@ class GoogleCloudDiscoveryengineV1alphaPanelInfo( panelPosition: int totalPanels: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + filtersAddedCount: str + filtersRemovedCount: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaPauseEngineRequest( typing_extensions.TypedDict, total=False @@ -4834,6 +5182,9 @@ class GoogleCloudDiscoveryengineV1alphaProcessedDocument( class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig @@ -4842,6 +5193,17 @@ class GoogleCloudDiscoveryengineV1alphaProject( provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -4855,6 +5217,8 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -5034,6 +5398,38 @@ class GoogleCloudDiscoveryengineV1alphaQuery(typing_extensions.TypedDict, total= queryId: str text: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse( + typing_extensions.TypedDict, total=False +): + metricUsages: _list[ + GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage + ] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage( + typing_extensions.TypedDict, total=False +): + date: GoogleTypeDate + usage: float + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage( + typing_extensions.TypedDict, total=False +): + datedUsages: _list[ + GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage + ] + metricType: typing_extensions.Literal[ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE", + ] + totalUsage: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRankRequest( typing_extensions.TypedDict, total=False @@ -5168,6 +5564,13 @@ class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( error: GoogleRpcStatus state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest( typing_extensions.TypedDict, total=False @@ -5183,6 +5586,13 @@ class GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaReply(typing_extensions.TypedDict, total=False): references: _list[GoogleCloudDiscoveryengineV1alphaReplyReference] @@ -5265,6 +5675,20 @@ class GoogleCloudDiscoveryengineV1alphaResumeEngineRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest( + typing_extensions.TypedDict, total=False +): + fullRetract: bool + licenseConfig: str + licenseCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse( + typing_extensions.TypedDict, total=False +): + licenseConfig: GoogleCloudDiscoveryengineV1alphaLicenseConfig + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSafetyRating( typing_extensions.TypedDict, total=False @@ -5357,6 +5781,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec] customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec @@ -5369,6 +5794,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -5386,6 +5812,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -5524,6 +5953,16 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -5611,6 +6050,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -5669,6 +6124,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchResponse( redirectUri: str results: _list[GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion] + semanticState: typing_extensions.Literal[ + "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" + ] sessionInfo: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo suggestedQuery: str summary: GoogleCloudDiscoveryengineV1alphaSearchResponseSummary @@ -6191,6 +6649,7 @@ class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse( ): answer: GoogleCloudDiscoveryengineV1alphaAssistAnswer assistToken: str + invocationTools: _list[str] sessionInfo: GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo @typing.type_check_only @@ -6356,18 +6815,11 @@ class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata( updateTime: str @typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest( - typing_extensions.TypedDict, total=False -): - blob: GdataMedia - mediaRequestInfo: ApiservingMediaRequestInfo - -@typing.type_check_only -class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse( +class GoogleCloudDiscoveryengineV1alphaUserAnnotations( typing_extensions.TypedDict, total=False ): - fileId: str - mediaResponseInfo: ApiservingMediaResponseInfo + pinned: bool + viewed: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaUserEvent( @@ -6423,6 +6875,16 @@ class GoogleCloudDiscoveryengineV1alphaUserLicense( userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaUserStore( + typing_extensions.TypedDict, total=False +): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics( typing_extensions.TypedDict, total=False @@ -6475,9 +6937,9 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( enableSnippetResultSummary: bool enableSummarization: bool enableWebApp: bool - experimentalFeatures: dict[str, typing.Any] facetField: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigFacetField] fieldsUiComponentsMap: dict[str, typing.Any] + geminiBundle: bool homepageSetting: GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSetting industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" @@ -6485,6 +6947,7 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfig( llmEnabled: bool minimumDataTermAccepted: bool name: str + nodes: _list[GoogleCloudDiscoveryengineV1alphaWidgetConfigNode] resultDisplayType: typing_extensions.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] @@ -6614,6 +7077,17 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigImage( ): url: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigNode( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + iconUrl: str + outputSchema: dict[str, typing.Any] + parameterSchema: dict[str, typing.Any] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "TRIGGER", "FLOW", "CONNECTOR"] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUIComponentField( typing_extensions.TypedDict, total=False @@ -6656,9 +7130,13 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettings( "SEARCH_WITH_ANSWER", "SEARCH_WITH_FOLLOW_UPS", ] + modelConfigs: dict[str, typing.Any] resultDescriptionType: typing_extensions.Literal[ "RESULT_DISPLAY_TYPE_UNSPECIFIED", "SNIPPET", "EXTRACTIVE_ANSWER" ] + searchAddonSpec: ( + GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec + ) @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig( @@ -6680,6 +7158,14 @@ class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerCon modelVersion: str resultCount: int +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec( + typing_extensions.TypedDict, total=False +): + generativeAnswerAddOnDisabled: bool + kpiPersonalizationAddOnDisabled: bool + semanticAddOnDisabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -6944,6 +7430,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -7107,6 +7594,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -7137,6 +7625,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -7150,10 +7639,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -7195,6 +7687,27 @@ class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -7237,6 +7750,21 @@ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecom class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -7278,6 +7806,7 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntryOperationMetadata( @@ -7446,6 +7975,7 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] @typing.type_check_only @@ -7454,6 +7984,13 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse( typing_extensions.TypedDict, total=False @@ -7476,6 +8013,9 @@ class GoogleCloudDiscoveryengineV1betaOrganicCrawlRateTimeSeries( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @@ -7484,6 +8024,17 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -7497,6 +8048,8 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -7611,6 +8164,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec] dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec @@ -7622,6 +8176,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -7639,6 +8194,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -7776,6 +8334,16 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -7863,6 +8431,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -8037,6 +8621,16 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserStore( + typing_extensions.TypedDict, total=False +): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False @@ -8153,7 +8747,9 @@ class GoogleCloudNotebooklmV1alphaFailureReason( domainBlocked: GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked googleDriveError: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError ingestionError: GoogleCloudNotebooklmV1alphaFailureReasonIngestionError + mimeTypeBlocked: GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked paywallError: GoogleCloudNotebooklmV1alphaFailureReasonPaywallError + policyCheckFailed: GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed sourceEmpty: GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty sourceLimitExceeded: GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded sourceTooLong: GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong @@ -8204,11 +8800,21 @@ class GoogleCloudNotebooklmV1alphaFailureReasonIngestionError( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonPaywallError( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty( typing_extensions.TypedDict, total=False @@ -8344,21 +8950,6 @@ class GoogleCloudNotebooklmV1alphaSourceSettings( "SOURCE_STATUS_TENTATIVE", ] -@typing.type_check_only -class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest( - typing_extensions.TypedDict, total=False -): - blob: GdataMedia - mediaRequestInfo: ApiservingMediaRequestInfo - sourceId: str - -@typing.type_check_only -class GoogleCloudNotebooklmV1alphaUploadSourceFileResponse( - typing_extensions.TypedDict, total=False -): - mediaResponseInfo: ApiservingMediaResponseInfo - sourceId: GoogleCloudNotebooklmV1alphaSourceId - @typing.type_check_only class GoogleCloudNotebooklmV1alphaUserContent(typing_extensions.TypedDict, total=False): agentspaceContent: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent @@ -8410,6 +9001,22 @@ class GoogleCloudNotebooklmV1alphaYoutubeMetadata( channelName: str videoId: str +@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 diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi index e64418115..ba6277604 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/resources.pyi @@ -13,25 +13,6 @@ _list = list @typing.type_check_only class DiscoveryEngineResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class MediaResource(googleapiclient.discovery.Resource): - def download( - self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> GdataMediaHttpRequest: ... - def download_media( - self, - *, - name: str, - fileId: str = ..., - viewId: str = ..., - **kwargs: typing.Any, - ) -> BytesHttpRequest: ... - @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -453,6 +434,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaAnswerQueryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1betaServingConfigHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -902,9 +896,48 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): class EnginesResource(googleapiclient.discovery.Resource): @typing.type_check_only class AssistantsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AgentsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource( + googleapiclient.discovery.Resource + ): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + + def operations(self) -> OperationsResource: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaAssistant = ..., + assistantId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaAssistantHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1betaAssistantHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaListAssistantsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDiscoveryengineV1betaListAssistantsResponseHttpRequest, + previous_response: GoogleCloudDiscoveryengineV1betaListAssistantsResponse, + ) -> ( + GoogleCloudDiscoveryengineV1betaListAssistantsResponseHttpRequest + | None + ): ... def patch( self, *, @@ -920,6 +953,7 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaStreamAssistRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaStreamAssistResponseHttpRequest: ... + def agents(self) -> AgentsResource: ... @typing.type_check_only class CompletionConfigResource(googleapiclient.discovery.Resource): @@ -1067,6 +1101,19 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaAnswerQueryRequest = ..., **kwargs: typing.Any, ) -> GoogleCloudDiscoveryengineV1betaAnswerQueryResponseHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDiscoveryengineV1betaServingConfigHttpRequest + ): ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> ( @@ -1621,6 +1668,17 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ) -> ( GoogleCloudDiscoveryengineV1betaAnswerQueryResponseHttpRequest ): ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaServingConfig = ..., + servingConfigId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaServingConfigHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleProtobufEmptyHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudDiscoveryengineV1betaServingConfigHttpRequest: ... @@ -2317,13 +2375,21 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): @typing.type_check_only class UserStoresResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LicenseConfigsUsageStatsResource( + googleapiclient.discovery.Resource + ): + def list( + self, *, parent: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponseHttpRequest: ... + @typing.type_check_only class UserLicensesResource(googleapiclient.discovery.Resource): def list( self, *, parent: str, - filter: str = ..., + orderBy: str = ..., pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any, @@ -2344,6 +2410,31 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): body: GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest = ..., **kwargs: typing.Any, ) -> GoogleLongrunningOperationHttpRequest: ... + def create( + self, + *, + parent: str, + body: GoogleCloudDiscoveryengineV1betaUserStore = ..., + userStoreId: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaUserStoreHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDiscoveryengineV1betaUserStoreHttpRequest: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDiscoveryengineV1betaUserStore = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDiscoveryengineV1betaUserStoreHttpRequest: ... + def licenseConfigsUsageStats( + self, + ) -> LicenseConfigsUsageStatsResource: ... def userLicenses(self) -> UserLicensesResource: ... def getAclConfig( @@ -2445,17 +2536,8 @@ class DiscoveryEngineResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... - def media(self) -> MediaResource: ... def projects(self) -> ProjectsResource: ... -@typing.type_check_only -class GdataMediaHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> GdataMedia: ... - @typing.type_check_only class GoogleApiHttpBodyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2664,6 +2746,16 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfigHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaLicenseConfig: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListAssistantsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaListAssistantsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2774,6 +2866,16 @@ class GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse: ... +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse: ... + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponseHttpRequest( googleapiclient.http.HttpRequest @@ -2985,35 +3087,37 @@ class GoogleCloudDiscoveryengineV1betaUserEventHttpRequest( ) -> GoogleCloudDiscoveryengineV1betaUserEvent: ... @typing.type_check_only -class GoogleLongrunningListOperationsResponseHttpRequest( +class GoogleCloudDiscoveryengineV1betaUserStoreHttpRequest( googleapiclient.http.HttpRequest ): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleLongrunningListOperationsResponse: ... + ) -> GoogleCloudDiscoveryengineV1betaUserStore: ... @typing.type_check_only -class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): +class GoogleLongrunningListOperationsResponseHttpRequest( + googleapiclient.http.HttpRequest +): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleLongrunningOperation: ... + ) -> GoogleLongrunningListOperationsResponse: ... @typing.type_check_only -class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): +class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> GoogleProtobufEmpty: ... + ) -> GoogleLongrunningOperation: ... @typing.type_check_only -class BytesHttpRequest(googleapiclient.http.HttpRequest): +class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( self, http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, - ) -> bytes: ... + ) -> GoogleProtobufEmpty: ... diff --git a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi index 5bd30bf50..6d7152cde 100644 --- a/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/discoveryengine/v1beta/schemas.pyi @@ -4,124 +4,6 @@ import typing_extensions _list = list -@typing.type_check_only -class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): - blobGeneration: str - blobId: str - downloadReadHandle: str - readToken: str - uploadMetadataContainer: str - -@typing.type_check_only -class GdataCompositeMedia(typing_extensions.TypedDict, total=False): - blobRef: str - blobstore2Info: GdataBlobstore2Info - cosmoBinaryReference: str - crc32cHash: int - inline: str - length: str - md5Hash: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", "BLOB_REF", "INLINE", "BIGSTORE_REF", "COSMO_BINARY_REFERENCE" - ] - sha1Hash: str - -@typing.type_check_only -class GdataContentTypeInfo(typing_extensions.TypedDict, total=False): - bestGuess: str - fromBytes: str - fromFileName: str - fromHeader: str - fromUrlPath: str - -@typing.type_check_only -class GdataDiffChecksumsResponse(typing_extensions.TypedDict, total=False): - checksumsLocation: GdataCompositeMedia - chunkSizeBytes: str - objectLocation: GdataCompositeMedia - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDiffDownloadResponse(typing_extensions.TypedDict, total=False): - objectLocation: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffUploadRequest(typing_extensions.TypedDict, total=False): - checksumsInfo: GdataCompositeMedia - objectInfo: GdataCompositeMedia - objectVersion: str - -@typing.type_check_only -class GdataDiffUploadResponse(typing_extensions.TypedDict, total=False): - objectVersion: str - originalObject: GdataCompositeMedia - -@typing.type_check_only -class GdataDiffVersionResponse(typing_extensions.TypedDict, total=False): - objectSizeBytes: str - objectVersion: str - -@typing.type_check_only -class GdataDownloadParameters(typing_extensions.TypedDict, total=False): - allowGzipCompression: bool - ignoreRange: bool - -@typing.type_check_only -class GdataMedia(typing_extensions.TypedDict, total=False): - algorithm: str - bigstoreObjectRef: str - blobRef: str - blobstore2Info: GdataBlobstore2Info - compositeMedia: _list[GdataCompositeMedia] - contentType: str - contentTypeInfo: GdataContentTypeInfo - cosmoBinaryReference: str - crc32cHash: int - diffChecksumsResponse: GdataDiffChecksumsResponse - diffDownloadResponse: GdataDiffDownloadResponse - diffUploadRequest: GdataDiffUploadRequest - diffUploadResponse: GdataDiffUploadResponse - diffVersionResponse: GdataDiffVersionResponse - downloadParameters: GdataDownloadParameters - filename: str - hash: str - hashVerified: bool - inline: str - isPotentialRetry: bool - length: str - md5Hash: str - mediaId: str - objectId: GdataObjectId - path: str - referenceType: typing_extensions.Literal[ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES", - ] - sha1Hash: str - sha256Hash: str - timestamp: str - token: str - -@typing.type_check_only -class GdataObjectId(typing_extensions.TypedDict, total=False): - bucketName: str - generation: str - objectName: str - @typing.type_check_only class GoogleApiDistribution(typing_extensions.TypedDict, total=False): bucketCounts: _list[str] @@ -316,6 +198,9 @@ class GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec( @typing.type_check_only class GoogleCloudDiscoveryengineV1Assistant(typing_extensions.TypedDict, total=False): customerPolicy: GoogleCloudDiscoveryengineV1AssistantCustomerPolicy + defaultWebGroundingToggleOff: bool + description: str + displayName: str enabledTools: dict[str, typing.Any] generationConfig: GoogleCloudDiscoveryengineV1AssistantGenerationConfig name: str @@ -363,7 +248,9 @@ class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig( class GoogleCloudDiscoveryengineV1AssistantGenerationConfig( typing_extensions.TypedDict, total=False ): + allowedModelIds: _list[str] defaultLanguage: str + defaultModelId: str systemInstruction: ( GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction ) @@ -652,6 +539,7 @@ class GoogleCloudDiscoveryengineV1DataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -764,6 +652,7 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -783,6 +672,9 @@ class GoogleCloudDiscoveryengineV1DataStore(typing_extensions.TypedDict, total=F isInfobotFaqDataStore: bool kmsKeyName: str name: str + naturalLanguageQueryUnderstandingConfig: ( + GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig + ) servingConfigDataStore: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore solutionTypes: _list[ typing_extensions.Literal[ @@ -940,6 +832,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -970,6 +863,7 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1EngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1CmekConfig commonConfig: GoogleCloudDiscoveryengineV1EngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -983,10 +877,13 @@ class GoogleCloudDiscoveryengineV1Engine(typing_extensions.TypedDict, total=Fals industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -1028,6 +925,25 @@ class GoogleCloudDiscoveryengineV1EngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1EngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -1070,6 +986,21 @@ class GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfigRecommend class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -1083,6 +1014,7 @@ class GoogleCloudDiscoveryengineV1HealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1IdentityMappingEntryOperationMetadata( @@ -1221,16 +1153,44 @@ class GoogleCloudDiscoveryengineV1LicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig( + typing_extensions.TypedDict, total=False +): + mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1Project(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig name: str provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -1244,6 +1204,8 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig( typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1ObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -1566,6 +1528,14 @@ class GoogleCloudDiscoveryengineV1UserLicense(typing_extensions.TypedDict, total userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1UserStore(typing_extensions.TypedDict, total=False): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1WorkspaceConfig( typing_extensions.TypedDict, total=False @@ -1602,6 +1572,13 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig( serviceName: str useStaticSecrets: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig( typing_extensions.TypedDict, total=False @@ -2404,6 +2381,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector( "THIRD_PARTY_FEDERATED", "THIRD_PARTY_EUA", "GCNV", + "GOOGLE_CHAT", ] createEuaSaas: bool createTime: str @@ -2518,6 +2496,7 @@ class GoogleCloudDiscoveryengineV1alphaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -2583,6 +2562,13 @@ class GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries( userTriggeredCrawlErrorRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries userTriggeredCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteAgentMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata( typing_extensions.TypedDict, total=False @@ -2618,6 +2604,12 @@ class GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeletePatientFiltersRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata( typing_extensions.TypedDict, total=False @@ -2645,6 +2637,13 @@ class GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata( createTime: str updateTime: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata( + typing_extensions.TypedDict, total=False +): + failureCount: str + successCount: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaDestinationConfig( typing_extensions.TypedDict, total=False @@ -2718,6 +2717,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -2748,6 +2748,7 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1alphaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -2761,10 +2762,13 @@ class GoogleCloudDiscoveryengineV1alphaEngine(typing_extensions.TypedDict, total industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig recommendationMetadata: ( GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata ) @@ -2812,6 +2816,27 @@ class GoogleCloudDiscoveryengineV1alphaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -2868,6 +2893,21 @@ class GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata( class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -3000,6 +3040,7 @@ class GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata( @@ -3178,6 +3219,7 @@ class GoogleCloudDiscoveryengineV1alphaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] @typing.type_check_only @@ -3203,6 +3245,13 @@ class GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse( typing_extensions.TypedDict, total=False @@ -3223,10 +3272,22 @@ class GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries( googleOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries vertexAiOrganicCrawlRate: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaPatientFilterOperationMetadata( + typing_extensions.TypedDict, total=False +): + createTime: str + filtersAddedCount: str + filtersRemovedCount: str + updateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProject( typing_extensions.TypedDict, total=False ): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig @@ -3235,6 +3296,17 @@ class GoogleCloudDiscoveryengineV1alphaProject( provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -3248,6 +3320,8 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1alphaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -3415,6 +3489,20 @@ class GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse( error: GoogleRpcStatus state: typing_extensions.Literal["STATE_UNSPECIFIED", "SUCCEEDED", "FAILED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaRemovePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest( + typing_extensions.TypedDict, total=False +): + dataStore: str + filterGroups: _list[str] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSafetyRating( typing_extensions.TypedDict, total=False @@ -3467,6 +3555,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec] customFineTuningSpec: GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec @@ -3479,6 +3568,7 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -3496,6 +3586,9 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -3634,6 +3727,16 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -3721,6 +3824,22 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -4711,6 +4830,9 @@ class GoogleCloudDiscoveryengineV1betaAssistant( typing_extensions.TypedDict, total=False ): customerPolicy: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy + defaultWebGroundingToggleOff: bool + description: str + displayName: str enabledTools: dict[str, typing.Any] generationConfig: GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig name: str @@ -4804,7 +4926,9 @@ class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig( class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig( typing_extensions.TypedDict, total=False ): + allowedModelIds: _list[str] defaultLanguage: str + defaultModelId: str systemInstruction: ( GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction ) @@ -5467,6 +5591,7 @@ class GoogleCloudDiscoveryengineV1betaDataStore( "CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE", "CONFIGURABLE_CONSUMPTION_EMBEDDING", ] + configurableBillingApproachUpdateTime: str contentConfig: typing_extensions.Literal[ "CONTENT_CONFIG_UNSPECIFIED", "NO_CONTENT", @@ -5692,6 +5817,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou ): enableGetProcessedDocument: bool enableImageAnnotation: bool + enableLlmLayoutParsing: bool enableTableAnnotation: bool excludeHtmlClasses: _list[str] excludeHtmlElements: _list[str] @@ -5739,6 +5865,7 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= appType: typing_extensions.Literal["APP_TYPE_UNSPECIFIED", "APP_TYPE_INTRANET"] chatEngineConfig: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig chatEngineMetadata: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata + cmekConfig: GoogleCloudDiscoveryengineV1betaCmekConfig commonConfig: GoogleCloudDiscoveryengineV1betaEngineCommonConfig configurableBillingApproach: typing_extensions.Literal[ "CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED", @@ -5752,10 +5879,13 @@ class GoogleCloudDiscoveryengineV1betaEngine(typing_extensions.TypedDict, total= industryVertical: typing_extensions.Literal[ "INDUSTRY_VERTICAL_UNSPECIFIED", "GENERIC", "MEDIA", "HEALTHCARE_FHIR" ] + knowledgeGraphConfig: GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig mediaRecommendationEngineConfig: ( GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig ) + modelConfigs: dict[str, typing.Any] name: str + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig searchEngineConfig: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig solutionType: typing_extensions.Literal[ "SOLUTION_TYPE_UNSPECIFIED", @@ -5797,6 +5927,27 @@ class GoogleCloudDiscoveryengineV1betaEngineCommonConfig( ): companyName: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfig( + typing_extensions.TypedDict, total=False +): + cloudKnowledgeGraphTypes: _list[str] + enableCloudKnowledgeGraph: bool + enablePrivateKnowledgeGraph: bool + featureConfig: ( + GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig + ) + privateKnowledgeGraphTypes: _list[str] + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaEngineKnowledgeGraphConfigFeatureConfig( + typing_extensions.TypedDict, total=False +): + disablePrivateKgAutoComplete: bool + disablePrivateKgEnrichment: bool + disablePrivateKgQueryUiChips: bool + disablePrivateKgQueryUnderstanding: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig( typing_extensions.TypedDict, total=False @@ -5839,6 +5990,21 @@ class GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfigRecom class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig( typing_extensions.TypedDict, total=False ): + requiredSubscriptionTier: typing_extensions.Literal[ + "SUBSCRIPTION_TIER_UNSPECIFIED", + "SUBSCRIPTION_TIER_SEARCH", + "SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT", + "SUBSCRIPTION_TIER_NOTEBOOK_LM", + "SUBSCRIPTION_TIER_FRONTLINE_WORKER", + "SUBSCRIPTION_TIER_AGENTSPACE_STARTER", + "SUBSCRIPTION_TIER_AGENTSPACE_BUSINESS", + "SUBSCRIPTION_TIER_ENTERPRISE", + "SUBSCRIPTION_TIER_EDU", + "SUBSCRIPTION_TIER_EDU_PRO", + "SUBSCRIPTION_TIER_EDU_EMERGING", + "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", + ] searchAddOns: _list[ typing_extensions.Literal["SEARCH_ADD_ON_UNSPECIFIED", "SEARCH_ADD_ON_LLM"] ] @@ -5946,12 +6112,14 @@ class GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig( ): enableConfigurableSchema: bool enableStaticIndexingForBatchIngestion: bool + initialFilterGroups: _list[str] @typing.type_check_only class GoogleCloudDiscoveryengineV1betaIdentityMappingEntry( typing_extensions.TypedDict, total=False ): externalIdentity: str + externalIdentityName: str groupId: str userId: str @@ -6232,8 +6400,23 @@ class GoogleCloudDiscoveryengineV1betaLicenseConfig( "SUBSCRIPTION_TIER_EDU_PRO", "SUBSCRIPTION_TIER_EDU_EMERGING", "SUBSCRIPTION_TIER_EDU_PRO_EMERGING", + "SUBSCRIPTION_TIER_FRONTLINE_STARTER", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats( + typing_extensions.TypedDict, total=False +): + licenseConfig: str + usedLicenseCount: str + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListAssistantsResponse( + typing_extensions.TypedDict, total=False +): + assistants: _list[GoogleCloudDiscoveryengineV1betaAssistant] + nextPageToken: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse( typing_extensions.TypedDict, total=False @@ -6318,6 +6501,14 @@ class GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse( identityMappingEntries: _list[GoogleCloudDiscoveryengineV1betaIdentityMappingEntry] nextPageToken: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse( + typing_extensions.TypedDict, total=False +): + licenseConfigUsageStats: _list[ + GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse( typing_extensions.TypedDict, total=False @@ -6381,6 +6572,13 @@ class GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig( ): mode: typing_extensions.Literal["MODE_UNSPECIFIED", "DISABLED", "ENABLED"] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaObservabilityConfig( + typing_extensions.TypedDict, total=False +): + observabilityEnabled: bool + sensitiveLoggingEnabled: bool + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaObtainCrawlRateRequest( typing_extensions.TypedDict, total=False @@ -6441,6 +6639,9 @@ class GoogleCloudDiscoveryengineV1betaPrincipal( @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total=False): + configurableBillingStatus: ( + GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus + ) createTime: str customerProvidedConfig: ( GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig @@ -6449,6 +6650,17 @@ class GoogleCloudDiscoveryengineV1betaProject(typing_extensions.TypedDict, total provisionCompletionTime: str serviceTermsMap: dict[str, typing.Any] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus( + typing_extensions.TypedDict, total=False +): + effectiveIndexingCoreThreshold: str + effectiveSearchQpmThreshold: str + indexingCoreThresholdNextUpdateTime: str + searchQpmThresholdNextUpdateTime: str + startTime: str + terminateTime: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig( typing_extensions.TypedDict, total=False @@ -6462,6 +6674,8 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon typing_extensions.TypedDict, total=False ): modelArmorConfig: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig + observabilityConfig: GoogleCloudDiscoveryengineV1betaObservabilityConfig + optOutNotebookSharing: bool @typing.type_check_only class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig( @@ -6821,6 +7035,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( branch: str canonicalFilter: str contentSearchSpec: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec + crowdingSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec] dataStoreSpecs: _list[GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec] displaySpec: GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec embeddingSpec: GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec @@ -6832,6 +7047,7 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( offset: int oneBoxPageSize: int orderBy: str + pageCategories: _list[str] pageSize: int pageToken: str params: dict[str, typing.Any] @@ -6849,6 +7065,9 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest( "RANK_BY_FORMULA", ] regionCode: str + relevanceFilterSpec: ( + GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec + ) relevanceScoreSpec: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec relevanceThreshold: typing_extensions.Literal[ "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" @@ -6986,6 +7205,16 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecM "FIGURE_GENERATION_ONLY", ] +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec( + typing_extensions.TypedDict, total=False +): + field: str + maxCount: int + mode: typing_extensions.Literal[ + "MODE_UNSPECIFIED", "DROP_CROWDED_RESULTS", "DEMOTE_CROWDED_RESULTS_TO_END" + ] + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec( typing_extensions.TypedDict, total=False @@ -7073,6 +7302,22 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec( condition: typing_extensions.Literal["CONDITION_UNSPECIFIED", "DISABLED", "AUTO"] pinUnexpandedResults: bool +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec( + typing_extensions.TypedDict, total=False +): + keywordSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + semanticSearchThreshold: GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec + +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec( + typing_extensions.TypedDict, total=False +): + relevanceThreshold: typing_extensions.Literal[ + "RELEVANCE_THRESHOLD_UNSPECIFIED", "LOWEST", "LOW", "MEDIUM", "HIGH" + ] + semanticRelevanceThreshold: float + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec( typing_extensions.TypedDict, total=False @@ -7127,6 +7372,9 @@ class GoogleCloudDiscoveryengineV1betaSearchResponse( redirectUri: str results: _list[GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult] searchLinkPromotions: _list[GoogleCloudDiscoveryengineV1betaSearchLinkPromotion] + semanticState: typing_extensions.Literal[ + "SEMANTIC_STATE_UNSPECIFIED", "DISABLED", "ENABLED" + ] sessionInfo: GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo suggestedQuery: str summary: GoogleCloudDiscoveryengineV1betaSearchResponseSummary @@ -7600,6 +7848,7 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistResponse( ): answer: GoogleCloudDiscoveryengineV1betaAssistAnswer assistToken: str + invocationTools: _list[str] sessionInfo: GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo @typing.type_check_only @@ -7791,6 +8040,16 @@ class GoogleCloudDiscoveryengineV1betaUserLicense( userPrincipal: str userProfile: str +@typing.type_check_only +class GoogleCloudDiscoveryengineV1betaUserStore( + typing_extensions.TypedDict, total=False +): + defaultLicenseConfig: str + displayName: str + enableExpiredLicenseAutoUpdate: bool + enableLicenseAutoRegister: bool + name: str + @typing.type_check_only class GoogleCloudDiscoveryengineV1betaWorkspaceConfig( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi index 91f6090ce..81807a734 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/resources.pyi @@ -27,145 +27,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): @typing.type_check_only class CampaignsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class TargetingTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AssignedTargetingOptionsResource( - googleapiclient.discovery.Resource - ): - def get( - self, - *, - advertiserId: str, - campaignId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def list( - self, - *, - advertiserId: str, - campaignId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListCampaignAssignedTargetingOptionsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListCampaignAssignedTargetingOptionsResponseHttpRequest, - previous_response: ListCampaignAssignedTargetingOptionsResponse, - ) -> ( - ListCampaignAssignedTargetingOptionsResponseHttpRequest | None - ): ... - - def assignedTargetingOptions( - self, - ) -> AssignedTargetingOptionsResource: ... - def create( self, *, advertiserId: str, body: Campaign = ..., **kwargs: typing.Any ) -> CampaignHttpRequest: ... @@ -190,22 +51,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_request: ListCampaignsResponseHttpRequest, previous_response: ListCampaignsResponse, ) -> ListCampaignsResponseHttpRequest | None: ... - def listAssignedTargetingOptions( - self, - *, - advertiserId: str, - campaignId: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> BulkListCampaignAssignedTargetingOptionsResponseHttpRequest: ... - def listAssignedTargetingOptions_next( - self, - previous_request: BulkListCampaignAssignedTargetingOptionsResponseHttpRequest, - previous_response: BulkListCampaignAssignedTargetingOptionsResponse, - ) -> BulkListCampaignAssignedTargetingOptionsResponseHttpRequest | None: ... def patch( self, *, @@ -215,7 +60,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> CampaignHttpRequest: ... - def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class ChannelsResource(googleapiclient.discovery.Resource): @@ -355,266 +199,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): @typing.type_check_only class InsertionOrdersResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class TargetingTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AssignedTargetingOptionsResource( - googleapiclient.discovery.Resource - ): - def create( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - body: AssignedTargetingOption = ..., - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def delete( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... - def get( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def list( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - ], - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest, - previous_response: ListInsertionOrderAssignedTargetingOptionsResponse, - ) -> ( - ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest - | None - ): ... - - def assignedTargetingOptions( - self, - ) -> AssignedTargetingOptionsResource: ... - def create( self, *, @@ -643,24 +227,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_request: ListInsertionOrdersResponseHttpRequest, previous_response: ListInsertionOrdersResponse, ) -> ListInsertionOrdersResponseHttpRequest | None: ... - def listAssignedTargetingOptions( - self, - *, - advertiserId: str, - insertionOrderId: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest: ... - def listAssignedTargetingOptions_next( - self, - previous_request: BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest, - previous_response: BulkListInsertionOrderAssignedTargetingOptionsResponse, - ) -> ( - BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest | None - ): ... def patch( self, *, @@ -670,7 +236,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> InsertionOrderHttpRequest: ... - def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class InvoicesResource(googleapiclient.discovery.Resource): @@ -1004,13 +569,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): body: DuplicateLineItemRequest = ..., **kwargs: typing.Any, ) -> DuplicateLineItemResponseHttpRequest: ... - def generateDefault( - self, - *, - advertiserId: str, - body: GenerateDefaultLineItemRequest = ..., - **kwargs: typing.Any, - ) -> LineItemHttpRequest: ... def get( self, *, advertiserId: str, lineItemId: str, **kwargs: typing.Any ) -> LineItemHttpRequest: ... @@ -3000,26 +2558,6 @@ class BulkListAssignedTargetingOptionsResponseHttpRequest( num_retries: int = 0, ) -> BulkListAssignedTargetingOptionsResponse: ... -@typing.type_check_only -class BulkListCampaignAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> BulkListCampaignAssignedTargetingOptionsResponse: ... - -@typing.type_check_only -class BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> BulkListInsertionOrderAssignedTargetingOptionsResponse: ... - @typing.type_check_only class BulkUpdateLineItemsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3240,16 +2778,6 @@ class ListAssignedLocationsResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListAssignedLocationsResponse: ... -@typing.type_check_only -class ListCampaignAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListCampaignAssignedTargetingOptionsResponse: ... - @typing.type_check_only class ListCampaignsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3330,16 +2858,6 @@ class ListGuaranteedOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListGuaranteedOrdersResponse: ... -@typing.type_check_only -class ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListInsertionOrderAssignedTargetingOptionsResponse: ... - @typing.type_check_only class ListInsertionOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi index 98091f97c..25cd91b0b 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v2/schemas.pyi @@ -614,20 +614,6 @@ class BulkListAssignedTargetingOptionsResponse( lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] nextPageToken: str -@typing.type_check_only -class BulkListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - -@typing.type_check_only -class BulkListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): lineItemIds: _list[str] @@ -1053,6 +1039,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -1723,6 +1710,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -1820,6 +1808,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -1916,6 +1905,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2015,6 +2005,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -2090,41 +2081,6 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] -@typing.type_check_only -class GenerateDefaultLineItemRequest(typing_extensions.TypedDict, total=False): - containsEuPoliticalAds: typing_extensions.Literal[ - "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", - "CONTAINS_EU_POLITICAL_ADVERTISING", - "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", - ] - displayName: str - insertionOrderId: str - lineItemType: typing_extensions.Literal[ - "LINE_ITEM_TYPE_UNSPECIFIED", - "LINE_ITEM_TYPE_DISPLAY_DEFAULT", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_VIDEO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", - "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", - "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME", - ] - mobileApp: MobileApp - @typing.type_check_only class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): displayName: str @@ -2340,6 +2296,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -2491,6 +2448,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", + "SUSPICIOUS_ACTIVITY_FD", ] excludedAdultRisk: typing_extensions.Literal[ "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" @@ -2645,6 +2603,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str inventorySourceId: str @@ -2920,13 +2879,6 @@ class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str -@typing.type_check_only -class ListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class ListCampaignsResponse(typing_extensions.TypedDict, total=False): campaigns: _list[Campaign] @@ -2977,13 +2929,6 @@ class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str -@typing.type_check_only -class ListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): insertionOrders: _list[InsertionOrder] @@ -3555,6 +3500,7 @@ class RateDetails(typing_extensions.TypedDict, total=False): "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", "INVENTORY_SOURCE_RATE_TYPE_CPD", + "INVENTORY_SOURCE_RATE_TYPE_CPH", "INVENTORY_SOURCE_RATE_TYPE_FLAT", ] minimumSpend: Money @@ -3646,6 +3592,7 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -3675,6 +3622,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi index fa98e7df6..2b713bc60 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/resources.pyi @@ -227,147 +227,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): @typing.type_check_only class CampaignsResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class TargetingTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AssignedTargetingOptionsResource( - googleapiclient.discovery.Resource - ): - def get( - self, - *, - advertiserId: str, - campaignId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def list( - self, - *, - advertiserId: str, - campaignId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListCampaignAssignedTargetingOptionsResponseHttpRequest: ... - def list_next( - self, - previous_request: ListCampaignAssignedTargetingOptionsResponseHttpRequest, - previous_response: ListCampaignAssignedTargetingOptionsResponse, - ) -> ( - ListCampaignAssignedTargetingOptionsResponseHttpRequest | None - ): ... - - def assignedTargetingOptions( - self, - ) -> AssignedTargetingOptionsResource: ... - def create( self, *, advertiserId: str, body: Campaign = ..., **kwargs: typing.Any ) -> CampaignHttpRequest: ... @@ -392,22 +251,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_request: ListCampaignsResponseHttpRequest, previous_response: ListCampaignsResponse, ) -> ListCampaignsResponseHttpRequest | None: ... - def listAssignedTargetingOptions( - self, - *, - advertiserId: str, - campaignId: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> BulkListCampaignAssignedTargetingOptionsResponseHttpRequest: ... - def listAssignedTargetingOptions_next( - self, - previous_request: BulkListCampaignAssignedTargetingOptionsResponseHttpRequest, - previous_response: BulkListCampaignAssignedTargetingOptionsResponse, - ) -> BulkListCampaignAssignedTargetingOptionsResponseHttpRequest | None: ... def patch( self, *, @@ -417,7 +260,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> CampaignHttpRequest: ... - def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class ChannelsResource(googleapiclient.discovery.Resource): @@ -557,270 +399,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): @typing.type_check_only class InsertionOrdersResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class TargetingTypesResource(googleapiclient.discovery.Resource): - @typing.type_check_only - class AssignedTargetingOptionsResource( - googleapiclient.discovery.Resource - ): - def create( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - body: AssignedTargetingOption = ..., - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def delete( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... - def get( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - assignedTargetingOptionId: str, - **kwargs: typing.Any, - ) -> AssignedTargetingOptionHttpRequest: ... - def list( - self, - *, - advertiserId: str, - insertionOrderId: str, - targetingType: typing_extensions.Literal[ - "TARGETING_TYPE_UNSPECIFIED", - "TARGETING_TYPE_CHANNEL", - "TARGETING_TYPE_APP_CATEGORY", - "TARGETING_TYPE_APP", - "TARGETING_TYPE_URL", - "TARGETING_TYPE_DAY_AND_TIME", - "TARGETING_TYPE_AGE_RANGE", - "TARGETING_TYPE_REGIONAL_LOCATION_LIST", - "TARGETING_TYPE_PROXIMITY_LOCATION_LIST", - "TARGETING_TYPE_GENDER", - "TARGETING_TYPE_VIDEO_PLAYER_SIZE", - "TARGETING_TYPE_USER_REWARDED_CONTENT", - "TARGETING_TYPE_PARENTAL_STATUS", - "TARGETING_TYPE_CONTENT_INSTREAM_POSITION", - "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION", - "TARGETING_TYPE_DEVICE_TYPE", - "TARGETING_TYPE_AUDIENCE_GROUP", - "TARGETING_TYPE_BROWSER", - "TARGETING_TYPE_HOUSEHOLD_INCOME", - "TARGETING_TYPE_ON_SCREEN_POSITION", - "TARGETING_TYPE_THIRD_PARTY_VERIFIER", - "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION", - "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION", - "TARGETING_TYPE_ENVIRONMENT", - "TARGETING_TYPE_CARRIER_AND_ISP", - "TARGETING_TYPE_OPERATING_SYSTEM", - "TARGETING_TYPE_DEVICE_MAKE_MODEL", - "TARGETING_TYPE_KEYWORD", - "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST", - "TARGETING_TYPE_VIEWABILITY", - "TARGETING_TYPE_CATEGORY", - "TARGETING_TYPE_INVENTORY_SOURCE", - "TARGETING_TYPE_LANGUAGE", - "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS", - "TARGETING_TYPE_GEO_REGION", - "TARGETING_TYPE_INVENTORY_SOURCE_GROUP", - "TARGETING_TYPE_EXCHANGE", - "TARGETING_TYPE_SUB_EXCHANGE", - "TARGETING_TYPE_POI", - "TARGETING_TYPE_BUSINESS_CHAIN", - "TARGETING_TYPE_CONTENT_DURATION", - "TARGETING_TYPE_CONTENT_STREAM_TYPE", - "TARGETING_TYPE_NATIVE_CONTENT_POSITION", - "TARGETING_TYPE_OMID", - "TARGETING_TYPE_AUDIO_CONTENT_TYPE", - "TARGETING_TYPE_CONTENT_GENRE", - "TARGETING_TYPE_YOUTUBE_VIDEO", - "TARGETING_TYPE_YOUTUBE_CHANNEL", - "TARGETING_TYPE_SESSION_POSITION", - "TARGETING_TYPE_CONTENT_THEME_EXCLUSION", - ], - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ( - ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest - ): ... - def list_next( - self, - previous_request: ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest, - previous_response: ListInsertionOrderAssignedTargetingOptionsResponse, - ) -> ( - ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest - | None - ): ... - - def assignedTargetingOptions( - self, - ) -> AssignedTargetingOptionsResource: ... - def create( self, *, @@ -849,24 +427,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_request: ListInsertionOrdersResponseHttpRequest, previous_response: ListInsertionOrdersResponse, ) -> ListInsertionOrdersResponseHttpRequest | None: ... - def listAssignedTargetingOptions( - self, - *, - advertiserId: str, - insertionOrderId: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest: ... - def listAssignedTargetingOptions_next( - self, - previous_request: BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest, - previous_response: BulkListInsertionOrderAssignedTargetingOptionsResponse, - ) -> ( - BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest | None - ): ... def patch( self, *, @@ -876,7 +436,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> InsertionOrderHttpRequest: ... - def targetingTypes(self) -> TargetingTypesResource: ... @typing.type_check_only class InvoicesResource(googleapiclient.discovery.Resource): @@ -1214,13 +773,6 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): body: DuplicateLineItemRequest = ..., **kwargs: typing.Any, ) -> DuplicateLineItemResponseHttpRequest: ... - def generateDefault( - self, - *, - advertiserId: str, - body: GenerateDefaultLineItemRequest = ..., - **kwargs: typing.Any, - ) -> LineItemHttpRequest: ... def get( self, *, advertiserId: str, lineItemId: str, **kwargs: typing.Any ) -> LineItemHttpRequest: ... @@ -3080,26 +2632,6 @@ class BulkListAssignedTargetingOptionsResponseHttpRequest( num_retries: int = 0, ) -> BulkListAssignedTargetingOptionsResponse: ... -@typing.type_check_only -class BulkListCampaignAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> BulkListCampaignAssignedTargetingOptionsResponse: ... - -@typing.type_check_only -class BulkListInsertionOrderAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> BulkListInsertionOrderAssignedTargetingOptionsResponse: ... - @typing.type_check_only class BulkUpdateLineItemsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3378,16 +2910,6 @@ class ListAssignedLocationsResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListAssignedLocationsResponse: ... -@typing.type_check_only -class ListCampaignAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListCampaignAssignedTargetingOptionsResponse: ... - @typing.type_check_only class ListCampaignsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3488,16 +3010,6 @@ class ListGuaranteedOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListGuaranteedOrdersResponse: ... -@typing.type_check_only -class ListInsertionOrderAssignedTargetingOptionsResponseHttpRequest( - googleapiclient.http.HttpRequest -): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListInsertionOrderAssignedTargetingOptionsResponse: ... - @typing.type_check_only class ListInsertionOrdersResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi index e668ed4b2..08d03567f 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v3/schemas.pyi @@ -64,7 +64,6 @@ class AdGroup(typing_extensions.TypedDict, total=False): "AD_GROUP_FORMAT_RESPONSIVE", "AD_GROUP_FORMAT_REACH", "AD_GROUP_FORMAT_MASTHEAD", - "AD_GROUP_FORMAT_DEMAND_GEN", ] adGroupId: str advertiserId: str @@ -87,6 +86,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): class AdGroupAd(typing_extensions.TypedDict, total=False): adGroupAdId: str adGroupId: str + adPolicy: AdPolicy adUrls: _list[AdUrl] advertiserId: str audioAd: AudioAd @@ -113,6 +113,208 @@ class AdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): adGroupId: str assignedTargetingOption: AssignedTargetingOption +@typing.type_check_only +class AdPolicy(typing_extensions.TypedDict, total=False): + adPolicyApprovalStatus: typing_extensions.Literal[ + "AD_POLICY_APPROVAL_STATUS_UNKNOWN", + "DISAPPROVED", + "APPROVED_LIMITED", + "APPROVED", + "AREA_OF_INTEREST_ONLY", + ] + adPolicyReviewStatus: typing_extensions.Literal[ + "AD_POLICY_REVIEW_STATUS_UNKNOWN", + "REVIEW_IN_PROGRESS", + "REVIEWED", + "UNDER_APPEAL", + "ELIGIBLE_MAY_SERVE", + ] + adPolicyTopicEntry: _list[AdPolicyTopicEntry] + +@typing.type_check_only +class AdPolicyCriterionRestriction(typing_extensions.TypedDict, total=False): + countryCriterionId: str + countryLabel: str + +@typing.type_check_only +class AdPolicyTopicAppealInfo(typing_extensions.TypedDict, total=False): + appealFormLink: str + appealType: typing_extensions.Literal[ + "AD_POLICY_APPEAL_TYPE_UNKNOWN", "SELF_SERVICE_APPEAL", "APPEAL_FORM" + ] + +@typing.type_check_only +class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): + certificateDomainMismatchCountryList: ( + AdPolicyTopicConstraintAdPolicyCountryConstraintList + ) + certificateMissingCountryList: AdPolicyTopicConstraintAdPolicyCountryConstraintList + countryConstraint: AdPolicyTopicConstraintAdPolicyCountryConstraintList + globalCertificateDomainMismatch: ( + AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint + ) + globalCertificateMissing: ( + AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint + ) + requestCertificateFormLink: str + resellerConstraint: AdPolicyTopicConstraintAdPolicyResellerConstraint + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyCountryConstraintList( + typing_extensions.TypedDict, total=False +): + countries: _list[AdPolicyCriterionRestriction] + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyResellerConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): + appealInfo: AdPolicyTopicAppealInfo + helpCenterLink: str + policyDecisionType: typing_extensions.Literal[ + "AD_POLICY_DECISION_TYPE_UNKNOWN", "PURSUANT_TO_NOTICE", "GOOGLE_INVESTIGATION" + ] + policyEnforcementMeans: typing_extensions.Literal[ + "AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", "AUTOMATED", "HUMAN_REVIEW" + ] + policyLabel: str + policyTopic: str + policyTopicConstraints: _list[AdPolicyTopicConstraint] + policyTopicDescription: str + policyTopicEvidences: _list[AdPolicyTopicEvidence] + policyTopicType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", + "PROHIBITED", + "FULLY_LIMITED", + "LIMITED", + "DESCRIPTIVE", + "BROADENING", + "AREA_OF_INTEREST_ONLY", + ] + +@typing.type_check_only +class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): + counterfeit: AdPolicyTopicEvidenceCounterfeit + destinationMismatch: AdPolicyTopicEvidenceDestinationMismatch + destinationNotWorking: AdPolicyTopicEvidenceDestinationNotWorking + destinationTextList: AdPolicyTopicEvidenceDestinationTextList + httpCode: int + languageCode: str + legalRemoval: AdPolicyTopicEvidenceLegalRemoval + regionalRequirements: AdPolicyTopicEvidenceRegionalRequirements + textList: AdPolicyTopicEvidenceTextList + trademark: AdPolicyTopicEvidenceTrademark + websiteList: AdPolicyTopicEvidenceWebsiteList + +@typing.type_check_only +class AdPolicyTopicEvidenceCounterfeit(typing_extensions.TypedDict, total=False): + owners: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationMismatch( + typing_extensions.TypedDict, total=False +): + uriTypes: _list[ + typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", + "DISPLAY_URL", + "FINAL_URL", + "FINAL_MOBILE_URL", + "TRACKING_URL", + "MOBILE_TRACKING_URL", + ] + ] + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationNotWorking( + typing_extensions.TypedDict, total=False +): + device: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", + "DESKTOP", + "ANDROID", + "IOS", + ] + dnsErrorType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", + "HOSTNAME_NOT_FOUND", + "GOOGLE_CRAWLER_DNS_ISSUE", + ] + expandedUri: str + httpErrorCode: str + lastCheckedTime: str + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationTextList( + typing_extensions.TypedDict, total=False +): + destinationTexts: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False): + complaintType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", + "COPYRIGHT", + "COURT_ORDER", + "LOCAL_LEGAL", + ] + countryRestrictions: _list[AdPolicyCriterionRestriction] + dmca: AdPolicyTopicEvidenceLegalRemovalDmca + localLegal: AdPolicyTopicEvidenceLegalRemovalLocalLegal + restrictedUris: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemovalDmca(typing_extensions.TypedDict, total=False): + complainant: str + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemovalLocalLegal( + typing_extensions.TypedDict, total=False +): + lawType: str + +@typing.type_check_only +class AdPolicyTopicEvidenceRegionalRequirements( + typing_extensions.TypedDict, total=False +): + regionalRequirementsEntries: _list[ + AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry + ] + +@typing.type_check_only +class AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry( + typing_extensions.TypedDict, total=False +): + countryRestrictions: _list[AdPolicyCriterionRestriction] + legalPolicy: str + +@typing.type_check_only +class AdPolicyTopicEvidenceTextList(typing_extensions.TypedDict, total=False): + texts: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceTrademark(typing_extensions.TypedDict, total=False): + countryRestrictions: _list[AdPolicyCriterionRestriction] + owner: str + term: str + +@typing.type_check_only +class AdPolicyTopicEvidenceWebsiteList(typing_extensions.TypedDict, total=False): + websites: _list[str] + @typing.type_check_only class AdUrl(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal[ @@ -485,6 +687,7 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] int64Value: str onScreenPositionValue: typing_extensions.Literal[ @@ -1029,20 +1232,6 @@ class BulkListAssignedTargetingOptionsResponse( lineItemAssignedTargetingOptions: _list[LineItemAssignedTargetingOption] nextPageToken: str -@typing.type_check_only -class BulkListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - -@typing.type_check_only -class BulkListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class BulkUpdateLineItemsRequest(typing_extensions.TypedDict, total=False): lineItemIds: _list[str] @@ -1537,6 +1726,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -2265,6 +2455,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -2362,6 +2553,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -2458,6 +2650,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2557,6 +2750,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -2717,41 +2911,6 @@ class GenderTargetingOptionDetails(typing_extensions.TypedDict, total=False): "GENDER_UNSPECIFIED", "GENDER_MALE", "GENDER_FEMALE", "GENDER_UNKNOWN" ] -@typing.type_check_only -class GenerateDefaultLineItemRequest(typing_extensions.TypedDict, total=False): - containsEuPoliticalAds: typing_extensions.Literal[ - "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN", - "CONTAINS_EU_POLITICAL_ADVERTISING", - "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", - ] - displayName: str - insertionOrderId: str - lineItemType: typing_extensions.Literal[ - "LINE_ITEM_TYPE_UNSPECIFIED", - "LINE_ITEM_TYPE_DISPLAY_DEFAULT", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_VIDEO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL", - "LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INVENTORY", - "LINE_ITEM_TYPE_AUDIO_DEFAULT", - "LINE_ITEM_TYPE_VIDEO_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_ACTION", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_AUDIO", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_NON_SKIPPABLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_REACH_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_SIMPLE_OVER_THE_TOP", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_TARGET_FREQUENCY", - "LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIEW", - "LINE_ITEM_TYPE_DISPLAY_OUT_OF_HOME", - "LINE_ITEM_TYPE_VIDEO_OUT_OF_HOME", - ] - mobileApp: MobileApp - @typing.type_check_only class GeoRegionAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): displayName: str @@ -2967,6 +3126,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -3122,6 +3282,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", + "SUSPICIOUS_ACTIVITY_FD", ] excludedAdultRisk: typing_extensions.Literal[ "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" @@ -3277,6 +3438,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str inventorySourceId: str @@ -3598,13 +3760,6 @@ class ListAssignedLocationsResponse(typing_extensions.TypedDict, total=False): assignedLocations: _list[AssignedLocation] nextPageToken: str -@typing.type_check_only -class ListCampaignAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class ListCampaignsResponse(typing_extensions.TypedDict, total=False): campaigns: _list[Campaign] @@ -3665,13 +3820,6 @@ class ListGuaranteedOrdersResponse(typing_extensions.TypedDict, total=False): guaranteedOrders: _list[GuaranteedOrder] nextPageToken: str -@typing.type_check_only -class ListInsertionOrderAssignedTargetingOptionsResponse( - typing_extensions.TypedDict, total=False -): - assignedTargetingOptions: _list[AssignedTargetingOption] - nextPageToken: str - @typing.type_check_only class ListInsertionOrdersResponse(typing_extensions.TypedDict, total=False): insertionOrders: _list[InsertionOrder] @@ -4224,6 +4372,7 @@ class RateDetails(typing_extensions.TypedDict, total=False): "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", "INVENTORY_SOURCE_RATE_TYPE_CPD", + "INVENTORY_SOURCE_RATE_TYPE_CPH", "INVENTORY_SOURCE_RATE_TYPE_FLAT", ] minimumSpend: Money @@ -4315,6 +4464,7 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -4344,6 +4494,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi index ab5619a82..9d4e1dfd2 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/resources.pyi @@ -15,6 +15,48 @@ _list = list class DisplayVideoResource(googleapiclient.discovery.Resource): @typing.type_check_only class AdvertisersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AdAssetsResource(googleapiclient.discovery.Resource): + def bulkCreate( + self, + *, + advertiserId: str, + body: BulkCreateAdAssetsRequest = ..., + **kwargs: typing.Any, + ) -> BulkCreateAdAssetsResponseHttpRequest: ... + def create( + self, + *, + advertiserId: str, + body: CreateAdAssetRequest = ..., + **kwargs: typing.Any, + ) -> AdAssetHttpRequest: ... + def get( + self, *, advertiserId: str, adAssetId: str, **kwargs: typing.Any + ) -> AdAssetHttpRequest: ... + def list( + self, + *, + advertiserId: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAdAssetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAdAssetsResponseHttpRequest, + previous_response: ListAdAssetsResponse, + ) -> ListAdAssetsResponseHttpRequest | None: ... + def upload( + self, + *, + advertiserId: str, + body: UploadAdAssetRequest = ..., + **kwargs: typing.Any, + ) -> UploadAdAssetResponseHttpRequest: ... + @typing.type_check_only class AdGroupAdsResource(googleapiclient.discovery.Resource): def get( @@ -179,6 +221,69 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, ) -> AssignedTargetingOptionsResource: ... + @typing.type_check_only + class YoutubeAssetTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class YoutubeAssetAssociationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + advertiserId: str, + adGroupId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + body: YoutubeAssetAssociation = ..., + linkedEntity_lineItemId: str = ..., + **kwargs: typing.Any, + ) -> YoutubeAssetAssociationHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + adGroupId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + youtubeAssetAssociationId: str, + linkedEntity_lineItemId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + advertiserId: str, + adGroupId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + linkedEntity_lineItemId: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListYoutubeAssetAssociationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListYoutubeAssetAssociationsResponseHttpRequest, + previous_response: ListYoutubeAssetAssociationsResponse, + ) -> ListYoutubeAssetAssociationsResponseHttpRequest | None: ... + + def youtubeAssetAssociations( + self, + ) -> YoutubeAssetAssociationsResource: ... + def bulkListAssignedTargetingOptions( self, *, @@ -214,6 +319,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): previous_response: ListAdGroupsResponse, ) -> ListAdGroupsResponseHttpRequest | None: ... def targetingTypes(self) -> TargetingTypesResource: ... + def youtubeAssetTypes(self) -> YoutubeAssetTypesResource: ... @typing.type_check_only class AssetsResource(googleapiclient.discovery.Resource): @@ -1170,6 +1276,69 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): self, ) -> AssignedTargetingOptionsResource: ... + @typing.type_check_only + class YoutubeAssetTypesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class YoutubeAssetAssociationsResource( + googleapiclient.discovery.Resource + ): + def create( + self, + *, + advertiserId: str, + lineItemId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + body: YoutubeAssetAssociation = ..., + linkedEntity_adGroupId: str = ..., + **kwargs: typing.Any, + ) -> YoutubeAssetAssociationHttpRequest: ... + def delete( + self, + *, + advertiserId: str, + lineItemId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + youtubeAssetAssociationId: str, + linkedEntity_adGroupId: str = ..., + **kwargs: typing.Any, + ) -> EmptyHttpRequest: ... + def list( + self, + *, + advertiserId: str, + lineItemId: str, + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ], + linkedEntity_adGroupId: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListYoutubeAssetAssociationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListYoutubeAssetAssociationsResponseHttpRequest, + previous_response: ListYoutubeAssetAssociationsResponse, + ) -> ListYoutubeAssetAssociationsResponseHttpRequest | None: ... + + def youtubeAssetAssociations( + self, + ) -> YoutubeAssetAssociationsResource: ... + def bulkEditAssignedTargetingOptions( self, *, @@ -1249,6 +1418,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> LineItemHttpRequest: ... def targetingTypes(self) -> TargetingTypesResource: ... + def youtubeAssetTypes(self) -> YoutubeAssetTypesResource: ... @typing.type_check_only class LocationListsResource(googleapiclient.discovery.Resource): @@ -1739,6 +1909,7 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> AdvertiserHttpRequest: ... + def adAssets(self) -> AdAssetsResource: ... def adGroupAds(self) -> AdGroupAdsResource: ... def adGroups(self) -> AdGroupsResource: ... def assets(self) -> AssetsResource: ... @@ -2935,6 +3106,14 @@ class DisplayVideoResource(googleapiclient.discovery.Resource): def targetingTypes(self) -> TargetingTypesResource: ... def users(self) -> UsersResource: ... +@typing.type_check_only +class AdAssetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AdAsset: ... + @typing.type_check_only class AdGroupHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -2991,6 +3170,14 @@ class AuditAdvertiserResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AuditAdvertiserResponse: ... +@typing.type_check_only +class BulkCreateAdAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkCreateAdAssetsResponse: ... + @typing.type_check_only class BulkEditAdvertiserAssignedTargetingOptionsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -3331,6 +3518,14 @@ class LineItemHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LineItem: ... +@typing.type_check_only +class ListAdAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAdAssetsResponse: ... + @typing.type_check_only class ListAdGroupAdsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3627,6 +3822,14 @@ class ListUsersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListUsersResponse: ... +@typing.type_check_only +class ListYoutubeAssetAssociationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListYoutubeAssetAssociationsResponse: ... + @typing.type_check_only class LocationListHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3715,6 +3918,14 @@ class TargetingOptionHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> TargetingOption: ... +@typing.type_check_only +class UploadAdAssetResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UploadAdAssetResponse: ... + @typing.type_check_only class UserHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -3723,6 +3934,14 @@ class UserHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> User: ... +@typing.type_check_only +class YoutubeAssetAssociationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> YoutubeAssetAssociation: ... + @typing.type_check_only class BytesHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi index 34a060564..201cec1b1 100644 --- a/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi +++ b/googleapiclient-stubs/_apis/displayvideo/v4/schemas.pyi @@ -52,6 +52,25 @@ class ActiveViewVideoViewabilityMetricConfig(typing_extensions.TypedDict, total= "VIDEO_VOLUME_PERCENT_10", ] +@typing.type_check_only +class AdAsset(typing_extensions.TypedDict, total=False): + adAssetId: str + adAssetType: typing_extensions.Literal[ + "AD_ASSET_TYPE_UNSPECIFIED", + "AD_ASSET_TYPE_IMAGE", + "AD_ASSET_TYPE_YOUTUBE_VIDEO", + ] + entityStatus: typing_extensions.Literal[ + "ENTITY_STATUS_UNSPECIFIED", + "ENTITY_STATUS_ACTIVE", + "ENTITY_STATUS_ARCHIVED", + "ENTITY_STATUS_DRAFT", + "ENTITY_STATUS_PAUSED", + "ENTITY_STATUS_SCHEDULED_FOR_DELETION", + ] + name: str + youtubeVideoAsset: YoutubeVideoAsset + @typing.type_check_only class AdGroup(typing_extensions.TypedDict, total=False): adGroupFormat: typing_extensions.Literal[ @@ -64,7 +83,6 @@ class AdGroup(typing_extensions.TypedDict, total=False): "AD_GROUP_FORMAT_RESPONSIVE", "AD_GROUP_FORMAT_REACH", "AD_GROUP_FORMAT_MASTHEAD", - "AD_GROUP_FORMAT_DEMAND_GEN", ] adGroupId: str advertiserId: str @@ -87,6 +105,7 @@ class AdGroup(typing_extensions.TypedDict, total=False): class AdGroupAd(typing_extensions.TypedDict, total=False): adGroupAdId: str adGroupId: str + adPolicy: AdPolicy adUrls: _list[AdUrl] advertiserId: str audioAd: AudioAd @@ -113,6 +132,208 @@ class AdGroupAssignedTargetingOption(typing_extensions.TypedDict, total=False): adGroupId: str assignedTargetingOption: AssignedTargetingOption +@typing.type_check_only +class AdPolicy(typing_extensions.TypedDict, total=False): + adPolicyApprovalStatus: typing_extensions.Literal[ + "AD_POLICY_APPROVAL_STATUS_UNKNOWN", + "DISAPPROVED", + "APPROVED_LIMITED", + "APPROVED", + "AREA_OF_INTEREST_ONLY", + ] + adPolicyReviewStatus: typing_extensions.Literal[ + "AD_POLICY_REVIEW_STATUS_UNKNOWN", + "REVIEW_IN_PROGRESS", + "REVIEWED", + "UNDER_APPEAL", + "ELIGIBLE_MAY_SERVE", + ] + adPolicyTopicEntry: _list[AdPolicyTopicEntry] + +@typing.type_check_only +class AdPolicyCriterionRestriction(typing_extensions.TypedDict, total=False): + countryCriterionId: str + countryLabel: str + +@typing.type_check_only +class AdPolicyTopicAppealInfo(typing_extensions.TypedDict, total=False): + appealFormLink: str + appealType: typing_extensions.Literal[ + "AD_POLICY_APPEAL_TYPE_UNKNOWN", "SELF_SERVICE_APPEAL", "APPEAL_FORM" + ] + +@typing.type_check_only +class AdPolicyTopicConstraint(typing_extensions.TypedDict, total=False): + certificateDomainMismatchCountryList: ( + AdPolicyTopicConstraintAdPolicyCountryConstraintList + ) + certificateMissingCountryList: AdPolicyTopicConstraintAdPolicyCountryConstraintList + countryConstraint: AdPolicyTopicConstraintAdPolicyCountryConstraintList + globalCertificateDomainMismatch: ( + AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint + ) + globalCertificateMissing: ( + AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint + ) + requestCertificateFormLink: str + resellerConstraint: AdPolicyTopicConstraintAdPolicyResellerConstraint + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyCountryConstraintList( + typing_extensions.TypedDict, total=False +): + countries: _list[AdPolicyCriterionRestriction] + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicConstraintAdPolicyResellerConstraint( + typing_extensions.TypedDict, total=False +): ... + +@typing.type_check_only +class AdPolicyTopicEntry(typing_extensions.TypedDict, total=False): + appealInfo: AdPolicyTopicAppealInfo + helpCenterLink: str + policyDecisionType: typing_extensions.Literal[ + "AD_POLICY_DECISION_TYPE_UNKNOWN", "PURSUANT_TO_NOTICE", "GOOGLE_INVESTIGATION" + ] + policyEnforcementMeans: typing_extensions.Literal[ + "AD_POLICY_ENFORCEMENT_MEANS_UNKNOWN", "AUTOMATED", "HUMAN_REVIEW" + ] + policyLabel: str + policyTopic: str + policyTopicConstraints: _list[AdPolicyTopicConstraint] + policyTopicDescription: str + policyTopicEvidences: _list[AdPolicyTopicEvidence] + policyTopicType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_ENTRY_TYPE_UNKNOWN", + "PROHIBITED", + "FULLY_LIMITED", + "LIMITED", + "DESCRIPTIVE", + "BROADENING", + "AREA_OF_INTEREST_ONLY", + ] + +@typing.type_check_only +class AdPolicyTopicEvidence(typing_extensions.TypedDict, total=False): + counterfeit: AdPolicyTopicEvidenceCounterfeit + destinationMismatch: AdPolicyTopicEvidenceDestinationMismatch + destinationNotWorking: AdPolicyTopicEvidenceDestinationNotWorking + destinationTextList: AdPolicyTopicEvidenceDestinationTextList + httpCode: int + languageCode: str + legalRemoval: AdPolicyTopicEvidenceLegalRemoval + regionalRequirements: AdPolicyTopicEvidenceRegionalRequirements + textList: AdPolicyTopicEvidenceTextList + trademark: AdPolicyTopicEvidenceTrademark + websiteList: AdPolicyTopicEvidenceWebsiteList + +@typing.type_check_only +class AdPolicyTopicEvidenceCounterfeit(typing_extensions.TypedDict, total=False): + owners: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationMismatch( + typing_extensions.TypedDict, total=False +): + uriTypes: _list[ + typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_MISMATCH_URL_TYPE_UNKNOWN", + "DISPLAY_URL", + "FINAL_URL", + "FINAL_MOBILE_URL", + "TRACKING_URL", + "MOBILE_TRACKING_URL", + ] + ] + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationNotWorking( + typing_extensions.TypedDict, total=False +): + device: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DEVICE_TYPE_UNKNOWN", + "DESKTOP", + "ANDROID", + "IOS", + ] + dnsErrorType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_DESTINATION_NOT_WORKING_DNS_ERROR_TYPE_UNKNOWN", + "HOSTNAME_NOT_FOUND", + "GOOGLE_CRAWLER_DNS_ISSUE", + ] + expandedUri: str + httpErrorCode: str + lastCheckedTime: str + +@typing.type_check_only +class AdPolicyTopicEvidenceDestinationTextList( + typing_extensions.TypedDict, total=False +): + destinationTexts: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemoval(typing_extensions.TypedDict, total=False): + complaintType: typing_extensions.Literal[ + "AD_POLICY_TOPIC_EVIDENCE_LEGAL_REMOVAL_COMPLAINT_TYPE_UNKNOWN", + "COPYRIGHT", + "COURT_ORDER", + "LOCAL_LEGAL", + ] + countryRestrictions: _list[AdPolicyCriterionRestriction] + dmca: AdPolicyTopicEvidenceLegalRemovalDmca + localLegal: AdPolicyTopicEvidenceLegalRemovalLocalLegal + restrictedUris: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemovalDmca(typing_extensions.TypedDict, total=False): + complainant: str + +@typing.type_check_only +class AdPolicyTopicEvidenceLegalRemovalLocalLegal( + typing_extensions.TypedDict, total=False +): + lawType: str + +@typing.type_check_only +class AdPolicyTopicEvidenceRegionalRequirements( + typing_extensions.TypedDict, total=False +): + regionalRequirementsEntries: _list[ + AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry + ] + +@typing.type_check_only +class AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry( + typing_extensions.TypedDict, total=False +): + countryRestrictions: _list[AdPolicyCriterionRestriction] + legalPolicy: str + +@typing.type_check_only +class AdPolicyTopicEvidenceTextList(typing_extensions.TypedDict, total=False): + texts: _list[str] + +@typing.type_check_only +class AdPolicyTopicEvidenceTrademark(typing_extensions.TypedDict, total=False): + countryRestrictions: _list[AdPolicyCriterionRestriction] + owner: str + term: str + +@typing.type_check_only +class AdPolicyTopicEvidenceWebsiteList(typing_extensions.TypedDict, total=False): + websites: _list[str] + @typing.type_check_only class AdUrl(typing_extensions.TypedDict, total=False): type: typing_extensions.Literal[ @@ -485,6 +706,7 @@ class AlgorithmRulesComparisonValue(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] int64Value: str onScreenPositionValue: typing_extensions.Literal[ @@ -917,6 +1139,14 @@ class BudgetSummary(typing_extensions.TypedDict, total=False): taxAmountMicros: str totalAmountMicros: str +@typing.type_check_only +class BulkCreateAdAssetsRequest(typing_extensions.TypedDict, total=False): + adAssets: _list[AdAsset] + +@typing.type_check_only +class BulkCreateAdAssetsResponse(typing_extensions.TypedDict, total=False): + adAssets: _list[AdAsset] + @typing.type_check_only class BulkEditAdvertiserAssignedTargetingOptionsRequest( typing_extensions.TypedDict, total=False @@ -1447,6 +1677,10 @@ class CounterEvent(typing_extensions.TypedDict, total=False): name: str reportingName: str +@typing.type_check_only +class CreateAdAssetRequest(typing_extensions.TypedDict, total=False): + adAsset: AdAsset + @typing.type_check_only class CreateAssetRequest(typing_extensions.TypedDict, total=False): filename: str @@ -1537,6 +1771,7 @@ class CreateSdfDownloadTaskRequest(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -2264,6 +2499,7 @@ class ExchangeAssignedTargetingOptionDetails(typing_extensions.TypedDict, total= "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -2361,6 +2597,7 @@ class ExchangeConfigEnabledExchange(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] googleAdManagerAgencyId: str googleAdManagerBuyerNetworkId: str @@ -2457,6 +2694,7 @@ class ExchangeReviewStatus(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] status: typing_extensions.Literal[ "REVIEW_STATUS_UNSPECIFIED", @@ -2556,6 +2794,7 @@ class ExchangeTargetingOptionDetails(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] @typing.type_check_only @@ -2969,6 +3208,7 @@ class GuaranteedOrder(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str legacyGuaranteedOrderId: str @@ -3124,6 +3364,7 @@ class IntegralAdScience(typing_extensions.TypedDict, total=False): "SUSPICIOUS_ACTIVITY_UNSPECIFIED", "SUSPICIOUS_ACTIVITY_HR", "SUSPICIOUS_ACTIVITY_HMR", + "SUSPICIOUS_ACTIVITY_FD", ] excludedAdultRisk: typing_extensions.Literal[ "ADULT_UNSPECIFIED", "ADULT_HR", "ADULT_HMR" @@ -3279,6 +3520,7 @@ class InventorySource(typing_extensions.TypedDict, total=False): "EXCHANGE_SPOTIFY", "EXCHANGE_TUBI", "EXCHANGE_SNAP", + "EXCHANGE_CADENT", ] guaranteedOrderId: str inventorySourceId: str @@ -3561,6 +3803,11 @@ class LineItemFlight(typing_extensions.TypedDict, total=False): "LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM", ] +@typing.type_check_only +class ListAdAssetsResponse(typing_extensions.TypedDict, total=False): + adAssets: _list[AdAsset] + nextPageToken: str + @typing.type_check_only class ListAdGroupAdsResponse(typing_extensions.TypedDict, total=False): adGroupAds: _list[AdGroupAd] @@ -3750,6 +3997,11 @@ class ListUsersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str users: _list[User] +@typing.type_check_only +class ListYoutubeAssetAssociationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + youtubeAssetAssociations: _list[YoutubeAssetAssociation] + @typing.type_check_only class LocationList(typing_extensions.TypedDict, total=False): advertiserId: str @@ -3802,6 +4054,7 @@ class MaximizeSpendBidStrategy(typing_extensions.TypedDict, total=False): "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH", ] raiseBidForDeals: bool @@ -4139,6 +4392,7 @@ class PerformanceGoalBidStrategy(typing_extensions.TypedDict, total=False): "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN", "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED", + "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_REACH", ] @typing.type_check_only @@ -4217,6 +4471,7 @@ class RateDetails(typing_extensions.TypedDict, total=False): "INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED", "INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR", "INVENTORY_SOURCE_RATE_TYPE_CPD", + "INVENTORY_SOURCE_RATE_TYPE_CPH", "INVENTORY_SOURCE_RATE_TYPE_FLAT", ] minimumSpend: Money @@ -4307,6 +4562,7 @@ class SdfConfig(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -4336,6 +4592,7 @@ class SdfDownloadTaskMetadata(typing_extensions.TypedDict, total=False): "SDF_VERSION_8_1", "SDF_VERSION_9", "SDF_VERSION_9_1", + "SDF_VERSION_9_2", ] @typing.type_check_only @@ -4645,6 +4902,19 @@ class UniversalAdId(typing_extensions.TypedDict, total=False): "UNIVERSAL_AD_REGISTRY_CM", ] +@typing.type_check_only +class UploadAdAssetRequest(typing_extensions.TypedDict, total=False): + adAssetType: typing_extensions.Literal[ + "AD_ASSET_TYPE_UNSPECIFIED", + "AD_ASSET_TYPE_IMAGE", + "AD_ASSET_TYPE_YOUTUBE_VIDEO", + ] + filename: str + +@typing.type_check_only +class UploadAdAssetResponse(typing_extensions.TypedDict, total=False): + adAsset: AdAsset + @typing.type_check_only class UrlAssignedTargetingOptionDetails(typing_extensions.TypedDict, total=False): negative: bool @@ -4844,6 +5114,80 @@ class YoutubeAndPartnersSettings(typing_extensions.TypedDict, total=False): videoAdSequenceSettings: VideoAdSequenceSettings viewFrequencyCap: FrequencyCap +@typing.type_check_only +class YoutubeAssetAssociation(typing_extensions.TypedDict, total=False): + linkedYoutubeAsset: YoutubeAssetAssociationLinkedYouTubeAsset + name: str + youtubeAssetType: typing_extensions.Literal[ + "YOUTUBE_ASSET_TYPE_UNSPECIFIED", + "YOUTUBE_ASSET_TYPE_LOCATION", + "YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION", + "YOUTUBE_ASSET_TYPE_SITELINK", + ] + +@typing.type_check_only +class YoutubeAssetAssociationAffiliateLocationAssetFilter( + typing_extensions.TypedDict, total=False +): + affiliateLocationMatchingFunction: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction + affiliateLocationMatchingType: typing_extensions.Literal[ + "AFFILIATE_LOCATION_MATCHING_TYPE_UNSPECIFIED", + "SELECT_ALL", + "SELECTED_CHAINS", + "DISABLED", + ] + assetSetId: str + +@typing.type_check_only +class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain( + typing_extensions.TypedDict, total=False +): + chainId: str + +@typing.type_check_only +class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction( + typing_extensions.TypedDict, total=False +): + chains: _list[ + YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain + ] + +@typing.type_check_only +class YoutubeAssetAssociationLinkedYouTubeAsset( + typing_extensions.TypedDict, total=False +): + affiliateLocationAssetFilter: YoutubeAssetAssociationAffiliateLocationAssetFilter + locationAssetFilter: YoutubeAssetAssociationLocationAssetFilter + sitelinkAsset: YoutubeAssetAssociationSitelinkAsset + +@typing.type_check_only +class YoutubeAssetAssociationLocationAssetFilter( + typing_extensions.TypedDict, total=False +): + assetSetId: str + locationMatchingFunction: ( + YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction + ) + locationMatchingType: typing_extensions.Literal[ + "LOCATION_MATCHING_TYPE_UNSPECIFIED", + "SELECT_ALL", + "FILTER", + "SELECTED_ASSETS", + "DISABLED", + ] + +@typing.type_check_only +class YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction( + typing_extensions.TypedDict, total=False +): + business: str + labels: _list[str] + locationAssetIds: _list[str] + +@typing.type_check_only +class YoutubeAssetAssociationSitelinkAsset(typing_extensions.TypedDict, total=False): + assetId: str + @typing.type_check_only class YoutubeChannelAssignedTargetingOptionDetails( typing_extensions.TypedDict, total=False @@ -4851,6 +5195,10 @@ class YoutubeChannelAssignedTargetingOptionDetails( channelId: str negative: bool +@typing.type_check_only +class YoutubeVideoAsset(typing_extensions.TypedDict, total=False): + youtubeVideoId: str + @typing.type_check_only class YoutubeVideoAssignedTargetingOptionDetails( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi index 58edde038..01f7dbc8c 100644 --- a/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/dlp/v2/schemas.pyi @@ -26,6 +26,46 @@ class GooglePrivacyDlpV2ActivateJobTriggerRequest( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GooglePrivacyDlpV2AdjustByImageFindings(typing_extensions.TypedDict, total=False): + imageContainmentType: GooglePrivacyDlpV2ImageContainmentType + infoTypes: _list[GooglePrivacyDlpV2InfoType] + minLikelihood: typing_extensions.Literal[ + "LIKELIHOOD_UNSPECIFIED", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY", + ] + +@typing.type_check_only +class GooglePrivacyDlpV2AdjustByMatchingInfoTypes( + typing_extensions.TypedDict, total=False +): + infoTypes: _list[GooglePrivacyDlpV2InfoType] + matchingType: typing_extensions.Literal[ + "MATCHING_TYPE_UNSPECIFIED", + "MATCHING_TYPE_FULL_MATCH", + "MATCHING_TYPE_PARTIAL_MATCH", + "MATCHING_TYPE_INVERSE_MATCH", + "MATCHING_TYPE_RULE_SPECIFIC", + ] + minLikelihood: typing_extensions.Literal[ + "LIKELIHOOD_UNSPECIFIED", + "VERY_UNLIKELY", + "UNLIKELY", + "POSSIBLE", + "LIKELY", + "VERY_LIKELY", + ] + +@typing.type_check_only +class GooglePrivacyDlpV2AdjustmentRule(typing_extensions.TypedDict, total=False): + adjustByImageFindings: GooglePrivacyDlpV2AdjustByImageFindings + adjustByMatchingInfoTypes: GooglePrivacyDlpV2AdjustByMatchingInfoTypes + likelihoodAdjustment: GooglePrivacyDlpV2LikelihoodAdjustment + @typing.type_check_only class GooglePrivacyDlpV2AllInfoTypes(typing_extensions.TypedDict, total=False): ... @@ -1177,6 +1217,9 @@ class GooglePrivacyDlpV2Domain(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class GooglePrivacyDlpV2Encloses(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GooglePrivacyDlpV2EntityId(typing_extensions.TypedDict, total=False): field: GooglePrivacyDlpV2FieldId @@ -1196,6 +1239,13 @@ class GooglePrivacyDlpV2ExcludeByHotword(typing_extensions.TypedDict, total=Fals hotwordRegex: GooglePrivacyDlpV2Regex proximity: GooglePrivacyDlpV2Proximity +@typing.type_check_only +class GooglePrivacyDlpV2ExcludeByImageFindings( + typing_extensions.TypedDict, total=False +): + imageContainmentType: GooglePrivacyDlpV2ImageContainmentType + infoTypes: _list[GooglePrivacyDlpV2InfoType] + @typing.type_check_only class GooglePrivacyDlpV2ExcludeInfoTypes(typing_extensions.TypedDict, total=False): infoTypes: _list[GooglePrivacyDlpV2InfoType] @@ -1204,12 +1254,14 @@ class GooglePrivacyDlpV2ExcludeInfoTypes(typing_extensions.TypedDict, total=Fals class GooglePrivacyDlpV2ExclusionRule(typing_extensions.TypedDict, total=False): dictionary: GooglePrivacyDlpV2Dictionary excludeByHotword: GooglePrivacyDlpV2ExcludeByHotword + excludeByImageFindings: GooglePrivacyDlpV2ExcludeByImageFindings excludeInfoTypes: GooglePrivacyDlpV2ExcludeInfoTypes matchingType: typing_extensions.Literal[ "MATCHING_TYPE_UNSPECIFIED", "MATCHING_TYPE_FULL_MATCH", "MATCHING_TYPE_PARTIAL_MATCH", "MATCHING_TYPE_INVERSE_MATCH", + "MATCHING_TYPE_RULE_SPECIFIC", ] regex: GooglePrivacyDlpV2Regex @@ -1366,6 +1418,9 @@ class GooglePrivacyDlpV2FixedSizeBucketingConfig( lowerBound: GooglePrivacyDlpV2Value upperBound: GooglePrivacyDlpV2Value +@typing.type_check_only +class GooglePrivacyDlpV2FullyInside(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GooglePrivacyDlpV2GlobalProcessing(typing_extensions.TypedDict, total=False): ... @@ -1420,6 +1475,12 @@ class GooglePrivacyDlpV2HybridOptions(typing_extensions.TypedDict, total=False): requiredFindingLabelKeys: _list[str] tableOptions: GooglePrivacyDlpV2TableOptions +@typing.type_check_only +class GooglePrivacyDlpV2ImageContainmentType(typing_extensions.TypedDict, total=False): + encloses: GooglePrivacyDlpV2Encloses + fullyInside: GooglePrivacyDlpV2FullyInside + overlaps: GooglePrivacyDlpV2Overlap + @typing.type_check_only class GooglePrivacyDlpV2ImageFallbackLocation(typing_extensions.TypedDict, total=False): globalProcessing: GooglePrivacyDlpV2GlobalProcessing @@ -1530,6 +1591,12 @@ class GooglePrivacyDlpV2InfoTypeDescription(typing_extensions.TypedDict, total=F description: str displayName: str example: str + launchStatus: typing_extensions.Literal[ + "INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED", + "GENERAL_AVAILABILITY", + "PUBLIC_PREVIEW", + "PRIVATE_PREVIEW", + ] locationSupport: GooglePrivacyDlpV2LocationSupport name: str sensitivityScore: GooglePrivacyDlpV2SensitivityScore @@ -1645,6 +1712,7 @@ class GooglePrivacyDlpV2InspectTemplate(typing_extensions.TypedDict, total=False @typing.type_check_only class GooglePrivacyDlpV2InspectionRule(typing_extensions.TypedDict, total=False): + adjustmentRule: GooglePrivacyDlpV2AdjustmentRule exclusionRule: GooglePrivacyDlpV2ExclusionRule hotwordRule: GooglePrivacyDlpV2HotwordRule @@ -1986,6 +2054,9 @@ class GooglePrivacyDlpV2OutputStorageConfig(typing_extensions.TypedDict, total=F storagePath: GooglePrivacyDlpV2CloudStoragePath table: GooglePrivacyDlpV2BigQueryTable +@typing.type_check_only +class GooglePrivacyDlpV2Overlap(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GooglePrivacyDlpV2PartitionId(typing_extensions.TypedDict, total=False): namespaceId: str diff --git a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi index 7b71ab2b2..cd5190884 100644 --- a/googleapiclient-stubs/_apis/docs/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/docs/v1/schemas.pyi @@ -4,6 +4,14 @@ import typing_extensions _list = list +@typing.type_check_only +class AddDocumentTabRequest(typing_extensions.TypedDict, total=False): + tabProperties: TabProperties + +@typing.type_check_only +class AddDocumentTabResponse(typing_extensions.TypedDict, total=False): + tabProperties: TabProperties + @typing.type_check_only class AutoText(typing_extensions.TypedDict, total=False): suggestedDeletionIds: _list[str] @@ -137,6 +145,45 @@ class CropPropertiesSuggestionState(typing_extensions.TypedDict, total=False): offsetRightSuggested: bool offsetTopSuggested: bool +@typing.type_check_only +class DateElement(typing_extensions.TypedDict, total=False): + dateElementProperties: DateElementProperties + dateId: str + suggestedDateElementPropertiesChanges: dict[str, typing.Any] + suggestedDeletionIds: _list[str] + suggestedInsertionIds: _list[str] + suggestedTextStyleChanges: dict[str, typing.Any] + textStyle: TextStyle + +@typing.type_check_only +class DateElementProperties(typing_extensions.TypedDict, total=False): + dateFormat: typing_extensions.Literal[ + "DATE_FORMAT_UNSPECIFIED", + "DATE_FORMAT_CUSTOM", + "DATE_FORMAT_MONTH_DAY_ABBREVIATED", + "DATE_FORMAT_MONTH_DAY_FULL", + "DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED", + "DATE_FORMAT_ISO8601", + ] + displayText: str + locale: str + timeFormat: typing_extensions.Literal[ + "TIME_FORMAT_UNSPECIFIED", + "TIME_FORMAT_DISABLED", + "TIME_FORMAT_HOUR_MINUTE", + "TIME_FORMAT_HOUR_MINUTE_TIMEZONE", + ] + timeZoneId: str + timestamp: str + +@typing.type_check_only +class DateElementPropertiesSuggestionState(typing_extensions.TypedDict, total=False): + dateFormatSuggested: bool + localeSuggested: bool + timeFormatSuggested: bool + timeZoneIdSuggested: bool + timestampSuggested: bool + @typing.type_check_only class DeleteContentRangeRequest(typing_extensions.TypedDict, total=False): range: Range @@ -166,6 +213,10 @@ class DeletePositionedObjectRequest(typing_extensions.TypedDict, total=False): objectId: str tabId: str +@typing.type_check_only +class DeleteTabRequest(typing_extensions.TypedDict, total=False): + tabId: str + @typing.type_check_only class DeleteTableColumnRequest(typing_extensions.TypedDict, total=False): tableCellLocation: TableCellLocation @@ -412,6 +463,12 @@ class InlineObjectProperties(typing_extensions.TypedDict, total=False): class InlineObjectPropertiesSuggestionState(typing_extensions.TypedDict, total=False): embeddedObjectSuggestionState: EmbeddedObjectSuggestionState +@typing.type_check_only +class InsertDateRequest(typing_extensions.TypedDict, total=False): + dateElementProperties: DateElementProperties + endOfSegmentLocation: EndOfSegmentLocation + location: Location + @typing.type_check_only class InsertInlineImageRequest(typing_extensions.TypedDict, total=False): endOfSegmentLocation: EndOfSegmentLocation @@ -635,6 +692,7 @@ class ParagraphBorder(typing_extensions.TypedDict, total=False): class ParagraphElement(typing_extensions.TypedDict, total=False): autoText: AutoText columnBreak: ColumnBreak + dateElement: DateElement endIndex: int equation: Equation footnoteReference: FootnoteReference @@ -808,6 +866,7 @@ class ReplaceNamedRangeContentRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class Request(typing_extensions.TypedDict, total=False): + addDocumentTab: AddDocumentTabRequest createFooter: CreateFooterRequest createFootnote: CreateFootnoteRequest createHeader: CreateHeaderRequest @@ -819,8 +878,10 @@ class Request(typing_extensions.TypedDict, total=False): deleteNamedRange: DeleteNamedRangeRequest deleteParagraphBullets: DeleteParagraphBulletsRequest deletePositionedObject: DeletePositionedObjectRequest + deleteTab: DeleteTabRequest deleteTableColumn: DeleteTableColumnRequest deleteTableRow: DeleteTableRowRequest + insertDate: InsertDateRequest insertInlineImage: InsertInlineImageRequest insertPageBreak: InsertPageBreakRequest insertPerson: InsertPersonRequest @@ -836,6 +897,7 @@ class Request(typing_extensions.TypedDict, total=False): replaceNamedRangeContent: ReplaceNamedRangeContentRequest unmergeTableCells: UnmergeTableCellsRequest updateDocumentStyle: UpdateDocumentStyleRequest + updateDocumentTabProperties: UpdateDocumentTabPropertiesRequest updateParagraphStyle: UpdateParagraphStyleRequest updateSectionStyle: UpdateSectionStyleRequest updateTableCellStyle: UpdateTableCellStyleRequest @@ -845,6 +907,7 @@ class Request(typing_extensions.TypedDict, total=False): @typing.type_check_only class Response(typing_extensions.TypedDict, total=False): + addDocumentTab: AddDocumentTabResponse createFooter: CreateFooterResponse createFootnote: CreateFootnoteResponse createHeader: CreateHeaderResponse @@ -961,6 +1024,11 @@ class SuggestedBullet(typing_extensions.TypedDict, total=False): bullet: Bullet bulletSuggestionState: BulletSuggestionState +@typing.type_check_only +class SuggestedDateElementProperties(typing_extensions.TypedDict, total=False): + dateElementProperties: DateElementProperties + dateElementPropertiesSuggestionState: DateElementPropertiesSuggestionState + @typing.type_check_only class SuggestedDocumentStyle(typing_extensions.TypedDict, total=False): documentStyle: DocumentStyle @@ -1192,6 +1260,11 @@ class UpdateDocumentStyleRequest(typing_extensions.TypedDict, total=False): fields: str tabId: str +@typing.type_check_only +class UpdateDocumentTabPropertiesRequest(typing_extensions.TypedDict, total=False): + fields: str + tabProperties: TabProperties + @typing.type_check_only class UpdateParagraphStyleRequest(typing_extensions.TypedDict, total=False): fields: str diff --git a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi index 291ca37fb..6d6302fcd 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/resources.pyi @@ -240,6 +240,95 @@ class DocumentResource(googleapiclient.discovery.Resource): def humanReviewConfig(self) -> HumanReviewConfigResource: ... def processorVersions(self) -> ProcessorVersionsResource: ... + @typing.type_check_only + class SchemasResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SchemaVersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1SchemaVersion = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1SchemaVersionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1GenerateSchemaVersionRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDocumentaiV1GenerateSchemaVersionResponseHttpRequest + ): ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDocumentaiV1SchemaVersionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudDocumentaiV1ListSchemaVersionsResponseHttpRequest + ): ... + def list_next( + self, + previous_request: GoogleCloudDocumentaiV1ListSchemaVersionsResponseHttpRequest, + previous_response: GoogleCloudDocumentaiV1ListSchemaVersionsResponse, + ) -> ( + GoogleCloudDocumentaiV1ListSchemaVersionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDocumentaiV1SchemaVersion = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1SchemaVersionHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1NextSchema = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1NextSchemaHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDocumentaiV1NextSchemaHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1ListSchemasResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDocumentaiV1ListSchemasResponseHttpRequest, + previous_response: GoogleCloudDocumentaiV1ListSchemasResponse, + ) -> GoogleCloudDocumentaiV1ListSchemasResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: GoogleCloudDocumentaiV1NextSchema = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1NextSchemaHttpRequest: ... + def schemaVersions(self) -> SchemaVersionsResource: ... + def fetchProcessorTypes( self, *, parent: str, **kwargs: typing.Any ) -> GoogleCloudDocumentaiV1FetchProcessorTypesResponseHttpRequest: ... @@ -264,6 +353,7 @@ class DocumentResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def processorTypes(self) -> ProcessorTypesResource: ... def processors(self) -> ProcessorsResource: ... + def schemas(self) -> SchemasResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -307,6 +397,16 @@ class GoogleCloudDocumentaiV1FetchProcessorTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1FetchProcessorTypesResponse: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1GenerateSchemaVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1GenerateSchemaVersionResponse: ... + @typing.type_check_only class GoogleCloudDocumentaiV1ListEvaluationsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -347,6 +447,34 @@ class GoogleCloudDocumentaiV1ListProcessorsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1ListProcessorsResponse: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1ListSchemaVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1ListSchemaVersionsResponse: ... + +@typing.type_check_only +class GoogleCloudDocumentaiV1ListSchemasResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1ListSchemasResponse: ... + +@typing.type_check_only +class GoogleCloudDocumentaiV1NextSchemaHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1NextSchema: ... + @typing.type_check_only class GoogleCloudDocumentaiV1ProcessResponseHttpRequest( googleapiclient.http.HttpRequest @@ -383,6 +511,14 @@ class GoogleCloudDocumentaiV1ProcessorVersionHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1ProcessorVersion: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1SchemaVersionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1SchemaVersion: ... + @typing.type_check_only class GoogleCloudLocationListLocationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi index e51925a7c..dc82f56e0 100644 --- a/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1/schemas.pyi @@ -25,6 +25,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( ) formValidation: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation name: str + ruleId: str @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( @@ -308,6 +309,61 @@ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId( ): docId: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchema( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + documentPrompt: str + entityTypes: _list[GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType] + metadata: GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( + typing_extensions.TypedDict, total=False +): + baseTypes: _list[str] + description: str + displayName: str + entityTypeMetadata: GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata + enumValues: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues + name: str + properties: _list[GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues( + typing_extensions.TypedDict, total=False +): + values: _list[str] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + name: str + occurrenceType: typing_extensions.Literal[ + "OCCURRENCE_TYPE_UNSPECIFIED", + "OPTIONAL_ONCE", + "OPTIONAL_MULTIPLE", + "REQUIRED_ONCE", + "REQUIRED_MULTIPLE", + ] + propertyMetadata: GoogleCloudDocumentaiUiv1beta3PropertyMetadata + valueType: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( + typing_extensions.TypedDict, total=False +): + documentAllowMultipleLabels: bool + documentSplitter: bool + prefixedNamingOnProperties: bool + skipNamingValidation: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata( typing_extensions.TypedDict, total=False @@ -319,6 +375,19 @@ class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( + typing_extensions.TypedDict, total=False +): + fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata + humanReviewLabelingMetadata: ( + GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata + ) + humanReviewMetadata: GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata + inactive: bool + schemaEditabilityMetadata: GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata + schemaInferenceMetadata: GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -331,6 +400,31 @@ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse( ): evaluation: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( + typing_extensions.TypedDict, total=False +): + f1Score: float + falseNegativesCount: int + falsePositivesCount: int + groundTruthDocumentCount: int + groundTruthOccurrencesCount: int + precision: float + predictedDocumentCount: int + predictedOccurrencesCount: int + recall: float + totalDocumentsCount: int + truePositivesCount: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EvaluationReference( + typing_extensions.TypedDict, total=False +): + aggregateMetrics: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics + aggregateMetricsExact: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics + evaluation: str + operation: str + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -380,6 +474,38 @@ class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( ): gcsUri: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata( + typing_extensions.TypedDict, total=False +): + entityQuery: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery + summaryOptions: GoogleCloudDocumentaiUiv1beta3SummaryOptions + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery( + typing_extensions.TypedDict, total=False +): + userEntityQuery: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata( + typing_extensions.TypedDict, total=False +): + tierLevel: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata( + typing_extensions.TypedDict, total=False +): + enableNormalizationEditing: bool + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata( + typing_extensions.TypedDict, total=False +): + confidenceThreshold: float + enableValidation: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -426,6 +552,116 @@ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse( ): processorVersion: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total=False): + activeSchemaVersion: str + createTime: str + defaultProcessorVersion: str + displayName: str + kmsKeyName: str + name: str + processEndpoint: str + processorVersionAliases: _list[GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias] + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ENABLED", + "DISABLED", + "ENABLING", + "DISABLING", + "CREATING", + "FAILED", + "DELETING", + ] + type: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( + typing_extensions.TypedDict, total=False +): + createTime: str + deploymentAllowed: bool + deprecationInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo + displayName: str + documentSchema: GoogleCloudDocumentaiUiv1beta3DocumentSchema + genAiModelInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo + googleManaged: bool + kmsKeyName: str + kmsKeyVersionName: str + latestEvaluation: GoogleCloudDocumentaiUiv1beta3EvaluationReference + modelType: typing_extensions.Literal[ + "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" + ] + name: str + satisfiesPzi: bool + satisfiesPzs: bool + schema: GoogleCloudDocumentaiUiv1beta3Schema + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "DEPLOYED", + "DEPLOYING", + "UNDEPLOYED", + "UNDEPLOYING", + "CREATING", + "DELETING", + "FAILED", + "IMPORTING", + ] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias( + typing_extensions.TypedDict, total=False +): + alias: str + processorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo( + typing_extensions.TypedDict, total=False +): + deprecationTime: str + replacementProcessorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + customGenAiModelInfo: ( + GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo + ) + foundationGenAiModelInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + baseProcessorVersionId: str + customModelType: typing_extensions.Literal[ + "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" + ] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + finetuningAllowed: bool + minTrainLabeledDocuments: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( + typing_extensions.TypedDict, total=False +): + fieldExtractionMetadata: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata + fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata + humanReviewLabelingMetadata: ( + GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata + ) + humanReviewMetadata: GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata + inactive: bool + schemaEditabilityMetadata: GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata + schemaInferenceMetadata: GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( typing_extensions.TypedDict, total=False @@ -501,6 +737,45 @@ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument( ): documentId: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3Schema(typing_extensions.TypedDict, total=False): + description: str + displayName: str + entityTypes: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata( + typing_extensions.TypedDict, total=False +): + editable: bool + processorVersions: _list[str] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( + typing_extensions.TypedDict, total=False +): + baseType: str + description: str + enumValues: _list[str] + hide: bool + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + occurrenceType: typing_extensions.Literal[ + "OCCURRENCE_TYPE_UNSPECIFIED", + "OPTIONAL_ONCE", + "OPTIONAL_MULTIPLE", + "REQUIRED_ONCE", + "REQUIRED_MULTIPLE", + ] + properties: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] + type: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata( + typing_extensions.TypedDict, total=False +): + inferred: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -512,6 +787,15 @@ class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SummaryOptions( + typing_extensions.TypedDict, total=False +): + format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing_extensions.Literal[ + "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" + ] + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -568,6 +852,12 @@ class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata( + typing_extensions.TypedDict, total=False +): + commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata + @typing.type_check_only class GoogleCloudDocumentaiV1Barcode(typing_extensions.TypedDict, total=False): format: str @@ -838,6 +1128,7 @@ class GoogleCloudDocumentaiV1DocumentEntitiesRevision( ): entities: _list[GoogleCloudDocumentaiV1DocumentEntity] entityValidationOutput: GoogleCloudDocumentaiV1DocumentEntityValidationOutput + provenance: GoogleCloudDocumentaiV1DocumentProvenance revisionId: str @typing.type_check_only @@ -890,6 +1181,7 @@ class GoogleCloudDocumentaiV1DocumentEntityValidationOutput( class GoogleCloudDocumentaiV1DocumentEntityValidationOutputValidationResult( typing_extensions.TypedDict, total=False ): + rule: str ruleDescription: str ruleName: str validationDetails: str @@ -1194,6 +1486,7 @@ class GoogleCloudDocumentaiV1DocumentRevisionHumanReview( class GoogleCloudDocumentaiV1DocumentSchema(typing_extensions.TypedDict, total=False): description: str displayName: str + documentPrompt: str entityTypes: _list[GoogleCloudDocumentaiV1DocumentSchemaEntityType] metadata: GoogleCloudDocumentaiV1DocumentSchemaMetadata @@ -1286,6 +1579,10 @@ class GoogleCloudDocumentaiV1DocumentTextChange( provenance: _list[GoogleCloudDocumentaiV1DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchor +@typing.type_check_only +class GoogleCloudDocumentaiV1Documents(typing_extensions.TypedDict, total=False): + documents: _list[GoogleCloudDocumentaiV1Document] + @typing.type_check_only class GoogleCloudDocumentaiV1EnableProcessorMetadata( typing_extensions.TypedDict, total=False @@ -1329,6 +1626,7 @@ class GoogleCloudDocumentaiV1Evaluation(typing_extensions.TypedDict, total=False kmsKeyName: str kmsKeyVersionName: str name: str + revisions: _list[GoogleCloudDocumentaiV1EvaluationEvaluationRevision] @typing.type_check_only class GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics( @@ -1346,6 +1644,15 @@ class GoogleCloudDocumentaiV1EvaluationCounters( inputDocumentsCount: int invalidDocumentsCount: int +@typing.type_check_only +class GoogleCloudDocumentaiV1EvaluationEvaluationRevision( + typing_extensions.TypedDict, total=False +): + allEntitiesMetrics: GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics + documentCounters: GoogleCloudDocumentaiV1EvaluationCounters + entityMetrics: dict[str, typing.Any] + revisionId: str + @typing.type_check_only class GoogleCloudDocumentaiV1EvaluationMetrics( typing_extensions.TypedDict, total=False @@ -1406,6 +1713,32 @@ class GoogleCloudDocumentaiV1GcsDocuments(typing_extensions.TypedDict, total=Fal class GoogleCloudDocumentaiV1GcsPrefix(typing_extensions.TypedDict, total=False): gcsUriPrefix: str +@typing.type_check_only +class GoogleCloudDocumentaiV1GenerateSchemaVersionRequest( + typing_extensions.TypedDict, total=False +): + baseSchemaVersion: str + gcsDocuments: GoogleCloudDocumentaiV1GcsDocuments + gcsPrefix: GoogleCloudDocumentaiV1GcsPrefix + generateSchemaVersionParams: ( + GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams + ) + inlineDocuments: GoogleCloudDocumentaiV1Documents + rawDocuments: GoogleCloudDocumentaiV1RawDocuments + +@typing.type_check_only +class GoogleCloudDocumentaiV1GenerateSchemaVersionRequestGenerateSchemaVersionParams( + typing_extensions.TypedDict, total=False +): + history: GoogleCloudDocumentaiV1SchemaGenerationHistory + prompt: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1GenerateSchemaVersionResponse( + typing_extensions.TypedDict, total=False +): + schemaVersion: GoogleCloudDocumentaiV1SchemaVersion + @typing.type_check_only class GoogleCloudDocumentaiV1HumanReviewStatus( typing_extensions.TypedDict, total=False @@ -1444,6 +1777,28 @@ class GoogleCloudDocumentaiV1ListProcessorsResponse( nextPageToken: str processors: _list[GoogleCloudDocumentaiV1Processor] +@typing.type_check_only +class GoogleCloudDocumentaiV1ListSchemaVersionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + schemaVersions: _list[GoogleCloudDocumentaiV1SchemaVersion] + +@typing.type_check_only +class GoogleCloudDocumentaiV1ListSchemasResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + schemas: _list[GoogleCloudDocumentaiV1NextSchema] + +@typing.type_check_only +class GoogleCloudDocumentaiV1NextSchema(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + labels: dict[str, typing.Any] + name: str + updateTime: str + @typing.type_check_only class GoogleCloudDocumentaiV1NormalizedVertex(typing_extensions.TypedDict, total=False): x: float @@ -1492,6 +1847,8 @@ class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig( typing_extensions.TypedDict, total=False ): chunkingConfig: GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig + enableImageAnnotation: bool + enableTableAnnotation: bool returnBoundingBoxes: bool returnImages: bool @@ -1520,6 +1877,7 @@ class GoogleCloudDocumentaiV1ProcessResponse(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleCloudDocumentaiV1Processor(typing_extensions.TypedDict, total=False): + activeSchemaVersion: str createTime: str defaultProcessorVersion: str displayName: str @@ -1642,6 +2000,10 @@ class GoogleCloudDocumentaiV1RawDocument(typing_extensions.TypedDict, total=Fals displayName: str mimeType: str +@typing.type_check_only +class GoogleCloudDocumentaiV1RawDocuments(typing_extensions.TypedDict, total=False): + documents: _list[GoogleCloudDocumentaiV1RawDocument] + @typing.type_check_only class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata( typing_extensions.TypedDict, total=False @@ -1666,6 +2028,28 @@ class GoogleCloudDocumentaiV1ReviewDocumentResponse( rejectionReason: str state: typing_extensions.Literal["STATE_UNSPECIFIED", "REJECTED", "SUCCEEDED"] +@typing.type_check_only +class GoogleCloudDocumentaiV1SchemaGenerationHistory( + typing_extensions.TypedDict, total=False +): + iterations: _list[GoogleCloudDocumentaiV1SchemaGenerationIteration] + +@typing.type_check_only +class GoogleCloudDocumentaiV1SchemaGenerationIteration( + typing_extensions.TypedDict, total=False +): + adjustedSchema: GoogleCloudDocumentaiV1SchemaVersion + generatedSchema: GoogleCloudDocumentaiV1SchemaVersion + prompt: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1SchemaVersion(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + labels: dict[str, typing.Any] + name: str + schema: GoogleCloudDocumentaiV1DocumentSchema + @typing.type_check_only class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -1843,7 +2227,6 @@ class GoogleCloudDocumentaiV1beta3Dataset(typing_extensions.TypedDict, total=Fal name: str satisfiesPzi: bool satisfiesPzs: bool - spannerIndexingConfig: GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ] @@ -1862,11 +2245,6 @@ class GoogleCloudDocumentaiV1beta3DatasetGCSManagedConfig( ): gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix -@typing.type_check_only -class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig( - typing_extensions.TypedDict, total=False -): ... - @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig( typing_extensions.TypedDict, total=False @@ -1925,6 +2303,61 @@ class GoogleCloudDocumentaiV1beta3DocumentIdUnmanagedDocumentId( ): docId: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentSchema( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + documentPrompt: str + entityTypes: _list[GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType] + metadata: GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType( + typing_extensions.TypedDict, total=False +): + baseTypes: _list[str] + description: str + displayName: str + entityTypeMetadata: GoogleCloudDocumentaiV1beta3EntityTypeMetadata + enumValues: GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues + name: str + properties: _list[GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues( + typing_extensions.TypedDict, total=False +): + values: _list[str] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + name: str + occurrenceType: typing_extensions.Literal[ + "OCCURRENCE_TYPE_UNSPECIFIED", + "OPTIONAL_ONCE", + "OPTIONAL_MULTIPLE", + "REQUIRED_ONCE", + "REQUIRED_MULTIPLE", + ] + propertyMetadata: GoogleCloudDocumentaiV1beta3PropertyMetadata + valueType: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata( + typing_extensions.TypedDict, total=False +): + documentAllowMultipleLabels: bool + documentSplitter: bool + prefixedNamingOnProperties: bool + skipNamingValidation: bool + @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata( typing_extensions.TypedDict, total=False @@ -1936,6 +2369,12 @@ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3EntityTypeMetadata( + typing_extensions.TypedDict, total=False +): + inactive: bool + @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -1948,6 +2387,37 @@ class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionResponse( ): evaluation: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3EvaluationMetrics( + typing_extensions.TypedDict, total=False +): + f1Score: float + falseNegativesCount: int + falsePositivesCount: int + groundTruthDocumentCount: int + groundTruthOccurrencesCount: int + precision: float + predictedDocumentCount: int + predictedOccurrencesCount: int + recall: float + totalDocumentsCount: int + truePositivesCount: int + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3EvaluationReference( + typing_extensions.TypedDict, total=False +): + aggregateMetrics: GoogleCloudDocumentaiV1beta3EvaluationMetrics + aggregateMetricsExact: GoogleCloudDocumentaiV1beta3EvaluationMetrics + evaluation: str + operation: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3FieldExtractionMetadata( + typing_extensions.TypedDict, total=False +): + summaryOptions: GoogleCloudDocumentaiV1beta3SummaryOptions + @typing.type_check_only class GoogleCloudDocumentaiV1beta3GcsPrefix(typing_extensions.TypedDict, total=False): gcsUriPrefix: str @@ -2007,6 +2477,107 @@ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse( ): processorVersion: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=False): + activeSchemaVersion: str + createTime: str + defaultProcessorVersion: str + displayName: str + kmsKeyName: str + name: str + processEndpoint: str + processorVersionAliases: _list[GoogleCloudDocumentaiV1beta3ProcessorVersionAlias] + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ENABLED", + "DISABLED", + "ENABLING", + "DISABLING", + "CREATING", + "FAILED", + "DELETING", + ] + type: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersion( + typing_extensions.TypedDict, total=False +): + createTime: str + deprecationInfo: GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo + displayName: str + documentSchema: GoogleCloudDocumentaiV1beta3DocumentSchema + genAiModelInfo: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo + googleManaged: bool + kmsKeyName: str + kmsKeyVersionName: str + latestEvaluation: GoogleCloudDocumentaiV1beta3EvaluationReference + modelType: typing_extensions.Literal[ + "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" + ] + name: str + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "DEPLOYED", + "DEPLOYING", + "UNDEPLOYED", + "UNDEPLOYING", + "CREATING", + "DELETING", + "FAILED", + "IMPORTING", + ] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersionAlias( + typing_extensions.TypedDict, total=False +): + alias: str + processorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersionDeprecationInfo( + typing_extensions.TypedDict, total=False +): + deprecationTime: str + replacementProcessorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + customGenAiModelInfo: ( + GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo + ) + foundationGenAiModelInfo: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + baseProcessorVersionId: str + customModelType: typing_extensions.Literal[ + "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" + ] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + finetuningAllowed: bool + minTrainLabeledDocuments: int + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3PropertyMetadata( + typing_extensions.TypedDict, total=False +): + fieldExtractionMetadata: GoogleCloudDocumentaiV1beta3FieldExtractionMetadata + inactive: bool + @typing.type_check_only class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata( typing_extensions.TypedDict, total=False @@ -2050,6 +2621,15 @@ class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3SummaryOptions( + typing_extensions.TypedDict, total=False +): + format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing_extensions.Literal[ + "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" + ] + @typing.type_check_only class GoogleCloudDocumentaiV1beta3TrainProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -2094,6 +2674,12 @@ class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata( ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata( + typing_extensions.TypedDict, total=False +): + commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata + @typing.type_check_only class GoogleCloudLocationListLocationsResponse( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi index 026449155..c507dc456 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/resources.pyi @@ -318,6 +318,93 @@ class DocumentResource(googleapiclient.discovery.Resource): def humanReviewConfig(self) -> HumanReviewConfigResource: ... def processorVersions(self) -> ProcessorVersionsResource: ... + @typing.type_check_only + class SchemasResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class SchemaVersionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1beta3SchemaVersion = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3SchemaVersionHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def generate( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponseHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDocumentaiV1beta3SchemaVersionHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponseHttpRequest, + previous_response: GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse, + ) -> ( + GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponseHttpRequest + | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDocumentaiV1beta3SchemaVersion = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3SchemaVersionHttpRequest: ... + + def create( + self, + *, + parent: str, + body: GoogleCloudDocumentaiV1beta3NextSchema = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3NextSchemaHttpRequest: ... + def delete( + self, *, name: str, force: bool = ..., **kwargs: typing.Any + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudDocumentaiV1beta3NextSchemaHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3ListSchemasResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudDocumentaiV1beta3ListSchemasResponseHttpRequest, + previous_response: GoogleCloudDocumentaiV1beta3ListSchemasResponse, + ) -> ( + GoogleCloudDocumentaiV1beta3ListSchemasResponseHttpRequest | None + ): ... + def patch( + self, + *, + name: str, + body: GoogleCloudDocumentaiV1beta3NextSchema = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> GoogleCloudDocumentaiV1beta3NextSchemaHttpRequest: ... + def schemaVersions(self) -> SchemaVersionsResource: ... + def fetchProcessorTypes( self, *, parent: str, **kwargs: typing.Any ) -> GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponseHttpRequest: ... @@ -342,6 +429,7 @@ class DocumentResource(googleapiclient.discovery.Resource): def operations(self) -> OperationsResource: ... def processorTypes(self) -> ProcessorTypesResource: ... def processors(self) -> ProcessorsResource: ... + def schemas(self) -> SchemasResource: ... def locations(self) -> LocationsResource: ... @@ -389,6 +477,16 @@ class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse: ... + @typing.type_check_only class GoogleCloudDocumentaiV1beta3GetDocumentResponseHttpRequest( googleapiclient.http.HttpRequest @@ -449,6 +547,36 @@ class GoogleCloudDocumentaiV1beta3ListProcessorsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1beta3ListProcessorsResponse: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse: ... + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ListSchemasResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1beta3ListSchemasResponse: ... + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3NextSchemaHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1beta3NextSchema: ... + @typing.type_check_only class GoogleCloudDocumentaiV1beta3ProcessResponseHttpRequest( googleapiclient.http.HttpRequest @@ -489,6 +617,16 @@ class GoogleCloudDocumentaiV1beta3ProcessorVersionHttpRequest( num_retries: int = 0, ) -> GoogleCloudDocumentaiV1beta3ProcessorVersion: ... +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3SchemaVersionHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudDocumentaiV1beta3SchemaVersion: ... + @typing.type_check_only class GoogleCloudLocationListLocationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi index 9a5310486..6f70b992f 100644 --- a/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/documentai/v1beta3/schemas.pyi @@ -25,6 +25,7 @@ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule( ) formValidation: CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation name: str + ruleId: str @typing.type_check_only class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule( @@ -308,6 +309,61 @@ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId( ): docId: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchema( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + documentPrompt: str + entityTypes: _list[GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType] + metadata: GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType( + typing_extensions.TypedDict, total=False +): + baseTypes: _list[str] + description: str + displayName: str + entityTypeMetadata: GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata + enumValues: GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues + name: str + properties: _list[GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues( + typing_extensions.TypedDict, total=False +): + values: _list[str] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty( + typing_extensions.TypedDict, total=False +): + description: str + displayName: str + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + name: str + occurrenceType: typing_extensions.Literal[ + "OCCURRENCE_TYPE_UNSPECIFIED", + "OPTIONAL_ONCE", + "OPTIONAL_MULTIPLE", + "REQUIRED_ONCE", + "REQUIRED_MULTIPLE", + ] + propertyMetadata: GoogleCloudDocumentaiUiv1beta3PropertyMetadata + valueType: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata( + typing_extensions.TypedDict, total=False +): + documentAllowMultipleLabels: bool + documentSplitter: bool + prefixedNamingOnProperties: bool + skipNamingValidation: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata( typing_extensions.TypedDict, total=False @@ -319,6 +375,19 @@ class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata( + typing_extensions.TypedDict, total=False +): + fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata + humanReviewLabelingMetadata: ( + GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata + ) + humanReviewMetadata: GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata + inactive: bool + schemaEditabilityMetadata: GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata + schemaInferenceMetadata: GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -331,6 +400,31 @@ class GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse( ): evaluation: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EvaluationMetrics( + typing_extensions.TypedDict, total=False +): + f1Score: float + falseNegativesCount: int + falsePositivesCount: int + groundTruthDocumentCount: int + groundTruthOccurrencesCount: int + precision: float + predictedDocumentCount: int + predictedOccurrencesCount: int + recall: float + totalDocumentsCount: int + truePositivesCount: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3EvaluationReference( + typing_extensions.TypedDict, total=False +): + aggregateMetrics: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics + aggregateMetricsExact: GoogleCloudDocumentaiUiv1beta3EvaluationMetrics + evaluation: str + operation: str + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -380,6 +474,38 @@ class GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse( ): gcsUri: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata( + typing_extensions.TypedDict, total=False +): + entityQuery: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery + summaryOptions: GoogleCloudDocumentaiUiv1beta3SummaryOptions + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery( + typing_extensions.TypedDict, total=False +): + userEntityQuery: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3FieldTierMetadata( + typing_extensions.TypedDict, total=False +): + tierLevel: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata( + typing_extensions.TypedDict, total=False +): + enableNormalizationEditing: bool + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata( + typing_extensions.TypedDict, total=False +): + confidenceThreshold: float + enableValidation: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -426,6 +552,116 @@ class GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse( ): processorVersion: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3Processor(typing_extensions.TypedDict, total=False): + activeSchemaVersion: str + createTime: str + defaultProcessorVersion: str + displayName: str + kmsKeyName: str + name: str + processEndpoint: str + processorVersionAliases: _list[GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias] + satisfiesPzi: bool + satisfiesPzs: bool + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "ENABLED", + "DISABLED", + "ENABLING", + "DISABLING", + "CREATING", + "FAILED", + "DELETING", + ] + type: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersion( + typing_extensions.TypedDict, total=False +): + createTime: str + deploymentAllowed: bool + deprecationInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo + displayName: str + documentSchema: GoogleCloudDocumentaiUiv1beta3DocumentSchema + genAiModelInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo + googleManaged: bool + kmsKeyName: str + kmsKeyVersionName: str + latestEvaluation: GoogleCloudDocumentaiUiv1beta3EvaluationReference + modelType: typing_extensions.Literal[ + "MODEL_TYPE_UNSPECIFIED", "MODEL_TYPE_GENERATIVE", "MODEL_TYPE_CUSTOM" + ] + name: str + satisfiesPzi: bool + satisfiesPzs: bool + schema: GoogleCloudDocumentaiUiv1beta3Schema + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "DEPLOYED", + "DEPLOYING", + "UNDEPLOYED", + "UNDEPLOYING", + "CREATING", + "DELETING", + "FAILED", + "IMPORTING", + ] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias( + typing_extensions.TypedDict, total=False +): + alias: str + processorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo( + typing_extensions.TypedDict, total=False +): + deprecationTime: str + replacementProcessorVersion: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + customGenAiModelInfo: ( + GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo + ) + foundationGenAiModelInfo: GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + baseProcessorVersionId: str + customModelType: typing_extensions.Literal[ + "CUSTOM_MODEL_TYPE_UNSPECIFIED", "VERSIONED_FOUNDATION", "FINE_TUNED" + ] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo( + typing_extensions.TypedDict, total=False +): + finetuningAllowed: bool + minTrainLabeledDocuments: int + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3PropertyMetadata( + typing_extensions.TypedDict, total=False +): + fieldExtractionMetadata: GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata + fieldTierMetadata: GoogleCloudDocumentaiUiv1beta3FieldTierMetadata + humanReviewLabelingMetadata: ( + GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata + ) + humanReviewMetadata: GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata + inactive: bool + schemaEditabilityMetadata: GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata + schemaInferenceMetadata: GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata( typing_extensions.TypedDict, total=False @@ -501,6 +737,45 @@ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument( ): documentId: str +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3Schema(typing_extensions.TypedDict, total=False): + description: str + displayName: str + entityTypes: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata( + typing_extensions.TypedDict, total=False +): + editable: bool + processorVersions: _list[str] + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaEntityType( + typing_extensions.TypedDict, total=False +): + baseType: str + description: str + enumValues: _list[str] + hide: bool + method: typing_extensions.Literal["METHOD_UNSPECIFIED", "EXTRACT", "DERIVE"] + occurrenceType: typing_extensions.Literal[ + "OCCURRENCE_TYPE_UNSPECIFIED", + "OPTIONAL_ONCE", + "OPTIONAL_MULTIPLE", + "REQUIRED_ONCE", + "REQUIRED_MULTIPLE", + ] + properties: _list[GoogleCloudDocumentaiUiv1beta3SchemaEntityType] + source: typing_extensions.Literal["SOURCE_UNSPECIFIED", "PREDEFINED", "USER_INPUT"] + type: str + +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata( + typing_extensions.TypedDict, total=False +): + inferred: bool + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -512,6 +787,15 @@ class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3SummaryOptions( + typing_extensions.TypedDict, total=False +): + format: typing_extensions.Literal["FORMAT_UNSPECIFIED", "PARAGRAPH", "BULLETS"] + length: typing_extensions.Literal[ + "LENGTH_UNSPECIFIED", "BRIEF", "MODERATE", "COMPREHENSIVE" + ] + @typing.type_check_only class GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -568,6 +852,12 @@ class GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata( ): commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata +@typing.type_check_only +class GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata( + typing_extensions.TypedDict, total=False +): + commonMetadata: GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata + @typing.type_check_only class GoogleCloudDocumentaiV1BatchProcessMetadata( typing_extensions.TypedDict, total=False @@ -888,7 +1178,6 @@ class GoogleCloudDocumentaiV1beta3Dataset(typing_extensions.TypedDict, total=Fal name: str satisfiesPzi: bool satisfiesPzs: bool - spannerIndexingConfig: GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "UNINITIALIZED", "INITIALIZING", "INITIALIZED" ] @@ -916,11 +1205,6 @@ class GoogleCloudDocumentaiV1beta3DatasetSchema( satisfiesPzi: bool satisfiesPzs: bool -@typing.type_check_only -class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig( - typing_extensions.TypedDict, total=False -): ... - @typing.type_check_only class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig( typing_extensions.TypedDict, total=False @@ -1172,6 +1456,7 @@ class GoogleCloudDocumentaiV1beta3DocumentEntitiesRevision( ): entities: _list[GoogleCloudDocumentaiV1beta3DocumentEntity] entityValidationOutput: GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput + provenance: GoogleCloudDocumentaiV1beta3DocumentProvenance revisionId: str @typing.type_check_only @@ -1226,6 +1511,7 @@ class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutput( class GoogleCloudDocumentaiV1beta3DocumentEntityValidationOutputValidationResult( typing_extensions.TypedDict, total=False ): + rule: str ruleDescription: str ruleName: str validationDetails: str @@ -1581,6 +1867,7 @@ class GoogleCloudDocumentaiV1beta3DocumentSchema( ): description: str displayName: str + documentPrompt: str entityTypes: _list[GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType] metadata: GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata @@ -1679,6 +1966,10 @@ class GoogleCloudDocumentaiV1beta3DocumentTextChange( provenance: _list[GoogleCloudDocumentaiV1beta3DocumentProvenance] textAnchor: GoogleCloudDocumentaiV1beta3DocumentTextAnchor +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3Documents(typing_extensions.TypedDict, total=False): + documents: _list[GoogleCloudDocumentaiV1beta3Document] + @typing.type_check_only class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata( typing_extensions.TypedDict, total=False @@ -1728,6 +2019,7 @@ class GoogleCloudDocumentaiV1beta3Evaluation(typing_extensions.TypedDict, total= kmsKeyName: str kmsKeyVersionName: str name: str + revisions: _list[GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision] @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluationConfidenceLevelMetrics( @@ -1745,6 +2037,15 @@ class GoogleCloudDocumentaiV1beta3EvaluationCounters( inputDocumentsCount: int invalidDocumentsCount: int +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3EvaluationEvaluationRevision( + typing_extensions.TypedDict, total=False +): + allEntitiesMetrics: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics + documentCounters: GoogleCloudDocumentaiV1beta3EvaluationCounters + entityMetrics: dict[str, typing.Any] + revisionId: str + @typing.type_check_only class GoogleCloudDocumentaiV1beta3EvaluationMetrics( typing_extensions.TypedDict, total=False @@ -1813,6 +2114,30 @@ class GoogleCloudDocumentaiV1beta3GcsDocuments( class GoogleCloudDocumentaiV1beta3GcsPrefix(typing_extensions.TypedDict, total=False): gcsUriPrefix: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest( + typing_extensions.TypedDict, total=False +): + baseSchemaVersion: str + gcsDocuments: GoogleCloudDocumentaiV1beta3GcsDocuments + gcsPrefix: GoogleCloudDocumentaiV1beta3GcsPrefix + generateSchemaVersionParams: GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams + inlineDocuments: GoogleCloudDocumentaiV1beta3Documents + rawDocuments: GoogleCloudDocumentaiV1beta3RawDocuments + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequestGenerateSchemaVersionParams( + typing_extensions.TypedDict, total=False +): + history: GoogleCloudDocumentaiV1beta3SchemaGenerationHistory + prompt: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse( + typing_extensions.TypedDict, total=False +): + schemaVersion: GoogleCloudDocumentaiV1beta3SchemaVersion + @typing.type_check_only class GoogleCloudDocumentaiV1beta3GetDocumentResponse( typing_extensions.TypedDict, total=False @@ -1877,6 +2202,7 @@ class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConf "DATASET_SPLIT_TEST", "DATASET_SPLIT_UNASSIGNED", ] + documentType: str @typing.type_check_only class GoogleCloudDocumentaiV1beta3ImportDocumentsRequestBatchDocumentsImportConfigAutoSplitConfig( @@ -1961,6 +2287,28 @@ class GoogleCloudDocumentaiV1beta3ListProcessorsResponse( nextPageToken: str processors: _list[GoogleCloudDocumentaiV1beta3Processor] +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ListSchemaVersionsResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + schemaVersions: _list[GoogleCloudDocumentaiV1beta3SchemaVersion] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3ListSchemasResponse( + typing_extensions.TypedDict, total=False +): + nextPageToken: str + schemas: _list[GoogleCloudDocumentaiV1beta3NextSchema] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3NextSchema(typing_extensions.TypedDict, total=False): + createTime: str + displayName: str + labels: dict[str, typing.Any] + name: str + updateTime: str + @typing.type_check_only class GoogleCloudDocumentaiV1beta3NormalizedVertex( typing_extensions.TypedDict, total=False @@ -2021,6 +2369,7 @@ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig( enableImageExtraction: bool enableLlmLayoutParsing: bool enableTableAnnotation: bool + enableTableSplit: bool returnBoundingBoxes: bool returnImages: bool @@ -2057,6 +2406,7 @@ class GoogleCloudDocumentaiV1beta3ProcessResponse( @typing.type_check_only class GoogleCloudDocumentaiV1beta3Processor(typing_extensions.TypedDict, total=False): + activeSchemaVersion: str createTime: str defaultProcessorVersion: str displayName: str @@ -2188,6 +2538,12 @@ class GoogleCloudDocumentaiV1beta3RawDocument(typing_extensions.TypedDict, total displayName: str mimeType: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3RawDocuments( + typing_extensions.TypedDict, total=False +): + documents: _list[GoogleCloudDocumentaiV1beta3RawDocument] + @typing.type_check_only class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata( typing_extensions.TypedDict, total=False @@ -2230,6 +2586,30 @@ class GoogleCloudDocumentaiV1beta3RevisionRef(typing_extensions.TypedDict, total ] revisionId: str +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3SchemaGenerationHistory( + typing_extensions.TypedDict, total=False +): + iterations: _list[GoogleCloudDocumentaiV1beta3SchemaGenerationIteration] + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3SchemaGenerationIteration( + typing_extensions.TypedDict, total=False +): + adjustedSchema: GoogleCloudDocumentaiV1beta3SchemaVersion + generatedSchema: GoogleCloudDocumentaiV1beta3SchemaVersion + prompt: str + +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3SchemaVersion( + typing_extensions.TypedDict, total=False +): + createTime: str + displayName: str + labels: dict[str, typing.Any] + name: str + schema: GoogleCloudDocumentaiV1beta3DocumentSchema + @typing.type_check_only class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata( typing_extensions.TypedDict, total=False @@ -2338,6 +2718,12 @@ class GoogleCloudDocumentaiV1beta3UpdateDatasetOperationMetadata( ): commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata +@typing.type_check_only +class GoogleCloudDocumentaiV1beta3UpdateProcessorVersionMetadata( + typing_extensions.TypedDict, total=False +): + commonMetadata: GoogleCloudDocumentaiV1beta3CommonOperationMetadata + @typing.type_check_only class GoogleCloudDocumentaiV1beta3Vertex(typing_extensions.TypedDict, total=False): x: int diff --git a/googleapiclient-stubs/_apis/domains/v1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1/resources.pyi index c6cc999cf..7c2a3418f 100644 --- a/googleapiclient-stubs/_apis/domains/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/resources.pyi @@ -29,6 +29,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi index fa83cde46..ad5446e39 100644 --- a/googleapiclient-stubs/_apis/domains/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1/schemas.pyi @@ -195,6 +195,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi index c6cc999cf..7c2a3418f 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/resources.pyi @@ -29,6 +29,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi index 9f45ddd2c..dc2b75ef1 100644 --- a/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1alpha2/schemas.pyi @@ -195,6 +195,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi index c6cc999cf..7c2a3418f 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/resources.pyi @@ -29,6 +29,7 @@ class CloudDomainsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi index fa83cde46..ad5446e39 100644 --- a/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/domains/v1beta1/schemas.pyi @@ -195,6 +195,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRegistrationsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/drive/v3/resources.pyi b/googleapiclient-stubs/_apis/drive/v3/resources.pyi index c3e1cb97a..a4ae88641 100644 --- a/googleapiclient-stubs/_apis/drive/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/resources.pyi @@ -44,6 +44,25 @@ class DriveResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> googleapiclient.http.HttpRequest: ... + @typing.type_check_only + class ApprovalsResource(googleapiclient.discovery.Resource): + def get( + self, *, fileId: str, approvalId: str, **kwargs: typing.Any + ) -> ApprovalHttpRequest: ... + def list( + self, + *, + fileId: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ApprovalListHttpRequest: ... + def list_next( + self, + previous_request: ApprovalListHttpRequest, + previous_response: ApprovalList, + ) -> ApprovalListHttpRequest | None: ... + @typing.type_check_only class AppsResource(googleapiclient.discovery.Resource): def get(self, *, appId: str, **kwargs: typing.Any) -> AppHttpRequest: ... @@ -573,6 +592,7 @@ class DriveResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def about(self) -> AboutResource: ... def accessproposals(self) -> AccessproposalsResource: ... + def approvals(self) -> ApprovalsResource: ... def apps(self) -> AppsResource: ... def changes(self) -> ChangesResource: ... def channels(self) -> ChannelsResource: ... @@ -617,6 +637,22 @@ class AppListHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> AppList: ... +@typing.type_check_only +class ApprovalHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Approval: ... + +@typing.type_check_only +class ApprovalListHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ApprovalList: ... + @typing.type_check_only class ChangeListHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi index 908170e5b..fc04ebd88 100644 --- a/googleapiclient-stubs/_apis/drive/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/drive/v3/schemas.pyi @@ -75,6 +75,27 @@ class AppList(typing_extensions.TypedDict, total=False): kind: str selfLink: str +@typing.type_check_only +class Approval(typing_extensions.TypedDict, total=False): + approvalId: str + completeTime: str + createTime: str + dueTime: str + initiator: User + kind: str + modifyTime: str + reviewerResponses: _list[ReviewerResponse] + status: typing_extensions.Literal[ + "STATUS_UNSPECIFIED", "IN_PROGRESS", "APPROVED", "CANCELLED", "DECLINED" + ] + targetFileId: str + +@typing.type_check_only +class ApprovalList(typing_extensions.TypedDict, total=False): + items: _list[Approval] + kind: str + nextPageToken: str + @typing.type_check_only class Change(typing_extensions.TypedDict, total=False): changeType: str @@ -112,6 +133,7 @@ class Channel(typing_extensions.TypedDict, total=False): @typing.type_check_only class Comment(typing_extensions.TypedDict, total=False): anchor: str + assigneeEmailAddress: str author: User content: str createdTime: str @@ -119,6 +141,7 @@ class Comment(typing_extensions.TypedDict, total=False): htmlContent: str id: str kind: str + mentionedEmailAddresses: _list[str] modifiedTime: str quotedFileContent: dict[str, typing.Any] replies: _list[Reply] @@ -344,6 +367,7 @@ class PermissionList(typing_extensions.TypedDict, total=False): @typing.type_check_only class Reply(typing_extensions.TypedDict, total=False): action: str + assigneeEmailAddress: str author: User content: str createdTime: str @@ -351,6 +375,7 @@ class Reply(typing_extensions.TypedDict, total=False): htmlContent: str id: str kind: str + mentionedEmailAddresses: _list[str] modifiedTime: str @typing.type_check_only @@ -366,6 +391,14 @@ class ResolveAccessProposalRequest(typing_extensions.TypedDict, total=False): sendNotification: bool view: str +@typing.type_check_only +class ReviewerResponse(typing_extensions.TypedDict, total=False): + kind: str + response: typing_extensions.Literal[ + "RESPONSE_UNSPECIFIED", "NO_RESPONSE", "APPROVED", "DECLINED" + ] + reviewer: User + @typing.type_check_only class Revision(typing_extensions.TypedDict, total=False): exportLinks: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi index 36cc1e215..794daa3bc 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/resources.pyi @@ -270,30 +270,6 @@ class EventarcResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... - @typing.type_check_only - class KafkaSourcesResource(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: ... - @typing.type_check_only class MessageBusesResource(googleapiclient.discovery.Resource): def create( @@ -602,7 +578,6 @@ class EventarcResource(googleapiclient.discovery.Resource): def channels(self) -> ChannelsResource: ... def enrollments(self) -> EnrollmentsResource: ... def googleApiSources(self) -> GoogleApiSourcesResource: ... - def kafkaSources(self) -> KafkaSourcesResource: ... def messageBuses(self) -> MessageBusesResource: ... def operations(self) -> OperationsResource: ... def pipelines(self) -> PipelinesResource: ... diff --git a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi index 89639abd9..c772c4d9b 100644 --- a/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/eventarc/v1/schemas.pyi @@ -409,6 +409,10 @@ class Pubsub(typing_extensions.TypedDict, total=False): subscription: str topic: str +@typing.type_check_only +class RetryPolicy(typing_extensions.TypedDict, total=False): + maxAttempts: int + @typing.type_check_only class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy @@ -460,6 +464,7 @@ class Trigger(typing_extensions.TypedDict, total=False): eventFilters: _list[EventFilter] labels: dict[str, typing.Any] name: str + retryPolicy: RetryPolicy satisfiesPzs: bool serviceAccount: str transport: Transport diff --git a/googleapiclient-stubs/_apis/file/v1/resources.pyi b/googleapiclient-stubs/_apis/file/v1/resources.pyi index f9d06c4c7..ca7612742 100644 --- a/googleapiclient-stubs/_apis/file/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1/resources.pyi @@ -137,6 +137,13 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def pauseReplica( + self, + *, + name: str, + body: PauseReplicaRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def promoteReplica( self, *, @@ -151,6 +158,13 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): body: RestoreInstanceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def resumeReplica( + self, + *, + name: str, + body: ResumeReplicaRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def revert( self, *, @@ -182,6 +196,7 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/file/v1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1/schemas.pyi index 4feb96c3a..0145bbcee 100644 --- a/googleapiclient-stubs/_apis/file/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1/schemas.pyi @@ -57,6 +57,10 @@ class DenyMaintenancePeriod(typing_extensions.TypedDict, total=False): startDate: Date time: TimeOfDay +@typing.type_check_only +class DirectoryServicesConfig(typing_extensions.TypedDict, total=False): + ldap: LdapConfig + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -183,6 +187,7 @@ class Instance(typing_extensions.TypedDict, total=False): deletionProtectionEnabled: bool deletionProtectionReason: str description: str + directoryServices: DirectoryServicesConfig etag: str fileShares: _list[FileShareConfig] kmsKeyName: str @@ -230,6 +235,13 @@ class Instance(typing_extensions.TypedDict, total=False): "REGIONAL", ] +@typing.type_check_only +class LdapConfig(typing_extensions.TypedDict, total=False): + domain: str + groupsOu: str + servers: _list[str] + usersOu: str + @typing.type_check_only class ListBackupsResponse(typing_extensions.TypedDict, total=False): backups: _list[Backup] @@ -251,6 +263,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSnapshotsResponse(typing_extensions.TypedDict, total=False): @@ -290,7 +303,9 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICE_CONNECT", ] ipAddresses: _list[str] - modes: _list[typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4"]] + modes: _list[ + typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"] + ] network: str pscConfig: PscConfig reservedIpRange: str @@ -326,6 +341,9 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PauseReplicaRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class PerformanceConfig(typing_extensions.TypedDict, total=False): fixedIops: FixedIOPS @@ -383,6 +401,9 @@ class RestoreInstanceRequest(typing_extensions.TypedDict, total=False): fileShare: str sourceBackup: str +@typing.type_check_only +class ResumeReplicaRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class RevertInstanceRequest(typing_extensions.TypedDict, total=False): targetSnapshotId: str diff --git a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi index e11c77e45..20ff6572a 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/resources.pyi @@ -237,6 +237,7 @@ class CloudFilestoreResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi index 93d168c73..10486ab37 100644 --- a/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/file/v1beta1/schemas.pyi @@ -270,6 +270,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSharesResponse(typing_extensions.TypedDict, total=False): @@ -320,7 +321,9 @@ class NetworkConfig(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICE_CONNECT", ] ipAddresses: _list[str] - modes: _list[typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4"]] + modes: _list[ + typing_extensions.Literal["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"] + ] network: str pscConfig: PscConfig reservedIpRange: str diff --git a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi index 5382e5a4d..4b7112c7d 100644 --- a/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappcheck/v1beta/schemas.pyi @@ -142,6 +142,7 @@ class GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest( typing_extensions.TypedDict, total=False ): customToken: str + jti: str limitedUse: bool @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi index 451e80f8f..a08defb62 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1/schemas.pyi @@ -8,8 +8,10 @@ _list = list class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): blobGeneration: str blobId: str + downloadExternalReadToken: str downloadReadHandle: str readToken: str + uploadFragmentListCreationInfo: str uploadMetadataContainer: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi index 816afabc2..8bf6278d1 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/resources.pyi @@ -141,6 +141,15 @@ class FirebaseAppDistributionResource(googleapiclient.discovery.Resource): body: GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest = ..., **kwargs: typing.Any, ) -> GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponseHttpRequest: ... + def clearTestCaseCache( + self, + *, + testCase: str, + body: GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponseHttpRequest + ): ... def create( self, *, @@ -249,6 +258,16 @@ class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponseHttpRequest( num_retries: int = 0, ) -> GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse: ... +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse: ... + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi index 1bb9201ed..1286c7e07 100644 --- a/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseappdistribution/v1alpha/schemas.pyi @@ -142,6 +142,17 @@ class GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheRequest( + typing_extensions.TypedDict, total=False +): + testDevices: _list[GoogleFirebaseAppdistroV1alphaTestDevice] + +@typing.type_check_only +class GoogleFirebaseAppdistroV1alphaClearTestCaseCacheResponse( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleFirebaseAppdistroV1alphaCreateReleaseNotesRequest( typing_extensions.TypedDict, total=False @@ -168,6 +179,13 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( appCrash: GoogleFirebaseAppdistroV1alphaAppCrash crawlGraphUri: str device: GoogleFirebaseAppdistroV1alphaTestDevice + executionType: typing_extensions.Literal[ + "EXECUTION_TYPE_UNSPECIFIED", + "AI", + "ACTION_BASED_REPLAY", + "AI_REPLAY", + "RANDOM_CRAWL", + ] failedReason: typing_extensions.Literal[ "FAILED_REASON_UNSPECIFIED", "CRASHED", @@ -177,6 +195,7 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( "FAILED_AI_STEP", "TIMED_OUT", ] + finalAiAssertionMissing: bool inconclusiveReason: typing_extensions.Literal[ "INCONCLUSIVE_REASON_UNSPECIFIED", "QUOTA_EXCEEDED", @@ -189,6 +208,8 @@ class GoogleFirebaseAppdistroV1alphaDeviceExecution( "NO_CODE_APK", "INVALID_APK_PREVIEW_SDK", ] + name: str + originDeviceExecution: str resultsStoragePath: str roboStats: GoogleFirebaseAppdistroV1alphaRoboStats screenshotUris: _list[str] diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi index 46edd8854..b57b04e7a 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/resources.pyi @@ -237,6 +237,7 @@ class FirebaseAppHostingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi index eb055093d..1ce5f09e2 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1/schemas.pyi @@ -53,7 +53,13 @@ class Build(typing_extensions.TypedDict, total=False): reconciling: bool source: BuildSource state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "BUILDING", "BUILT", "DEPLOYING", "READY", "FAILED" + "STATE_UNSPECIFIED", + "BUILDING", + "BUILT", + "DEPLOYING", + "READY", + "FAILED", + "SKIPPED", ] uid: str updateTime: str @@ -85,6 +91,7 @@ class CodebaseSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): + effectiveEnv: _list[EnvironmentVariable] env: _list[EnvironmentVariable] runConfig: RunConfig @@ -223,6 +230,14 @@ class EnvironmentVariable(typing_extensions.TypedDict, total=False): availability: _list[ typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] ] + origin: typing_extensions.Literal[ + "ORIGIN_UNSPECIFIED", + "BACKEND_OVERRIDES", + "BUILD_CONFIG", + "APPHOSTING_YAML", + "FIREBASE_SYSTEM", + ] + originFileName: str secret: str value: str variable: str @@ -262,6 +277,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRolloutsResponse(typing_extensions.TypedDict, total=False): @@ -320,6 +336,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Path(typing_extensions.TypedDict, total=False): + pattern: str + type: typing_extensions.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] + @typing.type_check_only class Redirect(typing_extensions.TypedDict, total=False): status: str @@ -346,6 +367,7 @@ class Rollout(typing_extensions.TypedDict, total=False): "SUCCEEDED", "FAILED", "CANCELLED", + "SKIPPED", ] uid: str updateTime: str @@ -355,6 +377,8 @@ class RolloutPolicy(typing_extensions.TypedDict, total=False): codebaseBranch: str disabled: bool disabledTime: str + ignoredPaths: _list[Path] + requiredPaths: _list[Path] @typing.type_check_only class RunConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi index 86b952343..9fd4263cd 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/resources.pyi @@ -233,6 +233,7 @@ class FirebaseAppHostingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi index 70dda1d37..8840c3a2f 100644 --- a/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseapphosting/v1beta/schemas.pyi @@ -58,7 +58,13 @@ class Build(typing_extensions.TypedDict, total=False): reconciling: bool source: BuildSource state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "BUILDING", "BUILT", "DEPLOYING", "READY", "FAILED" + "STATE_UNSPECIFIED", + "BUILDING", + "BUILT", + "DEPLOYING", + "READY", + "FAILED", + "SKIPPED", ] uid: str updateTime: str @@ -87,6 +93,7 @@ class CodebaseSource(typing_extensions.TypedDict, total=False): @typing.type_check_only class Config(typing_extensions.TypedDict, total=False): + effectiveEnv: _list[EnvironmentVariable] env: _list[EnvironmentVariable] runConfig: RunConfig @@ -226,6 +233,14 @@ class EnvironmentVariable(typing_extensions.TypedDict, total=False): availability: _list[ typing_extensions.Literal["AVAILABILITY_UNSPECIFIED", "BUILD", "RUNTIME"] ] + origin: typing_extensions.Literal[ + "ORIGIN_UNSPECIFIED", + "BACKEND_OVERRIDES", + "BUILD_CONFIG", + "APPHOSTING_YAML", + "FIREBASE_SYSTEM", + ] + originFileName: str secret: str value: str variable: str @@ -265,6 +280,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRolloutsResponse(typing_extensions.TypedDict, total=False): @@ -323,6 +339,11 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class Path(typing_extensions.TypedDict, total=False): + pattern: str + type: typing_extensions.Literal["PATTERN_TYPE_UNSPECIFIED", "RE2", "GLOB", "PREFIX"] + @typing.type_check_only class Redirect(typing_extensions.TypedDict, total=False): status: str @@ -349,6 +370,7 @@ class Rollout(typing_extensions.TypedDict, total=False): "SUCCEEDED", "FAILED", "CANCELLED", + "SKIPPED", ] uid: str updateTime: str @@ -358,6 +380,8 @@ class RolloutPolicy(typing_extensions.TypedDict, total=False): codebaseBranch: str disabled: bool disabledTime: str + ignoredPaths: _list[Path] + requiredPaths: _list[Path] @typing.type_check_only class RunConfig(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi index 4a962ddcf..e2f33aee0 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/resources.pyi @@ -39,6 +39,7 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi index b2b802d11..928f18caf 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1/schemas.pyi @@ -7,6 +7,11 @@ _list = list @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ClientCache(typing_extensions.TypedDict, total=False): + entityIdIncluded: bool + strictValidationEnabled: bool + @typing.type_check_only class CloudSqlInstance(typing_extensions.TypedDict, total=False): instance: str @@ -14,6 +19,7 @@ class CloudSqlInstance(typing_extensions.TypedDict, total=False): @typing.type_check_only class Connector(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + clientCache: ClientCache createTime: str displayName: str etag: str @@ -24,8 +30,16 @@ class Connector(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class DataConnectProperties(typing_extensions.TypedDict, total=False): + entityId: str + entityIds: _list[str] + maxAge: str + path: _list[typing.Any] + @typing.type_check_only class Datasource(typing_extensions.TypedDict, total=False): + httpGraphql: HttpGraphql postgresql: PostgreSql @typing.type_check_only @@ -40,6 +54,7 @@ class ExecuteMutationRequest(typing_extensions.TypedDict, total=False): class ExecuteMutationResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions @typing.type_check_only class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): @@ -50,6 +65,7 @@ class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): class ExecuteQueryResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions @typing.type_check_only class File(typing_extensions.TypedDict, total=False): @@ -86,7 +102,14 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): ] debugDetails: str file: str - resource: str + warningLevel: typing_extensions.Literal[ + "WARNING_LEVEL_UNKNOWN", + "LOG_ONLY", + "INTERACTIVE_ACK", + "REQUIRE_ACK", + "REQUIRE_FORCE", + ] + workarounds: _list[Workaround] @typing.type_check_only class GraphqlRequest(typing_extensions.TypedDict, total=False): @@ -103,6 +126,16 @@ class GraphqlRequestExtensions(typing_extensions.TypedDict, total=False): class GraphqlResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions + +@typing.type_check_only +class GraphqlResponseExtensions(typing_extensions.TypedDict, total=False): + dataConnect: _list[DataConnectProperties] + +@typing.type_check_only +class HttpGraphql(typing_extensions.TypedDict, total=False): + timeout: str + uri: str @typing.type_check_only class ImpersonateRequest(typing_extensions.TypedDict, total=False): @@ -131,6 +164,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSchemasResponse(typing_extensions.TypedDict, total=False): @@ -223,3 +257,9 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class Workaround(typing_extensions.TypedDict, total=False): + description: str + reason: str + replace: str diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi index 4a962ddcf..e2f33aee0 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/resources.pyi @@ -39,6 +39,7 @@ class FirebaseDataConnectResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi index b2b802d11..928f18caf 100644 --- a/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebasedataconnect/v1beta/schemas.pyi @@ -7,6 +7,11 @@ _list = list @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ClientCache(typing_extensions.TypedDict, total=False): + entityIdIncluded: bool + strictValidationEnabled: bool + @typing.type_check_only class CloudSqlInstance(typing_extensions.TypedDict, total=False): instance: str @@ -14,6 +19,7 @@ class CloudSqlInstance(typing_extensions.TypedDict, total=False): @typing.type_check_only class Connector(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + clientCache: ClientCache createTime: str displayName: str etag: str @@ -24,8 +30,16 @@ class Connector(typing_extensions.TypedDict, total=False): uid: str updateTime: str +@typing.type_check_only +class DataConnectProperties(typing_extensions.TypedDict, total=False): + entityId: str + entityIds: _list[str] + maxAge: str + path: _list[typing.Any] + @typing.type_check_only class Datasource(typing_extensions.TypedDict, total=False): + httpGraphql: HttpGraphql postgresql: PostgreSql @typing.type_check_only @@ -40,6 +54,7 @@ class ExecuteMutationRequest(typing_extensions.TypedDict, total=False): class ExecuteMutationResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions @typing.type_check_only class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): @@ -50,6 +65,7 @@ class ExecuteQueryRequest(typing_extensions.TypedDict, total=False): class ExecuteQueryResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions @typing.type_check_only class File(typing_extensions.TypedDict, total=False): @@ -86,7 +102,14 @@ class GraphqlErrorExtensions(typing_extensions.TypedDict, total=False): ] debugDetails: str file: str - resource: str + warningLevel: typing_extensions.Literal[ + "WARNING_LEVEL_UNKNOWN", + "LOG_ONLY", + "INTERACTIVE_ACK", + "REQUIRE_ACK", + "REQUIRE_FORCE", + ] + workarounds: _list[Workaround] @typing.type_check_only class GraphqlRequest(typing_extensions.TypedDict, total=False): @@ -103,6 +126,16 @@ class GraphqlRequestExtensions(typing_extensions.TypedDict, total=False): class GraphqlResponse(typing_extensions.TypedDict, total=False): data: dict[str, typing.Any] errors: _list[GraphqlError] + extensions: GraphqlResponseExtensions + +@typing.type_check_only +class GraphqlResponseExtensions(typing_extensions.TypedDict, total=False): + dataConnect: _list[DataConnectProperties] + +@typing.type_check_only +class HttpGraphql(typing_extensions.TypedDict, total=False): + timeout: str + uri: str @typing.type_check_only class ImpersonateRequest(typing_extensions.TypedDict, total=False): @@ -131,6 +164,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListSchemasResponse(typing_extensions.TypedDict, total=False): @@ -223,3 +257,9 @@ class Status(typing_extensions.TypedDict, total=False): code: int details: _list[dict[str, typing.Any]] message: str + +@typing.type_check_only +class Workaround(typing_extensions.TypedDict, total=False): + description: str + reason: str + replace: str diff --git a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi index cc44bca28..1400eda22 100644 --- a/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/firebaseml/v2beta/schemas.pyi @@ -236,6 +236,8 @@ class GoogleCloudAiplatformV1beta1FunctionCall( args: dict[str, typing.Any] id: str name: str + partialArgs: _list[GoogleCloudAiplatformV1beta1PartialArg] + willContinue: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionCallingConfig( @@ -245,6 +247,7 @@ class GoogleCloudAiplatformV1beta1FunctionCallingConfig( mode: typing_extensions.Literal[ "MODE_UNSPECIFIED", "AUTO", "ANY", "NONE", "VALIDATED" ] + streamFunctionCallArguments: bool @typing.type_check_only class GoogleCloudAiplatformV1beta1FunctionDeclaration( @@ -346,7 +349,11 @@ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata( toolUsePromptTokensDetails: _list[GoogleCloudAiplatformV1beta1ModalityTokenCount] totalTokenCount: int trafficType: typing_extensions.Literal[ - "TRAFFIC_TYPE_UNSPECIFIED", "ON_DEMAND", "PROVISIONED_THROUGHPUT" + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "ON_DEMAND_PRIORITY", + "ON_DEMAND_FLEX", + "PROVISIONED_THROUGHPUT", ] @typing.type_check_only @@ -424,6 +431,9 @@ class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig( ): includeThoughts: bool thinkingBudget: int + thinkingLevel: typing_extensions.Literal[ + "THINKING_LEVEL_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "MINIMAL" + ] @typing.type_check_only class GoogleCloudAiplatformV1beta1GoogleMaps(typing_extensions.TypedDict, total=False): @@ -521,6 +531,7 @@ class GoogleCloudAiplatformV1beta1GroundingSupport( class GoogleCloudAiplatformV1beta1ImageConfig(typing_extensions.TypedDict, total=False): aspectRatio: str imageOutputOptions: GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions + imageSize: str personGeneration: typing_extensions.Literal[ "PERSON_GENERATION_UNSPECIFIED", "ALLOW_ALL", "ALLOW_ADULT", "ALLOW_NONE" ] @@ -583,11 +594,33 @@ class GoogleCloudAiplatformV1beta1Part(typing_extensions.TypedDict, total=False) functionCall: GoogleCloudAiplatformV1beta1FunctionCall functionResponse: GoogleCloudAiplatformV1beta1FunctionResponse inlineData: GoogleCloudAiplatformV1beta1Blob + mediaResolution: GoogleCloudAiplatformV1beta1PartMediaResolution text: str thought: bool thoughtSignature: str videoMetadata: GoogleCloudAiplatformV1beta1VideoMetadata +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PartMediaResolution( + typing_extensions.TypedDict, total=False +): + level: typing_extensions.Literal[ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH", + "MEDIA_RESOLUTION_ULTRA_HIGH", + ] + +@typing.type_check_only +class GoogleCloudAiplatformV1beta1PartialArg(typing_extensions.TypedDict, total=False): + boolValue: bool + jsonPath: str + nullValue: typing_extensions.Literal["NULL_VALUE"] + numberValue: float + stringValue: str + willContinue: bool + @typing.type_check_only class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig( typing_extensions.TypedDict, total=False @@ -648,6 +681,13 @@ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService( ): modelName: str +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig( + typing_extensions.TypedDict, total=False +): + mimeType: str + voiceSampleAudio: str + @typing.type_check_only class GoogleCloudAiplatformV1beta1Retrieval(typing_extensions.TypedDict, total=False): disableAttribution: bool @@ -811,6 +851,7 @@ class GoogleCloudAiplatformV1beta1Tool(typing_extensions.TypedDict, total=False) googleMaps: GoogleCloudAiplatformV1beta1GoogleMaps googleSearch: GoogleCloudAiplatformV1beta1ToolGoogleSearch googleSearchRetrieval: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval + parallelAiSearch: GoogleCloudAiplatformV1beta1ToolParallelAiSearch retrieval: GoogleCloudAiplatformV1beta1Retrieval urlContext: GoogleCloudAiplatformV1beta1UrlContext @@ -848,6 +889,13 @@ class GoogleCloudAiplatformV1beta1ToolGoogleSearch( ] excludeDomains: _list[str] +@typing.type_check_only +class GoogleCloudAiplatformV1beta1ToolParallelAiSearch( + typing_extensions.TypedDict, total=False +): + apiKey: str + customConfigs: dict[str, typing.Any] + @typing.type_check_only class GoogleCloudAiplatformV1beta1UrlContext( typing_extensions.TypedDict, total=False @@ -914,6 +962,7 @@ class GoogleCloudAiplatformV1beta1VideoMetadata( @typing.type_check_only class GoogleCloudAiplatformV1beta1VoiceConfig(typing_extensions.TypedDict, total=False): prebuiltVoiceConfig: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig + replicatedVoiceConfig: GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig @typing.type_check_only class LatLng(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi index ddf2943b8..4e21486bb 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/resources.pyi @@ -157,6 +157,13 @@ class FirestoreResource(googleapiclient.discovery.Resource): currentDocument_updateTime: str = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... + def executePipeline( + self, + *, + database: str, + body: ExecutePipelineRequest = ..., + **kwargs: typing.Any, + ) -> ExecutePipelineResponseHttpRequest: ... def get( self, *, @@ -512,6 +519,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ExecutePipelineResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecutePipelineResponse: ... + @typing.type_check_only class GoogleFirestoreAdminV1BackupHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi index 4989e9756..9754ad922 100644 --- a/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1/schemas.pyi @@ -136,6 +136,20 @@ class DocumentsTarget(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): + newTransaction: TransactionOptions + readTime: str + structuredPipeline: StructuredPipeline + transaction: str + +@typing.type_check_only +class ExecutePipelineResponse(typing_extensions.TypedDict, total=False): + executionTime: str + explainStats: ExplainStats + results: _list[Document] + transaction: str + @typing.type_check_only class ExecutionStats(typing_extensions.TypedDict, total=False): debugStats: dict[str, typing.Any] @@ -158,6 +172,10 @@ class ExplainMetrics(typing_extensions.TypedDict, total=False): class ExplainOptions(typing_extensions.TypedDict, total=False): analyze: bool +@typing.type_check_only +class ExplainStats(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + @typing.type_check_only class FieldFilter(typing_extensions.TypedDict, total=False): field: FieldReference @@ -209,6 +227,12 @@ class FindNearest(typing_extensions.TypedDict, total=False): queryVector: Value vectorField: FieldReference +@typing.type_check_only +class Function(typing_extensions.TypedDict, total=False): + args: _list[Value] + name: str + options: dict[str, typing.Any] + @typing.type_check_only class GoogleFirestoreAdminV1Backup(typing_extensions.TypedDict, total=False): database: str @@ -599,9 +623,8 @@ class GoogleFirestoreAdminV1ListUserCredsResponse( userCreds: _list[GoogleFirestoreAdminV1UserCreds] @typing.type_check_only -class GoogleFirestoreAdminV1LocationMetadata( - typing_extensions.TypedDict, total=False -): ... +class GoogleFirestoreAdminV1LocationMetadata(typing_extensions.TypedDict, total=False): + availableStoragePlacements: _list[str] @typing.type_check_only class GoogleFirestoreAdminV1PitrSnapshot(typing_extensions.TypedDict, total=False): @@ -801,6 +824,10 @@ class PartitionQueryResponse(typing_extensions.TypedDict, total=False): nextPageToken: str partitions: _list[Cursor] +@typing.type_check_only +class Pipeline(typing_extensions.TypedDict, total=False): + stages: _list[Stage] + @typing.type_check_only class PlanSummary(typing_extensions.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @@ -863,6 +890,12 @@ class RunQueryResponse(typing_extensions.TypedDict, total=False): skippedResults: int transaction: str +@typing.type_check_only +class Stage(typing_extensions.TypedDict, total=False): + args: _list[Value] + name: str + options: dict[str, typing.Any] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -874,6 +907,11 @@ class StructuredAggregationQuery(typing_extensions.TypedDict, total=False): aggregations: _list[Aggregation] structuredQuery: StructuredQuery +@typing.type_check_only +class StructuredPipeline(typing_extensions.TypedDict, total=False): + options: dict[str, typing.Any] + pipeline: Pipeline + AlternativeStructuredQuery = typing_extensions.TypedDict( "AlternativeStructuredQuery", { @@ -935,10 +973,13 @@ class Value(typing_extensions.TypedDict, total=False): booleanValue: bool bytesValue: str doubleValue: float + fieldReferenceValue: str + functionValue: Function geoPointValue: LatLng integerValue: str mapValue: MapValue nullValue: typing_extensions.Literal["NULL_VALUE"] + pipelineValue: Pipeline referenceValue: str stringValue: str timestampValue: str diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi index 0998f5019..bb01ae2a7 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/resources.pyi @@ -65,6 +65,13 @@ class FirestoreResource(googleapiclient.discovery.Resource): currentDocument_updateTime: str = ..., **kwargs: typing.Any, ) -> EmptyHttpRequest: ... + def executePipeline( + self, + *, + database: str, + body: ExecutePipelineRequest = ..., + **kwargs: typing.Any, + ) -> ExecutePipelineResponseHttpRequest: ... def get( self, *, @@ -296,6 +303,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class ExecutePipelineResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ExecutePipelineResponse: ... + @typing.type_check_only class GoogleFirestoreAdminV1beta1IndexHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi index a4916dee8..dd6a5fdf2 100644 --- a/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/firestore/v1beta1/schemas.pyi @@ -136,6 +136,20 @@ class DocumentsTarget(typing_extensions.TypedDict, total=False): @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ExecutePipelineRequest(typing_extensions.TypedDict, total=False): + newTransaction: TransactionOptions + readTime: str + structuredPipeline: StructuredPipeline + transaction: str + +@typing.type_check_only +class ExecutePipelineResponse(typing_extensions.TypedDict, total=False): + executionTime: str + explainStats: ExplainStats + results: _list[Document] + transaction: str + @typing.type_check_only class ExecutionStats(typing_extensions.TypedDict, total=False): debugStats: dict[str, typing.Any] @@ -158,6 +172,10 @@ class ExplainMetrics(typing_extensions.TypedDict, total=False): class ExplainOptions(typing_extensions.TypedDict, total=False): analyze: bool +@typing.type_check_only +class ExplainStats(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + @typing.type_check_only class FieldFilter(typing_extensions.TypedDict, total=False): field: FieldReference @@ -209,6 +227,12 @@ class FindNearest(typing_extensions.TypedDict, total=False): queryVector: Value vectorField: FieldReference +@typing.type_check_only +class Function(typing_extensions.TypedDict, total=False): + args: _list[Value] + name: str + options: dict[str, typing.Any] + @typing.type_check_only class GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata( typing_extensions.TypedDict, total=False @@ -470,6 +494,10 @@ class PartitionQueryResponse(typing_extensions.TypedDict, total=False): nextPageToken: str partitions: _list[Cursor] +@typing.type_check_only +class Pipeline(typing_extensions.TypedDict, total=False): + stages: _list[Stage] + @typing.type_check_only class PlanSummary(typing_extensions.TypedDict, total=False): indexesUsed: _list[dict[str, typing.Any]] @@ -532,6 +560,12 @@ class RunQueryResponse(typing_extensions.TypedDict, total=False): skippedResults: int transaction: str +@typing.type_check_only +class Stage(typing_extensions.TypedDict, total=False): + args: _list[Value] + name: str + options: dict[str, typing.Any] + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -543,6 +577,11 @@ class StructuredAggregationQuery(typing_extensions.TypedDict, total=False): aggregations: _list[Aggregation] structuredQuery: StructuredQuery +@typing.type_check_only +class StructuredPipeline(typing_extensions.TypedDict, total=False): + options: dict[str, typing.Any] + pipeline: Pipeline + AlternativeStructuredQuery = typing_extensions.TypedDict( "AlternativeStructuredQuery", { @@ -604,10 +643,13 @@ class Value(typing_extensions.TypedDict, total=False): booleanValue: bool bytesValue: str doubleValue: float + fieldReferenceValue: str + functionValue: Function geoPointValue: LatLng integerValue: str mapValue: MapValue nullValue: typing_extensions.Literal["NULL_VALUE"] + pipelineValue: Pipeline referenceValue: str stringValue: str timestampValue: str diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi index d9bd7ffba..936f45cef 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/resources.pyi @@ -220,6 +220,9 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def getTags( + self, *, name: str, **kwargs: typing.Any + ) -> GetTagsResponseHttpRequest: ... def list( self, *, @@ -250,6 +253,9 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): body: SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def setTags( + self, *, name: str, body: SetTagsRequest = ..., **kwargs: typing.Any + ) -> SetTagsResponseHttpRequest: ... def testIamPermissions( self, *, @@ -489,6 +495,9 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): options_requestedPolicyVersion: int = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def getTags( + self, *, name: str, **kwargs: typing.Any + ) -> GetTagsResponseHttpRequest: ... def list( self, *, @@ -519,6 +528,9 @@ class BackupForGKEResource(googleapiclient.discovery.Resource): body: SetIamPolicyRequest = ..., **kwargs: typing.Any, ) -> PolicyHttpRequest: ... + def setTags( + self, *, name: str, body: SetTagsRequest = ..., **kwargs: typing.Any + ) -> SetTagsResponseHttpRequest: ... def testIamPermissions( self, *, @@ -616,6 +628,14 @@ class GetBackupIndexDownloadUrlResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> GetBackupIndexDownloadUrlResponse: ... +@typing.type_check_only +class GetTagsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetTagsResponse: ... + @typing.type_check_only class GoogleLongrunningListOperationsResponseHttpRequest( googleapiclient.http.HttpRequest @@ -770,6 +790,14 @@ class RestorePlanBindingHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RestorePlanBinding: ... +@typing.type_check_only +class SetTagsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SetTagsResponse: ... + @typing.type_check_only class TestIamPermissionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi index fa605a734..09e4178b7 100644 --- a/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkebackup/v1/schemas.pyi @@ -16,6 +16,51 @@ class AuditLogConfig(typing_extensions.TypedDict, total=False): "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] +@typing.type_check_only +class BDRBackupPlanJobLog(typing_extensions.TypedDict, total=False): + backupPlanName: str + endTime: str + errorCode: int + errorMessage: str + errorType: str + jobCategory: str + jobId: str + jobStatus: str + newBackupPlanRevisionId: str + newBackupPlanRevisionName: str + previousBackupPlanRevisionId: str + previousBackupPlanRevisionName: str + previousBackupRules: _list[BackupRuleDetail] + resourceType: str + revisedBackupRules: _list[BackupRuleDetail] + startTime: str + workloadsAffectedCount: int + +@typing.type_check_only +class BDRBackupRestoreJobLog(typing_extensions.TypedDict, total=False): + backupConsistencyTime: str + backupName: str + backupPlanName: str + backupRetentionDays: int + backupRule: str + backupVaultName: str + endTime: str + errorCode: int + errorMessage: str + errorType: str + incrementalBackupSizeGib: float + jobCategory: str + jobId: str + jobStatus: str + recoveryPointTime: str + resourceType: str + restoreResourceLocation: str + restoreResourceName: str + sourceResourceId: str + sourceResourceLocation: str + sourceResourceName: str + startTime: str + @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): allNamespaces: bool @@ -150,6 +195,15 @@ class BackupPlanDetails(typing_extensions.TypedDict, total=False): "DELETING", ] +@typing.type_check_only +class BackupRuleDetail(typing_extensions.TypedDict, total=False): + backupWindow: str + backupWindowTimezone: str + recurrence: str + recurrenceSchedule: str + retentionDays: int + ruleName: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -223,6 +277,16 @@ class Filter(typing_extensions.TypedDict, total=False): class GetBackupIndexDownloadUrlResponse(typing_extensions.TypedDict, total=False): signedUrl: str +@typing.type_check_only +class GetTagsRequest(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class GetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str + name: str + tags: dict[str, typing.Any] + @typing.type_check_only class GoogleLongrunningCancelOperationRequest( typing_extensions.TypedDict, total=False @@ -516,6 +580,19 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class SetTagsRequest(typing_extensions.TypedDict, total=False): + etag: str + name: str + requestId: str + tags: dict[str, typing.Any] + +@typing.type_check_only +class SetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str + name: str + tags: dict[str, typing.Any] + @typing.type_check_only class SubstitutionRule(typing_extensions.TypedDict, total=False): newValue: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi index 9a4bf19d9..a56ae0bd3 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1/schemas.pyi @@ -135,6 +135,7 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): fleetobservability: FleetObservabilityFeatureSpec multiclusteringress: MultiClusterIngressFeatureSpec rbacrolebindingactuation: RBACRoleBindingActuationFeatureSpec + workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only class CommonFeatureState(typing_extensions.TypedDict, total=False): @@ -143,6 +144,7 @@ class CommonFeatureState(typing_extensions.TypedDict, total=False): fleetobservability: FleetObservabilityFeatureState rbacrolebindingactuation: RBACRoleBindingActuationFeatureState state: FeatureState + workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): @@ -860,6 +862,7 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): policycontroller: PolicyControllerMembershipState servicemesh: ServiceMeshMembershipState state: FeatureState + workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only class MembershipState(typing_extensions.TypedDict, total=False): @@ -1293,3 +1296,49 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): class TypeMeta(typing_extensions.TypedDict, total=False): apiVersion: str kind: str + +@typing.type_check_only +class WorkloadIdentityFeatureSpec(typing_extensions.TypedDict, total=False): + scopeTenancyPool: str + +@typing.type_check_only +class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): + namespaceStateDetails: dict[str, typing.Any] + namespaceStates: dict[str, typing.Any] + scopeTenancyWorkloadIdentityPool: str + workloadIdentityPool: str + workloadIdentityPoolStateDetails: dict[str, typing.Any] + +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + +@typing.type_check_only +class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): + description: str + identityProviderStateDetails: dict[str, typing.Any] + +@typing.type_check_only +class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" + ] + description: str + +@typing.type_check_only +class WorkloadIdentityWorkloadIdentityPoolStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", + "WORKLOAD_IDENTITY_POOL_STATE_OK", + "WORKLOAD_IDENTITY_POOL_STATE_ERROR", + ] + description: str diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi index f81335db5..9ad3de6f1 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/resources.pyi @@ -383,6 +383,65 @@ class GKEHubResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class RolloutSequencesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: RolloutSequence = ..., + rolloutSequenceId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutSequenceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutSequencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutSequencesResponseHttpRequest, + previous_response: ListRolloutSequencesResponse, + ) -> ListRolloutSequencesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: RolloutSequence = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutsResponseHttpRequest, + previous_response: ListRolloutsResponse, + ) -> ListRolloutsResponseHttpRequest | None: ... + @typing.type_check_only class ScopesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -569,6 +628,8 @@ class GKEHubResource(googleapiclient.discovery.Resource): def fleets(self) -> FleetsResource: ... def memberships(self) -> MembershipsResource: ... def operations(self) -> OperationsResource: ... + def rolloutSequences(self) -> RolloutSequencesResource: ... + def rollouts(self) -> RolloutsResource: ... def scopes(self) -> ScopesResource: ... def locations(self) -> LocationsResource: ... @@ -720,6 +781,22 @@ class ListPermittedScopesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListPermittedScopesResponse: ... +@typing.type_check_only +class ListRolloutSequencesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutSequencesResponse: ... + +@typing.type_check_only +class ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutsResponse: ... + @typing.type_check_only class ListScopeNamespacesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -800,6 +877,22 @@ class RBACRoleBindingHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RBACRoleBinding: ... +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutSequenceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutSequence: ... + @typing.type_check_only class ScopeHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi index afe712e45..cbd27ba65 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1alpha/schemas.pyi @@ -63,6 +63,10 @@ class CloudBuildMembershipSpec(typing_extensions.TypedDict, total=False): ] version: str +@typing.type_check_only +class ClusterSelector(typing_extensions.TypedDict, total=False): + labelSelector: str + @typing.type_check_only class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] @@ -511,6 +515,16 @@ 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 @@ -563,6 +577,11 @@ 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 @@ -838,6 +857,16 @@ class ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] +@typing.type_check_only +class ListRolloutSequencesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rolloutSequences: _list[RolloutSequence] + +@typing.type_check_only +class ListRolloutsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rollouts: _list[Rollout] + @typing.type_check_only class ListScopeNamespacesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -1220,6 +1249,83 @@ class Role(typing_extensions.TypedDict, total=False): "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" ] +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + completeTime: str + createTime: str + 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" + ] + stateReason: str + uid: str + updateTime: str + versionUpgrade: VersionUpgrade + +@typing.type_check_only +class RolloutMembershipState(typing_extensions.TypedDict, total=False): + lastUpdateTime: str + stageAssignment: int + targets: _list[RolloutTarget] + +@typing.type_check_only +class RolloutSequence(typing_extensions.TypedDict, total=False): + createTime: str + deleteTime: str + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + stages: _list[Stage] + uid: str + updateTime: str + +@typing.type_check_only +class RolloutStage(typing_extensions.TypedDict, total=False): + endTime: str + soakDuration: str + stageNumber: int + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "SOAKING", + "COMPLETED", + "FORCED_SOAKING", + ] + +@typing.type_check_only +class RolloutTarget(typing_extensions.TypedDict, total=False): + cluster: str + nodePool: str + operation: str + reason: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "FAILED", + "SUCCEEDED", + "PAUSED", + "REMOVED", + "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 @@ -1476,6 +1582,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class Stage(typing_extensions.TypedDict, total=False): + clusterSelector: ClusterSelector + fleetProjects: _list[str] + soakDuration: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] @@ -1518,6 +1630,19 @@ class ValidationResult(typing_extensions.TypedDict, total=False): "FLEET_ALLOWED_FOR_PROJECT_GUARDRAIL", ] +@typing.type_check_only +class VersionUpgrade(typing_extensions.TypedDict, total=False): + desiredVersion: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL", "TYPE_CONFIG_SYNC" + ] + +@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 @@ -1530,9 +1655,21 @@ class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): workloadIdentityPool: str workloadIdentityPoolStateDetails: dict[str, typing.Any] +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + @typing.type_check_only class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): description: str + identityProviderStateDetails: dict[str, typing.Any] @typing.type_check_only class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi index 9ce507377..77128a593 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/resources.pyi @@ -345,6 +345,65 @@ class GKEHubResource(googleapiclient.discovery.Resource): previous_response: ListOperationsResponse, ) -> ListOperationsResponseHttpRequest | None: ... + @typing.type_check_only + class RolloutSequencesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: RolloutSequence = ..., + rolloutSequenceId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutSequenceHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutSequencesResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutSequencesResponseHttpRequest, + previous_response: ListRolloutSequencesResponse, + ) -> ListRolloutSequencesResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: RolloutSequence = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class RolloutsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> RolloutHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListRolloutsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListRolloutsResponseHttpRequest, + previous_response: ListRolloutsResponse, + ) -> ListRolloutsResponseHttpRequest | None: ... + @typing.type_check_only class ScopesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -531,6 +590,8 @@ class GKEHubResource(googleapiclient.discovery.Resource): def fleets(self) -> FleetsResource: ... def memberships(self) -> MembershipsResource: ... def operations(self) -> OperationsResource: ... + def rolloutSequences(self) -> RolloutSequencesResource: ... + def rollouts(self) -> RolloutsResource: ... def scopes(self) -> ScopesResource: ... def locations(self) -> LocationsResource: ... @@ -666,6 +727,22 @@ class ListPermittedScopesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListPermittedScopesResponse: ... +@typing.type_check_only +class ListRolloutSequencesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutSequencesResponse: ... + +@typing.type_check_only +class ListRolloutsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListRolloutsResponse: ... + @typing.type_check_only class ListScopeNamespacesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -746,6 +823,22 @@ class RBACRoleBindingHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> RBACRoleBinding: ... +@typing.type_check_only +class RolloutHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Rollout: ... + +@typing.type_check_only +class RolloutSequenceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RolloutSequence: ... + @typing.type_check_only class ScopeHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi index 55c9ebae1..852dbe8c1 100644 --- a/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v1beta/schemas.pyi @@ -52,6 +52,10 @@ class Binding(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ClusterSelector(typing_extensions.TypedDict, total=False): + labelSelector: str + @typing.type_check_only class ClusterUpgradeFleetSpec(typing_extensions.TypedDict, total=False): gkeUpgradeOverrides: _list[ClusterUpgradeGKEUpgradeOverride] @@ -135,6 +139,7 @@ class CommonFeatureSpec(typing_extensions.TypedDict, total=False): fleetobservability: FleetObservabilityFeatureSpec multiclusteringress: MultiClusterIngressFeatureSpec rbacrolebindingactuation: RBACRoleBindingActuationFeatureSpec + workloadidentity: WorkloadIdentityFeatureSpec @typing.type_check_only class CommonFeatureState(typing_extensions.TypedDict, total=False): @@ -143,6 +148,7 @@ class CommonFeatureState(typing_extensions.TypedDict, total=False): fleetobservability: FleetObservabilityFeatureState rbacrolebindingactuation: RBACRoleBindingActuationFeatureState state: FeatureState + workloadidentity: WorkloadIdentityFeatureState @typing.type_check_only class CommonFleetDefaultMemberConfigSpec(typing_extensions.TypedDict, total=False): @@ -480,6 +486,16 @@ 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 @@ -521,6 +537,11 @@ 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 @@ -785,6 +806,16 @@ class ListPermittedScopesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str scopes: _list[Scope] +@typing.type_check_only +class ListRolloutSequencesResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rolloutSequences: _list[RolloutSequence] + +@typing.type_check_only +class ListRolloutsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + rollouts: _list[Rollout] + @typing.type_check_only class ListScopeNamespacesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -879,6 +910,7 @@ class MembershipFeatureState(typing_extensions.TypedDict, total=False): policycontroller: PolicyControllerMembershipState servicemesh: ServiceMeshMembershipState state: FeatureState + workloadidentity: WorkloadIdentityMembershipState @typing.type_check_only class MembershipSpec(typing_extensions.TypedDict, total=False): @@ -1147,6 +1179,83 @@ class Role(typing_extensions.TypedDict, total=False): "UNKNOWN", "ADMIN", "EDIT", "VIEW", "ANTHOS_SUPPORT" ] +@typing.type_check_only +class Rollout(typing_extensions.TypedDict, total=False): + completeTime: str + createTime: str + 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" + ] + stateReason: str + uid: str + updateTime: str + versionUpgrade: VersionUpgrade + +@typing.type_check_only +class RolloutMembershipState(typing_extensions.TypedDict, total=False): + lastUpdateTime: str + stageAssignment: int + targets: _list[RolloutTarget] + +@typing.type_check_only +class RolloutSequence(typing_extensions.TypedDict, total=False): + createTime: str + deleteTime: str + displayName: str + etag: str + labels: dict[str, typing.Any] + name: str + stages: _list[Stage] + uid: str + updateTime: str + +@typing.type_check_only +class RolloutStage(typing_extensions.TypedDict, total=False): + endTime: str + soakDuration: str + stageNumber: int + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "SOAKING", + "COMPLETED", + "FORCED_SOAKING", + ] + +@typing.type_check_only +class RolloutTarget(typing_extensions.TypedDict, total=False): + cluster: str + nodePool: str + operation: str + reason: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PENDING", + "RUNNING", + "FAILED", + "SUCCEEDED", + "PAUSED", + "REMOVED", + "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 @@ -1310,6 +1419,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class Stage(typing_extensions.TypedDict, total=False): + clusterSelector: ClusterSelector + fleetProjects: _list[str] + soakDuration: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: typing_extensions.Literal["CODE_UNSPECIFIED", "OK", "FAILED", "UNKNOWN"] @@ -1327,3 +1442,62 @@ class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): class TypeMeta(typing_extensions.TypedDict, total=False): apiVersion: str kind: str + +@typing.type_check_only +class VersionUpgrade(typing_extensions.TypedDict, total=False): + desiredVersion: str + type: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "TYPE_CONTROL_PLANE", "TYPE_NODE_POOL", "TYPE_CONFIG_SYNC" + ] + +@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 + +@typing.type_check_only +class WorkloadIdentityFeatureState(typing_extensions.TypedDict, total=False): + namespaceStateDetails: dict[str, typing.Any] + namespaceStates: dict[str, typing.Any] + scopeTenancyWorkloadIdentityPool: str + workloadIdentityPool: str + workloadIdentityPoolStateDetails: dict[str, typing.Any] + +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + +@typing.type_check_only +class WorkloadIdentityMembershipState(typing_extensions.TypedDict, total=False): + description: str + identityProviderStateDetails: dict[str, typing.Any] + +@typing.type_check_only +class WorkloadIdentityNamespaceStateDetail(typing_extensions.TypedDict, total=False): + code: typing_extensions.Literal[ + "NAMESPACE_STATE_UNSPECIFIED", "NAMESPACE_STATE_OK", "NAMESPACE_STATE_ERROR" + ] + description: str + +@typing.type_check_only +class WorkloadIdentityWorkloadIdentityPoolStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "WORKLOAD_IDENTITY_POOL_STATE_UNSPECIFIED", + "WORKLOAD_IDENTITY_POOL_STATE_OK", + "WORKLOAD_IDENTITY_POOL_STATE_ERROR", + ] + description: str diff --git a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi index d0e7a06bd..ab9043732 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2/schemas.pyi @@ -380,6 +380,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State + workloadidentity: WorkloadIdentityState @typing.type_check_only class GoogleRpcStatus(typing_extensions.TypedDict, total=False): @@ -861,3 +862,19 @@ class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): certificateManagement: typing_extensions.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] + +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + +@typing.type_check_only +class WorkloadIdentityState(typing_extensions.TypedDict, total=False): + description: str + identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi index d0e7a06bd..ab9043732 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2alpha/schemas.pyi @@ -380,6 +380,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State + workloadidentity: WorkloadIdentityState @typing.type_check_only class GoogleRpcStatus(typing_extensions.TypedDict, total=False): @@ -861,3 +862,19 @@ class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): certificateManagement: typing_extensions.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] + +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + +@typing.type_check_only +class WorkloadIdentityState(typing_extensions.TypedDict, total=False): + description: str + identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi index d0e7a06bd..ab9043732 100644 --- a/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkehub/v2beta/schemas.pyi @@ -380,6 +380,7 @@ class FeatureState(typing_extensions.TypedDict, total=False): rbacrolebindingactuation: RBACRoleBindingActuationState servicemesh: ServiceMeshState state: State + workloadidentity: WorkloadIdentityState @typing.type_check_only class GoogleRpcStatus(typing_extensions.TypedDict, total=False): @@ -861,3 +862,19 @@ class WorkloadCertificateSpec(typing_extensions.TypedDict, total=False): certificateManagement: typing_extensions.Literal[ "CERTIFICATE_MANAGEMENT_UNSPECIFIED", "DISABLED", "ENABLED" ] + +@typing.type_check_only +class WorkloadIdentityIdentityProviderStateDetail( + typing_extensions.TypedDict, total=False +): + code: typing_extensions.Literal[ + "IDENTITY_PROVIDER_STATE_UNSPECIFIED", + "IDENTITY_PROVIDER_STATE_OK", + "IDENTITY_PROVIDER_STATE_ERROR", + ] + description: str + +@typing.type_check_only +class WorkloadIdentityState(typing_extensions.TypedDict, total=False): + description: str + identityProviderStateDetails: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi index 8d14d06d3..4e4fa2cbf 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/resources.pyi @@ -31,6 +31,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -148,6 +149,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -261,6 +263,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -400,6 +403,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -422,6 +426,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -436,6 +441,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): parent: str, body: VmwareAdminCluster = ..., allowPreflightFailure: bool = ..., + skipValidations: str | _list[str] = ..., validateOnly: bool = ..., vmwareAdminClusterId: str = ..., **kwargs: typing.Any, @@ -486,6 +492,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, body: VmwareAdminCluster = ..., + skipValidations: str | _list[str] = ..., updateMask: str = ..., validateOnly: bool = ..., **kwargs: typing.Any, @@ -530,6 +537,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -552,6 +560,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -658,6 +667,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): parent: str, body: VmwareCluster = ..., allowPreflightFailure: bool = ..., + skipValidations: str | _list[str] = ..., validateOnly: bool = ..., vmwareClusterId: str = ..., **kwargs: typing.Any, @@ -720,6 +730,7 @@ class GKEOnPremResource(googleapiclient.discovery.Resource): *, name: str, body: VmwareCluster = ..., + skipValidations: str | _list[str] = ..., updateMask: str = ..., validateOnly: bool = ..., **kwargs: typing.Any, diff --git a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi index 621877fb1..6c04d8908 100644 --- a/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gkeonprem/v1/schemas.pyi @@ -13,6 +13,19 @@ class BareMetalAdminApiServerArgument(typing_extensions.TypedDict, total=False): argument: str value: str +@typing.type_check_only +class BareMetalAdminBgpLbConfig(typing_extensions.TypedDict, total=False): + addressPools: _list[BareMetalAdminLoadBalancerAddressPool] + asn: str + bgpPeerConfigs: _list[BareMetalAdminBgpPeerConfig] + loadBalancerNodePoolConfig: BareMetalAdminLoadBalancerNodePoolConfig + +@typing.type_check_only +class BareMetalAdminBgpPeerConfig(typing_extensions.TypedDict, total=False): + asn: str + controlPlaneNodes: _list[str] + ipAddress: str + @typing.type_check_only class BareMetalAdminCluster(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -82,12 +95,26 @@ class BareMetalAdminIslandModeCidrConfig(typing_extensions.TypedDict, total=Fals podAddressCidrBlocks: _list[str] serviceAddressCidrBlocks: _list[str] +@typing.type_check_only +class BareMetalAdminLoadBalancerAddressPool(typing_extensions.TypedDict, total=False): + addresses: _list[str] + avoidBuggyIps: bool + manualAssign: bool + pool: str + @typing.type_check_only class BareMetalAdminLoadBalancerConfig(typing_extensions.TypedDict, total=False): + bgpLbConfig: BareMetalAdminBgpLbConfig manualLbConfig: BareMetalAdminManualLbConfig portConfig: BareMetalAdminPortConfig vipConfig: BareMetalAdminVipConfig +@typing.type_check_only +class BareMetalAdminLoadBalancerNodePoolConfig( + typing_extensions.TypedDict, total=False +): + nodePoolConfig: BareMetalNodePoolConfig + @typing.type_check_only class BareMetalAdminMachineDrainStatus(typing_extensions.TypedDict, total=False): drainedMachines: _list[BareMetalAdminDrainedMachine] @@ -105,9 +132,17 @@ class BareMetalAdminMaintenanceStatus(typing_extensions.TypedDict, total=False): class BareMetalAdminManualLbConfig(typing_extensions.TypedDict, total=False): enabled: bool +@typing.type_check_only +class BareMetalAdminMultipleNetworkInterfacesConfig( + typing_extensions.TypedDict, total=False +): + enabled: bool + @typing.type_check_only class BareMetalAdminNetworkConfig(typing_extensions.TypedDict, total=False): + advancedNetworking: bool islandModeCidr: BareMetalAdminIslandModeCidrConfig + multipleNetworkInterfacesConfig: BareMetalAdminMultipleNetworkInterfacesConfig @typing.type_check_only class BareMetalAdminNodeAccessConfig(typing_extensions.TypedDict, total=False): @@ -496,6 +531,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListVmwareAdminClustersResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi b/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi index 80f58bf42..02af2f5d9 100644 --- a/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/gmail/v1/schemas.pyi @@ -22,6 +22,16 @@ class BatchModifyMessagesRequest(typing_extensions.TypedDict, total=False): ids: _list[str] removeLabelIds: _list[str] +@typing.type_check_only +class ClassificationLabelFieldValue(typing_extensions.TypedDict, total=False): + fieldId: str + selection: str + +@typing.type_check_only +class ClassificationLabelValue(typing_extensions.TypedDict, total=False): + fields: _list[ClassificationLabelFieldValue] + labelId: str + @typing.type_check_only class CseIdentity(typing_extensions.TypedDict, total=False): emailAddress: str @@ -231,6 +241,7 @@ class ListThreadsResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Message(typing_extensions.TypedDict, total=False): + classificationLabelValues: _list[ClassificationLabelValue] historyId: str id: str internalDate: str diff --git a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi index de674c7eb..98593ee0a 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/resources.pyi @@ -745,7 +745,8 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: SearchResourcesRequest = ..., + body: HttpBody = ..., + resourceType: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def search_type( @@ -753,7 +754,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, resourceType: str, - body: SearchResourcesRequest = ..., + body: HttpBody = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def update( diff --git a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi index e76c80522..f8eb2af64 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1/schemas.pyi @@ -479,6 +479,7 @@ class FhirStoreMetric(typing_extensions.TypedDict, total=False): count: str resourceType: str structuredStorageSizeBytes: str + versionedStorageSizeBytes: str @typing.type_check_only class FhirStoreMetrics(typing_extensions.TypedDict, total=False): @@ -545,6 +546,9 @@ class GoogleCloudHealthcareV1DicomBigQueryDestination( typing_extensions.TypedDict, total=False ): force: bool + includeSourceStore: bool + schemaFlattened: SchemaFlattened + schemaJson: SchemaJSON tableUri: str writeDisposition: typing_extensions.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" @@ -843,6 +847,8 @@ class Policy(typing_extensions.TypedDict, total=False): class ProgressCounter(typing_extensions.TypedDict, total=False): failure: str pending: str + secondaryFailure: str + secondarySuccess: str success: str @typing.type_check_only @@ -933,6 +939,9 @@ class SchemaConfig(typing_extensions.TypedDict, total=False): "SCHEMA_TYPE_UNSPECIFIED", "ANALYTICS", "ANALYTICS_V2" ] +@typing.type_check_only +class SchemaFlattened(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchemaGroup(typing_extensions.TypedDict, total=False): choice: bool @@ -941,6 +950,9 @@ class SchemaGroup(typing_extensions.TypedDict, total=False): minOccurs: int name: str +@typing.type_check_only +class SchemaJSON(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchemaPackage(typing_extensions.TypedDict, total=False): ignoreMinOccurs: bool @@ -964,10 +976,6 @@ class SchematizedData(typing_extensions.TypedDict, total=False): data: str error: str -@typing.type_check_only -class SearchResourcesRequest(typing_extensions.TypedDict, total=False): - resourceType: str - @typing.type_check_only class Segment(typing_extensions.TypedDict, total=False): fields: dict[str, typing.Any] @@ -1089,6 +1097,7 @@ class ValidationConfig(typing_extensions.TypedDict, total=False): disableProfileValidation: bool disableReferenceTypeValidation: bool disableRequiredFieldValidation: bool + enableFhirpathProfileValidation: bool enabledImplementationGuides: _list[str] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi index c18fbfc15..f1cf2b5f2 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/resources.pyi @@ -830,7 +830,8 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): self, *, parent: str, - body: SearchResourcesRequest = ..., + body: HttpBody = ..., + resourceType: str = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def search_type( @@ -838,7 +839,7 @@ class CloudHealthcareResource(googleapiclient.discovery.Resource): *, parent: str, resourceType: str, - body: SearchResourcesRequest = ..., + body: HttpBody = ..., **kwargs: typing.Any, ) -> HttpBodyHttpRequest: ... def update( diff --git a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi index bda8ccfb5..372492ed4 100644 --- a/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/healthcare/v1beta1/schemas.pyi @@ -563,6 +563,7 @@ class FhirStoreMetric(typing_extensions.TypedDict, total=False): count: str resourceType: str structuredStorageSizeBytes: str + versionedStorageSizeBytes: str @typing.type_check_only class FhirStoreMetrics(typing_extensions.TypedDict, total=False): @@ -652,12 +653,21 @@ class GoogleCloudHealthcareV1beta1DeidentifyOptions( class GoogleCloudHealthcareV1beta1DicomBigQueryDestination( typing_extensions.TypedDict, total=False ): + changeDataCaptureConfig: GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig force: bool + includeSourceStore: bool + schemaFlattened: SchemaFlattened + schemaJson: SchemaJSON tableUri: str writeDisposition: typing_extensions.Literal[ "WRITE_DISPOSITION_UNSPECIFIED", "WRITE_EMPTY", "WRITE_TRUNCATE", "WRITE_APPEND" ] +@typing.type_check_only +class GoogleCloudHealthcareV1beta1DicomChangeDataCaptureConfig( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class GoogleCloudHealthcareV1beta1DicomGcsDestination( typing_extensions.TypedDict, total=False @@ -1111,6 +1121,9 @@ class SchemaConfig(typing_extensions.TypedDict, total=False): "SCHEMA_TYPE_UNSPECIFIED", "LOSSLESS", "ANALYTICS", "ANALYTICS_V2" ] +@typing.type_check_only +class SchemaFlattened(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchemaGroup(typing_extensions.TypedDict, total=False): choice: bool @@ -1119,6 +1132,9 @@ class SchemaGroup(typing_extensions.TypedDict, total=False): minOccurs: int name: str +@typing.type_check_only +class SchemaJSON(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class SchemaPackage(typing_extensions.TypedDict, total=False): ignoreMinOccurs: bool @@ -1151,10 +1167,6 @@ class SearchParameter(typing_extensions.TypedDict, total=False): canonicalUrl: str parameter: str -@typing.type_check_only -class SearchResourcesRequest(typing_extensions.TypedDict, total=False): - resourceType: str - @typing.type_check_only class Segment(typing_extensions.TypedDict, total=False): fields: dict[str, typing.Any] @@ -1283,6 +1295,7 @@ class ValidationConfig(typing_extensions.TypedDict, total=False): disableProfileValidation: bool disableReferenceTypeValidation: bool disableRequiredFieldValidation: bool + enableFhirpathProfileValidation: bool enabledImplementationGuides: _list[str] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/__init__.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/__init__.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi new file mode 100644 index 000000000..7acc4921b --- /dev/null +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/resources.pyi @@ -0,0 +1,184 @@ +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 HypercomputeClusterResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ClustersResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Cluster = ..., + clusterId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ClusterHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListClustersResponseHttpRequest: ... + def list_next( + self, + previous_request: ListClustersResponseHttpRequest, + previous_response: ListClustersResponse, + ) -> ListClustersResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Cluster = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def clusters(self) -> ClustersResource: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + 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 projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class ClusterHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Cluster: ... + +@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 ListClustersResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListClustersResponse: ... + +@typing.type_check_only +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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 LocationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + 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: ... diff --git a/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi new file mode 100644 index 000000000..9556c07b9 --- /dev/null +++ b/googleapiclient-stubs/_apis/hypercomputecluster/v1/schemas.pyi @@ -0,0 +1,388 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class BootDisk(typing_extensions.TypedDict, total=False): + sizeGb: str + type: str + +@typing.type_check_only +class BucketReference(typing_extensions.TypedDict, total=False): + bucket: str + +@typing.type_check_only +class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CheckClusterHealth(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class Cluster(typing_extensions.TypedDict, total=False): + computeResources: dict[str, typing.Any] + createTime: str + description: str + labels: dict[str, typing.Any] + name: str + networkResources: dict[str, typing.Any] + orchestrator: Orchestrator + reconciling: bool + storageResources: dict[str, typing.Any] + updateTime: str + +@typing.type_check_only +class ComputeInstance(typing_extensions.TypedDict, total=False): + instance: str + +@typing.type_check_only +class ComputeInstanceSlurmNodeSet(typing_extensions.TypedDict, total=False): + bootDisk: BootDisk + labels: dict[str, typing.Any] + startupScript: str + +@typing.type_check_only +class ComputeResource(typing_extensions.TypedDict, total=False): + config: ComputeResourceConfig + +@typing.type_check_only +class ComputeResourceConfig(typing_extensions.TypedDict, total=False): + newFlexStartInstances: NewFlexStartInstancesConfig + newOnDemandInstances: NewOnDemandInstancesConfig + newReservedInstances: NewReservedInstancesConfig + newSpotInstances: NewSpotInstancesConfig + +@typing.type_check_only +class CreateFilestoreInstance(typing_extensions.TypedDict, total=False): + filestore: str + +@typing.type_check_only +class CreateLoginNode(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CreateLustreInstance(typing_extensions.TypedDict, total=False): + lustre: str + +@typing.type_check_only +class CreateNetwork(typing_extensions.TypedDict, total=False): + network: str + +@typing.type_check_only +class CreateNodeset(typing_extensions.TypedDict, total=False): + nodesets: _list[str] + +@typing.type_check_only +class CreateOrchestrator(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CreatePartition(typing_extensions.TypedDict, total=False): + partitions: _list[str] + +@typing.type_check_only +class CreatePrivateServiceAccess(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class CreateStorageBucket(typing_extensions.TypedDict, total=False): + bucket: str + +@typing.type_check_only +class DeleteFilestoreInstance(typing_extensions.TypedDict, total=False): + filestore: str + +@typing.type_check_only +class DeleteLoginNode(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DeleteLustreInstance(typing_extensions.TypedDict, total=False): + lustre: str + +@typing.type_check_only +class DeleteNetwork(typing_extensions.TypedDict, total=False): + network: str + +@typing.type_check_only +class DeleteNodeset(typing_extensions.TypedDict, total=False): + nodesets: _list[str] + +@typing.type_check_only +class DeleteOrchestrator(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DeletePartition(typing_extensions.TypedDict, total=False): + partitions: _list[str] + +@typing.type_check_only +class DeletePrivateServiceAccess(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class DeleteStorageBucket(typing_extensions.TypedDict, total=False): + bucket: str + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class ExistingBucketConfig(typing_extensions.TypedDict, total=False): + bucket: str + +@typing.type_check_only +class ExistingFilestoreConfig(typing_extensions.TypedDict, total=False): + filestore: str + +@typing.type_check_only +class ExistingLustreConfig(typing_extensions.TypedDict, total=False): + lustre: str + +@typing.type_check_only +class ExistingNetworkConfig(typing_extensions.TypedDict, total=False): + network: str + subnetwork: str + +@typing.type_check_only +class FileShareConfig(typing_extensions.TypedDict, total=False): + capacityGb: str + fileShare: str + +@typing.type_check_only +class FilestoreReference(typing_extensions.TypedDict, total=False): + filestore: str + +@typing.type_check_only +class GcsAutoclassConfig(typing_extensions.TypedDict, total=False): + enabled: bool + terminalStorageClass: typing_extensions.Literal[ + "TERMINAL_STORAGE_CLASS_UNSPECIFIED" + ] + +@typing.type_check_only +class GcsHierarchicalNamespaceConfig(typing_extensions.TypedDict, total=False): + enabled: bool + +@typing.type_check_only +class ListClustersResponse(typing_extensions.TypedDict, total=False): + clusters: _list[Cluster] + nextPageToken: str + unreachable: _list[str] + +@typing.type_check_only +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 Location(typing_extensions.TypedDict, total=False): + displayName: str + labels: dict[str, typing.Any] + locationId: str + metadata: dict[str, typing.Any] + name: str + +@typing.type_check_only +class LustreReference(typing_extensions.TypedDict, total=False): + lustre: str + +@typing.type_check_only +class NetworkReference(typing_extensions.TypedDict, total=False): + network: str + subnetwork: str + +@typing.type_check_only +class NetworkResource(typing_extensions.TypedDict, total=False): + config: NetworkResourceConfig + network: NetworkReference + +@typing.type_check_only +class NetworkResourceConfig(typing_extensions.TypedDict, total=False): + existingNetwork: ExistingNetworkConfig + newNetwork: NewNetworkConfig + +@typing.type_check_only +class NewBucketConfig(typing_extensions.TypedDict, total=False): + autoclass: GcsAutoclassConfig + bucket: str + hierarchicalNamespace: GcsHierarchicalNamespaceConfig + storageClass: typing_extensions.Literal[ + "STORAGE_CLASS_UNSPECIFIED", "STANDARD", "NEARLINE", "COLDLINE", "ARCHIVE" + ] + +@typing.type_check_only +class NewFilestoreConfig(typing_extensions.TypedDict, total=False): + description: str + fileShares: _list[FileShareConfig] + filestore: str + protocol: typing_extensions.Literal["PROTOCOL_UNSPECIFIED", "NFSV3", "NFSV41"] + tier: typing_extensions.Literal["TIER_UNSPECIFIED", "ZONAL", "REGIONAL"] + +@typing.type_check_only +class NewFlexStartInstancesConfig(typing_extensions.TypedDict, total=False): + machineType: str + maxDuration: str + zone: str + +@typing.type_check_only +class NewLustreConfig(typing_extensions.TypedDict, total=False): + capacityGb: str + description: str + filesystem: str + lustre: str + +@typing.type_check_only +class NewNetworkConfig(typing_extensions.TypedDict, total=False): + description: str + network: str + +@typing.type_check_only +class NewOnDemandInstancesConfig(typing_extensions.TypedDict, total=False): + machineType: str + zone: str + +@typing.type_check_only +class NewReservedInstancesConfig(typing_extensions.TypedDict, total=False): + reservation: str + +@typing.type_check_only +class NewSpotInstancesConfig(typing_extensions.TypedDict, total=False): + machineType: str + terminationAction: typing_extensions.Literal[ + "TERMINATION_ACTION_UNSPECIFIED", "STOP", "DELETE" + ] + zone: str + +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + progress: OperationProgress + requestedCancellation: bool + target: str + verb: str + +@typing.type_check_only +class OperationProgress(typing_extensions.TypedDict, total=False): + steps: _list[OperationStep] + +@typing.type_check_only +class OperationStep(typing_extensions.TypedDict, total=False): + checkClusterHealth: CheckClusterHealth + createFilestoreInstance: CreateFilestoreInstance + createLoginNode: CreateLoginNode + createLustreInstance: CreateLustreInstance + createNetwork: CreateNetwork + createNodeset: CreateNodeset + createOrchestrator: CreateOrchestrator + createPartition: CreatePartition + createPrivateServiceAccess: CreatePrivateServiceAccess + createStorageBucket: CreateStorageBucket + deleteFilestoreInstance: DeleteFilestoreInstance + deleteLoginNode: DeleteLoginNode + deleteLustreInstance: DeleteLustreInstance + deleteNetwork: DeleteNetwork + deleteNodeset: DeleteNodeset + deleteOrchestrator: DeleteOrchestrator + deletePartition: DeletePartition + deletePrivateServiceAccess: DeletePrivateServiceAccess + deleteStorageBucket: DeleteStorageBucket + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "WAITING", "IN_PROGRESS", "DONE" + ] + updateLoginNode: UpdateLoginNode + updateNodeset: UpdateNodeset + updateOrchestrator: UpdateOrchestrator + updatePartition: UpdatePartition + +@typing.type_check_only +class Orchestrator(typing_extensions.TypedDict, total=False): + slurm: SlurmOrchestrator + +@typing.type_check_only +class SlurmLoginNodes(typing_extensions.TypedDict, total=False): + bootDisk: BootDisk + count: str + enableOsLogin: bool + enablePublicIps: bool + instances: _list[ComputeInstance] + labels: dict[str, typing.Any] + machineType: str + startupScript: str + storageConfigs: _list[StorageConfig] + zone: str + +@typing.type_check_only +class SlurmNodeSet(typing_extensions.TypedDict, total=False): + computeId: str + computeInstance: ComputeInstanceSlurmNodeSet + id: str + maxDynamicNodeCount: str + staticNodeCount: str + storageConfigs: _list[StorageConfig] + +@typing.type_check_only +class SlurmOrchestrator(typing_extensions.TypedDict, total=False): + defaultPartition: str + epilogBashScripts: _list[str] + loginNodes: SlurmLoginNodes + nodeSets: _list[SlurmNodeSet] + partitions: _list[SlurmPartition] + prologBashScripts: _list[str] + +@typing.type_check_only +class SlurmPartition(typing_extensions.TypedDict, total=False): + id: str + nodeSetIds: _list[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 StorageConfig(typing_extensions.TypedDict, total=False): + id: str + localMount: str + +@typing.type_check_only +class StorageResource(typing_extensions.TypedDict, total=False): + bucket: BucketReference + config: StorageResourceConfig + filestore: FilestoreReference + lustre: LustreReference + +@typing.type_check_only +class StorageResourceConfig(typing_extensions.TypedDict, total=False): + existingBucket: ExistingBucketConfig + existingFilestore: ExistingFilestoreConfig + existingLustre: ExistingLustreConfig + newBucket: NewBucketConfig + newFilestore: NewFilestoreConfig + newLustre: NewLustreConfig + +@typing.type_check_only +class UpdateLoginNode(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UpdateNodeset(typing_extensions.TypedDict, total=False): + nodesets: _list[str] + +@typing.type_check_only +class UpdateOrchestrator(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class UpdatePartition(typing_extensions.TypedDict, total=False): + partitions: _list[str] diff --git a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi index 0bb455ad9..aa8c8f0cf 100644 --- a/googleapiclient-stubs/_apis/iam/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/iam/v1/schemas.pyi @@ -128,7 +128,10 @@ class GoogleIamAdminV1WorkforcePoolProviderExtraAttributesOAuth2Client( typing_extensions.TypedDict, total=False ): attributesType: typing_extensions.Literal[ - "ATTRIBUTES_TYPE_UNSPECIFIED", "AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID" + "ATTRIBUTES_TYPE_UNSPECIFIED", + "AZURE_AD_GROUPS_MAIL", + "AZURE_AD_GROUPS_ID", + "AZURE_AD_GROUPS_DISPLAY_NAME", ] clientId: str clientSecret: GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret diff --git a/googleapiclient-stubs/_apis/ids/v1/resources.pyi b/googleapiclient-stubs/_apis/ids/v1/resources.pyi index 53a953f70..1a765714b 100644 --- a/googleapiclient-stubs/_apis/ids/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/resources.pyi @@ -81,6 +81,7 @@ class IDSResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ids/v1/schemas.pyi b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi index e1893fa72..2dc49b834 100644 --- a/googleapiclient-stubs/_apis/ids/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ids/v1/schemas.pyi @@ -46,6 +46,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi index d2c5f9d75..3feb352f6 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/resources.pyi @@ -65,7 +65,13 @@ class KmsinventoryResource(googleapiclient.discovery.Resource): @typing.type_check_only class CryptoKeysResource(googleapiclient.discovery.Resource): def getProtectedResourcesSummary( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + fallbackScope: typing_extensions.Literal[ + "FALLBACK_SCOPE_UNSPECIFIED", "FALLBACK_SCOPE_PROJECT" + ] = ..., + **kwargs: typing.Any, ) -> ( GoogleCloudKmsInventoryV1ProtectedResourcesSummaryHttpRequest ): ... @@ -74,8 +80,32 @@ class KmsinventoryResource(googleapiclient.discovery.Resource): def keyRings(self) -> KeyRingsResource: ... + @typing.type_check_only + class ProtectedResourcesResource(googleapiclient.discovery.Resource): + def search( + self, + *, + scope: str, + cryptoKey: str = ..., + pageSize: int = ..., + pageToken: str = ..., + resourceTypes: str | _list[str] = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudKmsInventoryV1SearchProtectedResourcesResponseHttpRequest + ): ... + def search_next( + self, + previous_request: GoogleCloudKmsInventoryV1SearchProtectedResourcesResponseHttpRequest, + previous_response: GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse, + ) -> ( + GoogleCloudKmsInventoryV1SearchProtectedResourcesResponseHttpRequest + | None + ): ... + def cryptoKeys(self) -> CryptoKeysResource: ... def locations(self) -> LocationsResource: ... + def protectedResources(self) -> ProtectedResourcesResource: ... def new_batch_http_request( self, diff --git a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi index 7674d2d6d..215e0fe29 100644 --- a/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/kmsinventory/v1/schemas.pyi @@ -36,6 +36,7 @@ class GoogleCloudKmsInventoryV1ProtectedResourcesSummary( projectCount: int resourceCount: str resourceTypes: dict[str, typing.Any] + warnings: _list[GoogleCloudKmsInventoryV1Warning] @typing.type_check_only class GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse( @@ -44,6 +45,16 @@ class GoogleCloudKmsInventoryV1SearchProtectedResourcesResponse( nextPageToken: str protectedResources: _list[GoogleCloudKmsInventoryV1ProtectedResource] +@typing.type_check_only +class GoogleCloudKmsInventoryV1Warning(typing_extensions.TypedDict, total=False): + displayMessage: str + warningCode: typing_extensions.Literal[ + "WARNING_CODE_UNSPECIFIED", + "INSUFFICIENT_PERMISSIONS_PARTIAL_DATA", + "RESOURCE_LIMIT_EXCEEDED_PARTIAL_DATA", + "ORG_LESS_PROJECT_PARTIAL_DATA", + ] + @typing.type_check_only class GoogleCloudKmsV1CryptoKey(typing_extensions.TypedDict, total=False): createTime: str @@ -114,6 +125,9 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] attestation: GoogleCloudKmsV1KeyOperationAttestation createTime: str @@ -128,7 +142,12 @@ class GoogleCloudKmsV1CryptoKeyVersion(typing_extensions.TypedDict, total=False) importTime: str name: str protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] reimportEligible: bool state: typing_extensions.Literal[ @@ -194,9 +213,17 @@ class GoogleCloudKmsV1CryptoKeyVersionTemplate( "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256", + "PQ_SIGN_ML_DSA_44_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_65_EXTERNAL_MU", + "PQ_SIGN_ML_DSA_87_EXTERNAL_MU", ] protectionLevel: typing_extensions.Literal[ - "PROTECTION_LEVEL_UNSPECIFIED", "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC" + "PROTECTION_LEVEL_UNSPECIFIED", + "SOFTWARE", + "HSM", + "EXTERNAL", + "EXTERNAL_VPC", + "HSM_SINGLE_TENANT", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/language/v1/schemas.pyi b/googleapiclient-stubs/_apis/language/v1/schemas.pyi index 6fe20ac75..0b22aeb60 100644 --- a/googleapiclient-stubs/_apis/language/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1/schemas.pyi @@ -124,6 +124,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2", "G4", "C3", + "C4", "M2", "M1", "N1", @@ -299,6 +300,33 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -627,6 +655,33 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -900,6 +955,33 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] memories: float ramType: typing_extensions.Literal[ @@ -914,6 +996,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "E2", "G2", "G4", + "C4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi index ff188218b..625354545 100644 --- a/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v1beta2/schemas.pyi @@ -124,6 +124,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2", "G4", "C3", + "C4", "M2", "M1", "N1", @@ -299,6 +300,33 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -631,6 +659,33 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -904,6 +959,33 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] memories: float ramType: typing_extensions.Literal[ @@ -918,6 +1000,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "E2", "G2", "G4", + "C4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/language/v2/schemas.pyi b/googleapiclient-stubs/_apis/language/v2/schemas.pyi index 0308e9d19..cca506a29 100644 --- a/googleapiclient-stubs/_apis/language/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/language/v2/schemas.pyi @@ -90,6 +90,7 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "G2", "G4", "C3", + "C4", "M2", "M1", "N1", @@ -265,6 +266,33 @@ class CpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -504,6 +532,33 @@ class GpuMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] trackingLabels: dict[str, typing.Any] @@ -699,6 +754,33 @@ class RamMetric(typing_extensions.TypedDict, total=False): "C3_HIGHMEM_44", "C3_HIGHMEM_88", "C3_HIGHMEM_176", + "C4_STANDARD_8", + "C4_STANDARD_16", + "C4_STANDARD_24", + "C4_STANDARD_32", + "C4_STANDARD_48", + "C4_STANDARD_96", + "C4_STANDARD_144", + "C4_STANDARD_192", + "C4_STANDARD_288", + "C4_HIGHCPU_8", + "C4_HIGHCPU_16", + "C4_HIGHCPU_24", + "C4_HIGHCPU_32", + "C4_HIGHCPU_48", + "C4_HIGHCPU_96", + "C4_HIGHCPU_144", + "C4_HIGHCPU_192", + "C4_HIGHCPU_288", + "C4_HIGHMEM_8", + "C4_HIGHMEM_16", + "C4_HIGHMEM_24", + "C4_HIGHMEM_32", + "C4_HIGHMEM_48", + "C4_HIGHMEM_96", + "C4_HIGHMEM_144", + "C4_HIGHMEM_192", + "C4_HIGHMEM_288", ] memories: float ramType: typing_extensions.Literal[ @@ -713,6 +795,7 @@ class RamMetric(typing_extensions.TypedDict, total=False): "E2", "G2", "G4", + "C4", "C3", "M2", "M1", diff --git a/googleapiclient-stubs/_apis/logging/v2/resources.pyi b/googleapiclient-stubs/_apis/logging/v2/resources.pyi index 121e59276..7ea57e993 100644 --- a/googleapiclient-stubs/_apis/logging/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/resources.pyi @@ -218,6 +218,7 @@ class LoggingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -703,6 +704,7 @@ class LoggingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1055,6 +1057,7 @@ class LoggingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1375,6 +1378,7 @@ class LoggingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -1826,6 +1830,7 @@ class LoggingResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi index 418a24486..277f328d4 100644 --- a/googleapiclient-stubs/_apis/logging/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/logging/v2/schemas.pyi @@ -152,6 +152,47 @@ class Expr(typing_extensions.TypedDict, total=False): location: str title: str +@typing.type_check_only +class FieldSource(typing_extensions.TypedDict, total=False): + aliasRef: str + columnType: str + field: str + isJson: bool + parentPath: str + projectedField: ProjectedField + +@typing.type_check_only +class FilterExpression(typing_extensions.TypedDict, total=False): + comparator: typing_extensions.Literal[ + "COMPARATOR_UNSPECIFIED", + "EQUALS", + "MATCHES_REGEXP", + "GREATER_THAN", + "LESS_THAN", + "GREATER_THAN_EQUALS", + "LESS_THAN_EQUALS", + "IS_NULL", + "IN", + "LIKE", + ] + fieldSource: FieldSource + fieldSourceValue: FieldSource + isNegation: bool + literalValue: typing.Any + +@typing.type_check_only +class FilterPredicate(typing_extensions.TypedDict, total=False): + childPredicates: _list[FilterPredicate] + leafPredicate: FilterExpression + operatorType: typing_extensions.Literal[ + "OPERATOR_TYPE_UNSPECIFIED", "AND", "OR", "LEAF" + ] + +@typing.type_check_only +class FunctionApplication(typing_extensions.TypedDict, total=False): + parameters: _list[typing.Any] + type: str + @typing.type_check_only class GetIamPolicyRequest(typing_extensions.TypedDict, total=False): options: GetPolicyOptions @@ -290,6 +331,7 @@ class ListMonitoredResourceDescriptorsResponse( class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListRecentQueriesResponse(typing_extensions.TypedDict, total=False): @@ -350,6 +392,7 @@ class LogBucket(typing_extensions.TypedDict, total=False): class LogEntry(typing_extensions.TypedDict, total=False): apphub: AppHub apphubDestination: AppHub + apphubSource: AppHub errorGroups: _list[LogErrorGroup] httpRequest: HttpRequest insertId: str @@ -581,6 +624,7 @@ class Operation(typing_extensions.TypedDict, total=False): @typing.type_check_only class OpsAnalyticsQuery(typing_extensions.TypedDict, total=False): + queryBuilder: QueryBuilderConfig sqlQueryText: str @typing.type_check_only @@ -589,6 +633,27 @@ class Policy(typing_extensions.TypedDict, total=False): etag: str version: int +@typing.type_check_only +class ProjectedField(typing_extensions.TypedDict, total=False): + alias: str + cast: str + field: str + operation: typing_extensions.Literal[ + "FIELD_OPERATION_UNSPECIFIED", "NO_SETTING", "GROUP_BY", "AGGREGATE" + ] + regexExtraction: str + sqlAggregationFunction: FunctionApplication + truncationGranularity: str + +@typing.type_check_only +class QueryBuilderConfig(typing_extensions.TypedDict, total=False): + fieldSources: _list[FieldSource] + filter: FilterPredicate + limit: str + orderBys: _list[SortOrderParameter] + resourceNames: _list[str] + searchTerm: str + @typing.type_check_only class RecentQuery(typing_extensions.TypedDict, total=False): lastRunTime: str @@ -659,6 +724,16 @@ class Settings(typing_extensions.TypedDict, total=False): name: str storageLocation: str +@typing.type_check_only +class SortOrderParameter(typing_extensions.TypedDict, total=False): + fieldSource: FieldSource + sortOrderDirection: typing_extensions.Literal[ + "SORT_ORDER_UNSPECIFIED", + "SORT_ORDER_NONE", + "SORT_ORDER_ASCENDING", + "SORT_ORDER_DESCENDING", + ] + @typing.type_check_only class SourceLocation(typing_extensions.TypedDict, total=False): file: str diff --git a/googleapiclient-stubs/_apis/looker/v1/resources.pyi b/googleapiclient-stubs/_apis/looker/v1/resources.pyi index 097deb632..be6b9e565 100644 --- a/googleapiclient-stubs/_apis/looker/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/resources.pyi @@ -112,6 +112,13 @@ 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 a72864584..c1c1d1be2 100644 --- a/googleapiclient-stubs/_apis/looker/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/looker/v1/schemas.pyi @@ -11,6 +11,12 @@ class AdminSettings(typing_extensions.TypedDict, total=False): @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class ControlledEgressConfig(typing_extensions.TypedDict, total=False): + egressFqdns: _list[str] + marketplaceEnabled: bool + webProxyIps: _list[str] + @typing.type_check_only class CustomDomain(typing_extensions.TypedDict, total=False): domain: str @@ -80,8 +86,11 @@ 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 + controlledEgressEnabled: bool createTime: str customDomain: CustomDomain denyMaintenancePeriod: DenyMaintenancePeriod @@ -99,6 +108,7 @@ class Instance(typing_extensions.TypedDict, total=False): maintenanceWindow: MaintenanceWindow name: str oauthConfig: OAuthConfig + periodicExportConfig: PeriodicExportConfig platformEdition: typing_extensions.Literal[ "PLATFORM_EDITION_UNSPECIFIED", "LOOKER_CORE_TRIAL", @@ -120,6 +130,12 @@ 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", @@ -131,6 +147,7 @@ class Instance(typing_extensions.TypedDict, total=False): "EXPORTING", "IMPORTING", ] + suspendedTime: str updateTime: str userMetadata: UserMetadata @@ -217,6 +234,12 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class PeriodicExportConfig(typing_extensions.TypedDict, total=False): + gcsUri: str + kmsKey: str + startTime: TimeOfDay + @typing.type_check_only class PscConfig(typing_extensions.TypedDict, total=False): allowedVpcs: _list[str] @@ -253,6 +276,9 @@ 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/managedidentities/v1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi index 280eaa3ea..88c0f3b38 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1/resources.pyi @@ -276,6 +276,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -356,6 +357,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi index 6d181496b..c71723a86 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1/schemas.pyi @@ -164,6 +164,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -289,6 +290,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPeeringsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi index 6ca6d59ed..61557e069 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/resources.pyi @@ -276,6 +276,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -356,6 +357,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi index 59dd88ab7..b545963e8 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1alpha1/schemas.pyi @@ -168,6 +168,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -293,6 +294,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPeeringsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi index 280eaa3ea..88c0f3b38 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1beta1/resources.pyi @@ -276,6 +276,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -356,6 +357,7 @@ class ManagedServiceForMicrosoftActiveDirectoryConsumerAPIResource( self, *, name: str, + extraLocationTypes: str | _list[str] = ..., filter: str = ..., pageSize: int = ..., pageToken: str = ..., diff --git a/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi index c0753cd55..d17eba6f2 100644 --- a/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedidentities/v1beta1/schemas.pyi @@ -168,6 +168,7 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance( typing_extensions.TypedDict, total=False ): consumerDefinedName: str + consumerProjectNumber: str createTime: str instanceType: str labels: dict[str, typing.Any] @@ -293,6 +294,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPeeringsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi index 244d053e3..4067891f4 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/resources.pyi @@ -75,8 +75,14 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): self, *, parent: str, + filter: str = ..., pageSize: int = ..., pageToken: str = ..., + view: typing_extensions.Literal[ + "CONSUMER_GROUP_VIEW_UNSPECIFIED", + "CONSUMER_GROUP_VIEW_BASIC", + "CONSUMER_GROUP_VIEW_FULL", + ] = ..., **kwargs: typing.Any, ) -> ListConsumerGroupsResponseHttpRequest: ... def list_next( @@ -144,7 +150,15 @@ class ManagedKafkaResource(googleapiclient.discovery.Resource): self, *, name: str, requestId: str = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... def get( - self, *, name: str, **kwargs: typing.Any + self, + *, + name: str, + view: typing_extensions.Literal[ + "CLUSTER_VIEW_UNSPECIFIED", + "CLUSTER_VIEW_BASIC", + "CLUSTER_VIEW_FULL", + ] = ..., + **kwargs: typing.Any, ) -> ClusterHttpRequest: ... def list( self, diff --git a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi index 9dc2551b0..704f070a2 100644 --- a/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/managedkafka/v1/schemas.pyi @@ -29,6 +29,12 @@ class AddAclEntryResponse(typing_extensions.TypedDict, total=False): acl: Acl aclCreated: bool +@typing.type_check_only +class BrokerDetails(typing_extensions.TypedDict, total=False): + brokerIndex: str + nodeId: str + rack: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -57,16 +63,18 @@ class CheckCompatibilityResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class Cluster(typing_extensions.TypedDict, total=False): + brokerDetails: _list[BrokerDetails] capacityConfig: CapacityConfig createTime: str gcpConfig: GcpConfig + kafkaVersion: str labels: dict[str, typing.Any] name: str rebalanceConfig: RebalanceConfig satisfiesPzi: bool satisfiesPzs: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "UPDATING" ] tlsConfig: TlsConfig updateOptions: UpdateOptions @@ -88,7 +96,7 @@ class ConnectCluster(typing_extensions.TypedDict, total=False): satisfiesPzi: bool satisfiesPzs: bool state: typing_extensions.Literal[ - "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING" + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "DELETING", "DETACHED" ] updateTime: str diff --git a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi index b4f41bb9a..33fa2af1d 100644 --- a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/resources.pyi @@ -48,9 +48,31 @@ class GoogleMarketingPlatformAdminAPIResource(googleapiclient.discovery.Resource **kwargs: typing.Any, ) -> SetPropertyServiceLevelResponseHttpRequest: ... + def findSalesPartnerManagedClients( + self, + *, + organization: str, + body: FindSalesPartnerManagedClientsRequest = ..., + **kwargs: typing.Any, + ) -> FindSalesPartnerManagedClientsResponseHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> OrganizationHttpRequest: ... + def list( + self, *, pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any + ) -> ListOrganizationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListOrganizationsResponseHttpRequest, + previous_response: ListOrganizationsResponse, + ) -> ListOrganizationsResponseHttpRequest | None: ... + def reportPropertyUsage( + self, + *, + organization: str, + body: ReportPropertyUsageRequest = ..., + **kwargs: typing.Any, + ) -> ReportPropertyUsageResponseHttpRequest: ... def analyticsAccountLinks(self) -> AnalyticsAccountLinksResource: ... def new_batch_http_request( @@ -83,6 +105,16 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class FindSalesPartnerManagedClientsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> FindSalesPartnerManagedClientsResponse: ... + @typing.type_check_only class ListAnalyticsAccountLinksResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -91,6 +123,14 @@ class ListAnalyticsAccountLinksResponseHttpRequest(googleapiclient.http.HttpRequ num_retries: int = 0, ) -> ListAnalyticsAccountLinksResponse: ... +@typing.type_check_only +class ListOrganizationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListOrganizationsResponse: ... + @typing.type_check_only class OrganizationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -99,6 +139,14 @@ class OrganizationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Organization: ... +@typing.type_check_only +class ReportPropertyUsageResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReportPropertyUsageResponse: ... + @typing.type_check_only class SetPropertyServiceLevelResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi index cb78cb6df..bf91756a1 100644 --- a/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/marketingplatformadmin/v1alpha/schemas.pyi @@ -15,19 +15,85 @@ class AnalyticsAccountLink(typing_extensions.TypedDict, total=False): ] name: str +@typing.type_check_only +class BillInfo(typing_extensions.TypedDict, total=False): + baseFee: Money + eventFee: Money + priceProtectionCredit: Money + total: Money + +@typing.type_check_only +class ClientData(typing_extensions.TypedDict, total=False): + endDate: Date + organization: Organization + startDate: Date + +@typing.type_check_only +class Date(typing_extensions.TypedDict, total=False): + day: int + month: int + year: int + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class FindSalesPartnerManagedClientsRequest(typing_extensions.TypedDict, total=False): + isActive: bool + +@typing.type_check_only +class FindSalesPartnerManagedClientsResponse(typing_extensions.TypedDict, total=False): + clientData: _list[ClientData] + @typing.type_check_only class ListAnalyticsAccountLinksResponse(typing_extensions.TypedDict, total=False): analyticsAccountLinks: _list[AnalyticsAccountLink] nextPageToken: str +@typing.type_check_only +class ListOrganizationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + organizations: _list[Organization] + +@typing.type_check_only +class Money(typing_extensions.TypedDict, total=False): + currencyCode: str + nanos: int + units: str + @typing.type_check_only class Organization(typing_extensions.TypedDict, total=False): displayName: str name: str +@typing.type_check_only +class PropertyUsage(typing_extensions.TypedDict, total=False): + accountId: str + billableEventCount: str + displayName: str + property: str + propertyType: typing_extensions.Literal[ + "ANALYTICS_PROPERTY_TYPE_UNSPECIFIED", + "ANALYTICS_PROPERTY_TYPE_ORDINARY", + "ANALYTICS_PROPERTY_TYPE_SUBPROPERTY", + "ANALYTICS_PROPERTY_TYPE_ROLLUP", + ] + serviceLevel: typing_extensions.Literal[ + "ANALYTICS_SERVICE_LEVEL_UNSPECIFIED", + "ANALYTICS_SERVICE_LEVEL_STANDARD", + "ANALYTICS_SERVICE_LEVEL_360", + ] + totalEventCount: str + +@typing.type_check_only +class ReportPropertyUsageRequest(typing_extensions.TypedDict, total=False): + month: str + +@typing.type_check_only +class ReportPropertyUsageResponse(typing_extensions.TypedDict, total=False): + billInfo: BillInfo + propertyUsages: _list[PropertyUsage] + @typing.type_check_only class SetPropertyServiceLevelRequest(typing_extensions.TypedDict, total=False): analyticsProperty: str diff --git a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi index e5e898423..3e7ab87c1 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/resources.pyi @@ -40,6 +40,9 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): def get( self, *, name: str, **kwargs: typing.Any ) -> InstanceHttpRequest: ... + def getTags( + self, *, name: str, **kwargs: typing.Any + ) -> GetTagsResponseHttpRequest: ... def list( self, *, @@ -70,6 +73,9 @@ class CloudMemorystoreForMemcachedResource(googleapiclient.discovery.Resource): body: RescheduleMaintenanceRequest = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... + def setTags( + self, *, name: str, body: SetTagsRequest = ..., **kwargs: typing.Any + ) -> SetTagsResponseHttpRequest: ... def updateParameters( self, *, @@ -161,6 +167,14 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class GetTagsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GetTagsResponse: ... + @typing.type_check_only class InstanceHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -208,3 +222,11 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Operation: ... + +@typing.type_check_only +class SetTagsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SetTagsResponse: ... diff --git a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi index b83dccebd..edc91fa82 100644 --- a/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1/schemas.pyi @@ -38,9 +38,9 @@ class GetTagsRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class GetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str name: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class GoogleCloudMemcacheV1LocationMetadata(typing_extensions.TypedDict, total=False): @@ -332,16 +332,16 @@ class Schedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetTagsRequest(typing_extensions.TypedDict, total=False): + etag: str name: str requestId: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class SetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str name: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi index 466c19883..13cfb8ed5 100644 --- a/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/memcache/v1beta2/schemas.pyi @@ -43,9 +43,9 @@ class GetTagsRequest(typing_extensions.TypedDict, total=False): @typing.type_check_only class GetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str name: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class GoogleCloudMemcacheV1beta2LocationMetadata( @@ -347,16 +347,16 @@ class Schedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class SetTagsRequest(typing_extensions.TypedDict, total=False): + etag: str name: str requestId: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class SetTagsResponse(typing_extensions.TypedDict, total=False): + etag: str name: str tags: dict[str, typing.Any] - tagsEtag: str @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi index 3edea9c7a..2a7e3ee3b 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/resources.pyi @@ -73,6 +73,9 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeveloperRegistrationResource(googleapiclient.discovery.Resource): + def getAccountForGcpRegistration( + self, **kwargs: typing.Any + ) -> GetAccountForGcpRegistrationResponseHttpRequest: ... def getDeveloperRegistration( self, *, name: str, **kwargs: typing.Any ) -> DeveloperRegistrationHttpRequest: ... @@ -464,6 +467,16 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MeResource(googleapiclient.discovery.Resource): + def verifySelf( + self, + *, + account: str, + body: VerifySelfRequest = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def create( self, *, @@ -497,6 +510,7 @@ class MerchantResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> UserHttpRequest: ... + def me(self) -> MeResource: ... def createAndConfigure( self, *, body: CreateAndConfigureAccountRequest = ..., **kwargs: typing.Any @@ -505,9 +519,6 @@ class MerchantResource(googleapiclient.discovery.Resource): self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AccountHttpRequest: ... - def getAccountForGcpRegistration( - self, **kwargs: typing.Any - ) -> GetAccountForGcpRegistrationResponseHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi index 41ae330ef..282fc8044 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1/schemas.pyi @@ -60,6 +60,7 @@ class AccountService(typing_extensions.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement + comparisonShopping: ComparisonShopping externalAccountId: str handshake: Handshake localListingManagement: LocalListingManagement @@ -74,12 +75,18 @@ class AccountService(typing_extensions.TypedDict, total=False): @typing.type_check_only class AddAccountService(typing_extensions.TypedDict, total=False): accountAggregation: AccountAggregation + accountManagement: AccountManagement + campaignsManagement: CampaignsManagement + comparisonShopping: ComparisonShopping + externalAccountId: str + productsManagement: ProductsManagement provider: str @typing.type_check_only class AddUser(typing_extensions.TypedDict, total=False): user: User userId: str + verificationMailSettings: VerificationMailSettings @typing.type_check_only class Address(typing_extensions.TypedDict, total=False): @@ -235,10 +242,14 @@ class CheckoutSettings(typing_extensions.TypedDict, total=False): class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): overwrite: bool +@typing.type_check_only +class ComparisonShopping(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): account: Account service: _list[AddAccountService] + setAlias: _list[SetAliasForRelationship] user: _list[AddUser] @typing.type_check_only @@ -429,6 +440,11 @@ class ItemUpdatesAccountLevelSettings(typing_extensions.TypedDict, total=False): allowPriceUpdates: bool allowStrictAvailabilityUpdates: bool +@typing.type_check_only +class LatLng(typing_extensions.TypedDict, total=False): + latitude: float + longitude: float + @typing.type_check_only class LfpLink(typing_extensions.TypedDict, total=False): externalAccountId: str @@ -698,6 +714,15 @@ class ProposeAccountServiceRequest(typing_extensions.TypedDict, total=False): accountService: AccountService provider: str +@typing.type_check_only +class RadiusArea(typing_extensions.TypedDict, total=False): + latLng: LatLng + radius: float + radiusUnits: typing_extensions.Literal[ + "RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS" + ] + regionCode: str + @typing.type_check_only class RateGroup(typing_extensions.TypedDict, total=False): applicableShippingLabels: _list[str] @@ -713,6 +738,7 @@ class Region(typing_extensions.TypedDict, total=False): geotargetArea: GeoTargetArea name: str postalCodeArea: PostalCodeArea + radiusArea: RadiusArea regionalInventoryEligible: bool shippingEligible: bool @@ -781,6 +807,11 @@ class Service(typing_extensions.TypedDict, total=False): ] storeConfig: StoreConfig +@typing.type_check_only +class SetAliasForRelationship(typing_extensions.TypedDict, total=False): + accountIdAlias: str + provider: str + @typing.type_check_only class ShippingSettings(typing_extensions.TypedDict, total=False): etag: str @@ -893,6 +924,17 @@ class Value(typing_extensions.TypedDict, total=False): pricePercentage: str subtable: str +@typing.type_check_only +class VerificationMailSettings(typing_extensions.TypedDict, total=False): + verificationMailMode: typing_extensions.Literal[ + "VERIFICATION_MAIL_MODE_UNSPECIFIED", + "SEND_VERIFICATION_MAIL", + "SUPPRESS_VERIFICATION_MAIL", + ] + +@typing.type_check_only +class VerifySelfRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Warehouse(typing_extensions.TypedDict, total=False): businessDayConfig: BusinessDayConfig diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi index 5403a2b8e..9636590d0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/resources.pyi @@ -73,6 +73,9 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class DeveloperRegistrationResource(googleapiclient.discovery.Resource): + def getAccountForGcpRegistration( + self, **kwargs: typing.Any + ) -> GetAccountForGcpRegistrationResponseHttpRequest: ... def getDeveloperRegistration( self, *, name: str, **kwargs: typing.Any ) -> DeveloperRegistrationHttpRequest: ... @@ -451,6 +454,16 @@ class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class UsersResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MeResource(googleapiclient.discovery.Resource): + def verifySelf( + self, + *, + account: str, + body: VerifySelfRequest = ..., + **kwargs: typing.Any, + ) -> UserHttpRequest: ... + def create( self, *, @@ -484,6 +497,7 @@ class MerchantResource(googleapiclient.discovery.Resource): updateMask: str = ..., **kwargs: typing.Any, ) -> UserHttpRequest: ... + def me(self) -> MeResource: ... def createAndConfigure( self, *, body: CreateAndConfigureAccountRequest = ..., **kwargs: typing.Any @@ -492,9 +506,6 @@ class MerchantResource(googleapiclient.discovery.Resource): self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> EmptyHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> AccountHttpRequest: ... - def getAccountForGcpRegistration( - self, **kwargs: typing.Any - ) -> GetAccountForGcpRegistrationResponseHttpRequest: ... def list( self, *, diff --git a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi index 313e254e8..151aecf1f 100644 --- a/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/accounts_v1beta/schemas.pyi @@ -60,6 +60,7 @@ class AccountService(typing_extensions.TypedDict, total=False): accountAggregation: AccountAggregation accountManagement: AccountManagement campaignsManagement: CampaignsManagement + comparisonShopping: ComparisonShopping externalAccountId: str handshake: Handshake localListingManagement: LocalListingManagement @@ -74,12 +75,18 @@ class AccountService(typing_extensions.TypedDict, total=False): @typing.type_check_only class AddAccountService(typing_extensions.TypedDict, total=False): accountAggregation: AccountAggregation + accountManagement: AccountManagement + campaignsManagement: CampaignsManagement + comparisonShopping: ComparisonShopping + externalAccountId: str + productsManagement: ProductsManagement provider: str @typing.type_check_only class AddUser(typing_extensions.TypedDict, total=False): user: User userId: str + verificationMailSettings: VerificationMailSettings @typing.type_check_only class Address(typing_extensions.TypedDict, total=False): @@ -215,10 +222,14 @@ class CheckoutSettings(typing_extensions.TypedDict, total=False): class ClaimHomepageRequest(typing_extensions.TypedDict, total=False): overwrite: bool +@typing.type_check_only +class ComparisonShopping(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class CreateAndConfigureAccountRequest(typing_extensions.TypedDict, total=False): account: Account service: _list[AddAccountService] + setAlias: _list[SetAliasForRelationship] user: _list[AddUser] users: _list[CreateUserRequest] @@ -406,6 +417,11 @@ class ItemUpdatesAccountLevelSettings(typing_extensions.TypedDict, total=False): allowPriceUpdates: bool allowStrictAvailabilityUpdates: bool +@typing.type_check_only +class LatLng(typing_extensions.TypedDict, total=False): + latitude: float + longitude: float + @typing.type_check_only class LfpLink(typing_extensions.TypedDict, total=False): externalAccountId: str @@ -675,6 +691,15 @@ class ProposeAccountServiceRequest(typing_extensions.TypedDict, total=False): accountService: AccountService provider: str +@typing.type_check_only +class RadiusArea(typing_extensions.TypedDict, total=False): + latLng: LatLng + radius: float + radiusUnits: typing_extensions.Literal[ + "RADIUS_UNITS_UNSPECIFIED", "MILES", "KILOMETERS" + ] + regionCode: str + @typing.type_check_only class RateGroup(typing_extensions.TypedDict, total=False): applicableShippingLabels: _list[str] @@ -690,6 +715,7 @@ class Region(typing_extensions.TypedDict, total=False): geotargetArea: GeoTargetArea name: str postalCodeArea: PostalCodeArea + radiusArea: RadiusArea regionalInventoryEligible: bool shippingEligible: bool @@ -758,6 +784,11 @@ class Service(typing_extensions.TypedDict, total=False): ] storeConfig: StoreConfig +@typing.type_check_only +class SetAliasForRelationship(typing_extensions.TypedDict, total=False): + accountIdAlias: str + provider: str + @typing.type_check_only class ShippingSettings(typing_extensions.TypedDict, total=False): etag: str @@ -865,6 +896,17 @@ class Value(typing_extensions.TypedDict, total=False): pricePercentage: str subtable: str +@typing.type_check_only +class VerificationMailSettings(typing_extensions.TypedDict, total=False): + verificationMailMode: typing_extensions.Literal[ + "VERIFICATION_MAIL_MODE_UNSPECIFIED", + "SEND_VERIFICATION_MAIL", + "SUPPRESS_VERIFICATION_MAIL", + ] + +@typing.type_check_only +class VerifySelfRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Warehouse(typing_extensions.TypedDict, total=False): businessDayConfig: BusinessDayConfig diff --git a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi index 2a543811c..0a1012761 100644 --- a/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/inventories_v1/schemas.pyi @@ -12,6 +12,16 @@ class Interval(typing_extensions.TypedDict, total=False): endTime: str startTime: str +@typing.type_check_only +class InventoryLoyaltyProgram(typing_extensions.TypedDict, total=False): + cashbackForFutureUse: Price + loyaltyPoints: str + memberPriceEffectiveInterval: Interval + price: Price + programLabel: str + shippingLabel: str + tierLabel: str + @typing.type_check_only class ListLocalInventoriesResponse(typing_extensions.TypedDict, total=False): localInventories: _list[LocalInventory] @@ -39,6 +49,7 @@ class LocalInventoryAttributes(typing_extensions.TypedDict, total=False): "OUT_OF_STOCK", ] instoreProductLocation: str + loyaltyPrograms: _list[InventoryLoyaltyProgram] pickupMethod: typing_extensions.Literal[ "PICKUP_METHOD_UNSPECIFIED", "BUY", "RESERVE", "SHIP_TO_STORE", "NOT_SUPPORTED" ] @@ -115,6 +126,7 @@ class RegionalInventoryAttributes(typing_extensions.TypedDict, total=False): availability: typing_extensions.Literal[ "REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED", "IN_STOCK", "OUT_OF_STOCK" ] + loyaltyPrograms: _list[InventoryLoyaltyProgram] price: Price salePrice: Price salePriceEffectiveDate: Interval diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi index fd2bd87c8..041a92c02 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1/schemas.pyi @@ -437,9 +437,11 @@ class ProductAttributes(typing_extensions.TypedDict, total=False): salePriceEffectiveDate: Interval sellOnGoogleQuantity: str shipping: _list[Shipping] + shippingHandlingBusinessDays: _list[ShippingBusinessDaysConfig] shippingHeight: ShippingDimension shippingLabel: str shippingLength: ShippingDimension + shippingTransitBusinessDays: _list[ShippingBusinessDaysConfig] shippingWeight: ShippingWeight shippingWidth: ShippingDimension shoppingAdsExcludedCountries: _list[str] @@ -602,6 +604,11 @@ class Shipping(typing_extensions.TypedDict, total=False): region: str service: str +@typing.type_check_only +class ShippingBusinessDaysConfig(typing_extensions.TypedDict, total=False): + businessDays: str + country: str + @typing.type_check_only class ShippingDimension(typing_extensions.TypedDict, total=False): unit: str @@ -630,7 +637,7 @@ class StructuredTitle(typing_extensions.TypedDict, total=False): class SubscriptionCost(typing_extensions.TypedDict, total=False): amount: Price period: typing_extensions.Literal[ - "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR" + "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK" ] periodLength: str diff --git a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi index 83e439934..3fa1144d0 100644 --- a/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/products_v1beta/schemas.pyi @@ -376,7 +376,7 @@ class ShippingWeight(typing_extensions.TypedDict, total=False): class SubscriptionCost(typing_extensions.TypedDict, total=False): amount: Price period: typing_extensions.Literal[ - "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR" + "SUBSCRIPTION_PERIOD_UNSPECIFIED", "MONTH", "YEAR", "WEEK" ] periodLength: str diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi index 25c18ee5e..41d528ed8 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1/schemas.pyi @@ -23,11 +23,16 @@ class Attributes(typing_extensions.TypedDict, total=False): "FREE_SHIPPING_OVERNIGHT", "FREE_SHIPPING_TWO_DAY", ] + customRedemptionRestriction: str + eventApplicability: typing_extensions.Literal[ + "EVENT_APPLICABILITY_UNSPECIFIED", "SITEWIDE", "SPECIFIC_CATEGORIES" + ] freeGiftDescription: str freeGiftItemId: str freeGiftValue: Price genericRedemptionCode: str getThisQuantityDiscounted: str + googleProductCategories: _list[str] itemGroupIdExclusion: _list[str] itemGroupIdInclusion: _list[str] itemIdExclusion: _list[str] @@ -35,6 +40,7 @@ class Attributes(typing_extensions.TypedDict, total=False): limitQuantity: str limitValue: Price longTitle: str + maxDiscountAmount: Price minimumPurchaseAmount: Price minimumPurchaseQuantity: str moneyOffAmount: Price @@ -67,6 +73,14 @@ class Attributes(typing_extensions.TypedDict, total=False): promotionDisplayTimePeriod: Interval promotionEffectiveTimePeriod: Interval promotionUrl: str + redemptionRestriction: typing_extensions.Literal[ + "REDEMPTION_RESTRICTION_UNSPECIFIED", + "SUBSCRIBE", + "FIRST_ORDER", + "SIGNUP_FOR_EMAIL", + "SIGNUP_FOR_TEXT", + "CUSTOM", + ] storeApplicability: typing_extensions.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" ] diff --git a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi index 25c18ee5e..41d528ed8 100644 --- a/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/promotions_v1beta/schemas.pyi @@ -23,11 +23,16 @@ class Attributes(typing_extensions.TypedDict, total=False): "FREE_SHIPPING_OVERNIGHT", "FREE_SHIPPING_TWO_DAY", ] + customRedemptionRestriction: str + eventApplicability: typing_extensions.Literal[ + "EVENT_APPLICABILITY_UNSPECIFIED", "SITEWIDE", "SPECIFIC_CATEGORIES" + ] freeGiftDescription: str freeGiftItemId: str freeGiftValue: Price genericRedemptionCode: str getThisQuantityDiscounted: str + googleProductCategories: _list[str] itemGroupIdExclusion: _list[str] itemGroupIdInclusion: _list[str] itemIdExclusion: _list[str] @@ -35,6 +40,7 @@ class Attributes(typing_extensions.TypedDict, total=False): limitQuantity: str limitValue: Price longTitle: str + maxDiscountAmount: Price minimumPurchaseAmount: Price minimumPurchaseQuantity: str moneyOffAmount: Price @@ -67,6 +73,14 @@ class Attributes(typing_extensions.TypedDict, total=False): promotionDisplayTimePeriod: Interval promotionEffectiveTimePeriod: Interval promotionUrl: str + redemptionRestriction: typing_extensions.Literal[ + "REDEMPTION_RESTRICTION_UNSPECIFIED", + "SUBSCRIBE", + "FIRST_ORDER", + "SIGNUP_FOR_EMAIL", + "SIGNUP_FOR_TEXT", + "CUSTOM", + ] storeApplicability: typing_extensions.Literal[ "STORE_APPLICABILITY_UNSPECIFIED", "ALL_STORES", "SPECIFIC_STORES" ] diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi index 37fbdd8f9..6d75ec5b1 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/resources.pyi @@ -15,6 +15,26 @@ _list = list class MerchantResource(googleapiclient.discovery.Resource): @typing.type_check_only class AccountsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LimitsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AccountLimitHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAccountLimitsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAccountLimitsResponseHttpRequest, + previous_response: ListAccountLimitsResponse, + ) -> ListAccountLimitsResponseHttpRequest | None: ... + @typing.type_check_only class QuotasResource(googleapiclient.discovery.Resource): def list( @@ -31,6 +51,7 @@ class MerchantResource(googleapiclient.discovery.Resource): previous_response: ListQuotaGroupsResponse, ) -> ListQuotaGroupsResponseHttpRequest | None: ... + def limits(self) -> LimitsResource: ... def quotas(self) -> QuotasResource: ... def new_batch_http_request( @@ -47,6 +68,22 @@ class MerchantResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def accounts(self) -> AccountsResource: ... +@typing.type_check_only +class AccountLimitHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AccountLimit: ... + +@typing.type_check_only +class ListAccountLimitsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAccountLimitsResponse: ... + @typing.type_check_only class ListQuotaGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi index 7369d7205..e78375000 100644 --- a/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/merchantapi/quota_v1/schemas.pyi @@ -4,6 +4,16 @@ import typing_extensions _list = list +@typing.type_check_only +class AccountLimit(typing_extensions.TypedDict, total=False): + name: str + products: ProductLimit + +@typing.type_check_only +class ListAccountLimitsResponse(typing_extensions.TypedDict, total=False): + accountLimits: _list[AccountLimit] + nextPageToken: str + @typing.type_check_only class ListQuotaGroupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -43,6 +53,11 @@ class ProductChange(typing_extensions.TypedDict, total=False): "YOUTUBE_CHECKOUT", ] +@typing.type_check_only +class ProductLimit(typing_extensions.TypedDict, total=False): + limit: str + scope: typing_extensions.Literal["SCOPE_UNSPECIFIED", "ADS_NON_EEA", "ADS_EEA"] + @typing.type_check_only class ProductStatusChangeMessage(typing_extensions.TypedDict, total=False): account: str diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi index ade1b0561..e5f308327 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/resources.pyi @@ -99,6 +99,44 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ReportAssetFramesResponseHttpRequest: ... + @typing.type_check_only + class AssetsExportJobsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: AssetsExportJob = ..., + assetsExportJobId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AssetsExportJobHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAssetsExportJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAssetsExportJobsResponseHttpRequest, + previous_response: ListAssetsExportJobsResponse, + ) -> ListAssetsExportJobsResponseHttpRequest | None: ... + def run( + self, + *, + name: str, + body: RunAssetsExportJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class DiscoveryClientsResource(googleapiclient.discovery.Resource): def create( @@ -598,6 +636,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def assets(self) -> AssetsResource: ... + def assetsExportJobs(self) -> AssetsExportJobsResource: ... def discoveryClients(self) -> DiscoveryClientsResource: ... def groups(self) -> GroupsResource: ... def importJobs(self) -> ImportJobsResource: ... @@ -639,6 +678,14 @@ class AssetHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Asset: ... +@typing.type_check_only +class AssetsExportJobHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AssetsExportJob: ... + @typing.type_check_only class BatchUpdateAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -695,6 +742,14 @@ class ImportJobHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ImportJob: ... +@typing.type_check_only +class ListAssetsExportJobsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAssetsExportJobsResponse: ... + @typing.type_check_only class ListAssetsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi index f02effec4..4fb3968e0 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1/schemas.pyi @@ -117,6 +117,49 @@ class AssetList(typing_extensions.TypedDict, total=False): class AssetPerformanceData(typing_extensions.TypedDict, total=False): dailyResourceUsageAggregations: _list[DailyResourceUsageAggregation] +@typing.type_check_only +class AssetsExportJob(typing_extensions.TypedDict, total=False): + condition: AssetsExportJobExportCondition + createTime: str + inventory: AssetsExportJobInventory + labels: dict[str, typing.Any] + name: str + networkDependencies: AssetsExportJobNetworkDependencies + performanceData: AssetsExportJobPerformanceData + recentExecutions: _list[AssetsExportJobExecution] + showHidden: bool + signedUriDestination: SignedUriDestination + updateTime: str + +@typing.type_check_only +class AssetsExportJobExecution(typing_extensions.TypedDict, total=False): + endTime: str + executionId: str + expireTime: str + requestedAssetCount: int + result: AssetsExportJobExecutionResult + startTime: str + +@typing.type_check_only +class AssetsExportJobExecutionResult(typing_extensions.TypedDict, total=False): + error: Status + outputFiles: OutputFileList + signedUris: SignedUris + +@typing.type_check_only +class AssetsExportJobExportCondition(typing_extensions.TypedDict, total=False): + filter: str + +@typing.type_check_only +class AssetsExportJobInventory(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): + maxDays: int + @typing.type_check_only class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -216,6 +259,12 @@ class ComputeStorageDescriptor(typing_extensions.TypedDict, total=False): class CpuUsageSample(typing_extensions.TypedDict, total=False): utilizedPercentage: float +@typing.type_check_only +class CsvOutputFile(typing_extensions.TypedDict, total=False): + columnsCount: int + rowCount: int + signedUri: SignedUri + @typing.type_check_only class DailyResourceUsageAggregation(typing_extensions.TypedDict, total=False): cpu: DailyResourceUsageAggregationCPU @@ -617,6 +666,11 @@ class InsightList(typing_extensions.TypedDict, total=False): insights: _list[Insight] updateTime: str +@typing.type_check_only +class ListAssetsExportJobsResponse(typing_extensions.TypedDict, total=False): + assetsExportJobs: _list[AssetsExportJob] + nextPageToken: str + @typing.type_check_only class ListAssetsResponse(typing_extensions.TypedDict, total=False): assets: _list[Asset] @@ -747,6 +801,7 @@ class MachineDiskDetails(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineNetworkDetails(typing_extensions.TypedDict, total=False): adapters: NetworkAdapterList + defaultGateway: str primaryIpAddress: str primaryMacAddress: str publicIpAddress: str @@ -908,6 +963,16 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): target: str verb: str +@typing.type_check_only +class OutputFile(typing_extensions.TypedDict, total=False): + csvOutputFile: CsvOutputFile + fileSizeBytes: str + xlsxOutputFile: XlsxOutputFile + +@typing.type_check_only +class OutputFileList(typing_extensions.TypedDict, total=False): + entries: _list[OutputFile] + @typing.type_check_only class PerformanceSample(typing_extensions.TypedDict, total=False): cpu: CpuUsageSample @@ -1036,6 +1101,7 @@ class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False) memoryBytesHistogram: ReportSummaryHistogramChartData memoryUtilizationChart: ReportSummaryUtilizationChartData operatingSystem: ReportSummaryChartData + softwareInstances: ReportSummaryChartData storageBytesHistogram: ReportSummaryHistogramChartData storageUtilizationChart: ReportSummaryUtilizationChartData totalAssets: str @@ -1137,6 +1203,14 @@ class ReportSummaryVmwareNodeAllocation(typing_extensions.TypedDict, total=False nodeCount: str vmwareNode: ReportSummaryVmwareNode +@typing.type_check_only +class RunAssetsExportJobRequest(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class RunAssetsExportJobResponse(typing_extensions.TypedDict, total=False): + assetsExportJobExecution: AssetsExportJobExecution + @typing.type_check_only class RunImportJobRequest(typing_extensions.TypedDict, total=False): requestId: str @@ -1184,6 +1258,19 @@ class Settings(typing_extensions.TypedDict, total=False): name: str preferenceSet: str +@typing.type_check_only +class SignedUri(typing_extensions.TypedDict, total=False): + file: str + uri: str + +@typing.type_check_only +class SignedUriDestination(typing_extensions.TypedDict, total=False): + fileFormat: typing_extensions.Literal["FILE_FORMAT_UNSPECIFIED", "CSV", "XLSX"] + +@typing.type_check_only +class SignedUris(typing_extensions.TypedDict, total=False): + signedUris: _list[SignedUri] + @typing.type_check_only class SoleTenancyPreferences(typing_extensions.TypedDict, total=False): commitmentPlan: typing_extensions.Literal[ @@ -1359,3 +1446,7 @@ class VmwarePlatformDetails(typing_extensions.TypedDict, total=False): vcenterUri: str vcenterVersion: str vcenterVmId: str + +@typing.type_check_only +class XlsxOutputFile(typing_extensions.TypedDict, total=False): + signedUri: SignedUri diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi index b3180eda5..ea334bd1b 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/resources.pyi @@ -443,6 +443,48 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): class ReportConfigsResource(googleapiclient.discovery.Resource): @typing.type_check_only class ReportsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ReportExportJobsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: ReportExportJob = ..., + reportExportJobId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ReportExportJobHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListReportExportJobsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListReportExportJobsResponseHttpRequest, + previous_response: ListReportExportJobsResponse, + ) -> ListReportExportJobsResponseHttpRequest | None: ... + def run( + self, + *, + name: str, + body: RunReportExportJobRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def create( self, *, @@ -488,6 +530,7 @@ class MigrationCenterAPIResource(googleapiclient.discovery.Resource): previous_request: ListReportsResponseHttpRequest, previous_response: ListReportsResponse, ) -> ListReportsResponseHttpRequest | None: ... + def reportExportJobs(self) -> ReportExportJobsResource: ... def create( self, @@ -834,6 +877,14 @@ class ListReportConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListReportConfigsResponse: ... +@typing.type_check_only +class ListReportExportJobsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListReportExportJobsResponse: ... + @typing.type_check_only class ListReportsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -906,6 +957,14 @@ class ReportConfigHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ReportConfig: ... +@typing.type_check_only +class ReportExportJobHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ReportExportJob: ... + @typing.type_check_only class SettingsHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi index dca55fe95..35cb2627b 100644 --- a/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/migrationcenter/v1alpha1/schemas.pyi @@ -76,12 +76,15 @@ class Asset(typing_extensions.TypedDict, total=False): assignedGroups: _list[str] attributes: dict[str, typing.Any] awsCloudFrontDistributionDetails: AwsCloudFrontDistributionDetails + awsDynamodbTableDetails: AwsDynamoDBTableDetails awsEcsClusterDetails: AwsEcsClusterDetails awsEfsFileSystemDetails: AwsEfsFileSystemDetails awsEksClusterDetails: AwsEksClusterDetails awsElbLoadBalancerDetails: AwsElbLoadBalancerDetails awsLambdaFunctionDetails: AwsLambdaFunctionDetails + awsNatGatewayDetails: AwsNatGatewayDetails awsRedshiftDetails: AwsRedshiftDetails + awsRoute53HostedZoneDetails: AwsRoute53HostedZoneDetails awsS3BucketDetails: AwsS3BucketDetails awsVpcDetails: AwsVpcDetails createTime: str @@ -106,12 +109,15 @@ class Asset(typing_extensions.TypedDict, total=False): class AssetFrame(typing_extensions.TypedDict, total=False): attributes: dict[str, typing.Any] awsCloudFrontDistributionDetails: AwsCloudFrontDistributionDetails + awsDynamodbTableDetails: AwsDynamoDBTableDetails awsEcsClusterDetails: AwsEcsClusterDetails awsEfsFileSystemDetails: AwsEfsFileSystemDetails awsEksClusterDetails: AwsEksClusterDetails awsElbLoadBalancerDetails: AwsElbLoadBalancerDetails awsLambdaFunctionDetails: AwsLambdaFunctionDetails + awsNatGatewayDetails: AwsNatGatewayDetails awsRedshiftDetails: AwsRedshiftDetails + awsRoute53HostedZoneDetails: AwsRoute53HostedZoneDetails awsS3BucketDetails: AwsS3BucketDetails awsVpcDetails: AwsVpcDetails collectionType: typing_extensions.Literal[ @@ -178,8 +184,7 @@ class AssetsExportJobExportCondition(typing_extensions.TypedDict, total=False): class AssetsExportJobInventory(typing_extensions.TypedDict, total=False): ... @typing.type_check_only -class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): - maxDays: int +class AssetsExportJobNetworkDependencies(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): @@ -188,6 +193,9 @@ class AssetsExportJobPerformanceData(typing_extensions.TypedDict, total=False): @typing.type_check_only class AwsCloudFrontDistributionDetails(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class AwsDynamoDBTableDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AwsEc2PlatformDetails(typing_extensions.TypedDict, total=False): hyperthreading: typing_extensions.Literal[ @@ -213,12 +221,18 @@ class AwsElbLoadBalancerDetails(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class AwsLambdaFunctionDetails(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class AwsNatGatewayDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AwsRds(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class AwsRedshiftDetails(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class AwsRoute53HostedZoneDetails(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class AwsS3BucketDetails(typing_extensions.TypedDict, total=False): objectsMetadata: AwsS3BucketDetailsObjectsMetadata @@ -1090,6 +1104,11 @@ class ListReportConfigsResponse(typing_extensions.TypedDict, total=False): reportConfigs: _list[ReportConfig] unreachable: _list[str] +@typing.type_check_only +class ListReportExportJobsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + reportExportJobs: _list[ReportExportJob] + @typing.type_check_only class ListReportsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -1480,6 +1499,27 @@ class ReportConfigGroupPreferenceSetAssignment( group: str preferenceSet: str +@typing.type_check_only +class ReportExportExecution(typing_extensions.TypedDict, total=False): + endTime: str + executionId: str + expireTime: str + progressPercentage: int + result: ReportExportExecutionResult + startTime: str + +@typing.type_check_only +class ReportExportExecutionResult(typing_extensions.TypedDict, total=False): + error: Status + outputFiles: OutputFileList + signedUris: SignedUris + +@typing.type_check_only +class ReportExportJob(typing_extensions.TypedDict, total=False): + name: str + recentExecutions: _list[ReportExportExecution] + signedUriDestination: SignedUriDestination + @typing.type_check_only class ReportSummary(typing_extensions.TypedDict, total=False): allAssetsStats: ReportSummaryAssetAggregateStats @@ -1496,6 +1536,7 @@ class ReportSummaryAssetAggregateStats(typing_extensions.TypedDict, total=False) memoryUtilization: ReportSummaryChartData memoryUtilizationChart: ReportSummaryUtilizationChartData operatingSystem: ReportSummaryChartData + softwareInstances: ReportSummaryChartData storageBytesHistogram: ReportSummaryHistogramChartData storageUtilization: ReportSummaryChartData storageUtilizationChart: ReportSummaryUtilizationChartData @@ -1635,6 +1676,14 @@ class RunAssetsExportJobResponse(typing_extensions.TypedDict, total=False): class RunImportJobRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class RunReportExportJobRequest(typing_extensions.TypedDict, total=False): + requestId: str + +@typing.type_check_only +class RunReportExportJobResponse(typing_extensions.TypedDict, total=False): + reportExportExecution: ReportExportExecution + @typing.type_check_only class RunningProcess(typing_extensions.TypedDict, total=False): attributes: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/ml/v1/resources.pyi b/googleapiclient-stubs/_apis/ml/v1/resources.pyi index 28283dd13..af271ef12 100644 --- a/googleapiclient-stubs/_apis/ml/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/ml/v1/resources.pyi @@ -310,6 +310,7 @@ class CloudMachineLearningEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> GoogleLongrunning__ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/ml/v1/schemas.pyi b/googleapiclient-stubs/_apis/ml/v1/schemas.pyi index cebb1bf15..8d9b4766a 100644 --- a/googleapiclient-stubs/_apis/ml/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ml/v1/schemas.pyi @@ -686,6 +686,7 @@ class GoogleLongrunning__ListOperationsResponse( ): nextPageToken: str operations: _list[GoogleLongrunning__Operation] + unreachable: _list[str] @typing.type_check_only class GoogleLongrunning__Operation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi index 30770c62b..72f2e9239 100644 --- a/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/monitoring/v1/schemas.pyi @@ -264,6 +264,10 @@ class Field(typing_extensions.TypedDict, total=False): packed: bool typeUrl: str +@typing.type_check_only +class FilterControl(typing_extensions.TypedDict, total=False): + templateVariable: str + @typing.type_check_only class GaugeView(typing_extensions.TypedDict, total=False): lowerBound: float @@ -639,6 +643,7 @@ class Widget(typing_extensions.TypedDict, total=False): blank: Empty collapsibleGroup: CollapsibleGroup errorReportingPanel: ErrorReportingPanel + filterControl: FilterControl id: str incidentList: IncidentList logsPanel: LogsPanel diff --git a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi index 1c67ec2be..13c792e0f 100644 --- a/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/mybusinessplaceactions/v1/schemas.pyi @@ -32,6 +32,7 @@ class PlaceActionLink(typing_extensions.TypedDict, total=False): "FOOD_DELIVERY", "FOOD_TAKEOUT", "SHOP_ONLINE", + "SOLOPRENEUR_APPOINTMENT", ] providerType: typing_extensions.Literal[ "PROVIDER_TYPE_UNSPECIFIED", "MERCHANT", "AGGREGATOR_3P" @@ -51,4 +52,5 @@ class PlaceActionTypeMetadata(typing_extensions.TypedDict, total=False): "FOOD_DELIVERY", "FOOD_TAKEOUT", "SHOP_ONLINE", + "SOLOPRENEUR_APPOINTMENT", ] diff --git a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi index 380696593..3ac2e5e6d 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/resources.pyi @@ -178,6 +178,46 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... + @typing.type_check_only + class HostGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: HostGroup = ..., + hostGroupId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> HostGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListHostGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListHostGroupsResponseHttpRequest, + previous_response: ListHostGroupsResponse, + ) -> ListHostGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: HostGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class KmsConfigsResource(googleapiclient.discovery.Resource): def create( @@ -485,6 +525,13 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, force: bool = ..., **kwargs: typing.Any ) -> OperationHttpRequest: ... + def establishPeering( + self, + *, + name: str, + body: EstablishVolumePeeringRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def get( self, *, name: str, **kwargs: typing.Any ) -> VolumeHttpRequest: ... @@ -550,6 +597,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): def activeDirectories(self) -> ActiveDirectoriesResource: ... def backupPolicies(self) -> BackupPoliciesResource: ... def backupVaults(self) -> BackupVaultsResource: ... + def hostGroups(self) -> HostGroupsResource: ... def kmsConfigs(self) -> KmsConfigsResource: ... def operations(self) -> OperationsResource: ... def storagePools(self) -> StoragePoolsResource: ... @@ -611,6 +659,14 @@ class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleProtobufEmpty: ... +@typing.type_check_only +class HostGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HostGroup: ... + @typing.type_check_only class KmsConfigHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -651,6 +707,14 @@ class ListBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListBackupsResponse: ... +@typing.type_check_only +class ListHostGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListHostGroupsResponse: ... + @typing.type_check_only class ListKmsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi index 0a3fc870a..fefbe18dc 100644 --- a/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1/schemas.pyi @@ -101,9 +101,18 @@ class BackupVault(typing_extensions.TypedDict, total=False): backupVaultType: typing_extensions.Literal[ "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" ] + backupsCryptoKeyVersion: str createTime: str description: str destinationBackupVault: str + encryptionState: typing_extensions.Literal[ + "ENCRYPTION_STATE_UNSPECIFIED", + "ENCRYPTION_STATE_PENDING", + "ENCRYPTION_STATE_COMPLETED", + "ENCRYPTION_STATE_IN_PROGRESS", + "ENCRYPTION_STATE_FAILED", + ] + kmsConfig: str labels: dict[str, typing.Any] name: str sourceBackupVault: str @@ -112,9 +121,26 @@ class BackupVault(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] +@typing.type_check_only +class BlockDevice(typing_extensions.TypedDict, total=False): + hostGroups: _list[str] + identifier: str + name: str + osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + sizeGib: str + @typing.type_check_only class CacheConfig(typing_extensions.TypedDict, total=False): + cachePrePopulate: CachePrePopulate + cachePrePopulateState: typing_extensions.Literal[ + "CACHE_PRE_POPULATE_STATE_UNSPECIFIED", + "NOT_NEEDED", + "IN_PROGRESS", + "COMPLETE", + "ERROR", + ] cifsChangeNotifyEnabled: bool + writebackEnabled: bool @typing.type_check_only class CacheParameters(typing_extensions.TypedDict, total=False): @@ -136,6 +162,12 @@ class CacheParameters(typing_extensions.TypedDict, total=False): peeringCommandExpiryTime: str stateDetails: str +@typing.type_check_only +class CachePrePopulate(typing_extensions.TypedDict, total=False): + excludePathList: _list[str] + pathList: _list[str] + recursion: bool + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -163,6 +195,13 @@ class EstablishPeeringRequest(typing_extensions.TypedDict, total=False): peerSvmName: str peerVolumeName: str +@typing.type_check_only +class EstablishVolumePeeringRequest(typing_extensions.TypedDict, total=False): + peerClusterName: str + peerIpAddresses: _list[str] + peerSvmName: str + peerVolumeName: str + @typing.type_check_only class ExportPolicy(typing_extensions.TypedDict, total=False): rules: _list[SimpleExportPolicyRule] @@ -170,6 +209,19 @@ class ExportPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class HostGroup(typing_extensions.TypedDict, total=False): + createTime: str + description: str + hosts: _list[str] + labels: dict[str, typing.Any] + name: str + osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "READY", "UPDATING", "DELETING", "DISABLED" + ] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] + @typing.type_check_only class HourlySchedule(typing_extensions.TypedDict, total=False): minute: float @@ -256,6 +308,12 @@ class ListBackupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListHostGroupsResponse(typing_extensions.TypedDict, total=False): + hostGroups: _list[HostGroup] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListKmsConfigsResponse(typing_extensions.TypedDict, total=False): kmsConfigs: _list[KmsConfig] @@ -313,6 +371,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ typing_extensions.Literal[ @@ -341,7 +400,7 @@ class MountOption(typing_extensions.TypedDict, total=False): instructions: str ipAddress: str protocol: typing_extensions.Literal[ - "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB" + "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI" ] @typing.type_check_only @@ -550,11 +609,13 @@ class StoragePool(typing_extensions.TypedDict, total=False): "RESTORING", "DISABLED", "ERROR", - "DEGRADED", ] stateDetails: str totalIops: str totalThroughputMibps: str + type: typing_extensions.Literal[ + "STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED", "UNIFIED_LARGE_CAPACITY" + ] volumeCapacityGib: str volumeCount: int zone: str @@ -607,6 +668,7 @@ class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): class Volume(typing_extensions.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig + blockDevices: _list[BlockDevice] cacheParameters: CacheParameters capacityGib: str coldTierSizeGib: str @@ -629,7 +691,9 @@ class Volume(typing_extensions.TypedDict, total=False): name: str network: str protocols: _list[ - typing_extensions.Literal["PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB"] + typing_extensions.Literal[ + "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI" + ] ] psaRange: str replicaZone: str diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi index ecb1ef99c..3ac2e5e6d 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/resources.pyi @@ -178,6 +178,46 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): ) -> OperationHttpRequest: ... def backups(self) -> BackupsResource: ... + @typing.type_check_only + class HostGroupsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: HostGroup = ..., + hostGroupId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> HostGroupHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListHostGroupsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListHostGroupsResponseHttpRequest, + previous_response: ListHostGroupsResponse, + ) -> ListHostGroupsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: HostGroup = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class KmsConfigsResource(googleapiclient.discovery.Resource): def create( @@ -557,6 +597,7 @@ class NetAppFilesResource(googleapiclient.discovery.Resource): def activeDirectories(self) -> ActiveDirectoriesResource: ... def backupPolicies(self) -> BackupPoliciesResource: ... def backupVaults(self) -> BackupVaultsResource: ... + def hostGroups(self) -> HostGroupsResource: ... def kmsConfigs(self) -> KmsConfigsResource: ... def operations(self) -> OperationsResource: ... def storagePools(self) -> StoragePoolsResource: ... @@ -618,6 +659,14 @@ class GoogleProtobufEmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleProtobufEmpty: ... +@typing.type_check_only +class HostGroupHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> HostGroup: ... + @typing.type_check_only class KmsConfigHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -658,6 +707,14 @@ class ListBackupsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListBackupsResponse: ... +@typing.type_check_only +class ListHostGroupsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListHostGroupsResponse: ... + @typing.type_check_only class ListKmsConfigsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi index 39f174e32..fefbe18dc 100644 --- a/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/netapp/v1beta1/schemas.pyi @@ -101,9 +101,18 @@ class BackupVault(typing_extensions.TypedDict, total=False): backupVaultType: typing_extensions.Literal[ "BACKUP_VAULT_TYPE_UNSPECIFIED", "IN_REGION", "CROSS_REGION" ] + backupsCryptoKeyVersion: str createTime: str description: str destinationBackupVault: str + encryptionState: typing_extensions.Literal[ + "ENCRYPTION_STATE_UNSPECIFIED", + "ENCRYPTION_STATE_PENDING", + "ENCRYPTION_STATE_COMPLETED", + "ENCRYPTION_STATE_IN_PROGRESS", + "ENCRYPTION_STATE_FAILED", + ] + kmsConfig: str labels: dict[str, typing.Any] name: str sourceBackupVault: str @@ -112,9 +121,26 @@ class BackupVault(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "CREATING", "READY", "DELETING", "ERROR", "UPDATING" ] +@typing.type_check_only +class BlockDevice(typing_extensions.TypedDict, total=False): + hostGroups: _list[str] + identifier: str + name: str + osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + sizeGib: str + @typing.type_check_only class CacheConfig(typing_extensions.TypedDict, total=False): + cachePrePopulate: CachePrePopulate + cachePrePopulateState: typing_extensions.Literal[ + "CACHE_PRE_POPULATE_STATE_UNSPECIFIED", + "NOT_NEEDED", + "IN_PROGRESS", + "COMPLETE", + "ERROR", + ] cifsChangeNotifyEnabled: bool + writebackEnabled: bool @typing.type_check_only class CacheParameters(typing_extensions.TypedDict, total=False): @@ -136,6 +162,12 @@ class CacheParameters(typing_extensions.TypedDict, total=False): peeringCommandExpiryTime: str stateDetails: str +@typing.type_check_only +class CachePrePopulate(typing_extensions.TypedDict, total=False): + excludePathList: _list[str] + pathList: _list[str] + recursion: bool + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... @@ -177,6 +209,19 @@ class ExportPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleProtobufEmpty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class HostGroup(typing_extensions.TypedDict, total=False): + createTime: str + description: str + hosts: _list[str] + labels: dict[str, typing.Any] + name: str + osType: typing_extensions.Literal["OS_TYPE_UNSPECIFIED", "LINUX", "WINDOWS", "ESXI"] + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "READY", "UPDATING", "DELETING", "DISABLED" + ] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "ISCSI_INITIATOR"] + @typing.type_check_only class HourlySchedule(typing_extensions.TypedDict, total=False): minute: float @@ -263,6 +308,12 @@ class ListBackupsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListHostGroupsResponse(typing_extensions.TypedDict, total=False): + hostGroups: _list[HostGroup] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListKmsConfigsResponse(typing_extensions.TypedDict, total=False): kmsConfigs: _list[KmsConfig] @@ -320,6 +371,7 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class LocationMetadata(typing_extensions.TypedDict, total=False): + hasOntapProxy: bool hasVcp: bool supportedFlexPerformance: _list[ typing_extensions.Literal[ @@ -348,7 +400,7 @@ class MountOption(typing_extensions.TypedDict, total=False): instructions: str ipAddress: str protocol: typing_extensions.Literal[ - "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB" + "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI" ] @typing.type_check_only @@ -557,11 +609,13 @@ class StoragePool(typing_extensions.TypedDict, total=False): "RESTORING", "DISABLED", "ERROR", - "DEGRADED", ] stateDetails: str totalIops: str totalThroughputMibps: str + type: typing_extensions.Literal[ + "STORAGE_POOL_TYPE_UNSPECIFIED", "FILE", "UNIFIED", "UNIFIED_LARGE_CAPACITY" + ] volumeCapacityGib: str volumeCount: int zone: str @@ -614,6 +668,7 @@ class VerifyKmsConfigResponse(typing_extensions.TypedDict, total=False): class Volume(typing_extensions.TypedDict, total=False): activeDirectory: str backupConfig: BackupConfig + blockDevices: _list[BlockDevice] cacheParameters: CacheParameters capacityGib: str coldTierSizeGib: str @@ -636,7 +691,9 @@ class Volume(typing_extensions.TypedDict, total=False): name: str network: str protocols: _list[ - typing_extensions.Literal["PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB"] + typing_extensions.Literal[ + "PROTOCOLS_UNSPECIFIED", "NFSV3", "NFSV4", "SMB", "ISCSI" + ] ] psaRange: str replicaZone: str diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi index c2f8913e5..046a6e16a 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/resources.pyi @@ -17,6 +17,50 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AutomatedDnsRecordsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: AutomatedDnsRecord = ..., + automatedDnsRecordId: str = ..., + insertMode: typing_extensions.Literal[ + "INSERT_MODE_UNSPECIFIED", "FAIL_IF_EXISTS", "OVERWRITE" + ] = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + deleteMode: typing_extensions.Literal[ + "DELETE_MODE_UNSPECIFIED", "DEPROGRAM", "SKIP_DEPROGRAMMING" + ] = ..., + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AutomatedDnsRecordHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAutomatedDnsRecordsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAutomatedDnsRecordsResponseHttpRequest, + previous_response: ListAutomatedDnsRecordsResponse, + ) -> ListAutomatedDnsRecordsResponseHttpRequest | None: ... + @typing.type_check_only class GlobalResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -880,6 +924,7 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def automatedDnsRecords(self) -> AutomatedDnsRecordsResource: ... def global_(self) -> GlobalResource: ... def internalRanges(self) -> InternalRangesResource: ... def multicloudDataTransferConfigs( @@ -914,6 +959,14 @@ class NetworkconnectivityResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class AutomatedDnsRecordHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AutomatedDnsRecord: ... + @typing.type_check_only class CheckConsumerConfigResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -980,6 +1033,14 @@ class InternalRangeHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> InternalRange: ... +@typing.type_check_only +class ListAutomatedDnsRecordsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAutomatedDnsRecordsResponse: ... + @typing.type_check_only class ListDestinationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi index bf706e284..415d052b9 100644 --- a/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkconnectivity/v1/schemas.pyi @@ -48,6 +48,7 @@ class AutoAccept(typing_extensions.TypedDict, total=False): @typing.type_check_only class AutoCreatedSubnetworkInfo(typing_extensions.TypedDict, total=False): + delinked: bool internalRange: str internalRangeRef: str subnetwork: str @@ -59,6 +60,37 @@ class AutomatedDnsCreationSpec(typing_extensions.TypedDict, total=False): hostname: str ttl: str +@typing.type_check_only +class AutomatedDnsRecord(typing_extensions.TypedDict, total=False): + consumerNetwork: str + createTime: str + creationMode: typing_extensions.Literal[ + "CREATION_MODE_UNSPECIFIED", "CONSUMER_API", "SERVICE_CONNECTION_MAP" + ] + currentConfig: Config + description: str + dnsSuffix: str + dnsZone: str + etag: str + fqdn: str + hostname: str + labels: dict[str, typing.Any] + name: str + originalConfig: Config + recordType: typing_extensions.Literal[ + "RECORD_TYPE_UNSPECIFIED", "A", "AAAA", "TXT", "CNAME" + ] + serviceClass: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "PROGRAMMED", + "FAILED_DEPROGRAMMING", + "CREATING", + "DELETING", + ] + stateDetails: str + updateTime: str + @typing.type_check_only class Binding(typing_extensions.TypedDict, total=False): condition: Expr @@ -91,6 +123,11 @@ class CheckConsumerConfigResponse(typing_extensions.TypedDict, total=False): ] ] +@typing.type_check_only +class Config(typing_extensions.TypedDict, total=False): + rrdatas: _list[str] + ttl: str + @typing.type_check_only class ConsumerPscConfig(typing_extensions.TypedDict, total=False): consumerInstanceProject: str @@ -357,6 +394,12 @@ class LinkedVpnTunnels(typing_extensions.TypedDict, total=False): uris: _list[str] vpcNetwork: str +@typing.type_check_only +class ListAutomatedDnsRecordsResponse(typing_extensions.TypedDict, total=False): + automatedDnsRecords: _list[AutomatedDnsRecord] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListDestinationsResponse(typing_extensions.TypedDict, total=False): destinations: _list[Destination] diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi index aed63c252..9b7ac279f 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/resources.pyi @@ -18,35 +18,39 @@ class NetworkManagementResource(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, - body: CancelOperationRequest = ..., - **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: ... + class GlobalResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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: ... + + def operations(self) -> OperationsResource: ... @typing.type_check_only class VpcFlowLogsConfigsResource(googleapiclient.discovery.Resource): @@ -106,7 +110,7 @@ class NetworkManagementResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... - def operations(self) -> OperationsResource: ... + def global_(self) -> GlobalResource: ... def vpcFlowLogsConfigs(self) -> VpcFlowLogsConfigsResource: ... def locations(self) -> LocationsResource: ... diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi index 701457e77..bdd1b6d01 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1/schemas.pyi @@ -24,6 +24,9 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", "PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", "NO_SOURCE_LOCATION", + "NO_SOURCE_GCP_NETWORK_LOCATION", + "NO_SOURCE_NON_GCP_NETWORK_LOCATION", + "NO_SOURCE_INTERNET_LOCATION", "INVALID_ARGUMENT", "TRACE_TOO_LONG", "INTERNAL_ERROR", @@ -38,6 +41,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", + "SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED", "SOURCE_REDIS_CLUSTER_UNSUPPORTED", "SOURCE_REDIS_INSTANCE_UNSUPPORTED", "SOURCE_FORWARDING_RULE_UNSUPPORTED", @@ -46,6 +50,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", "NO_SERVERLESS_IP_RANGES", "IP_VERSION_PROTOCOL_MISMATCH", + "GKE_POD_UNKNOWN_ENDPOINT_LOCATION", ] ipAddress: str projectsMissingPermission: _list[str] @@ -166,6 +171,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "GOOGLE_MANAGED_SERVICE", "REDIS_INSTANCE", "REDIS_CLUSTER", + "GKE_POD", ] @typing.type_check_only @@ -194,6 +200,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", + "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV4_ADDRESS", "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", @@ -208,6 +215,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", + "GKE_POD_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", "REDIS_INSTANCE_NOT_RUNNING", "REDIS_CLUSTER_NOT_RUNNING", @@ -270,6 +278,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", "TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", "NO_MATCHING_NAT64_GATEWAY", + "NO_CONFIGURED_PRIVATE_NAT64_RULE", "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", "CLOUD_NAT_PROTOCOL_UNSUPPORTED", @@ -278,6 +287,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", "HYBRID_SUBNET_REGION_MISMATCH", + "HYBRID_SUBNET_NO_ROUTE", + "NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION", ] destinationGeolocationCode: str destinationIp: str @@ -350,6 +361,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): ] fqdn: str gkeMasterCluster: str + gkePod: str instance: str ipAddress: str loadBalancerId: str @@ -368,7 +380,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): ] network: str networkType: typing_extensions.Literal[ - "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK" + "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK", "INTERNET" ] port: int projectId: str @@ -406,6 +418,8 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", + "SYSTEM_NETWORK_FIREWALL_POLICY_RULE", + "SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", "TRACKING_STATE", "ANALYSIS_SKIPPED", @@ -462,6 +476,12 @@ class GKEMasterInfo(typing_extensions.TypedDict, total=False): externalIp: str internalIp: str +@typing.type_check_only +class GkePodInfo(typing_extensions.TypedDict, total=False): + ipAddress: str + networkUri: str + podUri: str + @typing.type_check_only class GoogleServiceInfo(typing_extensions.TypedDict, total=False): googleServiceType: typing_extensions.Literal[ @@ -508,6 +528,20 @@ class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): ] uri: str +@typing.type_check_only +class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): + nonMasqueradeRange: str + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", + "DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", + "DESTINATION_ON_SAME_NODE", + "DEFAULT_SNAT_DISABLED", + "NO_MASQUERADING_FOR_IPV6", + "POD_USES_NODE_NETWORK_NAMESPACE", + "NO_MASQUERADING_FOR_RETURN_PACKET", + ] + @typing.type_check_only class LatencyDistribution(typing_extensions.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @@ -596,6 +630,14 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class NatInfo(typing_extensions.TypedDict, total=False): + cloudNatGatewayType: typing_extensions.Literal[ + "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", + "PUBLIC_NAT44", + "PUBLIC_NAT64", + "PRIVATE_NAT_NCC", + "PRIVATE_NAT_HYBRID", + "PRIVATE_NAT64", + ] natGatewayName: str networkUri: str newDestinationIp: str @@ -833,10 +875,12 @@ class Step(typing_extensions.TypedDict, total=False): forward: ForwardInfo forwardingRule: ForwardingRuleInfo gkeMaster: GKEMasterInfo + gkePod: GkePodInfo googleService: GoogleServiceInfo hybridSubnet: HybridSubnetInfo instance: InstanceInfo interconnectAttachment: InterconnectAttachmentInfo + ipMasqueradingSkipped: IpMasqueradingSkippedInfo loadBalancer: LoadBalancerInfo loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo @@ -856,6 +900,7 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_PRIVATE_NETWORK", "START_FROM_GKE_MASTER", "START_FROM_CLOUD_SQL_INSTANCE", + "START_FROM_GKE_POD", "START_FROM_REDIS_INSTANCE", "START_FROM_REDIS_CLUSTER", "START_FROM_CLOUD_FUNCTION", @@ -881,6 +926,7 @@ class Step(typing_extensions.TypedDict, total=False): "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", "NAT", + "SKIP_GKE_POD_IP_MASQUERADING", "PROXY_CONNECTION", "DELIVER", "DROP", diff --git a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi index 036016548..bdd1b6d01 100644 --- a/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkmanagement/v1beta1/schemas.pyi @@ -24,6 +24,9 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "PERMISSION_DENIED_NO_NEG_ENDPOINT_CONFIGS", "PERMISSION_DENIED_NO_CLOUD_ROUTER_CONFIGS", "NO_SOURCE_LOCATION", + "NO_SOURCE_GCP_NETWORK_LOCATION", + "NO_SOURCE_NON_GCP_NETWORK_LOCATION", + "NO_SOURCE_INTERNET_LOCATION", "INVALID_ARGUMENT", "TRACE_TOO_LONG", "INTERNAL_ERROR", @@ -38,6 +41,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT", "GOOGLE_MANAGED_SERVICE_AMBIGUOUS_ENDPOINT", "SOURCE_PSC_CLOUD_SQL_UNSUPPORTED", + "SOURCE_EXTERNAL_CLOUD_SQL_UNSUPPORTED", "SOURCE_REDIS_CLUSTER_UNSUPPORTED", "SOURCE_REDIS_INSTANCE_UNSUPPORTED", "SOURCE_FORWARDING_RULE_UNSUPPORTED", @@ -46,6 +50,7 @@ class AbortInfo(typing_extensions.TypedDict, total=False): "UNSUPPORTED_GOOGLE_MANAGED_PROJECT_CONFIG", "NO_SERVERLESS_IP_RANGES", "IP_VERSION_PROTOCOL_MISMATCH", + "GKE_POD_UNKNOWN_ENDPOINT_LOCATION", ] ipAddress: str projectsMissingPermission: _list[str] @@ -166,6 +171,7 @@ class DeliverInfo(typing_extensions.TypedDict, total=False): "GOOGLE_MANAGED_SERVICE", "REDIS_INSTANCE", "REDIS_CLUSTER", + "GKE_POD", ] @typing.type_check_only @@ -194,6 +200,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "ROUTE_NEXT_HOP_VPN_TUNNEL_NOT_ESTABLISHED", "ROUTE_NEXT_HOP_FORWARDING_RULE_TYPE_INVALID", "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS", + "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV4_ADDRESS", "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS", "VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH", "VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH", @@ -208,6 +215,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS", "INSTANCE_NOT_RUNNING", "GKE_CLUSTER_NOT_RUNNING", + "GKE_POD_NOT_RUNNING", "CLOUD_SQL_INSTANCE_NOT_RUNNING", "REDIS_INSTANCE_NOT_RUNNING", "REDIS_CLUSTER_NOT_RUNNING", @@ -270,6 +278,7 @@ class DropInfo(typing_extensions.TypedDict, total=False): "UNSUPPORTED_ROUTE_MATCHED_FOR_NAT64_DESTINATION", "TRAFFIC_FROM_HYBRID_ENDPOINT_TO_INTERNET_DISALLOWED", "NO_MATCHING_NAT64_GATEWAY", + "NO_CONFIGURED_PRIVATE_NAT64_RULE", "LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH", "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION", "CLOUD_NAT_PROTOCOL_UNSUPPORTED", @@ -278,6 +287,8 @@ class DropInfo(typing_extensions.TypedDict, total=False): "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", "HYBRID_SUBNET_REGION_MISMATCH", + "HYBRID_SUBNET_NO_ROUTE", + "NO_VALID_ROUTE_FROM_GOOGLE_MANAGED_NETWORK_TO_DESTINATION", ] destinationGeolocationCode: str destinationIp: str @@ -336,7 +347,6 @@ class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class Endpoint(typing_extensions.TypedDict, total=False): - alloyDbInstance: str appEngineVersion: AppEngineVersionEndpoint cloudFunction: CloudFunctionEndpoint cloudRunRevision: CloudRunRevisionEndpoint @@ -370,7 +380,7 @@ class Endpoint(typing_extensions.TypedDict, total=False): ] network: str networkType: typing_extensions.Literal[ - "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK" + "NETWORK_TYPE_UNSPECIFIED", "GCP_NETWORK", "NON_GCP_NETWORK", "INTERNET" ] port: int projectId: str @@ -408,6 +418,8 @@ class FirewallInfo(typing_extensions.TypedDict, total=False): "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", + "SYSTEM_NETWORK_FIREWALL_POLICY_RULE", + "SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", "TRACKING_STATE", "ANALYSIS_SKIPPED", @@ -464,6 +476,12 @@ class GKEMasterInfo(typing_extensions.TypedDict, total=False): externalIp: str internalIp: str +@typing.type_check_only +class GkePodInfo(typing_extensions.TypedDict, total=False): + ipAddress: str + networkUri: str + podUri: str + @typing.type_check_only class GoogleServiceInfo(typing_extensions.TypedDict, total=False): googleServiceType: typing_extensions.Literal[ @@ -510,6 +528,20 @@ class InterconnectAttachmentInfo(typing_extensions.TypedDict, total=False): ] uri: str +@typing.type_check_only +class IpMasqueradingSkippedInfo(typing_extensions.TypedDict, total=False): + nonMasqueradeRange: str + reason: typing_extensions.Literal[ + "REASON_UNSPECIFIED", + "DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE", + "DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE", + "DESTINATION_ON_SAME_NODE", + "DEFAULT_SNAT_DISABLED", + "NO_MASQUERADING_FOR_IPV6", + "POD_USES_NODE_NETWORK_NAMESPACE", + "NO_MASQUERADING_FOR_RETURN_PACKET", + ] + @typing.type_check_only class LatencyDistribution(typing_extensions.TypedDict, total=False): latencyPercentiles: _list[LatencyPercentile] @@ -598,6 +630,14 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class NatInfo(typing_extensions.TypedDict, total=False): + cloudNatGatewayType: typing_extensions.Literal[ + "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED", + "PUBLIC_NAT44", + "PUBLIC_NAT64", + "PRIVATE_NAT_NCC", + "PRIVATE_NAT_HYBRID", + "PRIVATE_NAT64", + ] natGatewayName: str networkUri: str newDestinationIp: str @@ -835,10 +875,12 @@ class Step(typing_extensions.TypedDict, total=False): forward: ForwardInfo forwardingRule: ForwardingRuleInfo gkeMaster: GKEMasterInfo + gkePod: GkePodInfo googleService: GoogleServiceInfo hybridSubnet: HybridSubnetInfo instance: InstanceInfo interconnectAttachment: InterconnectAttachmentInfo + ipMasqueradingSkipped: IpMasqueradingSkippedInfo loadBalancer: LoadBalancerInfo loadBalancerBackendInfo: LoadBalancerBackendInfo nat: NatInfo @@ -858,6 +900,7 @@ class Step(typing_extensions.TypedDict, total=False): "START_FROM_PRIVATE_NETWORK", "START_FROM_GKE_MASTER", "START_FROM_CLOUD_SQL_INSTANCE", + "START_FROM_GKE_POD", "START_FROM_REDIS_INSTANCE", "START_FROM_REDIS_CLUSTER", "START_FROM_CLOUD_FUNCTION", @@ -883,6 +926,7 @@ class Step(typing_extensions.TypedDict, total=False): "DIRECT_VPC_EGRESS_CONNECTION", "SERVERLESS_EXTERNAL_CONNECTION", "NAT", + "SKIP_GKE_POD_IP_MASQUERADING", "PROXY_CONNECTION", "DELIVER", "DROP", diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi index bd6c7001c..bdd98f148 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/resources.pyi @@ -570,6 +570,44 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleIamV1TestIamPermissionsResponseHttpRequest: ... + @typing.type_check_only + class DnsThreatDetectorsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: DnsThreatDetector = ..., + dnsThreatDetectorId: str = ..., + **kwargs: typing.Any, + ) -> DnsThreatDetectorHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DnsThreatDetectorHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListDnsThreatDetectorsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDnsThreatDetectorsResponseHttpRequest, + previous_response: ListDnsThreatDetectorsResponse, + ) -> ListDnsThreatDetectorsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: DnsThreatDetector = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> DnsThreatDetectorHttpRequest: ... + @typing.type_check_only class FirewallEndpointAssociationsResource( googleapiclient.discovery.Resource @@ -614,6 +652,48 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class FirewallEndpointsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: FirewallEndpoint = ..., + firewallEndpointId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FirewallEndpointHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListFirewallEndpointsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFirewallEndpointsResponseHttpRequest, + previous_response: ListFirewallEndpointsResponse, + ) -> ListFirewallEndpointsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: FirewallEndpoint = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaySecurityPoliciesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1227,9 +1307,11 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): self, ) -> BackendAuthenticationConfigsResource: ... def clientTlsPolicies(self) -> ClientTlsPoliciesResource: ... + def dnsThreatDetectors(self) -> DnsThreatDetectorsResource: ... def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... + def firewallEndpoints(self) -> FirewallEndpointsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... def interceptDeploymentGroups( self, @@ -1309,6 +1391,14 @@ class ClientTlsPolicyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ClientTlsPolicy: ... +@typing.type_check_only +class DnsThreatDetectorHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> DnsThreatDetector: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -1449,6 +1539,14 @@ class ListClientTlsPoliciesResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> ListClientTlsPoliciesResponse: ... +@typing.type_check_only +class ListDnsThreatDetectorsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDnsThreatDetectorsResponse: ... + @typing.type_check_only class ListFirewallEndpointAssociationsResponseHttpRequest( googleapiclient.http.HttpRequest diff --git a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi index 62b464aea..3e7dcb9d7 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1/schemas.pyi @@ -212,6 +212,15 @@ class Destination(typing_extensions.TypedDict, total=False): methods: _list[str] ports: _list[int] +@typing.type_check_only +class DnsThreatDetector(typing_extensions.TypedDict, total=False): + createTime: str + excludedNetworks: _list[str] + labels: dict[str, typing.Any] + name: str + provider: typing_extensions.Literal["PROVIDER_UNSPECIFIED", "INFOBLOX"] + updateTime: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @@ -518,6 +527,12 @@ class ListClientTlsPoliciesResponse(typing_extensions.TypedDict, total=False): clientTlsPolicies: _list[ClientTlsPolicy] nextPageToken: str +@typing.type_check_only +class ListDnsThreatDetectorsResponse(typing_extensions.TypedDict, total=False): + dnsThreatDetectors: _list[DnsThreatDetector] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListFirewallEndpointAssociationsResponse( typing_extensions.TypedDict, total=False @@ -719,6 +734,7 @@ class MirroringEndpointGroup(typing_extensions.TypedDict, total=False): "OUT_OF_SYNC", "DELETE_FAILED", ] + type: typing_extensions.Literal["TYPE_UNSPECIFIED", "DIRECT"] updateTime: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi index 84bc6f3e0..666a57efa 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/resources.pyi @@ -652,6 +652,48 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class FirewallEndpointsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: FirewallEndpoint = ..., + firewallEndpointId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> FirewallEndpointHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListFirewallEndpointsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFirewallEndpointsResponseHttpRequest, + previous_response: ListFirewallEndpointsResponse, + ) -> ListFirewallEndpointsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: FirewallEndpoint = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class GatewaySecurityPoliciesResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -1335,6 +1377,7 @@ class NetworkSecurityResource(googleapiclient.discovery.Resource): def firewallEndpointAssociations( self, ) -> FirewallEndpointAssociationsResource: ... + def firewallEndpoints(self) -> FirewallEndpointsResource: ... def gatewaySecurityPolicies(self) -> GatewaySecurityPoliciesResource: ... def interceptDeploymentGroups( self, diff --git a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi index a431040a3..832399c63 100644 --- a/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networksecurity/v1beta1/schemas.pyi @@ -891,6 +891,7 @@ class SACRealmSACRealmSymantecOptions(typing_extensions.TypedDict, total=False): "SUCCEEDED", "READ_SECRET_FAILED", "REQUEST_TO_SYMANTEC_FAILED", + "UNAVAILABLE_FOR_HISTORICAL_REQUESTS", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi index 7e54d1439..5efd78f4a 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/resources.pyi @@ -306,6 +306,48 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class LbEdgeExtensionsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: LbEdgeExtension = ..., + lbEdgeExtensionId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, requestId: str = ..., **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LbEdgeExtensionHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLbEdgeExtensionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLbEdgeExtensionsResponseHttpRequest, + previous_response: ListLbEdgeExtensionsResponse, + ) -> ListLbEdgeExtensionsResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: LbEdgeExtension = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class LbRouteExtensionsResource(googleapiclient.discovery.Resource): def create( @@ -471,6 +513,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -736,6 +779,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): def gateways(self) -> GatewaysResource: ... def grpcRoutes(self) -> GrpcRoutesResource: ... def httpRoutes(self) -> HttpRoutesResource: ... + def lbEdgeExtensions(self) -> LbEdgeExtensionsResource: ... def lbRouteExtensions(self) -> LbRouteExtensionsResource: ... def lbTrafficExtensions(self) -> LbTrafficExtensionsResource: ... def meshes(self) -> MeshesResource: ... @@ -818,6 +862,14 @@ class HttpRouteHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> HttpRoute: ... +@typing.type_check_only +class LbEdgeExtensionHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> LbEdgeExtension: ... + @typing.type_check_only class LbRouteExtensionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -882,6 +934,14 @@ class ListHttpRoutesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListHttpRoutesResponse: ... +@typing.type_check_only +class ListLbEdgeExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLbEdgeExtensionsResponse: ... + @typing.type_check_only class ListLbRouteExtensionsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi index 6ec3c79f6..cb4e5f063 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1/schemas.pyi @@ -102,6 +102,17 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): forwardHeaders: _list[str] metadata: dict[str, typing.Any] name: str + observabilityMode: bool + requestBodySendMode: typing_extensions.Literal[ + "BODY_SEND_MODE_UNSPECIFIED", + "BODY_SEND_MODE_STREAMED", + "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", + ] + responseBodySendMode: typing_extensions.Literal[ + "BODY_SEND_MODE_UNSPECIFIED", + "BODY_SEND_MODE_STREAMED", + "BODY_SEND_MODE_FULL_DUPLEX_STREAMED", + ] service: str supportedEvents: _list[ typing_extensions.Literal[ @@ -377,6 +388,19 @@ class HttpRouteURLRewrite(typing_extensions.TypedDict, total=False): hostRewrite: str pathPrefixRewrite: str +@typing.type_check_only +class LbEdgeExtension(typing_extensions.TypedDict, total=False): + createTime: str + description: str + extensionChains: _list[ExtensionChain] + forwardingRules: _list[str] + labels: dict[str, typing.Any] + loadBalancingScheme: typing_extensions.Literal[ + "LOAD_BALANCING_SCHEME_UNSPECIFIED", "INTERNAL_MANAGED", "EXTERNAL_MANAGED" + ] + name: str + updateTime: str + @typing.type_check_only class LbRouteExtension(typing_extensions.TypedDict, total=False): createTime: str @@ -441,6 +465,12 @@ class ListHttpRoutesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListLbEdgeExtensionsResponse(typing_extensions.TypedDict, total=False): + lbEdgeExtensions: _list[LbEdgeExtension] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListLbRouteExtensionsResponse(typing_extensions.TypedDict, total=False): lbRouteExtensions: _list[LbRouteExtension] @@ -474,6 +504,7 @@ class ListMeshesResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi index e93b9af07..904d0052e 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/resources.pyi @@ -483,6 +483,7 @@ class NetworkServicesResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi index 68743359e..7d790af97 100644 --- a/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/networkservices/v1beta1/schemas.pyi @@ -65,6 +65,7 @@ class ExtensionChainExtension(typing_extensions.TypedDict, total=False): forwardHeaders: _list[str] metadata: dict[str, typing.Any] name: str + observabilityMode: bool requestBodySendMode: typing_extensions.Literal[ "BODY_SEND_MODE_UNSPECIFIED", "BODY_SEND_MODE_STREAMED", @@ -485,6 +486,7 @@ class ListMeshesResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListServiceBindingsResponse(typing_extensions.TypedDict, total=False): @@ -724,6 +726,8 @@ class TrafficPortSelector(typing_extensions.TypedDict, total=False): class WasmPlugin(typing_extensions.TypedDict, total=False): createTime: str description: str + kmsKeyName: str + kmsKeyVersion: str labels: dict[str, typing.Any] logConfig: WasmPluginLogConfig mainVersionId: str diff --git a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi index c9cd1813b..6f42fadb1 100644 --- a/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/notebooks/v2/schemas.pyi @@ -18,9 +18,11 @@ class AcceleratorConfig(typing_extensions.TypedDict, total=False): "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS", + "NVIDIA_B200", ] @typing.type_check_only @@ -40,7 +42,12 @@ class BootDisk(typing_extensions.TypedDict, total=False): ] diskSizeGb: str diskType: typing_extensions.Literal[ - "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" + "DISK_TYPE_UNSPECIFIED", + "PD_STANDARD", + "PD_SSD", + "PD_BALANCED", + "PD_EXTREME", + "HYPERDISK_BALANCED", ] kmsKey: str @@ -89,7 +96,12 @@ class DataDisk(typing_extensions.TypedDict, total=False): ] diskSizeGb: str diskType: typing_extensions.Literal[ - "DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME" + "DISK_TYPE_UNSPECIFIED", + "PD_STANDARD", + "PD_SSD", + "PD_BALANCED", + "PD_EXTREME", + "HYPERDISK_BALANCED", ] kmsKey: str resourcePolicies: _list[str] @@ -149,6 +161,7 @@ class GceSetup(typing_extensions.TypedDict, total=False): disablePublicIp: bool enableIpForwarding: bool gpuDriverConfig: GPUDriverConfig + instanceId: str machineType: str metadata: dict[str, typing.Any] minCpuPlatform: str diff --git a/googleapiclient-stubs/_apis/observability/v1/resources.pyi b/googleapiclient-stubs/_apis/observability/v1/resources.pyi index 2695123dc..a08c4effb 100644 --- a/googleapiclient-stubs/_apis/observability/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/resources.pyi @@ -13,10 +13,224 @@ _list = list @typing.type_check_only class CloudObservabilityResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class FoldersResource(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, + body: CancelOperationRequest = ..., + **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: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + + @typing.type_check_only + class OrganizationsResource(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, + body: CancelOperationRequest = ..., + **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: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LocationHttpRequest: ... + def list( + self, + *, + name: str, + extraLocationTypes: str | _list[str] = ..., + filter: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLocationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLocationsResponseHttpRequest, + previous_response: ListLocationsResponse, + ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... + + def locations(self) -> LocationsResource: ... + @typing.type_check_only class ProjectsResource(googleapiclient.discovery.Resource): @typing.type_check_only class LocationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BucketsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DatasetsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class LinksResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Link = ..., + linkId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, *, name: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> LinkHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListLinksResponseHttpRequest: ... + def list_next( + self, + previous_request: ListLinksResponseHttpRequest, + previous_response: ListLinksResponse, + ) -> ListLinksResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Link = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + + @typing.type_check_only + class ViewsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ViewHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListViewsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListViewsResponseHttpRequest, + previous_response: ListViewsResponse, + ) -> ListViewsResponseHttpRequest | None: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DatasetHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListDatasetsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDatasetsResponseHttpRequest, + previous_response: ListDatasetsResponse, + ) -> ListDatasetsResponseHttpRequest | None: ... + def links(self) -> LinksResource: ... + def views(self) -> ViewsResource: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BucketHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> ListBucketsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBucketsResponseHttpRequest, + previous_response: ListBucketsResponse, + ) -> ListBucketsResponseHttpRequest | None: ... + def datasets(self) -> DatasetsResource: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def cancel( @@ -118,6 +332,7 @@ class CloudObservabilityResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def buckets(self) -> BucketsResource: ... def operations(self) -> OperationsResource: ... def scopes(self) -> ScopesResource: ... def traceScopes(self) -> TraceScopesResource: ... @@ -136,8 +351,26 @@ class CloudObservabilityResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def folders(self) -> FoldersResource: ... + def organizations(self) -> OrganizationsResource: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class BucketHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Bucket: ... + +@typing.type_check_only +class DatasetHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Dataset: ... + @typing.type_check_only class EmptyHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -146,6 +379,38 @@ class EmptyHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Empty: ... +@typing.type_check_only +class LinkHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Link: ... + +@typing.type_check_only +class ListBucketsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBucketsResponse: ... + +@typing.type_check_only +class ListDatasetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDatasetsResponse: ... + +@typing.type_check_only +class ListLinksResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListLinksResponse: ... + @typing.type_check_only class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -170,6 +435,14 @@ class ListTraceScopesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListTraceScopesResponse: ... +@typing.type_check_only +class ListViewsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListViewsResponse: ... + @typing.type_check_only class LocationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -201,3 +474,11 @@ class TraceScopeHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> TraceScope: ... + +@typing.type_check_only +class ViewHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> View: ... diff --git a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi index c2a9f381f..c02d64361 100644 --- a/googleapiclient-stubs/_apis/observability/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/observability/v1/schemas.pyi @@ -4,12 +4,60 @@ import typing_extensions _list = list +@typing.type_check_only +class Bucket(typing_extensions.TypedDict, total=False): + cmekSettings: CmekSettings + createTime: str + deleteTime: str + description: str + displayName: str + name: str + purgeTime: str + updateTime: str + @typing.type_check_only class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class CmekSettings(typing_extensions.TypedDict, total=False): + kmsKey: str + kmsKeyVersion: str + serviceAccountId: str + +@typing.type_check_only +class Dataset(typing_extensions.TypedDict, total=False): + createTime: str + deleteTime: str + description: str + displayName: str + name: str + purgeTime: str + @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Link(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + name: str + +@typing.type_check_only +class ListBucketsResponse(typing_extensions.TypedDict, total=False): + buckets: _list[Bucket] + nextPageToken: str + +@typing.type_check_only +class ListDatasetsResponse(typing_extensions.TypedDict, total=False): + datasets: _list[Dataset] + nextPageToken: str + +@typing.type_check_only +class ListLinksResponse(typing_extensions.TypedDict, total=False): + links: _list[Link] + nextPageToken: str + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] @@ -26,6 +74,11 @@ class ListTraceScopesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str traceScopes: _list[TraceScope] +@typing.type_check_only +class ListViewsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + views: _list[View] + @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): displayName: str @@ -72,3 +125,11 @@ class TraceScope(typing_extensions.TypedDict, total=False): name: str resourceNames: _list[str] updateTime: str + +@typing.type_check_only +class View(typing_extensions.TypedDict, total=False): + createTime: str + description: str + displayName: str + name: str + updateTime: str diff --git a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi index d9da02965..6b961cc3a 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1/schemas.pyi @@ -242,6 +242,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): cpe: str files: _list[File] lastScanTime: str + lastVulnerabilityUpdateTime: str sbomStatus: SBOMStatus @typing.type_check_only @@ -299,6 +300,7 @@ class GitSourceContext(typing_extensions.TypedDict, total=False): class GrafeasV1BaseImage(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 41d0da9a5..e20db5cd2 100644 --- a/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/ondemandscanning/v1beta1/schemas.pyi @@ -241,6 +241,7 @@ class DiscoveryOccurrence(typing_extensions.TypedDict, total=False): cpe: str files: _list[File] lastScanTime: str + lastVulnerabilityUpdateTime: str sbomStatus: SBOMStatus @typing.type_check_only @@ -298,6 +299,7 @@ class GitSourceContext(typing_extensions.TypedDict, total=False): class GrafeasV1BaseImage(typing_extensions.TypedDict, total=False): layerCount: int name: str + registry: str repository: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi index 3c01ca4e8..24e2deae0 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/resources.pyi @@ -112,6 +112,37 @@ class OSConfigResource(googleapiclient.discovery.Resource): def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def vulnerabilityReports(self) -> VulnerabilityReportsResource: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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 OsPolicyAssignmentsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -182,6 +213,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): def global_(self) -> GlobalResource: ... def instances(self) -> InstancesResource: ... + def operations(self) -> OperationsResource: ... def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... @typing.type_check_only @@ -358,6 +390,14 @@ class ListOSPolicyAssignmentsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListOSPolicyAssignmentsResponse: ... +@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 ListPatchDeploymentsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi index 9f0d538e5..b401228f9 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1/schemas.pyi @@ -104,6 +104,42 @@ class GcsObject(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooSettings(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleCloudOsconfigCommonV1__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1main__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False @@ -257,6 +293,12 @@ class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] +@typing.type_check_only +class ListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + unreachable: _list[str] + @typing.type_check_only class ListPatchDeploymentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -574,6 +616,7 @@ class PatchConfig(typing_extensions.TypedDict, total=False): rebootConfig: typing_extensions.Literal[ "REBOOT_CONFIG_UNSPECIFIED", "DEFAULT", "ALWAYS", "NEVER" ] + skipUnpatchableVms: bool windowsUpdate: WindowsUpdateSettings yum: YumSettings zypper: ZypperSettings @@ -626,6 +669,7 @@ class PatchJob(typing_extensions.TypedDict, total=False): "INSTANCE_LOOKUP", "PATCHING", "SUCCEEDED", + "COMPLETED_WITH_INACTIVE_VMS", "COMPLETED_WITH_ERRORS", "CANCELED", "TIMED_OUT", @@ -655,6 +699,7 @@ class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): "RUNNING_PRE_PATCH_STEP", "RUNNING_POST_PATCH_STEP", "NO_AGENT_DETECTED", + "SKIPPED", ] @typing.type_check_only @@ -670,6 +715,7 @@ class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): postPatchStepInstanceCount: str prePatchStepInstanceCount: str rebootingInstanceCount: str + skippedInstanceCount: str startedInstanceCount: str succeededInstanceCount: str succeededRebootRequiredInstanceCount: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi index a16f31e61..12049facd 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/resources.pyi @@ -120,6 +120,37 @@ class OSConfigResource(googleapiclient.discovery.Resource): def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def vulnerabilityReports(self) -> VulnerabilityReportsResource: ... + @typing.type_check_only + class OperationsResource(googleapiclient.discovery.Resource): + def cancel( + self, + *, + name: str, + body: CancelOperationRequest = ..., + **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 OsPolicyAssignmentsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -192,6 +223,7 @@ class OSConfigResource(googleapiclient.discovery.Resource): self, ) -> InstanceOSPoliciesCompliancesResource: ... def instances(self) -> InstancesResource: ... + def operations(self) -> OperationsResource: ... def osPolicyAssignments(self) -> OsPolicyAssignmentsResource: ... def locations(self) -> LocationsResource: ... @@ -280,6 +312,14 @@ class ListOSPolicyAssignmentsResponseHttpRequest(googleapiclient.http.HttpReques num_retries: int = 0, ) -> ListOSPolicyAssignmentsResponse: ... +@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 ListVulnerabilityReportsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi index 443aee33f..3f55a3765 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1alpha/schemas.pyi @@ -62,6 +62,42 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int +@typing.type_check_only +class GoogleCloudOsconfigCommonV1__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1main__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False @@ -254,6 +290,12 @@ class ListOSPolicyAssignmentsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str osPolicyAssignments: _list[OSPolicyAssignment] +@typing.type_check_only +class ListOperationsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + operations: _list[Operation] + unreachable: _list[str] + @typing.type_check_only class ListVulnerabilityReportsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str diff --git a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi index 33cad8a75..ead0e78e2 100644 --- a/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v1beta/schemas.pyi @@ -110,6 +110,42 @@ class GooRepository(typing_extensions.TypedDict, total=False): @typing.type_check_only class GooSettings(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class GoogleCloudOsconfigCommonV1__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1main__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False @@ -245,6 +281,7 @@ class PatchConfig(typing_extensions.TypedDict, total=False): rebootConfig: typing_extensions.Literal[ "REBOOT_CONFIG_UNSPECIFIED", "DEFAULT", "ALWAYS", "NEVER" ] + skipUnpatchableVms: bool windowsUpdate: WindowsUpdateSettings yum: YumSettings zypper: ZypperSettings @@ -297,6 +334,7 @@ class PatchJob(typing_extensions.TypedDict, total=False): "INSTANCE_LOOKUP", "PATCHING", "SUCCEEDED", + "COMPLETED_WITH_INACTIVE_VMS", "COMPLETED_WITH_ERRORS", "CANCELED", "TIMED_OUT", @@ -326,6 +364,7 @@ class PatchJobInstanceDetails(typing_extensions.TypedDict, total=False): "RUNNING_PRE_PATCH_STEP", "RUNNING_POST_PATCH_STEP", "NO_AGENT_DETECTED", + "SKIPPED", ] @typing.type_check_only @@ -341,6 +380,7 @@ class PatchJobInstanceDetailsSummary(typing_extensions.TypedDict, total=False): postPatchStepInstanceCount: str prePatchStepInstanceCount: str rebootingInstanceCount: str + skippedInstanceCount: str startedInstanceCount: str succeededInstanceCount: str succeededRebootRequiredInstanceCount: str diff --git a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi index 8af4d29ac..533c3d244 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2/schemas.pyi @@ -15,6 +15,42 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int +@typing.type_check_only +class GoogleCloudOsconfigCommonV1__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1main__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi index 17234b06e..280b41842 100644 --- a/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/osconfig/v2beta/schemas.pyi @@ -15,6 +15,42 @@ class FixedOrPercent(typing_extensions.TypedDict, total=False): fixed: int percent: int +@typing.type_check_only +class GoogleCloudOsconfigCommonV1__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1alpha__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + +@typing.type_check_only +class GoogleCloudOsconfigCommonV1main__OperationMetadata( + typing_extensions.TypedDict, total=False +): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class GoogleCloudOsconfigV1__OSPolicyAssignmentOperationMetadata( typing_extensions.TypedDict, total=False diff --git a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi index 67b6c4c22..2b656baaa 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/resources.pyi @@ -34,6 +34,13 @@ class CloudOSLoginResource(googleapiclient.discovery.Resource): def delete( self, *, name: str, **kwargs: typing.Any ) -> EmptyHttpRequest: ... + def provisionPosixAccount( + self, + *, + name: str, + body: ProvisionPosixAccountRequest = ..., + **kwargs: typing.Any, + ) -> PosixAccountHttpRequest: ... @typing.type_check_only class SshPublicKeysResource(googleapiclient.discovery.Resource): @@ -114,6 +121,14 @@ class LoginProfileHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> LoginProfile: ... +@typing.type_check_only +class PosixAccountHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> PosixAccount: ... + @typing.type_check_only class SignSshPublicKeyResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi index 5c454e594..d0179e153 100644 --- a/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/oslogin/v1/schemas.pyi @@ -34,6 +34,10 @@ class PosixAccount(typing_extensions.TypedDict, total=False): uid: str username: str +@typing.type_check_only +class ProvisionPosixAccountRequest(typing_extensions.TypedDict, total=False): + regions: _list[str] + @typing.type_check_only class SignSshPublicKeyRequest(typing_extensions.TypedDict, total=False): appEngineInstance: str diff --git a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi index adbd21fe0..5abe2e37d 100644 --- a/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/paymentsresellersubscription/v1/schemas.pyi @@ -33,6 +33,7 @@ class CancelSubscriptionResponse(typing_extensions.TypedDict, total=False): @typing.type_check_only class CreateSubscriptionIntent(typing_extensions.TypedDict, total=False): + cycleOptions: CycleOptions parent: str subscription: Subscription subscriptionId: str @@ -140,6 +141,11 @@ class GoogleTypeLocalizedText(typing_extensions.TypedDict, total=False): class IntentPayload(typing_extensions.TypedDict, total=False): createIntent: CreateSubscriptionIntent entitleIntent: EntitleSubscriptionIntent + intentOptions: IntentPayloadIntentOptions + +@typing.type_check_only +class IntentPayloadIntentOptions(typing_extensions.TypedDict, total=False): + enableOfferOverride: bool @typing.type_check_only class ListProductsResponse(typing_extensions.TypedDict, total=False): @@ -229,6 +235,11 @@ class PromotionIntroductoryPricingDetailsIntroductoryPricingSpec( @typing.type_check_only class ResumeSubscriptionRequest(typing_extensions.TypedDict, total=False): cycleOptions: CycleOptions + resumeMode: typing_extensions.Literal[ + "RESUME_MODE_UNSPECIFIED", + "RESUME_MODE_CYCLE_OPTIONS", + "RESUME_MODE_RESTORE_EXISTING_BILLING_SCHEDULE", + ] @typing.type_check_only class ResumeSubscriptionResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/places/v1/schemas.pyi b/googleapiclient-stubs/_apis/places/v1/schemas.pyi index 22be71271..fc68737ba 100644 --- a/googleapiclient-stubs/_apis/places/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/places/v1/schemas.pyi @@ -310,6 +310,8 @@ class GoogleMapsPlacesV1Place(typing_extensions.TypedDict, total=False): liveMusic: bool location: GoogleTypeLatLng menuForChildren: bool + movedPlace: str + movedPlaceId: str name: str nationalPhoneNumber: str neighborhoodSummary: GoogleMapsPlacesV1PlaceNeighborhoodSummary diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3/__init__.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi new file mode 100644 index 000000000..1032defcc --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3/resources.pyi @@ -0,0 +1,49 @@ +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 PolicyTroubleshooterResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class IamResource(googleapiclient.discovery.Resource): + def troubleshoot( + self, + *, + body: GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> ( + GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponseHttpRequest + ): ... + + 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 iam(self) -> IamResource: ... + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse: ... diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi new file mode 100644 index 000000000..9d749b29b --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3/schemas.pyi @@ -0,0 +1,368 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3AccessTuple( + typing_extensions.TypedDict, total=False +): + conditionContext: GoogleCloudPolicytroubleshooterIamV3ConditionContext + fullResourceName: str + permission: str + permissionFqdn: str + principal: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + combinedMembership: GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership + condition: GoogleTypeExpr + conditionExplanation: GoogleCloudPolicytroubleshooterIamV3ConditionExplanation + memberships: dict[str, typing.Any] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + role: str + rolePermission: typing_extensions.Literal[ + "ROLE_PERMISSION_INCLUSION_STATE_UNSPECIFIED", + "ROLE_PERMISSION_INCLUDED", + "ROLE_PERMISSION_NOT_INCLUDED", + "ROLE_PERMISSION_UNKNOWN_INFO", + ] + rolePermissionRelevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanationAnnotatedAllowMembership( + typing_extensions.TypedDict, total=False +): + membership: typing_extensions.Literal[ + "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", + "MEMBERSHIP_MATCHED", + "MEMBERSHIP_NOT_MATCHED", + "MEMBERSHIP_UNKNOWN_INFO", + "MEMBERSHIP_UNKNOWN_UNSUPPORTED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedPolicies: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionContext( + typing_extensions.TypedDict, total=False +): + destination: GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer + effectiveTags: _list[ + GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag + ] + request: GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest + resource: GoogleCloudPolicytroubleshooterIamV3ConditionContextResource + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionContextEffectiveTag( + typing_extensions.TypedDict, total=False +): + inherited: bool + namespacedTagKey: str + namespacedTagValue: str + tagKey: str + tagKeyParentName: str + tagValue: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionContextPeer( + typing_extensions.TypedDict, total=False +): + ip: str + port: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionContextRequest( + typing_extensions.TypedDict, total=False +): + receiveTime: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionContextResource( + typing_extensions.TypedDict, total=False +): + name: str + service: str + type: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionExplanation( + typing_extensions.TypedDict, total=False +): + errors: _list[GoogleRpcStatus] + evaluationStates: _list[ + GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState + ] + value: typing.Any + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ConditionExplanationEvaluationState( + typing_extensions.TypedDict, total=False +): + end: int + errors: _list[GoogleRpcStatus] + start: int + value: typing.Any + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedResources: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource] + permissionDeniable: bool + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation( + typing_extensions.TypedDict, total=False +): + combinedDeniedPermission: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching + combinedDeniedPrincipal: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching + combinedExceptionPermission: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching + combinedExceptionPrincipal: GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching + condition: GoogleTypeExpr + conditionExplanation: GoogleCloudPolicytroubleshooterIamV3ConditionExplanation + deniedPermissions: dict[str, typing.Any] + deniedPrincipals: dict[str, typing.Any] + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + exceptionPermissions: dict[str, typing.Any] + exceptionPrincipals: dict[str, typing.Any] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedDenyPrincipalMatching( + typing_extensions.TypedDict, total=False +): + membership: typing_extensions.Literal[ + "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", + "MEMBERSHIP_MATCHED", + "MEMBERSHIP_NOT_MATCHED", + "MEMBERSHIP_UNKNOWN_INFO", + "MEMBERSHIP_UNKNOWN_UNSUPPORTED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanationAnnotatedPermissionMatching( + typing_extensions.TypedDict, total=False +): + permissionMatchingState: typing_extensions.Literal[ + "PERMISSION_PATTERN_MATCHING_STATE_UNSPECIFIED", + "PERMISSION_PATTERN_MATCHED", + "PERMISSION_PATTERN_NOT_MATCHED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ExplainedAllowPolicy( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + bindingExplanations: _list[ + GoogleCloudPolicytroubleshooterIamV3AllowBindingExplanation + ] + fullResourceName: str + policy: GoogleIamV1Policy + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + policy: GoogleIamV2Policy + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + ruleExplanations: _list[GoogleCloudPolicytroubleshooterIamV3DenyRuleExplanation] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3ExplainedDenyResource( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedPolicies: _list[GoogleCloudPolicytroubleshooterIamV3ExplainedDenyPolicy] + fullResourceName: str + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyRequest( + typing_extensions.TypedDict, total=False +): + accessTuple: GoogleCloudPolicytroubleshooterIamV3AccessTuple + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3TroubleshootIamPolicyResponse( + typing_extensions.TypedDict, total=False +): + accessTuple: GoogleCloudPolicytroubleshooterIamV3AccessTuple + allowPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3AllowPolicyExplanation + denyPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3DenyPolicyExplanation + overallAccessState: typing_extensions.Literal[ + "OVERALL_ACCESS_STATE_UNSPECIFIED", + "CAN_ACCESS", + "CANNOT_ACCESS", + "UNKNOWN_INFO", + "UNKNOWN_CONDITIONAL", + ] + +@typing.type_check_only +class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): + auditLogConfigs: _list[GoogleIamV1AuditLogConfig] + service: str + +@typing.type_check_only +class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing_extensions.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@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): + auditConfigs: _list[GoogleIamV1AuditConfig] + bindings: _list[GoogleIamV1Binding] + etag: str + version: int + +@typing.type_check_only +class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): + denialCondition: GoogleTypeExpr + deniedPermissions: _list[str] + deniedPrincipals: _list[str] + exceptionPermissions: _list[str] + exceptionPrincipals: _list[str] + +@typing.type_check_only +class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + deleteTime: str + displayName: str + etag: str + kind: str + name: str + rules: _list[GoogleIamV2PolicyRule] + uid: str + updateTime: str + +@typing.type_check_only +class GoogleIamV2PolicyRule(typing_extensions.TypedDict, total=False): + denyRule: GoogleIamV2DenyRule + description: str + +@typing.type_check_only +class GoogleRpcStatus(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class GoogleTypeExpr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/__init__.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi new file mode 100644 index 000000000..55b201b0d --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/resources.pyi @@ -0,0 +1,47 @@ +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 PolicyTroubleshooterResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class IamResource(googleapiclient.discovery.Resource): + def troubleshoot( + self, + *, + body: GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyRequest = ..., + **kwargs: typing.Any, + ) -> GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponseHttpRequest: ... + + 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 iam(self) -> IamResource: ... + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponse: ... diff --git a/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi new file mode 100644 index 000000000..42abbf18a --- /dev/null +++ b/googleapiclient-stubs/_apis/policytroubleshooter/v3beta/schemas.pyi @@ -0,0 +1,562 @@ +import typing + +import typing_extensions + +_list = list + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaAccessTuple( + typing_extensions.TypedDict, total=False +): + conditionContext: GoogleCloudPolicytroubleshooterIamV3betaConditionContext + fullResourceName: str + permission: str + permissionFqdn: str + principal: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanation( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + combinedMembership: GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanationAnnotatedAllowMembership + condition: GoogleTypeExpr + conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation + memberships: dict[str, typing.Any] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + role: str + rolePermission: typing_extensions.Literal[ + "ROLE_PERMISSION_INCLUSION_STATE_UNSPECIFIED", + "ROLE_PERMISSION_INCLUDED", + "ROLE_PERMISSION_NOT_INCLUDED", + "ROLE_PERMISSION_UNKNOWN_INFO", + ] + rolePermissionRelevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanationAnnotatedAllowMembership( + typing_extensions.TypedDict, total=False +): + membership: typing_extensions.Literal[ + "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", + "MEMBERSHIP_MATCHED", + "MEMBERSHIP_NOT_MATCHED", + "MEMBERSHIP_UNKNOWN_INFO", + "MEMBERSHIP_UNKNOWN_UNSUPPORTED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedPolicies: _list[ + GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionContext( + typing_extensions.TypedDict, total=False +): + destination: GoogleCloudPolicytroubleshooterIamV3betaConditionContextPeer + effectiveTags: _list[ + GoogleCloudPolicytroubleshooterIamV3betaConditionContextEffectiveTag + ] + request: GoogleCloudPolicytroubleshooterIamV3betaConditionContextRequest + resource: GoogleCloudPolicytroubleshooterIamV3betaConditionContextResource + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionContextEffectiveTag( + typing_extensions.TypedDict, total=False +): + inherited: bool + namespacedTagKey: str + namespacedTagValue: str + tagKey: str + tagKeyParentName: str + tagValue: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionContextPeer( + typing_extensions.TypedDict, total=False +): + ip: str + port: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionContextRequest( + typing_extensions.TypedDict, total=False +): + receiveTime: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionContextResource( + typing_extensions.TypedDict, total=False +): + name: str + service: str + type: str + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation( + typing_extensions.TypedDict, total=False +): + errors: _list[GoogleRpcStatus] + evaluationStates: _list[ + GoogleCloudPolicytroubleshooterIamV3betaConditionExplanationEvaluationState + ] + value: typing.Any + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaConditionExplanationEvaluationState( + typing_extensions.TypedDict, total=False +): + end: int + errors: _list[GoogleRpcStatus] + start: int + value: typing.Any + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedResources: _list[ + GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource + ] + permissionDeniable: bool + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation( + typing_extensions.TypedDict, total=False +): + combinedDeniedPermission: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermissionMatching + combinedDeniedPrincipal: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPrincipalMatching + combinedExceptionPermission: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermissionMatching + combinedExceptionPrincipal: GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPrincipalMatching + condition: GoogleTypeExpr + conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation + deniedPermissions: dict[str, typing.Any] + deniedPrincipals: dict[str, typing.Any] + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + exceptionPermissions: dict[str, typing.Any] + exceptionPrincipals: dict[str, typing.Any] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedDenyPrincipalMatching( + typing_extensions.TypedDict, total=False +): + membership: typing_extensions.Literal[ + "MEMBERSHIP_MATCHING_STATE_UNSPECIFIED", + "MEMBERSHIP_MATCHED", + "MEMBERSHIP_NOT_MATCHED", + "MEMBERSHIP_UNKNOWN_INFO", + "MEMBERSHIP_UNKNOWN_UNSUPPORTED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanationAnnotatedPermissionMatching( + typing_extensions.TypedDict, total=False +): + permissionMatchingState: typing_extensions.Literal[ + "PERMISSION_PATTERN_MATCHING_STATE_UNSPECIFIED", + "PERMISSION_PATTERN_MATCHED", + "PERMISSION_PATTERN_NOT_MATCHED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedAllowPolicy( + typing_extensions.TypedDict, total=False +): + allowAccessState: typing_extensions.Literal[ + "ALLOW_ACCESS_STATE_UNSPECIFIED", + "ALLOW_ACCESS_STATE_GRANTED", + "ALLOW_ACCESS_STATE_NOT_GRANTED", + "ALLOW_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "ALLOW_ACCESS_STATE_UNKNOWN_INFO", + ] + bindingExplanations: _list[ + GoogleCloudPolicytroubleshooterIamV3betaAllowBindingExplanation + ] + fullResourceName: str + policy: GoogleIamV1Policy + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + policy: GoogleIamV2Policy + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + ruleExplanations: _list[GoogleCloudPolicytroubleshooterIamV3betaDenyRuleExplanation] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyResource( + typing_extensions.TypedDict, total=False +): + denyAccessState: typing_extensions.Literal[ + "DENY_ACCESS_STATE_UNSPECIFIED", + "DENY_ACCESS_STATE_DENIED", + "DENY_ACCESS_STATE_NOT_DENIED", + "DENY_ACCESS_STATE_UNKNOWN_CONDITIONAL", + "DENY_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedPolicies: _list[ + GoogleCloudPolicytroubleshooterIamV3betaExplainedDenyPolicy + ] + fullResourceName: str + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy( + typing_extensions.TypedDict, total=False +): + bindingAndPolicyAccessState: typing_extensions.Literal[ + "PAB_ACCESS_STATE_UNSPECIFIED", + "PAB_ACCESS_STATE_ALLOWED", + "PAB_ACCESS_STATE_NOT_ALLOWED", + "PAB_ACCESS_STATE_NOT_ENFORCED", + "PAB_ACCESS_STATE_UNKNOWN_INFO", + ] + explainedPolicy: GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicy + explainedPolicyBinding: ( + GoogleCloudPolicytroubleshooterIamV3betaExplainedPolicyBinding + ) + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicy( + typing_extensions.TypedDict, total=False +): + explainedRules: _list[GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRule] + policy: GoogleIamV3PrincipalAccessBoundaryPolicy + policyAccessState: typing_extensions.Literal[ + "PAB_ACCESS_STATE_UNSPECIFIED", + "PAB_ACCESS_STATE_ALLOWED", + "PAB_ACCESS_STATE_NOT_ALLOWED", + "PAB_ACCESS_STATE_NOT_ENFORCED", + "PAB_ACCESS_STATE_UNKNOWN_INFO", + ] + policyVersion: GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicyVersion + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABPolicyVersion( + typing_extensions.TypedDict, total=False +): + enforcementState: typing_extensions.Literal[ + "PAB_POLICY_ENFORCEMENT_STATE_UNSPECIFIED", + "PAB_POLICY_ENFORCEMENT_STATE_ENFORCED", + "PAB_POLICY_ENFORCEMENT_STATE_NOT_ENFORCED", + ] + version: int + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRule( + typing_extensions.TypedDict, total=False +): + combinedResourceInclusionState: typing_extensions.Literal[ + "RESOURCE_INCLUSION_STATE_UNSPECIFIED", + "RESOURCE_INCLUSION_STATE_INCLUDED", + "RESOURCE_INCLUSION_STATE_NOT_INCLUDED", + "RESOURCE_INCLUSION_STATE_UNKNOWN_INFO", + "RESOURCE_INCLUSION_STATE_UNKNOWN_UNSUPPORTED", + ] + effect: typing_extensions.Literal["EFFECT_UNSPECIFIED", "ALLOW"] + explainedResources: _list[ + GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRuleExplainedResource + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + ruleAccessState: typing_extensions.Literal[ + "PAB_ACCESS_STATE_UNSPECIFIED", + "PAB_ACCESS_STATE_ALLOWED", + "PAB_ACCESS_STATE_NOT_ALLOWED", + "PAB_ACCESS_STATE_NOT_ENFORCED", + "PAB_ACCESS_STATE_UNKNOWN_INFO", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPABRuleExplainedResource( + typing_extensions.TypedDict, total=False +): + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + resource: str + resourceInclusionState: typing_extensions.Literal[ + "RESOURCE_INCLUSION_STATE_UNSPECIFIED", + "RESOURCE_INCLUSION_STATE_INCLUDED", + "RESOURCE_INCLUSION_STATE_NOT_INCLUDED", + "RESOURCE_INCLUSION_STATE_UNKNOWN_INFO", + "RESOURCE_INCLUSION_STATE_UNKNOWN_UNSUPPORTED", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaExplainedPolicyBinding( + typing_extensions.TypedDict, total=False +): + conditionExplanation: GoogleCloudPolicytroubleshooterIamV3betaConditionExplanation + policyBinding: GoogleIamV3PolicyBinding + policyBindingState: typing_extensions.Literal[ + "POLICY_BINDING_STATE_UNSPECIFIED", + "POLICY_BINDING_STATE_ENFORCED", + "POLICY_BINDING_STATE_NOT_ENFORCED", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaPABPolicyExplanation( + typing_extensions.TypedDict, total=False +): + explainedBindingsAndPolicies: _list[ + GoogleCloudPolicytroubleshooterIamV3betaExplainedPABBindingAndPolicy + ] + principalAccessBoundaryAccessState: typing_extensions.Literal[ + "PAB_ACCESS_STATE_UNSPECIFIED", + "PAB_ACCESS_STATE_ALLOWED", + "PAB_ACCESS_STATE_NOT_ALLOWED", + "PAB_ACCESS_STATE_NOT_ENFORCED", + "PAB_ACCESS_STATE_UNKNOWN_INFO", + ] + relevance: typing_extensions.Literal[ + "HEURISTIC_RELEVANCE_UNSPECIFIED", + "HEURISTIC_RELEVANCE_NORMAL", + "HEURISTIC_RELEVANCE_HIGH", + ] + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyRequest( + typing_extensions.TypedDict, total=False +): + accessTuple: GoogleCloudPolicytroubleshooterIamV3betaAccessTuple + +@typing.type_check_only +class GoogleCloudPolicytroubleshooterIamV3betaTroubleshootIamPolicyResponse( + typing_extensions.TypedDict, total=False +): + accessTuple: GoogleCloudPolicytroubleshooterIamV3betaAccessTuple + allowPolicyExplanation: ( + GoogleCloudPolicytroubleshooterIamV3betaAllowPolicyExplanation + ) + denyPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3betaDenyPolicyExplanation + overallAccessState: typing_extensions.Literal[ + "OVERALL_ACCESS_STATE_UNSPECIFIED", + "CAN_ACCESS", + "CANNOT_ACCESS", + "UNKNOWN_INFO", + "UNKNOWN_CONDITIONAL", + ] + pabPolicyExplanation: GoogleCloudPolicytroubleshooterIamV3betaPABPolicyExplanation + +@typing.type_check_only +class GoogleIamV1AuditConfig(typing_extensions.TypedDict, total=False): + auditLogConfigs: _list[GoogleIamV1AuditLogConfig] + service: str + +@typing.type_check_only +class GoogleIamV1AuditLogConfig(typing_extensions.TypedDict, total=False): + exemptedMembers: _list[str] + logType: typing_extensions.Literal[ + "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" + ] + +@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): + auditConfigs: _list[GoogleIamV1AuditConfig] + bindings: _list[GoogleIamV1Binding] + etag: str + version: int + +@typing.type_check_only +class GoogleIamV2DenyRule(typing_extensions.TypedDict, total=False): + denialCondition: GoogleTypeExpr + deniedPermissions: _list[str] + deniedPrincipals: _list[str] + exceptionPermissions: _list[str] + exceptionPrincipals: _list[str] + +@typing.type_check_only +class GoogleIamV2Policy(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + createTime: str + deleteTime: str + displayName: str + etag: str + kind: str + name: str + rules: _list[GoogleIamV2PolicyRule] + uid: str + updateTime: str + +@typing.type_check_only +class GoogleIamV2PolicyRule(typing_extensions.TypedDict, total=False): + denyRule: GoogleIamV2DenyRule + description: str + +@typing.type_check_only +class GoogleIamV3PolicyBinding(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + condition: GoogleTypeExpr + createTime: str + displayName: str + etag: str + name: str + policy: str + policyKind: typing_extensions.Literal[ + "POLICY_KIND_UNSPECIFIED", "PRINCIPAL_ACCESS_BOUNDARY", "ACCESS" + ] + policyUid: str + target: GoogleIamV3PolicyBindingTarget + uid: str + updateTime: str + +@typing.type_check_only +class GoogleIamV3PolicyBindingTarget(typing_extensions.TypedDict, total=False): + principalSet: str + resource: str + +@typing.type_check_only +class GoogleIamV3PrincipalAccessBoundaryPolicy( + typing_extensions.TypedDict, total=False +): + annotations: dict[str, typing.Any] + createTime: str + details: GoogleIamV3PrincipalAccessBoundaryPolicyDetails + displayName: str + etag: str + name: str + uid: str + updateTime: str + +@typing.type_check_only +class GoogleIamV3PrincipalAccessBoundaryPolicyDetails( + typing_extensions.TypedDict, total=False +): + enforcementVersion: str + rules: _list[GoogleIamV3PrincipalAccessBoundaryPolicyRule] + +@typing.type_check_only +class GoogleIamV3PrincipalAccessBoundaryPolicyRule( + typing_extensions.TypedDict, total=False +): + description: str + effect: typing_extensions.Literal["EFFECT_UNSPECIFIED", "ALLOW"] + resources: _list[str] + +@typing.type_check_only +class GoogleRpcStatus(typing_extensions.TypedDict, total=False): + code: int + details: _list[dict[str, typing.Any]] + message: str + +@typing.type_check_only +class GoogleTypeExpr(typing_extensions.TypedDict, total=False): + description: str + expression: str + location: str + title: str diff --git a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi index b6401ccb0..04066d61d 100644 --- a/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/pubsub/v1/schemas.pyi @@ -4,6 +4,12 @@ import typing_extensions _list = list +@typing.type_check_only +class AIInference(typing_extensions.TypedDict, total=False): + endpoint: str + serviceAccountEmail: str + unstructuredInference: UnstructuredInference + @typing.type_check_only class AcknowledgeRequest(typing_extensions.TypedDict, total=False): ackIds: _list[str] @@ -82,6 +88,7 @@ class BigQueryConfig(typing_extensions.TypedDict, total=False): "NOT_FOUND", "SCHEMA_MISMATCH", "IN_TRANSIT_LOCATION_RESTRICTION", + "VERTEX_AI_LOCATION_RESTRICTION", ] table: str useTableSchema: bool @@ -129,6 +136,7 @@ class CloudStorageConfig(typing_extensions.TypedDict, total=False): "NOT_FOUND", "IN_TRANSIT_LOCATION_RESTRICTION", "SCHEMA_MISMATCH", + "VERTEX_AI_LOCATION_RESTRICTION", ] textConfig: TextConfig @@ -157,6 +165,7 @@ class ConfluentCloud(typing_extensions.TypedDict, total=False): class CreateSnapshotRequest(typing_extensions.TypedDict, total=False): labels: dict[str, typing.Any] subscription: str + tags: dict[str, typing.Any] @typing.type_check_only class DeadLetterPolicy(typing_extensions.TypedDict, total=False): @@ -236,6 +245,7 @@ class MessageStoragePolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class MessageTransform(typing_extensions.TypedDict, total=False): + aiInference: AIInference disabled: bool enabled: bool javascriptUdf: JavaScriptUDF @@ -378,6 +388,7 @@ class Subscription(typing_extensions.TypedDict, total=False): retainAckedMessages: bool retryPolicy: RetryPolicy state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOURCE_ERROR"] + tags: dict[str, typing.Any] topic: str topicMessageRetentionDuration: str @@ -410,6 +421,11 @@ class Topic(typing_extensions.TypedDict, total=False): state: typing_extensions.Literal[ "STATE_UNSPECIFIED", "ACTIVE", "INGESTION_RESOURCE_ERROR" ] + tags: dict[str, typing.Any] + +@typing.type_check_only +class UnstructuredInference(typing_extensions.TypedDict, total=False): + parameters: dict[str, typing.Any] @typing.type_check_only class UpdateSnapshotRequest(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi index adeb54e4f..3085d213f 100644 --- a/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/recaptchaenterprise/v1/schemas.pyi @@ -550,6 +550,7 @@ class GoogleCloudRecaptchaenterpriseV1TokenProperties( "DUPE", "MISSING", "BROWSER_ERROR", + "UNEXPECTED_ACTION", ] iosBundleId: str valid: bool diff --git a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi index d12c608f1..603a462a2 100644 --- a/googleapiclient-stubs/_apis/redis/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1/schemas.pyi @@ -230,6 +230,8 @@ class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -411,6 +413,8 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -443,6 +447,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] customMetadata: CustomMetadataData edition: typing_extensions.Literal[ @@ -459,6 +464,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId @@ -475,6 +481,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] + isDeletionProtectionEnabled: bool location: str machineConfiguration: MachineConfiguration maintenanceInfo: ResourceMaintenanceInfo @@ -482,6 +489,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): primaryResourceLocation: str product: Product resourceContainer: str + resourceFlags: _list[ResourceFlags] resourceName: str suspensionReason: typing_extensions.Literal[ "SUSPENSION_REASON_UNSPECIFIED", @@ -615,6 +623,8 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] @typing.type_check_only @@ -633,6 +643,8 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -858,7 +870,9 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfiguration(typing_extensions.TypedDict, total=False): + baselineSlots: str cpuCount: int + maxReservationSlots: str memorySizeInBytes: str shardCount: int vcpuCount: float @@ -1104,6 +1118,11 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): ] scheduleTime: str +@typing.type_check_only +class ResourceFlags(typing_extensions.TypedDict, total=False): + key: str + value: str + @typing.type_check_only class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): endDate: Date @@ -1113,8 +1132,20 @@ class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] + isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule + maintenanceState: typing_extensions.Literal[ + "MAINTENANCE_STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR", + ] maintenanceVersion: str + upcomingMaintenance: UpcomingMaintenance + versionUpdateTime: str @typing.type_check_only class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -1129,16 +1160,9 @@ class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): "SUNDAY", ] phase: typing_extensions.Literal[ - "WINDOW_PHASE_UNSPECIFIED", - "WINDOW_PHASE_ANY", - "WINDOW_PHASE_WEEK1", - "WINDOW_PHASE_WEEK2", - "WINDOW_PHASE_WEEK5", - ] - time: TimeOfDay - week: typing_extensions.Literal[ "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" ] + time: TimeOfDay @typing.type_check_only class RetentionSettings(typing_extensions.TypedDict, total=False): @@ -1190,6 +1214,11 @@ class TypedValue(typing_extensions.TypedDict, total=False): int64Value: str stringValue: str +@typing.type_check_only +class UpcomingMaintenance(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class UpdateInfo(typing_extensions.TypedDict, total=False): targetNodeType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi index 11ad43d22..1465ce0ba 100644 --- a/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/redis/v1beta1/schemas.pyi @@ -230,6 +230,8 @@ class ConfigBasedSignalData(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -411,6 +413,8 @@ class DatabaseResourceHealthSignalData(typing_extensions.TypedDict, total=False) "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] state: typing_extensions.Literal["STATE_UNSPECIFIED", "ACTIVE", "RESOLVED", "MUTED"] @@ -443,6 +447,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] customMetadata: CustomMetadataData edition: typing_extensions.Literal[ @@ -459,6 +464,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUSPENDED", "DELETED", "STATE_OTHER", + "STOPPED", ] gcbdrConfiguration: GCBDRConfiguration id: DatabaseResourceId @@ -475,6 +481,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): "SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY", "SUB_RESOURCE_TYPE_OTHER", ] + isDeletionProtectionEnabled: bool location: str machineConfiguration: MachineConfiguration maintenanceInfo: ResourceMaintenanceInfo @@ -482,6 +489,7 @@ class DatabaseResourceMetadata(typing_extensions.TypedDict, total=False): primaryResourceLocation: str product: Product resourceContainer: str + resourceFlags: _list[ResourceFlags] resourceName: str suspensionReason: typing_extensions.Literal[ "SUSPENSION_REASON_UNSPECIFIED", @@ -615,6 +623,8 @@ class DatabaseResourceRecommendationSignalData( "SIGNAL_TYPE_OUTDATED_CLIENT", "SIGNAL_TYPE_DATABOOST_DISABLED", "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_PERFORMANCE_KPI_CHANGE", ] @typing.type_check_only @@ -633,6 +643,8 @@ class DatabaseResourceSignalData(typing_extensions.TypedDict, total=False): "SIGNAL_TYPE_NO_ROOT_PASSWORD", "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS", "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS", + "SIGNAL_TYPE_EXTENDED_SUPPORT", + "SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY", ] @typing.type_check_only @@ -858,7 +870,9 @@ class Location(typing_extensions.TypedDict, total=False): @typing.type_check_only class MachineConfiguration(typing_extensions.TypedDict, total=False): + baselineSlots: str cpuCount: int + maxReservationSlots: str memorySizeInBytes: str shardCount: int vcpuCount: float @@ -1104,6 +1118,11 @@ class RescheduleMaintenanceRequest(typing_extensions.TypedDict, total=False): ] scheduleTime: str +@typing.type_check_only +class ResourceFlags(typing_extensions.TypedDict, total=False): + key: str + value: str + @typing.type_check_only class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): endDate: Date @@ -1113,8 +1132,20 @@ class ResourceMaintenanceDenySchedule(typing_extensions.TypedDict, total=False): @typing.type_check_only class ResourceMaintenanceInfo(typing_extensions.TypedDict, total=False): denyMaintenanceSchedules: _list[ResourceMaintenanceDenySchedule] + isInstanceStopped: bool maintenanceSchedule: ResourceMaintenanceSchedule + maintenanceState: typing_extensions.Literal[ + "MAINTENANCE_STATE_UNSPECIFIED", + "CREATING", + "READY", + "UPDATING", + "REPAIRING", + "DELETING", + "ERROR", + ] maintenanceVersion: str + upcomingMaintenance: UpcomingMaintenance + versionUpdateTime: str @typing.type_check_only class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): @@ -1129,16 +1160,9 @@ class ResourceMaintenanceSchedule(typing_extensions.TypedDict, total=False): "SUNDAY", ] phase: typing_extensions.Literal[ - "WINDOW_PHASE_UNSPECIFIED", - "WINDOW_PHASE_ANY", - "WINDOW_PHASE_WEEK1", - "WINDOW_PHASE_WEEK2", - "WINDOW_PHASE_WEEK5", - ] - time: TimeOfDay - week: typing_extensions.Literal[ "PHASE_UNSPECIFIED", "ANY", "WEEK1", "WEEK2", "WEEK5" ] + time: TimeOfDay @typing.type_check_only class RetentionSettings(typing_extensions.TypedDict, total=False): @@ -1190,6 +1214,11 @@ class TypedValue(typing_extensions.TypedDict, total=False): int64Value: str stringValue: str +@typing.type_check_only +class UpcomingMaintenance(typing_extensions.TypedDict, total=False): + endTime: str + startTime: str + @typing.type_check_only class UpdateInfo(typing_extensions.TypedDict, total=False): targetNodeType: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/run/v1/resources.pyi b/googleapiclient-stubs/_apis/run/v1/resources.pyi index 6da482a33..e56758d49 100644 --- a/googleapiclient-stubs/_apis/run/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v1/resources.pyi @@ -119,6 +119,50 @@ class CloudRunResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ListExecutionsResponseHttpRequest: ... + @typing.type_check_only + class InstancesResource(googleapiclient.discovery.Resource): + def create( + self, *, parent: str, body: Instance = ..., **kwargs: typing.Any + ) -> InstanceHttpRequest: ... + def delete( + self, + *, + name: str, + apiVersion: str = ..., + kind: str = ..., + propagationPolicy: str = ..., + **kwargs: typing.Any, + ) -> StatusHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> InstanceHttpRequest: ... + def list( + self, + *, + parent: str, + fieldSelector: str = ..., + includeUninitialized: bool = ..., + labelSelector: str = ..., + limit: int = ..., + resourceVersion: str = ..., + watch: bool = ..., + **kwargs: typing.Any, + ) -> ListInstancesResponseHttpRequest: ... + def start( + self, + *, + name: str, + body: StartInstanceRequest = ..., + **kwargs: typing.Any, + ) -> InstanceHttpRequest: ... + def stop( + self, + *, + name: str, + body: StopInstanceRequest = ..., + **kwargs: typing.Any, + ) -> InstanceHttpRequest: ... + @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): def create( @@ -292,6 +336,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def configurations(self) -> ConfigurationsResource: ... def domainmappings(self) -> DomainmappingsResource: ... def executions(self) -> ExecutionsResource: ... + def instances(self) -> InstancesResource: ... def jobs(self) -> JobsResource: ... def revisions(self) -> RevisionsResource: ... def routes(self) -> RoutesResource: ... @@ -389,6 +434,30 @@ class CloudRunResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ListDomainMappingsResponseHttpRequest: ... + @typing.type_check_only + class InstancesResource(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: ... + @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): def getIamPolicy( @@ -597,6 +666,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): def authorizeddomains(self) -> AuthorizeddomainsResource: ... def configurations(self) -> ConfigurationsResource: ... def domainmappings(self) -> DomainmappingsResource: ... + def instances(self) -> InstancesResource: ... def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... def revisions(self) -> RevisionsResource: ... @@ -672,6 +742,14 @@ class GoogleLongrunningOperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> GoogleLongrunningOperation: ... +@typing.type_check_only +class InstanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Instance: ... + @typing.type_check_only class JobHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -712,6 +790,14 @@ class ListExecutionsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListExecutionsResponse: ... +@typing.type_check_only +class ListInstancesResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListInstancesResponse: ... + @typing.type_check_only class ListJobsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/run/v1/schemas.pyi b/googleapiclient-stubs/_apis/run/v1/schemas.pyi index c8bc5cd0a..2e07d4bc4 100644 --- a/googleapiclient-stubs/_apis/run/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v1/schemas.pyi @@ -401,6 +401,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str digest: str name: str pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan @@ -496,6 +497,7 @@ class GoogleDevtoolsCloudbuildV1InlineSecret(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total=False): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -602,6 +604,7 @@ class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=Fals class GoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -610,6 +613,7 @@ class GoogleDevtoolsCloudbuildV1UploadedGoModule( class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -618,6 +622,7 @@ class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -626,6 +631,7 @@ class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( class GoogleDevtoolsCloudbuildV1UploadedPythonPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -679,12 +685,34 @@ class HTTPHeader(typing_extensions.TypedDict, total=False): name: str value: str +@typing.type_check_only +class Instance(typing_extensions.TypedDict, total=False): + apiVersion: str + kind: str + metadata: ObjectMeta + spec: InstanceSpec + status: InstanceStatus + +@typing.type_check_only +class InstanceSpec(typing_extensions.TypedDict, total=False): + containers: _list[Container] + nodeSelector: dict[str, typing.Any] + serviceAccountName: str + volumes: _list[Volume] + @typing.type_check_only class InstanceSplit(typing_extensions.TypedDict, total=False): latestRevision: bool percent: int revisionName: str +@typing.type_check_only +class InstanceStatus(typing_extensions.TypedDict, total=False): + conditions: _list[GoogleCloudRunV1Condition] + logUri: str + observedGeneration: int + urls: _list[str] + @typing.type_check_only class Job(typing_extensions.TypedDict, total=False): apiVersion: str @@ -741,6 +769,14 @@ class ListExecutionsResponse(typing_extensions.TypedDict, total=False): metadata: ListMeta unreachable: _list[str] +@typing.type_check_only +class ListInstancesResponse(typing_extensions.TypedDict, total=False): + apiVersion: str + items: _list[Instance] + kind: str + metadata: ListMeta + unreachable: _list[str] + @typing.type_check_only class ListJobsResponse(typing_extensions.TypedDict, total=False): apiVersion: str @@ -998,6 +1034,9 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: str +@typing.type_check_only +class StartInstanceRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int @@ -1022,6 +1061,9 @@ class StatusDetails(typing_extensions.TypedDict, total=False): retryAfterSeconds: int uid: str +@typing.type_check_only +class StopInstanceRequest(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class TCPSocketAction(typing_extensions.TypedDict, total=False): host: str diff --git a/googleapiclient-stubs/_apis/run/v2/resources.pyi b/googleapiclient-stubs/_apis/run/v2/resources.pyi index 6baa32ab4..bf7caf72b 100644 --- a/googleapiclient-stubs/_apis/run/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/run/v2/resources.pyi @@ -27,6 +27,57 @@ class CloudRunResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> GoogleCloudRunV2SubmitBuildResponseHttpRequest: ... + @typing.type_check_only + class InstancesResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: GoogleCloudRunV2Instance = ..., + instanceId: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + validateOnly: bool = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> GoogleCloudRunV2InstanceHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + showDeleted: bool = ..., + **kwargs: typing.Any, + ) -> GoogleCloudRunV2ListInstancesResponseHttpRequest: ... + def list_next( + self, + previous_request: GoogleCloudRunV2ListInstancesResponseHttpRequest, + previous_response: GoogleCloudRunV2ListInstancesResponse, + ) -> GoogleCloudRunV2ListInstancesResponseHttpRequest | None: ... + def start( + self, + *, + name: str, + body: GoogleCloudRunV2StartInstanceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + def stop( + self, + *, + name: str, + body: GoogleCloudRunV2StopInstanceRequest = ..., + **kwargs: typing.Any, + ) -> GoogleLongrunningOperationHttpRequest: ... + @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): @typing.type_check_only @@ -407,6 +458,7 @@ class CloudRunResource(googleapiclient.discovery.Resource): self, *, name: str, **kwargs: typing.Any ) -> GoogleCloudRunV2MetadataHttpRequest: ... def builds(self) -> BuildsResource: ... + def instances(self) -> InstancesResource: ... def jobs(self) -> JobsResource: ... def operations(self) -> OperationsResource: ... def services(self) -> ServicesResource: ... @@ -452,6 +504,14 @@ class GoogleCloudRunV2ExportStatusResponseHttpRequest(googleapiclient.http.HttpR num_retries: int = 0, ) -> GoogleCloudRunV2ExportStatusResponse: ... +@typing.type_check_only +class GoogleCloudRunV2InstanceHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2Instance: ... + @typing.type_check_only class GoogleCloudRunV2JobHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -470,6 +530,16 @@ class GoogleCloudRunV2ListExecutionsResponseHttpRequest( num_retries: int = 0, ) -> GoogleCloudRunV2ListExecutionsResponse: ... +@typing.type_check_only +class GoogleCloudRunV2ListInstancesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleCloudRunV2ListInstancesResponse: ... + @typing.type_check_only class GoogleCloudRunV2ListJobsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/run/v2/schemas.pyi b/googleapiclient-stubs/_apis/run/v2/schemas.pyi index b853620b8..7348dfed3 100644 --- a/googleapiclient-stubs/_apis/run/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/run/v2/schemas.pyi @@ -46,6 +46,12 @@ class GoogleCloudRunV2CancelExecutionRequest(typing_extensions.TypedDict, total= class GoogleCloudRunV2CloudSqlInstance(typing_extensions.TypedDict, total=False): instances: _list[str] +@typing.type_check_only +class GoogleCloudRunV2CloudStorageSource(typing_extensions.TypedDict, total=False): + bucket: str + generation: str + object: str + @typing.type_check_only class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): executionReason: typing_extensions.Literal[ @@ -55,6 +61,7 @@ class GoogleCloudRunV2Condition(typing_extensions.TypedDict, total=False): "CANCELLED", "CANCELLING", "DELETED", + "DELAYED_START_PENDING", ] lastTransitionTime: str message: str @@ -115,7 +122,9 @@ class GoogleCloudRunV2Container(typing_extensions.TypedDict, total=False): livenessProbe: GoogleCloudRunV2Probe name: str ports: _list[GoogleCloudRunV2ContainerPort] + readinessProbe: GoogleCloudRunV2Probe resources: GoogleCloudRunV2ResourceRequirements + sourceCode: GoogleCloudRunV2SourceCode startupProbe: GoogleCloudRunV2Probe volumeMounts: _list[GoogleCloudRunV2VolumeMount] workingDir: str @@ -132,6 +141,11 @@ class GoogleCloudRunV2ContainerPort(typing_extensions.TypedDict, total=False): containerPort: int name: str +@typing.type_check_only +class GoogleCloudRunV2ContainerStatus(typing_extensions.TypedDict, total=False): + imageDigest: str + name: str + @typing.type_check_only class GoogleCloudRunV2DockerBuild(typing_extensions.TypedDict, total=False): ... @@ -154,6 +168,8 @@ class GoogleCloudRunV2EnvVarSource(typing_extensions.TypedDict, total=False): class GoogleCloudRunV2Execution(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] cancelledCount: int + client: str + clientVersion: str completionTime: str conditions: _list[GoogleCloudRunV2Condition] createTime: str @@ -208,6 +224,8 @@ class GoogleCloudRunV2ExecutionReference(typing_extensions.TypedDict, total=Fals @typing.type_check_only class GoogleCloudRunV2ExecutionTemplate(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + client: str + clientVersion: str labels: dict[str, typing.Any] parallelism: int taskCount: int @@ -260,6 +278,63 @@ class GoogleCloudRunV2ImageExportStatus(typing_extensions.TypedDict, total=False status: UtilStatusProto tag: str +@typing.type_check_only +class GoogleCloudRunV2Instance(typing_extensions.TypedDict, total=False): + annotations: dict[str, typing.Any] + binaryAuthorization: GoogleCloudRunV2BinaryAuthorization + client: str + clientVersion: str + conditions: _list[GoogleCloudRunV2Condition] + containerStatuses: _list[GoogleCloudRunV2ContainerStatus] + containers: _list[GoogleCloudRunV2Container] + createTime: str + creator: str + deleteTime: str + description: str + encryptionKey: str + encryptionKeyRevocationAction: typing_extensions.Literal[ + "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", "PREVENT_NEW", "SHUTDOWN" + ] + encryptionKeyShutdownDuration: str + etag: str + expireTime: str + generation: str + gpuZonalRedundancyDisabled: bool + iapEnabled: bool + ingress: typing_extensions.Literal[ + "INGRESS_TRAFFIC_UNSPECIFIED", + "INGRESS_TRAFFIC_ALL", + "INGRESS_TRAFFIC_INTERNAL_ONLY", + "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER", + "INGRESS_TRAFFIC_NONE", + ] + invokerIamDisabled: bool + labels: dict[str, typing.Any] + lastModifier: str + launchStage: typing_extensions.Literal[ + "LAUNCH_STAGE_UNSPECIFIED", + "UNIMPLEMENTED", + "PRELAUNCH", + "EARLY_ACCESS", + "ALPHA", + "BETA", + "GA", + "DEPRECATED", + ] + logUri: str + name: str + nodeSelector: GoogleCloudRunV2NodeSelector + observedGeneration: str + reconciling: bool + satisfiesPzs: bool + serviceAccount: str + terminalCondition: GoogleCloudRunV2Condition + uid: str + updateTime: str + urls: _list[str] + volumes: _list[GoogleCloudRunV2Volume] + vpcAccess: GoogleCloudRunV2VpcAccess + @typing.type_check_only class GoogleCloudRunV2InstanceSplit(typing_extensions.TypedDict, total=False): percent: int @@ -323,6 +398,11 @@ class GoogleCloudRunV2ListExecutionsResponse(typing_extensions.TypedDict, total= executions: _list[GoogleCloudRunV2Execution] nextPageToken: str +@typing.type_check_only +class GoogleCloudRunV2ListInstancesResponse(typing_extensions.TypedDict, total=False): + instances: _list[GoogleCloudRunV2Instance] + nextPageToken: str + @typing.type_check_only class GoogleCloudRunV2ListJobsResponse(typing_extensions.TypedDict, total=False): jobs: _list[GoogleCloudRunV2Job] @@ -337,6 +417,7 @@ class GoogleCloudRunV2ListRevisionsResponse(typing_extensions.TypedDict, total=F class GoogleCloudRunV2ListServicesResponse(typing_extensions.TypedDict, total=False): nextPageToken: str services: _list[GoogleCloudRunV2Service] + unreachable: _list[str] @typing.type_check_only class GoogleCloudRunV2ListTasksResponse(typing_extensions.TypedDict, total=False): @@ -398,6 +479,8 @@ class GoogleCloudRunV2ResourceRequirements(typing_extensions.TypedDict, total=Fa @typing.type_check_only class GoogleCloudRunV2Revision(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + client: str + clientVersion: str conditions: _list[GoogleCloudRunV2Condition] containers: _list[GoogleCloudRunV2Container] createTime: str @@ -459,6 +542,8 @@ class GoogleCloudRunV2RevisionScalingStatus(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleCloudRunV2RevisionTemplate(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] + client: str + clientVersion: str containers: _list[GoogleCloudRunV2Container] encryptionKey: str encryptionKeyRevocationAction: typing_extensions.Literal[ @@ -570,6 +655,20 @@ class GoogleCloudRunV2ServiceScaling(typing_extensions.TypedDict, total=False): "SCALING_MODE_UNSPECIFIED", "AUTOMATIC", "MANUAL" ] +@typing.type_check_only +class GoogleCloudRunV2SourceCode(typing_extensions.TypedDict, total=False): + cloudStorageSource: GoogleCloudRunV2CloudStorageSource + +@typing.type_check_only +class GoogleCloudRunV2StartInstanceRequest(typing_extensions.TypedDict, total=False): + etag: str + validateOnly: bool + +@typing.type_check_only +class GoogleCloudRunV2StopInstanceRequest(typing_extensions.TypedDict, total=False): + etag: str + validateOnly: bool + @typing.type_check_only class GoogleCloudRunV2StorageSource(typing_extensions.TypedDict, total=False): bucket: str @@ -761,6 +860,7 @@ class GoogleCloudRunV2WorkerPool(typing_extensions.TypedDict, total=False): scaling: GoogleCloudRunV2WorkerPoolScaling template: GoogleCloudRunV2WorkerPoolRevisionTemplate terminalCondition: GoogleCloudRunV2Condition + threatDetectionEnabled: bool uid: str updateTime: str @@ -769,6 +869,8 @@ class GoogleCloudRunV2WorkerPoolRevisionTemplate( typing_extensions.TypedDict, total=False ): annotations: dict[str, typing.Any] + client: str + clientVersion: str containers: _list[GoogleCloudRunV2Container] encryptionKey: str encryptionKeyRevocationAction: typing_extensions.Literal[ @@ -956,6 +1058,7 @@ class GoogleDevtoolsCloudbuildV1BuildStep(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleDevtoolsCloudbuildV1BuiltImage(typing_extensions.TypedDict, total=False): + artifactRegistryPackage: str digest: str name: str pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan @@ -1051,6 +1154,7 @@ class GoogleDevtoolsCloudbuildV1InlineSecret(typing_extensions.TypedDict, total= @typing.type_check_only class GoogleDevtoolsCloudbuildV1MavenArtifact(typing_extensions.TypedDict, total=False): artifactId: str + deployFolder: str groupId: str path: str repository: str @@ -1157,6 +1261,7 @@ class GoogleDevtoolsCloudbuildV1TimeSpan(typing_extensions.TypedDict, total=Fals class GoogleDevtoolsCloudbuildV1UploadedGoModule( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -1165,6 +1270,7 @@ class GoogleDevtoolsCloudbuildV1UploadedGoModule( class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -1173,6 +1279,7 @@ class GoogleDevtoolsCloudbuildV1UploadedMavenArtifact( class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str @@ -1181,6 +1288,7 @@ class GoogleDevtoolsCloudbuildV1UploadedNpmPackage( class GoogleDevtoolsCloudbuildV1UploadedPythonPackage( typing_extensions.TypedDict, total=False ): + artifactRegistryPackage: str fileHashes: GoogleDevtoolsCloudbuildV1FileHashes pushTiming: GoogleDevtoolsCloudbuildV1TimeSpan uri: str diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi index 3b50de037..4112de8a5 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1/resources.pyi @@ -26,6 +26,7 @@ class CloudRuntimeConfigResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi b/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi index cea50b8bf..e51759321 100644 --- a/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/runtimeconfig/v1/schemas.pyi @@ -14,6 +14,7 @@ class Empty(typing_extensions.TypedDict, total=False): ... class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Operation(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi index dff1ea5dc..93553ddde 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/resources.pyi @@ -67,57 +67,6 @@ class SaaSServiceManagementResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ReleaseHttpRequest: ... - @typing.type_check_only - class ReplicationsInternalResource(googleapiclient.discovery.Resource): - def create( - self, - *, - parent: str, - body: ReplicationInternal = ..., - replicationInternalId: str = ..., - requestId: str = ..., - validateOnly: bool = ..., - **kwargs: typing.Any, - ) -> ReplicationInternalHttpRequest: ... - def delete( - self, - *, - name: str, - etag: str = ..., - requestId: str = ..., - validateOnly: bool = ..., - **kwargs: typing.Any, - ) -> EmptyHttpRequest: ... - def get( - self, *, name: str, **kwargs: typing.Any - ) -> ReplicationInternalHttpRequest: ... - def list( - self, - *, - parent: str, - filter: str = ..., - orderBy: str = ..., - pageSize: int = ..., - pageToken: str = ..., - **kwargs: typing.Any, - ) -> ListReplicationsInternalResponseHttpRequest: ... - def list_next( - self, - previous_request: ListReplicationsInternalResponseHttpRequest, - previous_response: ListReplicationsInternalResponse, - ) -> ListReplicationsInternalResponseHttpRequest | None: ... - def patch( - self, - *, - name: str, - body: ReplicationInternal = ..., - etag: str = ..., - requestId: str = ..., - updateMask: str = ..., - validateOnly: bool = ..., - **kwargs: typing.Any, - ) -> ReplicationInternalHttpRequest: ... - @typing.type_check_only class RolloutKindsResource(googleapiclient.discovery.Resource): def create( @@ -487,7 +436,6 @@ class SaaSServiceManagementResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def releases(self) -> ReleasesResource: ... - def replicationsInternal(self) -> ReplicationsInternalResource: ... def rolloutKinds(self) -> RolloutKindsResource: ... def rollouts(self) -> RolloutsResource: ... def saas(self) -> SaasResource: ... @@ -544,14 +492,6 @@ class ListReleasesResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListReleasesResponse: ... -@typing.type_check_only -class ListReplicationsInternalResponseHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ListReplicationsInternalResponse: ... - @typing.type_check_only class ListRolloutKindsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -616,14 +556,6 @@ class ReleaseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Release: ... -@typing.type_check_only -class ReplicationInternalHttpRequest(googleapiclient.http.HttpRequest): - def execute( - self, - http: httplib2.Http | googleapiclient.http.HttpMock | None = None, - num_retries: int = 0, - ) -> ReplicationInternal: ... - @typing.type_check_only class RolloutHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi index 936278b8f..db195b767 100644 --- a/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/saasservicemgmt/v1beta1/schemas.pyi @@ -55,12 +55,6 @@ class ListReleasesResponse(typing_extensions.TypedDict, total=False): releases: _list[Release] unreachable: _list[str] -@typing.type_check_only -class ListReplicationsInternalResponse(typing_extensions.TypedDict, total=False): - nextPageToken: str - replicationsInternal: _list[ReplicationInternal] - unreachable: _list[str] - @typing.type_check_only class ListRolloutKindsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str @@ -136,40 +130,13 @@ class Release(typing_extensions.TypedDict, total=False): class ReleaseRequirements(typing_extensions.TypedDict, total=False): upgradeableFromReleases: _list[str] -@typing.type_check_only -class ReplicationInternal(typing_extensions.TypedDict, total=False): - annotations: dict[str, typing.Any] - createTime: str - etag: str - labels: dict[str, typing.Any] - maxRetryCount: int - name: str - payload: dict[str, typing.Any] - state: typing_extensions.Literal[ - "REPLICATION_STATE_UNSPECIFIED", - "REPLICATION_STATE_PENDING", - "REPLICATION_STATE_RUNNING", - "REPLICATION_STATE_FAILED", - "REPLICATION_STATE_SUCCEEDED", - ] - stats: dict[str, typing.Any] - targetLocations: _list[str] - uid: str - updateTime: str - -@typing.type_check_only -class ReplicationStats(typing_extensions.TypedDict, total=False): - errors: _list[Status] - failedResources: _list[str] - finishedResources: _list[str] - pendingResources: _list[str] - retryCount: _list[int] - @typing.type_check_only class Rollout(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] control: RolloutControl createTime: str + deleteTime: str + effectiveUnitFilter: str endTime: str etag: str labels: dict[str, typing.Any] @@ -216,6 +183,12 @@ class RolloutKind(typing_extensions.TypedDict, total=False): errorBudget: ErrorBudget etag: str labels: dict[str, typing.Any] + maintenancePolicyEnforcement: typing_extensions.Literal[ + "MAINTENANCE_POLICY_ENFORCEMENT_UNSPECIFIED", + "MAINTENANCE_POLICY_ENFORCEMENT_STRICT", + "MAINTENANCE_POLICY_ENFORCEMENT_IGNORED", + "MAINTENANCE_POLICY_ENFORCEMENT_SKIPPED", + ] name: str rolloutOrchestrationStrategy: str uid: str @@ -251,12 +224,6 @@ class Saas(typing_extensions.TypedDict, total=False): class Schedule(typing_extensions.TypedDict, total=False): startTime: 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 Tenant(typing_extensions.TypedDict, total=False): annotations: dict[str, typing.Any] @@ -358,6 +325,7 @@ class UnitOperation(typing_extensions.TypedDict, total=False): cancel: bool conditions: _list[UnitOperationCondition] createTime: str + deleteTime: str deprovision: Deprovision engineState: str errorCategory: typing_extensions.Literal[ diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi index cf3ce4947..b7165a85f 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/resources.pyi @@ -51,6 +51,12 @@ class SafebrowsingResource(googleapiclient.discovery.Resource): self, *, hashPrefixes: str | _list[str] = ..., **kwargs: typing.Any ) -> GoogleSecuritySafebrowsingV5SearchHashesResponseHttpRequest: ... + @typing.type_check_only + class UrlsResource(googleapiclient.discovery.Resource): + def search( + self, *, urls: str | _list[str] = ..., **kwargs: typing.Any + ) -> GoogleSecuritySafebrowsingV5SearchUrlsResponseHttpRequest: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -66,6 +72,7 @@ class SafebrowsingResource(googleapiclient.discovery.Resource): def hashList(self) -> HashListResource: ... def hashLists(self) -> HashListsResource: ... def hashes(self) -> HashesResource: ... + def urls(self) -> UrlsResource: ... @typing.type_check_only class GoogleSecuritySafebrowsingV5BatchGetHashListsResponseHttpRequest( @@ -104,3 +111,13 @@ class GoogleSecuritySafebrowsingV5SearchHashesResponseHttpRequest( http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> GoogleSecuritySafebrowsingV5SearchHashesResponse: ... + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5SearchUrlsResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> GoogleSecuritySafebrowsingV5SearchUrlsResponse: ... diff --git a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi index adf2dae7d..85740977f 100644 --- a/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi +++ b/googleapiclient-stubs/_apis/safebrowsing/v5/schemas.pyi @@ -126,3 +126,23 @@ class GoogleSecuritySafebrowsingV5SearchHashesResponse( ): cacheDuration: str fullHashes: _list[GoogleSecuritySafebrowsingV5FullHash] + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5SearchUrlsResponse( + typing_extensions.TypedDict, total=False +): + cacheDuration: str + threats: _list[GoogleSecuritySafebrowsingV5ThreatUrl] + +@typing.type_check_only +class GoogleSecuritySafebrowsingV5ThreatUrl(typing_extensions.TypedDict, total=False): + threatTypes: _list[ + typing_extensions.Literal[ + "THREAT_TYPE_UNSPECIFIED", + "MALWARE", + "SOCIAL_ENGINEERING", + "UNWANTED_SOFTWARE", + "POTENTIALLY_HARMFUL_APPLICATION", + ] + ] + url: str diff --git a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi index a920f1d0a..1eb0e937a 100644 --- a/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi +++ b/googleapiclient-stubs/_apis/searchads360/v0/schemas.pyi @@ -158,6 +158,13 @@ class GoogleAdsSearchads360V0Common__EnhancedCpc( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleAdsSearchads360V0Common__FinalAppUrl( + typing_extensions.TypedDict, total=False +): + osType: typing_extensions.Literal["UNSPECIFIED", "UNKNOWN", "IOS", "ANDROID"] + url: str + @typing.type_check_only class GoogleAdsSearchads360V0Common__FrequencyCapEntry( typing_extensions.TypedDict, total=False @@ -294,9 +301,12 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= allConversionsValue: float allConversionsValueByConversionDate: float allConversionsValuePerCost: float + averageCartSize: float averageCost: float averageCpc: float averageCpm: float + averageImpressionFrequencyPerUser: float + averageOrderValueMicros: str averageQualityScore: float clicks: str clientAccountConversions: float @@ -322,6 +332,7 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= conversionsValueByConversionDate: float conversionsValuePerCost: float costMicros: str + costOfGoodsSoldMicros: str costPerAllConversions: float costPerConversion: float costPerCurrentModelAttributedConversion: float @@ -336,6 +347,8 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= ctr: float generalInvalidClickRate: float generalInvalidClicks: str + grossProfitMargin: float + grossProfitMicros: str historicalCreativeQualityScore: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", "BELOW_AVERAGE", "AVERAGE", "ABOVE_AVERAGE" ] @@ -361,7 +374,9 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= leadRevenueMicros: str leadUnitsSold: float mobileFriendlyClicksPercentage: float + orders: float rawEventConversionMetrics: _list[GoogleAdsSearchads360V0Common__Value] + revenueMicros: str searchAbsoluteTopImpressionShare: float searchBudgetLostAbsoluteTopImpressionShare: float searchBudgetLostImpressionShare: float @@ -374,6 +389,8 @@ class GoogleAdsSearchads360V0Common__Metrics(typing_extensions.TypedDict, total= searchRankLostTopImpressionShare: float searchTopImpressionShare: float topImpressionPercentage: float + uniqueUsers: str + unitsSold: float valuePerAllConversions: float valuePerAllConversionsByConversionDate: float valuePerConversion: float @@ -509,6 +526,7 @@ class GoogleAdsSearchads360V0Common__Segments(typing_extensions.TypedDict, total geoTargetCity: str geoTargetCountry: str geoTargetMetro: str + geoTargetPostalCode: str geoTargetRegion: str hour: int keyword: GoogleAdsSearchads360V0Common__Keyword @@ -1284,6 +1302,9 @@ class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=Fa GoogleAdsSearchads360V0Common__SearchAds360ExpandedDynamicSearchAdInfo ) expandedTextAd: GoogleAdsSearchads360V0Common__SearchAds360ExpandedTextAdInfo + finalAppUrls: _list[GoogleAdsSearchads360V0Common__FinalAppUrl] + finalMobileUrls: _list[str] + finalUrlSuffix: str finalUrls: _list[str] id: str name: str @@ -1293,6 +1314,7 @@ class GoogleAdsSearchads360V0Resources__Ad(typing_extensions.TypedDict, total=Fa GoogleAdsSearchads360V0Common__SearchAds360ResponsiveSearchAdInfo ) textAd: GoogleAdsSearchads360V0Common__SearchAds360TextAdInfo + trackingUrlTemplate: str type: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", @@ -1356,6 +1378,7 @@ class GoogleAdsSearchads360V0Resources__AdGroup( "CAMPAIGN_PAUSED", "ACCOUNT_PAUSED", ] + finalUrlSuffix: str id: str labels: _list[str] languageCode: str @@ -1367,6 +1390,7 @@ class GoogleAdsSearchads360V0Resources__AdGroup( "UNSPECIFIED", "UNKNOWN", "ENABLED", "PAUSED", "REMOVED" ] targetingSetting: GoogleAdsSearchads360V0Common__TargetingSetting + trackingUrlTemplate: str type: typing_extensions.Literal[ "UNSPECIFIED", "UNKNOWN", @@ -1514,6 +1538,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterion( "AD_GROUP_CRITERION_SERVING", "AD_GROUP_CRITERION_ACCOUNT_PAUSED", ] + finalMobileUrls: _list[str] finalUrlSuffix: str finalUrls: _list[str] gender: GoogleAdsSearchads360V0Common__GenderInfo @@ -1574,6 +1599,7 @@ class GoogleAdsSearchads360V0Resources__AdGroupCriterion( "BRAND_LIST", "LIFE_EVENT", ] + urlCustomParameters: _list[GoogleAdsSearchads360V0Common__CustomParameter] userList: GoogleAdsSearchads360V0Common__UserListInfo webpage: GoogleAdsSearchads360V0Common__WebpageInfo @@ -1634,6 +1660,8 @@ class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total "DISABLED", "REMOVED", ] + finalMobileUrls: _list[str] + finalUrlSuffix: str finalUrls: _list[str] id: str imageAsset: GoogleAdsSearchads360V0Common__ImageAsset @@ -1685,6 +1713,7 @@ class GoogleAdsSearchads360V0Resources__Asset(typing_extensions.TypedDict, total "LOCATION", "HOTEL_PROPERTY", ] + urlCustomParameters: _list[GoogleAdsSearchads360V0Common__CustomParameter] youtubeVideoAsset: GoogleAdsSearchads360V0Common__YoutubeVideoAsset @typing.type_check_only @@ -1750,6 +1779,8 @@ class GoogleAdsSearchads360V0Resources__AssetGroupAsset( "BUSINESS_LOGO", "HOTEL_PROPERTY", "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION", ] resourceName: str status: typing_extensions.Literal[ @@ -2008,6 +2039,30 @@ class GoogleAdsSearchads360V0Resources__Campaign( "BUSINESS_LOGO", "HOTEL_PROPERTY", "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION", + ] + ] + feedTypes: _list[ + typing_extensions.Literal[ + "UNSPECIFIED", + "UNKNOWN", + "PAGE_FEED", + "DYNAMIC_EDUCATION", + "MERCHANT_CENTER_FEED", + "DYNAMIC_REAL_ESTATE", + "DYNAMIC_CUSTOM", + "DYNAMIC_HOTELS_AND_RENTALS", + "DYNAMIC_FLIGHTS", + "DYNAMIC_TRAVEL", + "DYNAMIC_LOCAL", + "DYNAMIC_JOBS", + "LOCATION_SYNC", + "BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP", + "CHAIN_DYNAMIC_LOCATION_GROUP", + "STATIC_LOCATION_GROUP", + "HOTEL_PROPERTY", + "TRAVEL_FEED", ] ] finalUrlSuffix: str @@ -2215,6 +2270,8 @@ class GoogleAdsSearchads360V0Resources__Conversion( "BUSINESS_LOGO", "HOTEL_PROPERTY", "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION", ] assetId: str attributionType: typing_extensions.Literal[ @@ -2733,6 +2790,8 @@ class GoogleAdsSearchads360V0Resources__Visit(typing_extensions.TypedDict, total "BUSINESS_LOGO", "HOTEL_PROPERTY", "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION", ] assetId: str clickId: str diff --git a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi index fc09058de..f8f6a81b3 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/resources.pyi @@ -17,6 +17,33 @@ 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 @@ -147,6 +174,7 @@ 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 @@ -300,6 +328,14 @@ 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( @@ -324,6 +360,14 @@ 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 57b331889..5e6d7fcd8 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1/schemas.pyi @@ -74,6 +74,12 @@ 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 @@ -94,6 +100,24 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -167,6 +191,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: 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 TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi index c90b1bbe3..1099c65bd 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/resources.pyi @@ -17,6 +17,33 @@ 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: ... + def get( self, *, name: str, **kwargs: typing.Any ) -> LocationHttpRequest: ... @@ -35,6 +62,7 @@ class SecretManagerResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def operations(self) -> OperationsResource: ... @typing.type_check_only class SecretsResource(googleapiclient.discovery.Resource): @@ -185,6 +213,14 @@ 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( @@ -209,6 +245,14 @@ 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/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi index 7453db4a1..1b87ac3a9 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta1/schemas.pyi @@ -58,6 +58,12 @@ 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 @@ -78,6 +84,24 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -120,6 +144,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: 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 TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi index fc09058de..f8f6a81b3 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/resources.pyi @@ -17,6 +17,33 @@ 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 @@ -147,6 +174,7 @@ 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 @@ -300,6 +328,14 @@ 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( @@ -324,6 +360,14 @@ 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 57b331889..5e6d7fcd8 100644 --- a/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/secretmanager/v1beta2/schemas.pyi @@ -74,6 +74,12 @@ 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 @@ -94,6 +100,24 @@ class Location(typing_extensions.TypedDict, total=False): metadata: dict[str, typing.Any] name: str +@typing.type_check_only +class Operation(typing_extensions.TypedDict, total=False): + done: bool + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class OperationMetadata(typing_extensions.TypedDict, total=False): + apiVersion: str + createTime: str + endTime: str + requestedCancellation: bool + statusMessage: str + target: str + verb: str + @typing.type_check_only class Policy(typing_extensions.TypedDict, total=False): auditConfigs: _list[AuditConfig] @@ -167,6 +191,12 @@ class SetIamPolicyRequest(typing_extensions.TypedDict, total=False): policy: Policy updateMask: 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 TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): permissions: _list[str] diff --git a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi index 2acf49a36..101f61fad 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1/schemas.pyi @@ -32,6 +32,19 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AdcApplication(typing_extensions.TypedDict, total=False): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class AffectedResources(typing_extensions.TypedDict, total=False): count: str @@ -47,6 +60,7 @@ class AiModel(typing_extensions.TypedDict, total=False): location: str name: str publisher: str + usageCategory: str @typing.type_check_only class Allowed(typing_extensions.TypedDict, total=False): @@ -57,6 +71,19 @@ class Application(typing_extensions.TypedDict, total=False): baseUri: str fullUri: str +@typing.type_check_only +class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): + failingPolicies: _list[ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class Asset(typing_extensions.TypedDict, total=False): canonicalName: str @@ -541,6 +568,9 @@ class Expr(typing_extensions.TypedDict, total=False): class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[FileOperation] partiallyHashed: bool @@ -560,6 +590,7 @@ class Finding(typing_extensions.TypedDict, total=False): affectedResources: AffectedResources aiModel: AiModel application: Application + artifactGuardPolicies: ArtifactGuardPolicies attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str @@ -621,6 +652,7 @@ class Finding(typing_extensions.TypedDict, total=False): parentDisplayName: str processes: _list[Process] resourceName: str + secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture severity: typing_extensions.Literal[ @@ -646,6 +678,7 @@ class Framework(typing_extensions.TypedDict, total=False): "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[Control] @@ -778,6 +811,10 @@ class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): + adcApplication: AdcApplication + adcApplicationTemplate: AdcApplicationTemplateRevision + adcSharedTemplate: AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -800,6 +837,51 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceSelector( typing_extensions.TypedDict, total=False @@ -974,6 +1056,25 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2AffectedResources( typing_extensions.TypedDict, total=False @@ -991,6 +1092,7 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals location: str name: str publisher: str + usageCategory: str @typing.type_check_only class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): @@ -1001,6 +1103,23 @@ class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total= baseUri: str fullUri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( + typing_extensions.TypedDict, total=False +): + failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( + typing_extensions.TypedDict, total=False +): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): classification: str @@ -1403,6 +1522,9 @@ class GoogleCloudSecuritycenterV2ExternalSystem( class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool @@ -1424,6 +1546,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals affectedResources: GoogleCloudSecuritycenterV2AffectedResources aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application + artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str @@ -1488,6 +1611,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals parentDisplayName: str processes: _list[GoogleCloudSecuritycenterV2Process] resourceName: str + secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture severity: typing_extensions.Literal[ @@ -1513,6 +1637,7 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[GoogleCloudSecuritycenterV2Control] @@ -1636,6 +1761,11 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication + adcApplicationTemplate: ( + GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision + ) + adcSharedTemplate: GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata @@ -1650,12 +1780,74 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( typing_extensions.TypedDict, total=False ): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + criticality: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + ) + developerOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + environment: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + ) + operatorOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -2215,6 +2407,10 @@ class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): + adcApplication: GoogleCloudSecuritycenterV2AdcApplication + adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision + adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -2232,6 +2428,51 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @@ -2286,6 +2527,36 @@ class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): name: str ns: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): + environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable + filePath: GoogleCloudSecuritycenterV2SecretFilePath + status: GoogleCloudSecuritycenterV2SecretStatus + type: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( + typing_extensions.TypedDict, total=False +): + key: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretFilePath( + typing_extensions.TypedDict, total=False +): + path: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2SecurityBulletin( typing_extensions.TypedDict, total=False @@ -3127,6 +3398,10 @@ class Requests(typing_extensions.TypedDict, total=False): @typing.type_check_only class Resource(typing_extensions.TypedDict, total=False): + adcApplication: AdcApplication + adcApplicationTemplate: AdcApplicationTemplateRevision + adcSharedTemplate: AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -3183,6 +3458,32 @@ class Role(typing_extensions.TypedDict, total=False): @typing.type_check_only class RunAssetDiscoveryRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Secret(typing_extensions.TypedDict, total=False): + environmentVariable: SecretEnvironmentVariable + filePath: SecretFilePath + status: SecretStatus + type: str + +@typing.type_check_only +class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): + key: str + +@typing.type_check_only +class SecretFilePath(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class SecurityBulletin(typing_extensions.TypedDict, total=False): bulletinId: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi index f7023c412..0489a8dea 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta1/schemas.pyi @@ -32,6 +32,19 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AdcApplication(typing_extensions.TypedDict, total=False): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class AffectedResources(typing_extensions.TypedDict, total=False): count: str @@ -47,6 +60,7 @@ class AiModel(typing_extensions.TypedDict, total=False): location: str name: str publisher: str + usageCategory: str @typing.type_check_only class Allowed(typing_extensions.TypedDict, total=False): @@ -57,6 +71,19 @@ class Application(typing_extensions.TypedDict, total=False): baseUri: str fullUri: str +@typing.type_check_only +class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): + failingPolicies: _list[ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class Asset(typing_extensions.TypedDict, total=False): createTime: str @@ -438,6 +465,9 @@ class Expr(typing_extensions.TypedDict, total=False): class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[FileOperation] partiallyHashed: bool @@ -457,6 +487,7 @@ class Finding(typing_extensions.TypedDict, total=False): affectedResources: AffectedResources aiModel: AiModel application: Application + artifactGuardPolicies: ArtifactGuardPolicies attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str @@ -518,6 +549,7 @@ class Finding(typing_extensions.TypedDict, total=False): parentDisplayName: str processes: _list[Process] resourceName: str + secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture severity: typing_extensions.Literal[ @@ -543,6 +575,7 @@ class Framework(typing_extensions.TypedDict, total=False): "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[Control] @@ -675,6 +708,10 @@ class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): + adcApplication: AdcApplication + adcApplicationTemplate: AdcApplicationTemplateRevision + adcSharedTemplate: AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -697,6 +734,51 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceSelector( typing_extensions.TypedDict, total=False @@ -891,6 +973,25 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2AffectedResources( typing_extensions.TypedDict, total=False @@ -908,6 +1009,7 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals location: str name: str publisher: str + usageCategory: str @typing.type_check_only class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): @@ -918,6 +1020,23 @@ class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total= baseUri: str fullUri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( + typing_extensions.TypedDict, total=False +): + failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( + typing_extensions.TypedDict, total=False +): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): classification: str @@ -1320,6 +1439,9 @@ class GoogleCloudSecuritycenterV2ExternalSystem( class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool @@ -1341,6 +1463,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals affectedResources: GoogleCloudSecuritycenterV2AffectedResources aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application + artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str @@ -1405,6 +1528,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals parentDisplayName: str processes: _list[GoogleCloudSecuritycenterV2Process] resourceName: str + secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture severity: typing_extensions.Literal[ @@ -1430,6 +1554,7 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[GoogleCloudSecuritycenterV2Control] @@ -1553,6 +1678,11 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication + adcApplicationTemplate: ( + GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision + ) + adcSharedTemplate: GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata @@ -1567,12 +1697,74 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( typing_extensions.TypedDict, total=False ): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + criticality: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + ) + developerOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + environment: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + ) + operatorOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -2132,6 +2324,10 @@ class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): + adcApplication: GoogleCloudSecuritycenterV2AdcApplication + adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision + adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -2149,6 +2345,51 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @@ -2203,6 +2444,36 @@ class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): name: str ns: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): + environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable + filePath: GoogleCloudSecuritycenterV2SecretFilePath + status: GoogleCloudSecuritycenterV2SecretStatus + type: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( + typing_extensions.TypedDict, total=False +): + key: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretFilePath( + typing_extensions.TypedDict, total=False +): + path: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2SecurityBulletin( typing_extensions.TypedDict, total=False @@ -2959,6 +3230,32 @@ class Role(typing_extensions.TypedDict, total=False): @typing.type_check_only class RunAssetDiscoveryRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class Secret(typing_extensions.TypedDict, total=False): + environmentVariable: SecretEnvironmentVariable + filePath: SecretFilePath + status: SecretStatus + type: str + +@typing.type_check_only +class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): + key: str + +@typing.type_check_only +class SecretFilePath(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class SecurityBulletin(typing_extensions.TypedDict, total=False): bulletinId: str diff --git a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi index 6ff91615c..76a6e3483 100644 --- a/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi +++ b/googleapiclient-stubs/_apis/securitycenter/v1beta2/schemas.pyi @@ -32,6 +32,19 @@ class AccessReview(typing_extensions.TypedDict, total=False): class AdaptiveProtection(typing_extensions.TypedDict, total=False): confidence: float +@typing.type_check_only +class AdcApplication(typing_extensions.TypedDict, total=False): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class AdcApplicationTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + +@typing.type_check_only +class AdcSharedTemplateRevision(typing_extensions.TypedDict, total=False): + name: str + @typing.type_check_only class AffectedResources(typing_extensions.TypedDict, total=False): count: str @@ -47,6 +60,7 @@ class AiModel(typing_extensions.TypedDict, total=False): location: str name: str publisher: str + usageCategory: str @typing.type_check_only class Allowed(typing_extensions.TypedDict, total=False): @@ -57,6 +71,19 @@ class Application(typing_extensions.TypedDict, total=False): baseUri: str fullUri: str +@typing.type_check_only +class ArtifactGuardPolicies(typing_extensions.TypedDict, total=False): + failingPolicies: _list[ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class ArtifactGuardPolicy(typing_extensions.TypedDict, total=False): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class Attack(typing_extensions.TypedDict, total=False): classification: str @@ -432,6 +459,9 @@ class Expr(typing_extensions.TypedDict, total=False): class File(typing_extensions.TypedDict, total=False): contents: str diskPath: DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[FileOperation] partiallyHashed: bool @@ -451,6 +481,7 @@ class Finding(typing_extensions.TypedDict, total=False): affectedResources: AffectedResources aiModel: AiModel application: Application + artifactGuardPolicies: ArtifactGuardPolicies attackExposure: AttackExposure backupDisasterRecovery: BackupDisasterRecovery canonicalName: str @@ -512,6 +543,7 @@ class Finding(typing_extensions.TypedDict, total=False): parentDisplayName: str processes: _list[Process] resourceName: str + secret: Secret securityMarks: SecurityMarks securityPosture: SecurityPosture severity: typing_extensions.Literal[ @@ -537,6 +569,7 @@ class Framework(typing_extensions.TypedDict, total=False): "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[Control] @@ -661,6 +694,10 @@ class GoogleCloudSecuritycenterV1Property(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=False): + adcApplication: AdcApplication + adcApplicationTemplate: AdcApplicationTemplateRevision + adcSharedTemplate: AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV1ResourceApplication awsMetadata: AwsMetadata azureMetadata: AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -683,6 +720,51 @@ class GoogleCloudSecuritycenterV1Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV1ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV1ResourceSelector( typing_extensions.TypedDict, total=False @@ -857,6 +939,25 @@ class GoogleCloudSecuritycenterV2AdaptiveProtection( ): confidence: float +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2AffectedResources( typing_extensions.TypedDict, total=False @@ -874,6 +975,7 @@ class GoogleCloudSecuritycenterV2AiModel(typing_extensions.TypedDict, total=Fals location: str name: str publisher: str + usageCategory: str @typing.type_check_only class GoogleCloudSecuritycenterV2Allowed(typing_extensions.TypedDict, total=False): @@ -884,6 +986,23 @@ class GoogleCloudSecuritycenterV2Application(typing_extensions.TypedDict, total= baseUri: str fullUri: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicies( + typing_extensions.TypedDict, total=False +): + failingPolicies: _list[GoogleCloudSecuritycenterV2ArtifactGuardPolicy] + resourceId: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ArtifactGuardPolicy( + typing_extensions.TypedDict, total=False +): + failureReason: str + policyId: str + type: typing_extensions.Literal[ + "ARTIFACT_GUARD_POLICY_TYPE_UNSPECIFIED", "VULNERABILITY" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2Attack(typing_extensions.TypedDict, total=False): classification: str @@ -1286,6 +1405,9 @@ class GoogleCloudSecuritycenterV2ExternalSystem( class GoogleCloudSecuritycenterV2File(typing_extensions.TypedDict, total=False): contents: str diskPath: GoogleCloudSecuritycenterV2DiskPath + fileLoadState: typing_extensions.Literal[ + "FILE_LOAD_STATE_UNSPECIFIED", "LOADED_BY_PROCESS", "NOT_LOADED_BY_PROCESS" + ] hashedSize: str operations: _list[GoogleCloudSecuritycenterV2FileOperation] partiallyHashed: bool @@ -1307,6 +1429,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals affectedResources: GoogleCloudSecuritycenterV2AffectedResources aiModel: GoogleCloudSecuritycenterV2AiModel application: GoogleCloudSecuritycenterV2Application + artifactGuardPolicies: GoogleCloudSecuritycenterV2ArtifactGuardPolicies attackExposure: GoogleCloudSecuritycenterV2AttackExposure backupDisasterRecovery: GoogleCloudSecuritycenterV2BackupDisasterRecovery canonicalName: str @@ -1371,6 +1494,7 @@ class GoogleCloudSecuritycenterV2Finding(typing_extensions.TypedDict, total=Fals parentDisplayName: str processes: _list[GoogleCloudSecuritycenterV2Process] resourceName: str + secret: GoogleCloudSecuritycenterV2Secret securityMarks: GoogleCloudSecuritycenterV2SecurityMarks securityPosture: GoogleCloudSecuritycenterV2SecurityPosture severity: typing_extensions.Literal[ @@ -1396,6 +1520,7 @@ class GoogleCloudSecuritycenterV2Framework(typing_extensions.TypedDict, total=Fa "ASSURED_WORKLOADS", "DATA_SECURITY", "GOOGLE_BEST_PRACTICES", + "CUSTOM_FRAMEWORK", ] ] controls: _list[GoogleCloudSecuritycenterV2Control] @@ -1519,6 +1644,11 @@ class GoogleCloudSecuritycenterV2IssueMute(typing_extensions.TypedDict, total=Fa class GoogleCloudSecuritycenterV2IssueResource( typing_extensions.TypedDict, total=False ): + adcApplication: GoogleCloudSecuritycenterV2IssueResourceAdcApplication + adcApplicationTemplate: ( + GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision + ) + adcSharedTemplate: GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision application: GoogleCloudSecuritycenterV2IssueResourceApplication awsMetadata: GoogleCloudSecuritycenterV2IssueResourceAwsMetadata azureMetadata: GoogleCloudSecuritycenterV2IssueResourceAzureMetadata @@ -1533,12 +1663,74 @@ class GoogleCloudSecuritycenterV2IssueResource( name: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision( + typing_extensions.TypedDict, total=False +): + name: str + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceApplication( typing_extensions.TypedDict, total=False ): + attributes: GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes name: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + criticality: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality + ) + developerOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + environment: ( + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment + ) + operatorOwners: _list[ + GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata( typing_extensions.TypedDict, total=False @@ -2098,6 +2290,10 @@ class GoogleCloudSecuritycenterV2Requests(typing_extensions.TypedDict, total=Fal @typing.type_check_only class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=False): + adcApplication: GoogleCloudSecuritycenterV2AdcApplication + adcApplicationTemplate: GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision + adcSharedTemplate: GoogleCloudSecuritycenterV2AdcSharedTemplateRevision + application: GoogleCloudSecuritycenterV2ResourceApplication awsMetadata: GoogleCloudSecuritycenterV2AwsMetadata azureMetadata: GoogleCloudSecuritycenterV2AzureMetadata cloudProvider: typing_extensions.Literal[ @@ -2115,6 +2311,51 @@ class GoogleCloudSecuritycenterV2Resource(typing_extensions.TypedDict, total=Fal service: str type: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplication( + typing_extensions.TypedDict, total=False +): + attributes: GoogleCloudSecuritycenterV2ResourceApplicationAttributes + name: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributes( + typing_extensions.TypedDict, total=False +): + businessOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + criticality: GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality + developerOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + environment: GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment + operatorOwners: _list[ + GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo( + typing_extensions.TypedDict, total=False +): + email: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "CRITICALITY_TYPE_UNSPECIFIED", "MISSION_CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + +@typing.type_check_only +class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment( + typing_extensions.TypedDict, total=False +): + type: typing_extensions.Literal[ + "ENVIRONMENT_TYPE_UNSPECIFIED", "PRODUCTION", "STAGING", "TEST", "DEVELOPMENT" + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2ResourcePath(typing_extensions.TypedDict, total=False): nodes: _list[GoogleCloudSecuritycenterV2ResourcePathNode] @@ -2169,6 +2410,36 @@ class GoogleCloudSecuritycenterV2Role(typing_extensions.TypedDict, total=False): name: str ns: str +@typing.type_check_only +class GoogleCloudSecuritycenterV2Secret(typing_extensions.TypedDict, total=False): + environmentVariable: GoogleCloudSecuritycenterV2SecretEnvironmentVariable + filePath: GoogleCloudSecuritycenterV2SecretFilePath + status: GoogleCloudSecuritycenterV2SecretStatus + type: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretEnvironmentVariable( + typing_extensions.TypedDict, total=False +): + key: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretFilePath( + typing_extensions.TypedDict, total=False +): + path: str + +@typing.type_check_only +class GoogleCloudSecuritycenterV2SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class GoogleCloudSecuritycenterV2SecurityBulletin( typing_extensions.TypedDict, total=False @@ -2844,6 +3115,32 @@ class Role(typing_extensions.TypedDict, total=False): name: str ns: str +@typing.type_check_only +class Secret(typing_extensions.TypedDict, total=False): + environmentVariable: SecretEnvironmentVariable + filePath: SecretFilePath + status: SecretStatus + type: str + +@typing.type_check_only +class SecretEnvironmentVariable(typing_extensions.TypedDict, total=False): + key: str + +@typing.type_check_only +class SecretFilePath(typing_extensions.TypedDict, total=False): + path: str + +@typing.type_check_only +class SecretStatus(typing_extensions.TypedDict, total=False): + lastUpdatedTime: str + validity: typing_extensions.Literal[ + "SECRET_VALIDITY_UNSPECIFIED", + "SECRET_VALIDITY_UNSUPPORTED", + "SECRET_VALIDITY_FAILED", + "SECRET_VALIDITY_INVALID", + "SECRET_VALIDITY_VALID", + ] + @typing.type_check_only class SecurityBulletin(typing_extensions.TypedDict, total=False): bulletinId: str diff --git a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi index d696c0318..8a66d604d 100644 --- a/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/securityposture/v1/resources.pyi @@ -39,6 +39,7 @@ class SecurityPostureResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi b/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi index 02587027d..c9b3ddb25 100644 --- a/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/securityposture/v1/schemas.pyi @@ -101,6 +101,14 @@ class IaCValidationReport(typing_extensions.TypedDict, total=False): note: str violations: _list[Violation] +@typing.type_check_only +class IacValidationFailureCriteria(typing_extensions.TypedDict, total=False): + createTime: str + etag: str + name: str + severityCountThresholds: _list[SeverityCountThreshold] + updateTime: str + @typing.type_check_only class ListLocationsResponse(typing_extensions.TypedDict, total=False): locations: _list[Location] @@ -110,6 +118,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPostureDeploymentsResponse(typing_extensions.TypedDict, total=False): @@ -305,6 +314,13 @@ class SecurityHealthAnalyticsModule(typing_extensions.TypedDict, total=False): ] moduleName: str +@typing.type_check_only +class SeverityCountThreshold(typing_extensions.TypedDict, total=False): + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" + ] + thresholdCount: int + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi index 40c59f4b0..248273559 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/resources.pyi @@ -27,6 +27,7 @@ class ServiceConsumerManagementResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi index 9f47dc774..321ad9189 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1/schemas.pyi @@ -351,6 +351,7 @@ class LabelDescriptor(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListTenancyUnitsResponse(typing_extensions.TypedDict, total=False): @@ -690,6 +691,7 @@ class TenantProjectPolicy(typing_extensions.TypedDict, total=False): @typing.type_check_only class TenantResource(typing_extensions.TypedDict, total=False): + migratedTenantProject: str resource: str status: typing_extensions.Literal[ "STATUS_UNSPECIFIED", @@ -784,6 +786,7 @@ class V1Beta1RefreshConsumerResponse(typing_extensions.TypedDict, total=False): class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): email: str name: str + projectRole: str tag: str uniqueId: str diff --git a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi index 6d2c0faa9..5086bda6a 100644 --- a/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceconsumermanagement/v1beta1/schemas.pyi @@ -763,6 +763,7 @@ class V1Beta1RolloutInfo(typing_extensions.TypedDict, total=False): class V1Beta1ServiceIdentity(typing_extensions.TypedDict, total=False): email: str name: str + projectRole: str tag: str uniqueId: str diff --git a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi index 319f6c062..7b0b16b78 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v1/schemas.pyi @@ -353,6 +353,11 @@ class QuotaError(typing_extensions.TypedDict, total=False): class QuotaInfo(typing_extensions.TypedDict, total=False): limitExceeded: _list[str] quotaConsumed: dict[str, typing.Any] + quotaExtractionState: typing_extensions.Literal[ + "QUOTA_EXTRACTION_STATE_UNSPECIFIED", + "QUOTA_EXTRACTION_STATE_DARK_LAUNCH", + "QUOTA_EXTRACTION_STATE_TRAFFIC_MIGRATION", + ] quotaMetrics: _list[MetricValueSet] @typing.type_check_only @@ -562,6 +567,7 @@ class V1ResourceEvent(typing_extensions.TypedDict, total=False): class ViolationInfo(typing_extensions.TypedDict, total=False): checkedValue: str constraint: str + constraintViolationInfo: dict[str, typing.Any] errorMessage: str policyType: typing_extensions.Literal[ "POLICY_TYPE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi index 6fc31c3e7..4711c831d 100644 --- a/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/servicecontrol/v2/schemas.pyi @@ -293,6 +293,7 @@ class V2ResourceEvent(typing_extensions.TypedDict, total=False): class ViolationInfo(typing_extensions.TypedDict, total=False): checkedValue: str constraint: str + constraintViolationInfo: dict[str, typing.Any] errorMessage: str policyType: typing_extensions.Literal[ "POLICY_TYPE_UNSPECIFIED", diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi index 40cf55d33..6fc4fec84 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/resources.pyi @@ -27,6 +27,7 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi index 7d3e06a8e..ebd207677 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1/schemas.pyi @@ -211,6 +211,11 @@ class ConsumerPolicy(typing_extensions.TypedDict, total=False): class ContentSecurity(typing_extensions.TypedDict, total=False): contentSecurityProviders: _list[ContentSecurityProvider] +@typing.type_check_only +class ContentSecurityPolicy(typing_extensions.TypedDict, total=False): + mcpContentSecurity: ContentSecurity + name: str + @typing.type_check_only class ContentSecurityProvider(typing_extensions.TypedDict, total=False): name: str @@ -531,7 +536,6 @@ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse( class GoogleApiServiceusageV2betaConsumerPolicy( typing_extensions.TypedDict, total=False ): - annotations: dict[str, typing.Any] createTime: str enableRules: _list[GoogleApiServiceusageV2betaEnableRule] etag: str @@ -550,11 +554,34 @@ class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False ] missingDependency: str +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpEnableRule( + typing_extensions.TypedDict, total=False +): + mcpServices: _list[GoogleApiServiceusageV2betaMcpService] + +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=False): + createTime: str + etag: str + mcpEnableRules: _list[GoogleApiServiceusageV2betaMcpEnableRule] + name: str + updateTime: str + +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpService(typing_extensions.TypedDict, total=False): + service: str + @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class Http(typing_extensions.TypedDict, total=False): fullyDecodeReservedExpansion: bool @@ -627,6 +654,7 @@ class LabelDescriptor(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListServicesResponse(typing_extensions.TypedDict, total=False): @@ -663,7 +691,6 @@ class McpEnableRule(typing_extensions.TypedDict, total=False): @typing.type_check_only class McpPolicy(typing_extensions.TypedDict, total=False): - contentSecurity: ContentSecurity createTime: str etag: str mcpEnableRules: _list[McpEnableRule] @@ -953,6 +980,9 @@ class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UpdateContentSecurityPolicyMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class UpdateMcpPolicyMetadata(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi index 0e8a4d613..c77b47c4b 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/resources.pyi @@ -23,6 +23,7 @@ class ServiceUsageResource(googleapiclient.discovery.Resource): name: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi index bb36e6634..41fbbab9d 100644 --- a/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/serviceusage/v1beta1/schemas.pyi @@ -223,6 +223,11 @@ class ConsumerQuotaMetric(typing_extensions.TypedDict, total=False): class ContentSecurity(typing_extensions.TypedDict, total=False): contentSecurityProviders: _list[ContentSecurityProvider] +@typing.type_check_only +class ContentSecurityPolicy(typing_extensions.TypedDict, total=False): + mcpContentSecurity: ContentSecurity + name: str + @typing.type_check_only class ContentSecurityProvider(typing_extensions.TypedDict, total=False): name: str @@ -539,7 +544,6 @@ class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse( class GoogleApiServiceusageV2betaConsumerPolicy( typing_extensions.TypedDict, total=False ): - annotations: dict[str, typing.Any] createTime: str enableRules: _list[GoogleApiServiceusageV2betaEnableRule] etag: str @@ -558,11 +562,34 @@ class GoogleApiServiceusageV2betaImpact(typing_extensions.TypedDict, total=False ] missingDependency: str +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpEnableRule( + typing_extensions.TypedDict, total=False +): + mcpServices: _list[GoogleApiServiceusageV2betaMcpService] + +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpPolicy(typing_extensions.TypedDict, total=False): + createTime: str + etag: str + mcpEnableRules: _list[GoogleApiServiceusageV2betaMcpEnableRule] + name: str + updateTime: str + +@typing.type_check_only +class GoogleApiServiceusageV2betaMcpService(typing_extensions.TypedDict, total=False): + service: str + @typing.type_check_only class GoogleApiServiceusageV2betaUpdateConsumerPolicyMetadata( typing_extensions.TypedDict, total=False ): ... +@typing.type_check_only +class GoogleApiServiceusageV2betaUpdateMcpPolicyMetadata( + typing_extensions.TypedDict, total=False +): ... + @typing.type_check_only class Http(typing_extensions.TypedDict, total=False): fullyDecodeReservedExpansion: bool @@ -674,6 +701,7 @@ class ListConsumerQuotaMetricsResponse(typing_extensions.TypedDict, total=False) class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListServicesResponse(typing_extensions.TypedDict, total=False): @@ -710,7 +738,6 @@ class McpEnableRule(typing_extensions.TypedDict, total=False): @typing.type_check_only class McpPolicy(typing_extensions.TypedDict, total=False): - contentSecurity: ContentSecurity createTime: str etag: str mcpEnableRules: _list[McpEnableRule] @@ -1048,6 +1075,9 @@ class UpdateAdminQuotaPolicyMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class UpdateConsumerPolicyMetadata(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class UpdateContentSecurityPolicyMetadata(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class UpdateMcpPolicyMetadata(typing_extensions.TypedDict, total=False): ... diff --git a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi index df0e29f46..e0b4188e4 100644 --- a/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/smartdevicemanagement/v1/schemas.pyi @@ -6,6 +6,7 @@ _list = list @typing.type_check_only class GoogleHomeEnterpriseSdmV1Device(typing_extensions.TypedDict, total=False): + ghpName: str name: str parentRelations: _list[GoogleHomeEnterpriseSdmV1ParentRelation] traits: dict[str, typing.Any] @@ -45,6 +46,7 @@ class GoogleHomeEnterpriseSdmV1ListStructuresResponse( @typing.type_check_only class GoogleHomeEnterpriseSdmV1ParentRelation(typing_extensions.TypedDict, total=False): displayName: str + ghpParent: str parent: str @typing.type_check_only @@ -54,5 +56,6 @@ class GoogleHomeEnterpriseSdmV1Room(typing_extensions.TypedDict, total=False): @typing.type_check_only class GoogleHomeEnterpriseSdmV1Structure(typing_extensions.TypedDict, total=False): + ghpName: str name: str traits: dict[str, typing.Any] diff --git a/googleapiclient-stubs/_apis/solar/v1/resources.pyi b/googleapiclient-stubs/_apis/solar/v1/resources.pyi index 6bbd13739..755543809 100644 --- a/googleapiclient-stubs/_apis/solar/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/solar/v1/resources.pyi @@ -18,6 +18,7 @@ class SolarResource(googleapiclient.discovery.Resource): def findClosest( self, *, + exactQualityRequired: bool = ..., experiments: typing_extensions.Literal[ "EXPERIMENT_UNSPECIFIED", "EXPANDED_COVERAGE" ] diff --git a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi index d5658ae74..4dec9899d 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/resources.pyi @@ -52,6 +52,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -80,6 +81,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -170,6 +172,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -371,6 +374,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -649,6 +653,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -711,6 +716,7 @@ class SpannerResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi index b1135df57..8087f10ae 100644 --- a/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/spanner/v1/schemas.pyi @@ -4,6 +4,12 @@ import typing_extensions _list = list +@typing.type_check_only +class Ack(typing_extensions.TypedDict, total=False): + ignoreNotFound: bool + key: _list[typing.Any] + queue: str + @typing.type_check_only class AdaptMessageRequest(typing_extensions.TypedDict, total=False): attachments: dict[str, typing.Any] @@ -43,6 +49,9 @@ class AutoscalingConfig(typing_extensions.TypedDict, total=False): class AutoscalingConfigOverrides(typing_extensions.TypedDict, total=False): autoscalingLimits: AutoscalingLimits autoscalingTargetHighPriorityCpuUtilizationPercent: int + autoscalingTargetTotalCpuUtilizationPercent: int + disableHighPriorityCpuAutoscaling: bool + disableTotalCpuAutoscaling: bool @typing.type_check_only class AutoscalingLimits(typing_extensions.TypedDict, total=False): @@ -55,6 +64,7 @@ class AutoscalingLimits(typing_extensions.TypedDict, total=False): class AutoscalingTargets(typing_extensions.TypedDict, total=False): highPriorityCpuUtilizationPercent: int storageUtilizationPercent: int + totalCpuUtilizationPercent: int @typing.type_check_only class Backup(typing_extensions.TypedDict, total=False): @@ -72,6 +82,9 @@ class Backup(typing_extensions.TypedDict, total=False): incrementalBackupChainId: str instancePartitions: _list[BackupInstancePartition] maxExpireTime: str + minimumRestorableEdition: typing_extensions.Literal[ + "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" + ] name: str oldestVersionTime: str referencingBackups: _list[str] @@ -164,6 +177,10 @@ class ChildLink(typing_extensions.TypedDict, total=False): type: str variable: str +@typing.type_check_only +class ClientContext(typing_extensions.TypedDict, total=False): + secureContext: dict[str, typing.Any] + @typing.type_check_only class ColumnMetadata(typing_extensions.TypedDict, total=False): isPrimaryKey: bool @@ -192,6 +209,12 @@ class CommitResponse(typing_extensions.TypedDict, total=False): class CommitStats(typing_extensions.TypedDict, total=False): mutationCount: str +@typing.type_check_only +class CompactDatabaseMetadata(typing_extensions.TypedDict, total=False): + cancelTime: str + database: str + progress: OperationProgress + @typing.type_check_only class ContextValue(typing_extensions.TypedDict, total=False): label: LocalizedString @@ -576,6 +599,7 @@ class InstanceOperationProgress(typing_extensions.TypedDict, total=False): @typing.type_check_only class InstancePartition(typing_extensions.TypedDict, total=False): + autoscalingConfig: AutoscalingConfig config: str createTime: str displayName: str @@ -688,6 +712,7 @@ class ListInstancesResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListScansResponse(typing_extensions.TypedDict, total=False): @@ -759,10 +784,12 @@ class MultiplexedSessionPrecommitToken(typing_extensions.TypedDict, total=False) @typing.type_check_only class Mutation(typing_extensions.TypedDict, total=False): + ack: Ack delete: Delete insert: Write insertOrUpdate: Write replace: Write + send: Send update: Write @typing.type_check_only @@ -959,6 +986,7 @@ class ReplicaSelection(typing_extensions.TypedDict, total=False): @typing.type_check_only class RequestOptions(typing_extensions.TypedDict, total=False): + clientContext: ClientContext priority: typing_extensions.Literal[ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ] @@ -1034,6 +1062,13 @@ class ScanData(typing_extensions.TypedDict, total=False): endTime: str startTime: str +@typing.type_check_only +class Send(typing_extensions.TypedDict, total=False): + deliverTime: str + key: _list[typing.Any] + payload: typing.Any + queue: str + @typing.type_check_only class Session(typing_extensions.TypedDict, total=False): approximateLastUseTime: str @@ -1129,6 +1164,7 @@ class Type(typing_extensions.TypedDict, total=False): "PROTO", "ENUM", "INTERVAL", + "UUID", ] protoTypeFqn: str structType: StructType diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi index 1550bb939..7a514700f 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/resources.pyi @@ -151,9 +151,20 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + def ListEntraIdCertificates( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> InstancesListEntraIdCertificatesResponseHttpRequest: ... def ListServerCertificates( self, *, project: str, instance: str, **kwargs: typing.Any ) -> InstancesListServerCertificatesResponseHttpRequest: ... + def RotateEntraIdCertificate( + self, + *, + project: str, + instance: str, + body: InstancesRotateEntraIdCertificateRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def RotateServerCertificate( self, *, @@ -170,6 +181,9 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: InstancesAcquireSsrsLeaseRequest = ..., **kwargs: typing.Any, ) -> SqlInstancesAcquireSsrsLeaseResponseHttpRequest: ... + def addEntraIdCertificate( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def addServerCa( self, *, project: str, instance: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... @@ -329,6 +343,14 @@ 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, *, @@ -525,6 +547,7 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: User = ..., + databaseRoles: str | _list[str] = ..., host: str = ..., name: str = ..., **kwargs: typing.Any, @@ -634,6 +657,16 @@ class GenerateEphemeralCertResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> GenerateEphemeralCertResponse: ... +@typing.type_check_only +class InstancesListEntraIdCertificatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstancesListEntraIdCertificatesResponse: ... + @typing.type_check_only class InstancesListResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi index 4abbeeae5..65fed66bf 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1/schemas.pyi @@ -76,6 +76,7 @@ class Backup(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -203,6 +204,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -329,6 +331,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -444,6 +447,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -596,14 +600,18 @@ class DnsNameMapping(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICES_ACCESS", "PRIVATE_SERVICE_CONNECT", ] - dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE"] + dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] name: str + recordManager: typing_extensions.Literal[ + "RECORD_MANAGER_UNSPECIFIED", "CUSTOMER", "CLOUD_SQL_AUTOMATION" + ] @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): + application: str autoIamAuthn: bool database: str partialResultMode: typing_extensions.Literal[ @@ -675,6 +683,7 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -764,6 +773,7 @@ class ImportContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class InsightsConfig(typing_extensions.TypedDict, total=False): + enhancedQueryInsightsEnabled: bool queryInsightsEnabled: bool queryPlansPerMinute: int queryStringLength: int @@ -804,6 +814,14 @@ class InstancesFailoverRequest(typing_extensions.TypedDict, total=False): class InstancesImportRequest(typing_extensions.TypedDict, total=False): importContext: ImportContext +@typing.type_check_only +class InstancesListEntraIdCertificatesResponse( + typing_extensions.TypedDict, total=False +): + activeVersion: str + certs: _list[SslCert] + kind: str + @typing.type_check_only class InstancesListResponse(typing_extensions.TypedDict, total=False): items: _list[DatabaseInstance] @@ -842,6 +860,12 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): restoreInstanceClearOverridesFieldNames: _list[str] restoreInstanceSettings: DatabaseInstance +@typing.type_check_only +class InstancesRotateEntraIdCertificateRequest( + typing_extensions.TypedDict, total=False +): + rotateEntraIdCertificateContext: RotateEntraIdCertificateContext + @typing.type_check_only class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext @@ -876,6 +900,11 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): "CUSTOMER_MANAGED_CAS_CA", ] serverCaPool: str + serverCertificateRotationMode: typing_extensions.Literal[ + "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", + "NO_AUTOMATIC_ROTATION", + "AUTOMATIC_ROTATION_DURING_MAINTENANCE", + ] sslMode: typing_extensions.Literal[ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", @@ -1086,6 +1115,15 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): targetSizeGb: str +@typing.type_check_only +class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): + enabled: bool + probeThreshold: int + probingIntervalSeconds: int + runningThreadsThreshold: int + secondsBehindSourceThreshold: int + transactionDurationThreshold: int + @typing.type_check_only class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): allocatedIpRange: str @@ -1103,6 +1141,8 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): gceZone: str ipAddresses: _list[IpMapping] name: str + pscAutoConnections: _list[PscAutoConnectionConfig] + pscServiceAttachmentLink: str state: typing_extensions.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", @@ -1148,6 +1188,7 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -1243,6 +1284,11 @@ class RestoreBackupContext(typing_extensions.TypedDict, total=False): kind: str project: str +@typing.type_check_only +class RotateEntraIdCertificateContext(typing_extensions.TypedDict, total=False): + kind: str + nextVersion: str + @typing.type_check_only class RotateServerCaContext(typing_extensions.TypedDict, total=False): kind: str @@ -1280,6 +1326,9 @@ class Settings(typing_extensions.TypedDict, total=False): "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool + dataApiAccess: typing_extensions.Literal[ + "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", "ALLOW_DATA_API" + ] dataCacheConfig: DataCacheConfig dataDiskProvisionedIops: str dataDiskProvisionedThroughput: str @@ -1300,6 +1349,7 @@ class Settings(typing_extensions.TypedDict, total=False): ] enableDataplexIntegration: bool enableGoogleMlIntegration: bool + entraidConfig: SqlServerEntraIdConfig finalBackupConfig: FinalBackupConfig insightsConfig: InsightsConfig ipConfiguration: IpConfiguration @@ -1307,6 +1357,7 @@ class Settings(typing_extensions.TypedDict, total=False): locationPreference: LocationPreference maintenanceWindow: MaintenanceWindow passwordValidationPolicy: PasswordValidationPolicy + performanceCaptureConfig: PerformanceCaptureConfig pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] @@ -1442,6 +1493,12 @@ 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[ @@ -1509,6 +1566,12 @@ class SqlServerDatabaseDetails(typing_extensions.TypedDict, total=False): compatibilityLevel: int recoveryModel: str +@typing.type_check_only +class SqlServerEntraIdConfig(typing_extensions.TypedDict, total=False): + applicationId: str + kind: str + tenantId: str + @typing.type_check_only class SqlServerUserDetails(typing_extensions.TypedDict, total=False): disabled: bool @@ -1598,6 +1661,7 @@ class TruncateLogContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class User(typing_extensions.TypedDict, total=False): + databaseRoles: _list[str] dualPasswordType: typing_extensions.Literal[ "DUAL_PASSWORD_TYPE_UNSPECIFIED", "NO_MODIFY_DUAL_PASSWORD", @@ -1622,6 +1686,7 @@ class User(typing_extensions.TypedDict, total=False): "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER", "CLOUD_IAM_GROUP_SERVICE_ACCOUNT", + "ENTRAID_USER", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi index 057121727..7ce684e15 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/resources.pyi @@ -151,9 +151,20 @@ class SQLAdminResource(googleapiclient.discovery.Resource): @typing.type_check_only class InstancesResource(googleapiclient.discovery.Resource): + def ListEntraIdCertificates( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> InstancesListEntraIdCertificatesResponseHttpRequest: ... def ListServerCertificates( self, *, project: str, instance: str, **kwargs: typing.Any ) -> InstancesListServerCertificatesResponseHttpRequest: ... + def RotateEntraIdCertificate( + self, + *, + project: str, + instance: str, + body: InstancesRotateEntraIdCertificateRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def RotateServerCertificate( self, *, @@ -170,6 +181,9 @@ class SQLAdminResource(googleapiclient.discovery.Resource): body: InstancesAcquireSsrsLeaseRequest = ..., **kwargs: typing.Any, ) -> SqlInstancesAcquireSsrsLeaseResponseHttpRequest: ... + def addEntraIdCertificate( + self, *, project: str, instance: str, **kwargs: typing.Any + ) -> OperationHttpRequest: ... def addServerCa( self, *, project: str, instance: str, **kwargs: typing.Any ) -> OperationHttpRequest: ... @@ -525,8 +539,10 @@ class SQLAdminResource(googleapiclient.discovery.Resource): project: str, instance: str, body: User = ..., + databaseRoles: str | _list[str] = ..., host: str = ..., name: str = ..., + revokeExistingRoles: bool = ..., **kwargs: typing.Any, ) -> OperationHttpRequest: ... @@ -634,6 +650,16 @@ class GenerateEphemeralCertResponseHttpRequest(googleapiclient.http.HttpRequest) num_retries: int = 0, ) -> GenerateEphemeralCertResponse: ... +@typing.type_check_only +class InstancesListEntraIdCertificatesResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> InstancesListEntraIdCertificatesResponse: ... + @typing.type_check_only class InstancesListResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi index 4abbeeae5..8db1bb820 100644 --- a/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi +++ b/googleapiclient-stubs/_apis/sqladmin/v1beta4/schemas.pyi @@ -76,6 +76,7 @@ class Backup(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -203,6 +204,7 @@ class BackupRun(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -329,6 +331,7 @@ class ConnectSettings(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -444,6 +447,7 @@ class DatabaseInstance(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -596,14 +600,18 @@ class DnsNameMapping(typing_extensions.TypedDict, total=False): "PRIVATE_SERVICES_ACCESS", "PRIVATE_SERVICE_CONNECT", ] - dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE"] + dnsScope: typing_extensions.Literal["DNS_SCOPE_UNSPECIFIED", "INSTANCE", "CLUSTER"] name: str + recordManager: typing_extensions.Literal[ + "RECORD_MANAGER_UNSPECIFIED", "CUSTOMER", "CLOUD_SQL_AUTOMATION" + ] @typing.type_check_only class Empty(typing_extensions.TypedDict, total=False): ... @typing.type_check_only class ExecuteSqlPayload(typing_extensions.TypedDict, total=False): + application: str autoIamAuthn: bool database: str partialResultMode: typing_extensions.Literal[ @@ -675,6 +683,7 @@ class Flag(typing_extensions.TypedDict, total=False): "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -764,6 +773,7 @@ class ImportContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class InsightsConfig(typing_extensions.TypedDict, total=False): + enhancedQueryInsightsEnabled: bool queryInsightsEnabled: bool queryPlansPerMinute: int queryStringLength: int @@ -804,6 +814,14 @@ class InstancesFailoverRequest(typing_extensions.TypedDict, total=False): class InstancesImportRequest(typing_extensions.TypedDict, total=False): importContext: ImportContext +@typing.type_check_only +class InstancesListEntraIdCertificatesResponse( + typing_extensions.TypedDict, total=False +): + activeVersion: str + certs: _list[SslCert] + kind: str + @typing.type_check_only class InstancesListResponse(typing_extensions.TypedDict, total=False): items: _list[DatabaseInstance] @@ -842,6 +860,12 @@ class InstancesRestoreBackupRequest(typing_extensions.TypedDict, total=False): restoreInstanceClearOverridesFieldNames: _list[str] restoreInstanceSettings: DatabaseInstance +@typing.type_check_only +class InstancesRotateEntraIdCertificateRequest( + typing_extensions.TypedDict, total=False +): + rotateEntraIdCertificateContext: RotateEntraIdCertificateContext + @typing.type_check_only class InstancesRotateServerCaRequest(typing_extensions.TypedDict, total=False): rotateServerCaContext: RotateServerCaContext @@ -876,6 +900,11 @@ class IpConfiguration(typing_extensions.TypedDict, total=False): "CUSTOMER_MANAGED_CAS_CA", ] serverCaPool: str + serverCertificateRotationMode: typing_extensions.Literal[ + "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", + "NO_AUTOMATIC_ROTATION", + "AUTOMATIC_ROTATION_DURING_MAINTENANCE", + ] sslMode: typing_extensions.Literal[ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", @@ -1086,6 +1115,15 @@ class PasswordValidationPolicy(typing_extensions.TypedDict, total=False): class PerformDiskShrinkContext(typing_extensions.TypedDict, total=False): targetSizeGb: str +@typing.type_check_only +class PerformanceCaptureConfig(typing_extensions.TypedDict, total=False): + enabled: bool + probeThreshold: int + probingIntervalSeconds: int + runningThreadsThreshold: int + secondsBehindSourceThreshold: int + transactionDurationThreshold: int + @typing.type_check_only class PointInTimeRestoreContext(typing_extensions.TypedDict, total=False): allocatedIpRange: str @@ -1103,6 +1141,8 @@ class PoolNodeConfig(typing_extensions.TypedDict, total=False): gceZone: str ipAddresses: _list[IpMapping] name: str + pscAutoConnections: _list[PscAutoConnectionConfig] + pscServiceAttachmentLink: str state: typing_extensions.Literal[ "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", @@ -1148,6 +1188,7 @@ class PreCheckMajorVersionUpgradeContext(typing_extensions.TypedDict, total=Fals "MYSQL_8_0_45", "MYSQL_8_0_46", "MYSQL_8_4", + "MYSQL_9_7", "SQLSERVER_2017_STANDARD", "SQLSERVER_2017_ENTERPRISE", "SQLSERVER_2017_EXPRESS", @@ -1243,6 +1284,11 @@ class RestoreBackupContext(typing_extensions.TypedDict, total=False): kind: str project: str +@typing.type_check_only +class RotateEntraIdCertificateContext(typing_extensions.TypedDict, total=False): + kind: str + nextVersion: str + @typing.type_check_only class RotateServerCaContext(typing_extensions.TypedDict, total=False): kind: str @@ -1280,6 +1326,9 @@ class Settings(typing_extensions.TypedDict, total=False): "CONNECTOR_ENFORCEMENT_UNSPECIFIED", "NOT_REQUIRED", "REQUIRED" ] crashSafeReplicationEnabled: bool + dataApiAccess: typing_extensions.Literal[ + "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", "ALLOW_DATA_API" + ] dataCacheConfig: DataCacheConfig dataDiskProvisionedIops: str dataDiskProvisionedThroughput: str @@ -1300,6 +1349,7 @@ class Settings(typing_extensions.TypedDict, total=False): ] enableDataplexIntegration: bool enableGoogleMlIntegration: bool + entraidConfig: SqlServerEntraIdConfig finalBackupConfig: FinalBackupConfig insightsConfig: InsightsConfig ipConfiguration: IpConfiguration @@ -1307,6 +1357,7 @@ class Settings(typing_extensions.TypedDict, total=False): locationPreference: LocationPreference maintenanceWindow: MaintenanceWindow passwordValidationPolicy: PasswordValidationPolicy + performanceCaptureConfig: PerformanceCaptureConfig pricingPlan: typing_extensions.Literal[ "SQL_PRICING_PLAN_UNSPECIFIED", "PACKAGE", "PER_USE" ] @@ -1509,6 +1560,12 @@ class SqlServerDatabaseDetails(typing_extensions.TypedDict, total=False): compatibilityLevel: int recoveryModel: str +@typing.type_check_only +class SqlServerEntraIdConfig(typing_extensions.TypedDict, total=False): + applicationId: str + kind: str + tenantId: str + @typing.type_check_only class SqlServerUserDetails(typing_extensions.TypedDict, total=False): disabled: bool @@ -1598,6 +1655,7 @@ class TruncateLogContext(typing_extensions.TypedDict, total=False): @typing.type_check_only class User(typing_extensions.TypedDict, total=False): + databaseRoles: _list[str] dualPasswordType: typing_extensions.Literal[ "DUAL_PASSWORD_TYPE_UNSPECIFIED", "NO_MODIFY_DUAL_PASSWORD", @@ -1622,6 +1680,7 @@ class User(typing_extensions.TypedDict, total=False): "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER", "CLOUD_IAM_GROUP_SERVICE_ACCOUNT", + "ENTRAID_USER", ] @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/storage/v1/resources.pyi b/googleapiclient-stubs/_apis/storage/v1/resources.pyi index eaf2c5557..98a48dbe7 100644 --- a/googleapiclient-stubs/_apis/storage/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/resources.pyi @@ -565,6 +565,7 @@ class StorageResource(googleapiclient.discovery.Resource): "projectPrivate", "publicRead", ] = ..., + dropContextGroups: str | _list[str] = ..., ifGenerationMatch: str = ..., ifMetagenerationMatch: str = ..., kmsKeyName: str = ..., @@ -777,6 +778,7 @@ class StorageResource(googleapiclient.discovery.Resource): "projectPrivate", "publicRead", ] = ..., + dropContextGroups: str | _list[str] = ..., ifGenerationMatch: str = ..., ifGenerationNotMatch: str = ..., ifMetagenerationMatch: str = ..., diff --git a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi index 072f3516b..1b9f26ba3 100644 --- a/googleapiclient-stubs/_apis/storage/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storage/v1/schemas.pyi @@ -131,6 +131,7 @@ class Channel(typing_extensions.TypedDict, total=False): @typing.type_check_only class ComposeRequest(typing_extensions.TypedDict, total=False): + deleteSourceObjects: bool destination: Object kind: str sourceObjects: _list[dict[str, typing.Any]] @@ -327,6 +328,7 @@ class Policy(typing_extensions.TypedDict, total=False): @typing.type_check_only class RelocateBucketRequest(typing_extensions.TypedDict, total=False): destinationCustomPlacementConfig: dict[str, typing.Any] + destinationKmsKeyName: str destinationLocation: str validateOnly: bool diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi index d9a2719f6..993673ad6 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/resources.pyi @@ -19,6 +19,27 @@ class StorageBatchOperationsResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class JobsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class BucketOperationsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> BucketOperationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListBucketOperationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListBucketOperationsResponseHttpRequest, + previous_response: ListBucketOperationsResponse, + ) -> ListBucketOperationsResponseHttpRequest | None: ... + def cancel( self, *, @@ -36,7 +57,12 @@ class StorageBatchOperationsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... def delete( - self, *, name: str, requestId: str = ..., **kwargs: typing.Any + self, + *, + name: str, + force: bool = ..., + requestId: str = ..., + **kwargs: typing.Any, ) -> EmptyHttpRequest: ... def get(self, *, name: str, **kwargs: typing.Any) -> JobHttpRequest: ... def list( @@ -54,6 +80,7 @@ class StorageBatchOperationsResource(googleapiclient.discovery.Resource): previous_request: ListJobsResponseHttpRequest, previous_response: ListJobsResponse, ) -> ListJobsResponseHttpRequest | None: ... + def bucketOperations(self) -> BucketOperationsResource: ... @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): @@ -123,6 +150,14 @@ class StorageBatchOperationsResource(googleapiclient.discovery.Resource): ) -> googleapiclient.http.BatchHttpRequest: ... def projects(self) -> ProjectsResource: ... +@typing.type_check_only +class BucketOperationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BucketOperation: ... + @typing.type_check_only class CancelJobResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -147,6 +182,14 @@ class JobHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Job: ... +@typing.type_check_only +class ListBucketOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListBucketOperationsResponse: ... + @typing.type_check_only class ListJobsResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi index 0bd9d6bf9..89ae7d681 100644 --- a/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagebatchoperations/v1/schemas.pyi @@ -14,6 +14,25 @@ class Bucket(typing_extensions.TypedDict, total=False): class BucketList(typing_extensions.TypedDict, total=False): buckets: _list[Bucket] +@typing.type_check_only +class BucketOperation(typing_extensions.TypedDict, total=False): + bucketName: str + completeTime: str + counters: Counters + createTime: str + deleteObject: DeleteObject + errorSummaries: _list[ErrorSummary] + manifest: Manifest + name: str + prefixList: PrefixList + putMetadata: PutMetadata + putObjectHold: PutObjectHold + rewriteObject: RewriteObject + startTime: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "QUEUED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED" + ] + @typing.type_check_only class CancelJobRequest(typing_extensions.TypedDict, total=False): requestId: str @@ -28,6 +47,7 @@ class CancelOperationRequest(typing_extensions.TypedDict, total=False): ... class Counters(typing_extensions.TypedDict, total=False): failedObjectCount: str succeededObjectCount: str + totalBytesFound: str totalObjectCount: str @typing.type_check_only @@ -74,6 +94,7 @@ class Job(typing_extensions.TypedDict, total=False): createTime: str deleteObject: DeleteObject description: str + dryRun: bool errorSummaries: _list[ErrorSummary] loggingConfig: LoggingConfig name: str @@ -85,6 +106,12 @@ class Job(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "RUNNING", "SUCCEEDED", "CANCELED", "FAILED" ] +@typing.type_check_only +class ListBucketOperationsResponse(typing_extensions.TypedDict, total=False): + bucketOperations: _list[BucketOperation] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListJobsResponse(typing_extensions.TypedDict, total=False): jobs: _list[Job] diff --git a/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi b/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi index 9a47115dd..8deed6662 100644 --- a/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/storagetransfer/v1/resources.pyi @@ -114,6 +114,7 @@ class StoragetransferResource(googleapiclient.discovery.Resource): filter: str, pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi index 714f9dda7..da611dc0e 100644 --- a/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/storagetransfer/v1/schemas.pyi @@ -34,6 +34,7 @@ class AwsS3Data(typing_extensions.TypedDict, total=False): credentialsSecret: str managedPrivateNetwork: bool path: str + privateNetworkService: str roleArn: str @typing.type_check_only @@ -43,6 +44,7 @@ class AzureBlobStorageData(typing_extensions.TypedDict, total=False): credentialsSecret: str federatedIdentityConfig: FederatedIdentityConfig path: str + privateNetworkService: str storageAccount: str @typing.type_check_only @@ -133,6 +135,7 @@ class ListAgentPoolsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListTransferJobsResponse(typing_extensions.TypedDict, total=False): @@ -206,6 +209,7 @@ class ObjectConditions(typing_extensions.TypedDict, total=False): includePrefixes: _list[str] lastModifiedBefore: str lastModifiedSince: str + matchGlob: str maxTimeElapsedSinceLastModification: str minTimeElapsedSinceLastModification: str @@ -303,6 +307,8 @@ class TransferCounters(typing_extensions.TypedDict, total=False): objectsFoundOnlyFromSink: str objectsFromSourceFailed: str objectsFromSourceSkippedBySync: str + unrestoredDeepArchiveObjectsSkippedCount: str + unsupportedS3GlacierObjectsSkippedCount: str @typing.type_check_only class TransferJob(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/sts/v1/schemas.pyi b/googleapiclient-stubs/_apis/sts/v1/schemas.pyi index 9de18dc86..160d1e53d 100644 --- a/googleapiclient-stubs/_apis/sts/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/sts/v1/schemas.pyi @@ -43,6 +43,7 @@ class GoogleIdentityStsV1ExchangeTokenResponse( @typing.type_check_only class GoogleIdentityStsV1Options(typing_extensions.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1AccessBoundary + bindCertFingerprint: str userProject: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi index b4b487411..35188c426 100644 --- a/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/sts/v1beta/schemas.pyi @@ -23,6 +23,7 @@ class GoogleIdentityStsV1AccessBoundaryRule(typing_extensions.TypedDict, total=F @typing.type_check_only class GoogleIdentityStsV1Options(typing_extensions.TypedDict, total=False): accessBoundary: GoogleIdentityStsV1AccessBoundary + bindCertFingerprint: str userProject: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi index 39484972b..1327d1c2d 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/resources.pyi @@ -1063,6 +1063,9 @@ class TagManagerResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> ZoneHttpRequest: ... + def bulk_update( + self, *, path: str, body: ProposedChange = ..., **kwargs: typing.Any + ) -> BulkUpdateWorkspaceResponseHttpRequest: ... def create( self, *, parent: str, body: Workspace = ..., **kwargs: typing.Any ) -> WorkspaceHttpRequest: ... @@ -1256,6 +1259,14 @@ class AccountHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Account: ... +@typing.type_check_only +class BulkUpdateWorkspaceResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> BulkUpdateWorkspaceResponse: ... + @typing.type_check_only class ClientHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi index 73f94cfb5..2d3ceaaa8 100644 --- a/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/tagmanager/v2/schemas.pyi @@ -152,6 +152,10 @@ class BuiltInVariable(typing_extensions.TypedDict, total=False): ] workspaceId: str +@typing.type_check_only +class BulkUpdateWorkspaceResponse(typing_extensions.TypedDict, total=False): + changes: _list[Entity] + @typing.type_check_only class Client(typing_extensions.TypedDict, total=False): accountId: str @@ -518,6 +522,10 @@ class Parameter(typing_extensions.TypedDict, total=False): ] value: str +@typing.type_check_only +class ProposedChange(typing_extensions.TypedDict, total=False): + changes: _list[Entity] + @typing.type_check_only class PublishContainerVersionResponse(typing_extensions.TypedDict, total=False): compilerError: bool diff --git a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi index d8f104e54..a06feb534 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1/schemas.pyi @@ -6,6 +6,7 @@ _list = list @typing.type_check_only class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): + enableTextnorm: bool lowLatencyJourneySynthesis: bool relaxSafetyFilters: bool diff --git a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi index c3f713ddc..7166d42cc 100644 --- a/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/texttospeech/v1beta1/schemas.pyi @@ -6,6 +6,7 @@ _list = list @typing.type_check_only class AdvancedVoiceOptions(typing_extensions.TypedDict, total=False): + enableTextnorm: bool lowLatencyJourneySynthesis: bool relaxSafetyFilters: bool diff --git a/googleapiclient-stubs/_apis/threatintelligence/__init__.pyi b/googleapiclient-stubs/_apis/threatintelligence/__init__.pyi new file mode 100644 index 000000000..e69de29bb diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/__init__.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/__init__.pyi new file mode 100644 index 000000000..238e16441 --- /dev/null +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/__init__.pyi @@ -0,0 +1,2 @@ +from .resources import * +from .schemas import * diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi new file mode 100644 index 000000000..f1b8fd5b1 --- /dev/null +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/resources.pyi @@ -0,0 +1,341 @@ +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 ThreatIntelligenceServiceResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class ProjectsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class AlertsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class DocumentsResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> AlertDocumentHttpRequest: ... + + def benign( + self, + *, + name: str, + body: MarkAlertAsBenignRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def duplicate( + self, + *, + name: str, + body: MarkAlertAsDuplicateRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def enumerateFacets( + self, *, parent: str, filter: str = ..., **kwargs: typing.Any + ) -> EnumerateAlertFacetsResponseHttpRequest: ... + def escalate( + self, + *, + name: str, + body: MarkAlertAsEscalatedRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def falsePositive( + self, + *, + name: str, + body: MarkAlertAsFalsePositiveRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def get(self, *, name: str, **kwargs: typing.Any) -> AlertHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListAlertsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListAlertsResponseHttpRequest, + previous_response: ListAlertsResponse, + ) -> ListAlertsResponseHttpRequest | None: ... + def notActionable( + self, + *, + name: str, + body: MarkAlertAsNotActionableRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def read( + self, + *, + name: str, + 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, + *, + name: str, + body: MarkAlertAsResolvedRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def trackExternally( + self, + *, + name: str, + body: MarkAlertAsTrackedExternallyRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def triage( + self, + *, + name: str, + body: MarkAlertAsTriagedRequest = ..., + **kwargs: typing.Any, + ) -> AlertHttpRequest: ... + def documents(self) -> DocumentsResource: ... + + @typing.type_check_only + class ConfigurationsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class RevisionsResource(googleapiclient.discovery.Resource): + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConfigurationRevisionsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConfigurationRevisionsResponseHttpRequest, + previous_response: ListConfigurationRevisionsResponse, + ) -> ListConfigurationRevisionsResponseHttpRequest | None: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> ConfigurationHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListConfigurationsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListConfigurationsResponseHttpRequest, + previous_response: ListConfigurationsResponse, + ) -> ListConfigurationsResponseHttpRequest | None: ... + def upsert( + self, + *, + parent: str, + body: Configuration = ..., + publishTime: str = ..., + **kwargs: typing.Any, + ) -> UpsertConfigurationResponseHttpRequest: ... + def revisions(self) -> RevisionsResource: ... + + @typing.type_check_only + class FindingsResource(googleapiclient.discovery.Resource): + def get(self, *, name: str, **kwargs: typing.Any) -> FindingHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + **kwargs: typing.Any, + ) -> ListFindingsResponseHttpRequest: ... + def list_next( + self, + previous_request: ListFindingsResponseHttpRequest, + previous_response: ListFindingsResponse, + ) -> ListFindingsResponseHttpRequest | None: ... + def search( + self, + *, + parent: str, + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + query: str = ..., + **kwargs: typing.Any, + ) -> SearchFindingsResponseHttpRequest: ... + def search_next( + self, + previous_request: SearchFindingsResponseHttpRequest, + previous_response: SearchFindingsResponse, + ) -> SearchFindingsResponseHttpRequest | None: ... + + def generateOrgProfile( + self, + *, + name: str, + body: GenerateOrgProfileConfigurationRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def alerts(self) -> AlertsResource: ... + def configurations(self) -> ConfigurationsResource: ... + def findings(self) -> FindingsResource: ... + + 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 projects(self) -> ProjectsResource: ... + +@typing.type_check_only +class AlertHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Alert: ... + +@typing.type_check_only +class AlertDocumentHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> AlertDocument: ... + +@typing.type_check_only +class ConfigurationHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Configuration: ... + +@typing.type_check_only +class EnumerateAlertFacetsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> EnumerateAlertFacetsResponse: ... + +@typing.type_check_only +class FindingHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Finding: ... + +@typing.type_check_only +class ListAlertsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListAlertsResponse: ... + +@typing.type_check_only +class ListConfigurationRevisionsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConfigurationRevisionsResponse: ... + +@typing.type_check_only +class ListConfigurationsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListConfigurationsResponse: ... + +@typing.type_check_only +class ListFindingsResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListFindingsResponse: ... + +@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 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( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> SearchFindingsResponse: ... + +@typing.type_check_only +class UpsertConfigurationResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> UpsertConfigurationResponse: ... diff --git a/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi new file mode 100644 index 000000000..123c34662 --- /dev/null +++ b/googleapiclient-stubs/_apis/threatintelligence/v1beta/schemas.pyi @@ -0,0 +1,674 @@ +import typing + +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 + displayName: str + duplicateOf: str + duplicatedBy: _list[str] + etag: str + externalId: str + findingCount: str + findings: _list[str] + name: str + priorityAnalysis: PriorityAnalysis + relevanceAnalysis: RelevanceAnalysis + severityAnalysis: SeverityAnalysis + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", + "NEW", + "READ", + "TRIAGED", + "ESCALATED", + "RESOLVED", + "DUPLICATE", + "FALSE_POSITIVE", + "NOT_ACTIONABLE", + "BENIGN", + "TRACKED_EXTERNALLY", + ] + +@typing.type_check_only +class AlertDetail(typing_extensions.TypedDict, total=False): + dataLeak: DataLeakAlertDetail + detailType: str + initialAccessBroker: InitialAccessBrokerAlertDetail + insiderThreat: InsiderThreatAlertDetail + suspiciousDomain: SuspiciousDomainAlertDetail + targetTechnology: TargetTechnologyAlertDetail + +@typing.type_check_only +class AlertDocument(typing_extensions.TypedDict, total=False): + aiSummary: str + author: str + collectionTime: str + content: str + createTime: str + ingestTime: str + languageCode: str + name: str + source: str + sourceUpdateTime: str + sourceUri: str + title: str + translation: AlertDocumentTranslation + +@typing.type_check_only +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 + creator: str + 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 + description: str + detail: ConfigurationDetail + displayName: str + name: str + provider: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "ENABLED", "DISABLED", "DEPRECATED" + ] + version: str + +@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): + createTime: str + name: str + snapshot: Configuration + +@typing.type_check_only +class CustomerProfileCitation(typing_extensions.TypedDict, total=False): + citationId: str + document: str + retrievalTime: str + source: str + uri: str + +@typing.type_check_only +class CustomerProfileCitedString(typing_extensions.TypedDict, total=False): + citationIds: _list[str] + value: str + +@typing.type_check_only +class CustomerProfileCompany(typing_extensions.TypedDict, total=False): + citationIds: _list[str] + company: str + +@typing.type_check_only +class CustomerProfileConfig(typing_extensions.TypedDict, total=False): + citations: _list[CustomerProfileCitation] + contactInfo: _list[CustomerProfileContactInfo] + executives: _list[CustomerProfilePerson] + industries: _list[CustomerProfileIndustry] + locations: _list[CustomerProfileLocation] + org: str + orgSummary: str + parentCompanies: _list[CustomerProfileCompany] + products: _list[CustomerProfileProduct] + securityConsiderations: CustomerProfileSecurityConsiderations + summary: CustomerProfileSummary + technologyPresence: str + webPresences: _list[CustomerProfileWebPresence] + +@typing.type_check_only +class CustomerProfileContactInfo(typing_extensions.TypedDict, total=False): + address: str + citationIds: _list[str] + email: str + label: str + other: str + phone: str + +@typing.type_check_only +class CustomerProfileIndustry(typing_extensions.TypedDict, total=False): + citationIds: _list[str] + industry: str + +@typing.type_check_only +class CustomerProfileLocation(typing_extensions.TypedDict, total=False): + address: str + brand: str + citationIds: _list[str] + facilityType: str + +@typing.type_check_only +class CustomerProfilePerson(typing_extensions.TypedDict, total=False): + citationIds: _list[str] + name: str + title: str + +@typing.type_check_only +class CustomerProfileProduct(typing_extensions.TypedDict, total=False): + brand: str + citationIds: _list[str] + product: str + +@typing.type_check_only +class CustomerProfileSecurityConsiderations(typing_extensions.TypedDict, total=False): + considerations: _list[str] + note: str + +@typing.type_check_only +class CustomerProfileSummary(typing_extensions.TypedDict, total=False): + areaServed: CustomerProfileCitedString + brands: CustomerProfileCitedString + entityType: CustomerProfileCitedString + founded: CustomerProfileCitedString + headquarters: CustomerProfileCitedString + industry: CustomerProfileCitedString + keyPeopleSummary: CustomerProfileCitedString + parentCompany: CustomerProfileCitedString + primaryWebsite: CustomerProfileCitedString + productsSummary: CustomerProfileCitedString + servicesSummary: CustomerProfileCitedString + title: CustomerProfileCitedString + +@typing.type_check_only +class CustomerProfileWebPresence(typing_extensions.TypedDict, total=False): + citationIds: _list[str] + domain: str + +@typing.type_check_only +class DataLeakAlertDetail(typing_extensions.TypedDict, total=False): + discoveryDocumentIds: _list[str] + severity: str + +@typing.type_check_only +class DataLeakFindingDetail(typing_extensions.TypedDict, total=False): + documentId: str + matchScore: float + severity: typing_extensions.Literal[ + "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] + +@typing.type_check_only +class Evidence(typing_extensions.TypedDict, total=False): + commonThemes: _list[str] + distinctThemes: _list[str] + +@typing.type_check_only +class Facet(typing_extensions.TypedDict, total=False): + facet: str + facetCounts: _list[FacetCount] + facetType: str + maxValue: str + minValue: str + totalCount: str + +@typing.type_check_only +class FacetCount(typing_extensions.TypedDict, total=False): + count: int + value: str + +@typing.type_check_only +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 + reoccurrenceTimes: _list[str] + severity: float + severityAnalysis: SeverityAnalysis + +@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 + matchScore: float + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" + ] + +@typing.type_check_only +class InsiderThreatAlertDetail(typing_extensions.TypedDict, total=False): + discoveryDocumentIds: _list[str] + severity: str + +@typing.type_check_only +class InsiderThreatFindingDetail(typing_extensions.TypedDict, total=False): + documentId: str + matchScore: float + severity: typing_extensions.Literal[ + "SEVERITY_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" + ] + +@typing.type_check_only +class ListAlertsResponse(typing_extensions.TypedDict, total=False): + alerts: _list[Alert] + nextPageToken: str + +@typing.type_check_only +class ListConfigurationRevisionsResponse(typing_extensions.TypedDict, total=False): + nextPageToken: str + revisions: _list[ConfigurationRevision] + +@typing.type_check_only +class ListConfigurationsResponse(typing_extensions.TypedDict, total=False): + configurations: _list[Configuration] + nextPageToken: str + +@typing.type_check_only +class ListFindingsResponse(typing_extensions.TypedDict, total=False): + findings: _list[Finding] + nextPageToken: str + +@typing.type_check_only +class MarkAlertAsBenignRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsDuplicateRequest(typing_extensions.TypedDict, total=False): + duplicateOf: str + +@typing.type_check_only +class MarkAlertAsEscalatedRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsFalsePositiveRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsNotActionableRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsReadRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsResolvedRequest(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class MarkAlertAsTrackedExternallyRequest(typing_extensions.TypedDict, total=False): ... + +@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 + error: Status + metadata: dict[str, typing.Any] + name: str + response: dict[str, typing.Any] + +@typing.type_check_only +class PriorityAnalysis(typing_extensions.TypedDict, total=False): + confidence: typing_extensions.Literal[ + "CONFIDENCE_LEVEL_UNSPECIFIED", + "CONFIDENCE_LEVEL_LOW", + "CONFIDENCE_LEVEL_MEDIUM", + "CONFIDENCE_LEVEL_HIGH", + ] + priorityLevel: typing_extensions.Literal[ + "PRIORITY_LEVEL_UNSPECIFIED", + "PRIORITY_LEVEL_LOW", + "PRIORITY_LEVEL_MEDIUM", + "PRIORITY_LEVEL_HIGH", + "PRIORITY_LEVEL_CRITICAL", + ] + 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[ + "CONFIDENCE_LEVEL_UNSPECIFIED", + "CONFIDENCE_LEVEL_LOW", + "CONFIDENCE_LEVEL_MEDIUM", + "CONFIDENCE_LEVEL_HIGH", + ] + evidence: Evidence + reasoning: str + relevanceLevel: typing_extensions.Literal[ + "RELEVANCE_LEVEL_UNSPECIFIED", + "RELEVANCE_LEVEL_LOW", + "RELEVANCE_LEVEL_MEDIUM", + "RELEVANCE_LEVEL_HIGH", + ] + 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] + nextPageToken: str + +@typing.type_check_only +class SeverityAnalysis(typing_extensions.TypedDict, total=False): + confidence: typing_extensions.Literal[ + "CONFIDENCE_LEVEL_UNSPECIFIED", + "CONFIDENCE_LEVEL_LOW", + "CONFIDENCE_LEVEL_MEDIUM", + "CONFIDENCE_LEVEL_HIGH", + ] + reasoning: str + severityLevel: typing_extensions.Literal[ + "SEVERITY_LEVEL_UNSPECIFIED", + "SEVERITY_LEVEL_LOW", + "SEVERITY_LEVEL_MEDIUM", + "SEVERITY_LEVEL_HIGH", + ] + +@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 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/toolresults/v1beta3/schemas.pyi b/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi index 0b3e842e1..9cabcbde8 100644 --- a/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi +++ b/googleapiclient-stubs/_apis/toolresults/v1beta3/schemas.pyi @@ -658,7 +658,7 @@ class TestIssue(typing_extensions.TypedDict, total=False): "detectedAppSplashScreen", "assetIssue", ] - warning: Any + warning_migration: Any @typing.type_check_only class TestSuiteOverview(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/translate/v3/resources.pyi b/googleapiclient-stubs/_apis/translate/v3/resources.pyi index 7a3f0da5c..18665eeaf 100644 --- a/googleapiclient-stubs/_apis/translate/v3/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/resources.pyi @@ -289,6 +289,7 @@ class TranslateResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -358,6 +359,13 @@ class TranslateResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def refineText( + self, + *, + parent: str, + body: RefineTextRequest = ..., + **kwargs: typing.Any, + ) -> RefineTextResponseHttpRequest: ... def romanizeText( self, *, @@ -598,6 +606,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class RefineTextResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RefineTextResponse: ... + @typing.type_check_only class RomanizeTextResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi index fd16f0448..7016f2a09 100644 --- a/googleapiclient-stubs/_apis/translate/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v3/schemas.pyi @@ -65,6 +65,7 @@ class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): inputConfigs: _list[BatchDocumentInputConfig] models: dict[str, typing.Any] outputConfig: BatchDocumentOutputConfig + pdfNativeOnly: bool sourceLanguageCode: str targetLanguageCodes: _list[str] @@ -105,6 +106,7 @@ class DatasetOutputConfig(typing_extensions.TypedDict, total=False): @typing.type_check_only class DetectLanguageRequest(typing_extensions.TypedDict, total=False): content: str + documentInputConfig: DocumentInputConfig labels: dict[str, typing.Any] mimeType: str model: str @@ -294,6 +296,7 @@ class ListModelsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -343,6 +346,21 @@ class ReferenceSentencePair(typing_extensions.TypedDict, total=False): class ReferenceSentencePairList(typing_extensions.TypedDict, total=False): referenceSentencePairs: _list[ReferenceSentencePair] +@typing.type_check_only +class RefineTextRequest(typing_extensions.TypedDict, total=False): + refinementEntries: _list[RefinementEntry] + sourceLanguageCode: str + targetLanguageCode: str + +@typing.type_check_only +class RefineTextResponse(typing_extensions.TypedDict, total=False): + refinedTranslations: _list[str] + +@typing.type_check_only +class RefinementEntry(typing_extensions.TypedDict, total=False): + originalTranslation: str + sourceText: str + @typing.type_check_only class Romanization(typing_extensions.TypedDict, total=False): detectedLanguageCode: str diff --git a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi index f9db2d843..dbc7e7189 100644 --- a/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/translate/v3beta1/resources.pyi @@ -65,6 +65,7 @@ class TranslateResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -127,6 +128,13 @@ class TranslateResource(googleapiclient.discovery.Resource): previous_request: ListLocationsResponseHttpRequest, previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... + def refineText( + self, + *, + parent: str, + body: RefineTextRequest = ..., + **kwargs: typing.Any, + ) -> RefineTextResponseHttpRequest: ... def translateDocument( self, *, @@ -242,6 +250,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class RefineTextResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> RefineTextResponse: ... + @typing.type_check_only class SupportedLanguagesHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi b/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi index d3c3bf9a7..d7f84b422 100644 --- a/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/translate/v3beta1/schemas.pyi @@ -22,6 +22,7 @@ class BatchTranslateDocumentRequest(typing_extensions.TypedDict, total=False): inputConfigs: _list[BatchDocumentInputConfig] models: dict[str, typing.Any] outputConfig: BatchDocumentOutputConfig + pdfNativeOnly: bool sourceLanguageCode: str targetLanguageCodes: _list[str] @@ -124,6 +125,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): @@ -145,6 +147,21 @@ class Operation(typing_extensions.TypedDict, total=False): class OutputConfig(typing_extensions.TypedDict, total=False): gcsDestination: GcsDestination +@typing.type_check_only +class RefineTextRequest(typing_extensions.TypedDict, total=False): + refinementEntries: _list[RefinementEntry] + sourceLanguageCode: str + targetLanguageCode: str + +@typing.type_check_only +class RefineTextResponse(typing_extensions.TypedDict, total=False): + refinedTranslations: _list[str] + +@typing.type_check_only +class RefinementEntry(typing_extensions.TypedDict, total=False): + originalTranslation: str + sourceText: str + @typing.type_check_only class Status(typing_extensions.TypedDict, total=False): code: int diff --git a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi index 28fa11765..31398d6bc 100644 --- a/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/travelimpactmodel/v1/schemas.pyi @@ -78,6 +78,36 @@ class Market(typing_extensions.TypedDict, total=False): destination: str origin: str +@typing.type_check_only +class McpToolDataHandlingProfile(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 McpToolLifecycleProfile(typing_extensions.TypedDict, total=False): + launchState: typing_extensions.Literal[ + "LAUNCH_STATE_UNSPECIFIED", + "LAUNCH_STATE_DEVELOPMENT", + "LAUNCH_STATE_PRODUCTION_PREVIEW", + "LAUNCH_STATE_GENERAL_AVAILABILITY", + ] + @typing.type_check_only class ModelVersion(typing_extensions.TypedDict, total=False): dated: str diff --git a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi index 5d3c23e6d..07f9f6d8e 100644 --- a/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi +++ b/googleapiclient-stubs/_apis/verifiedaccess/v2/schemas.pyi @@ -119,6 +119,7 @@ class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): "CHROME_BROWSER_HW_KEY", "CHROME_BROWSER_OS_KEY", "CHROME_BROWSER_NO_KEY", + "CHROME_OS_NO_KEY", ] profileCustomerId: str profileKeyTrustLevel: typing_extensions.Literal[ @@ -128,6 +129,7 @@ class VerifyChallengeResponseResult(typing_extensions.TypedDict, total=False): "CHROME_BROWSER_HW_KEY", "CHROME_BROWSER_OS_KEY", "CHROME_BROWSER_NO_KEY", + "CHROME_OS_NO_KEY", ] profilePermanentId: str signedPublicKeyAndChallenge: str diff --git a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi index e245fb56d..9d270823b 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1/schemas.pyi @@ -306,6 +306,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): networkTags: _list[str] secureBoot: bool serviceAccount: str + storagePool: str targetProject: str vmName: str zone: str @@ -350,6 +351,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): project: str secureBoot: bool serviceAccount: str + storagePool: str vmName: str zone: str @@ -419,7 +421,8 @@ class CycleStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DataDiskImageImport(typing_extensions.TypedDict, total=False): ... +class DataDiskImageImport(typing_extensions.TypedDict, total=False): + guestOsFeatures: _list[str] @typing.type_check_only class DatacenterConnector(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi index ab8ca3d97..d55712806 100644 --- a/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmmigration/v1alpha1/schemas.pyi @@ -308,6 +308,7 @@ class ComputeEngineTargetDefaults(typing_extensions.TypedDict, total=False): networkTags: _list[str] secureBoot: bool serviceAccount: str + storagePool: str targetProject: str vmName: str zone: str @@ -352,6 +353,7 @@ class ComputeEngineTargetDetails(typing_extensions.TypedDict, total=False): project: str secureBoot: bool serviceAccount: str + storagePool: str vmName: str zone: str @@ -425,7 +427,8 @@ class CycleStep(typing_extensions.TypedDict, total=False): startTime: str @typing.type_check_only -class DataDiskImageImport(typing_extensions.TypedDict, total=False): ... +class DataDiskImageImport(typing_extensions.TypedDict, total=False): + guestOsFeatures: _list[str] @typing.type_check_only class DatacenterConnector(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi index 1ec95d4ef..0edc2ba1f 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/resources.pyi @@ -38,6 +38,54 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): previous_response: ListAnnouncementsResponse, ) -> ListAnnouncementsResponseHttpRequest | None: ... + @typing.type_check_only + class DatastoresResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: Datastore = ..., + datastoreId: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def delete( + self, + *, + name: str, + etag: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + def get( + self, *, name: str, **kwargs: typing.Any + ) -> DatastoreHttpRequest: ... + def list( + self, + *, + parent: str, + filter: str = ..., + orderBy: str = ..., + pageSize: int = ..., + pageToken: str = ..., + requestId: str = ..., + **kwargs: typing.Any, + ) -> ListDatastoresResponseHttpRequest: ... + def list_next( + self, + previous_request: ListDatastoresResponseHttpRequest, + previous_response: ListDatastoresResponse, + ) -> ListDatastoresResponseHttpRequest | None: ... + def patch( + self, + *, + name: str, + body: Datastore = ..., + requestId: str = ..., + updateMask: str = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... + @typing.type_check_only class DnsBindPermissionResource(googleapiclient.discovery.Resource): def grant( @@ -248,6 +296,7 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( @@ -317,6 +366,13 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): previous_request: ListClustersResponseHttpRequest, previous_response: ListClustersResponse, ) -> ListClustersResponseHttpRequest | None: ... + def mountDatastore( + self, + *, + name: str, + body: MountDatastoreRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def patch( self, *, @@ -341,6 +397,13 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): body: TestIamPermissionsRequest = ..., **kwargs: typing.Any, ) -> TestIamPermissionsResponseHttpRequest: ... + def unmountDatastore( + self, + *, + name: str, + body: UnmountDatastoreRequest = ..., + **kwargs: typing.Any, + ) -> OperationHttpRequest: ... def nodes(self) -> NodesResource: ... @typing.type_check_only @@ -841,6 +904,7 @@ class VMwareEngineResource(googleapiclient.discovery.Resource): previous_response: ListLocationsResponse, ) -> ListLocationsResponseHttpRequest | None: ... def announcements(self) -> AnnouncementsResource: ... + def datastores(self) -> DatastoresResource: ... def dnsBindPermission(self) -> DnsBindPermissionResource: ... def networkPeerings(self) -> NetworkPeeringsResource: ... def networkPolicies(self) -> NetworkPoliciesResource: ... @@ -890,6 +954,14 @@ class CredentialsHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Credentials: ... +@typing.type_check_only +class DatastoreHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Datastore: ... + @typing.type_check_only class DnsBindPermissionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -964,6 +1036,14 @@ class ListClustersResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListClustersResponse: ... +@typing.type_check_only +class ListDatastoresResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListDatastoresResponse: ... + @typing.type_check_only class ListExternalAccessRulesResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi index 1a644c5d8..f083a127e 100644 --- a/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vmwareengine/v1/schemas.pyi @@ -63,6 +63,7 @@ class Binding(typing_extensions.TypedDict, total=False): class Cluster(typing_extensions.TypedDict, total=False): autoscalingSettings: AutoscalingSettings createTime: str + datastoreMountConfig: _list[DatastoreMountConfig] management: bool name: str nodeTypeConfigs: dict[str, typing.Any] @@ -85,6 +86,39 @@ class Credentials(typing_extensions.TypedDict, total=False): password: str username: str +@typing.type_check_only +class Datastore(typing_extensions.TypedDict, total=False): + clusters: _list[str] + createTime: str + description: str + etag: str + name: str + nfsDatastore: NfsDatastore + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "CREATING", "ACTIVE", "UPDATING", "DELETING" + ] + uid: str + updateTime: str + +@typing.type_check_only +class DatastoreMountConfig(typing_extensions.TypedDict, total=False): + accessMode: typing_extensions.Literal[ + "ACCESS_MODE_UNSPECIFIED", "READ_ONLY", "READ_WRITE" + ] + datastore: str + datastoreNetwork: DatastoreNetwork + fileShare: str + nfsVersion: typing_extensions.Literal["NFS_VERSION_UNSPECIFIED", "NFS_V3"] + securityType: typing_extensions.Literal["SECURITY_TYPE_UNSPECIFIED"] + servers: _list[str] + +@typing.type_check_only +class DatastoreNetwork(typing_extensions.TypedDict, total=False): + connectionCount: int + mtu: int + networkPeering: str + subnet: str + @typing.type_check_only class DnsBindPermission(typing_extensions.TypedDict, total=False): name: str @@ -150,6 +184,14 @@ class ForwardingRule(typing_extensions.TypedDict, total=False): domain: str nameServers: _list[str] +@typing.type_check_only +class GoogleFileService(typing_extensions.TypedDict, total=False): + filestoreInstance: str + netappVolume: str + +@typing.type_check_only +class GoogleVmwareFileService(typing_extensions.TypedDict, total=False): ... + @typing.type_check_only class GrantDnsBindPermissionRequest(typing_extensions.TypedDict, total=False): principal: Principal @@ -197,6 +239,12 @@ class ListClustersResponse(typing_extensions.TypedDict, total=False): nextPageToken: str unreachable: _list[str] +@typing.type_check_only +class ListDatastoresResponse(typing_extensions.TypedDict, total=False): + datastores: _list[Datastore] + nextPageToken: str + unreachable: _list[str] + @typing.type_check_only class ListExternalAccessRulesResponse(typing_extensions.TypedDict, total=False): externalAccessRules: _list[ExternalAccessRule] @@ -259,6 +307,7 @@ class ListNodesResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListPeeringRoutesResponse(typing_extensions.TypedDict, total=False): @@ -348,6 +397,12 @@ class ManagementDnsZoneBinding(typing_extensions.TypedDict, total=False): vmwareEngineNetwork: str vpcNetwork: str +@typing.type_check_only +class MountDatastoreRequest(typing_extensions.TypedDict, total=False): + datastoreMountConfig: DatastoreMountConfig + ignoreColocation: bool + requestId: str + @typing.type_check_only class NetworkConfig(typing_extensions.TypedDict, total=False): dnsServerIp: str @@ -407,6 +462,12 @@ class NetworkService(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "UNPROVISIONED", "RECONCILING", "ACTIVE" ] +@typing.type_check_only +class NfsDatastore(typing_extensions.TypedDict, total=False): + googleFileService: GoogleFileService + googleVmwareFileService: GoogleVmwareFileService + thirdPartyFileService: ThirdPartyFileService + @typing.type_check_only class Node(typing_extensions.TypedDict, total=False): customCoreCount: str @@ -619,6 +680,12 @@ class TestIamPermissionsRequest(typing_extensions.TypedDict, total=False): class TestIamPermissionsResponse(typing_extensions.TypedDict, total=False): permissions: _list[str] +@typing.type_check_only +class ThirdPartyFileService(typing_extensions.TypedDict, total=False): + fileShare: str + network: str + servers: _list[str] + @typing.type_check_only class Thresholds(typing_extensions.TypedDict, total=False): scaleIn: int @@ -650,6 +717,11 @@ class TimeWindow(typing_extensions.TypedDict, total=False): class UndeletePrivateCloudRequest(typing_extensions.TypedDict, total=False): requestId: str +@typing.type_check_only +class UnmountDatastoreRequest(typing_extensions.TypedDict, total=False): + datastore: str + requestId: str + @typing.type_check_only class Upgrade(typing_extensions.TypedDict, total=False): componentUpgrades: _list[VmwareUpgradeComponent] diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi index f3de0000c..8514660a8 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1/resources.pyi @@ -67,6 +67,7 @@ class ServerlessVPCAccessResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi index ebacd565c..f3522042c 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1/schemas.pyi @@ -34,6 +34,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi index f3de0000c..8514660a8 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/resources.pyi @@ -67,6 +67,7 @@ class ServerlessVPCAccessResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi index e86fe0e49..2bd4bd87d 100644 --- a/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi +++ b/googleapiclient-stubs/_apis/vpcaccess/v1beta1/schemas.pyi @@ -36,6 +36,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class Location(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi index 74bc72e8c..896dcfabf 100644 --- a/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/walletobjects/v1/schemas.pyi @@ -97,8 +97,10 @@ class BarcodeSectionDetail(typing_extensions.TypedDict, total=False): class Blobstore2Info(typing_extensions.TypedDict, total=False): blobGeneration: str blobId: str + downloadExternalReadToken: str downloadReadHandle: str readToken: str + uploadFragmentListCreationInfo: str uploadMetadataContainer: str @typing.type_check_only diff --git a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi index fb3fe75e7..94c87ebb0 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/resources.pyi @@ -32,6 +32,7 @@ class WorkflowsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi index b0f54928a..149aebee6 100644 --- a/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1/schemas.pyi @@ -16,6 +16,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListWorkflowRevisionsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi index b1f814446..776a6e3a6 100644 --- a/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1beta/resources.pyi @@ -32,6 +32,7 @@ class WorkflowsResource(googleapiclient.discovery.Resource): filter: str = ..., pageSize: int = ..., pageToken: str = ..., + returnPartialSuccess: bool = ..., **kwargs: typing.Any, ) -> ListOperationsResponseHttpRequest: ... def list_next( diff --git a/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi index c4f5899e0..38dc9e2db 100644 --- a/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workflows/v1beta/schemas.pyi @@ -16,6 +16,7 @@ class ListLocationsResponse(typing_extensions.TypedDict, total=False): class ListOperationsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str operations: _list[Operation] + unreachable: _list[str] @typing.type_check_only class ListWorkflowsResponse(typing_extensions.TypedDict, total=False): diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi index fd60edb00..9d6162c36 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/resources.pyi @@ -19,6 +19,15 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): class LocationsResource(googleapiclient.discovery.Resource): @typing.type_check_only class DiscoveredprofilesResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class HealthResource(googleapiclient.discovery.Resource): + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkloadProfileHealthHttpRequest: ... + + def get( + self, *, name: str, **kwargs: typing.Any + ) -> WorkloadProfileHttpRequest: ... def list( self, *, @@ -33,6 +42,7 @@ class WorkloadManagerResource(googleapiclient.discovery.Resource): previous_request: ListDiscoveredProfilesResponseHttpRequest, previous_response: ListDiscoveredProfilesResponse, ) -> ListDiscoveredProfilesResponseHttpRequest | None: ... + def health(self) -> HealthResource: ... @typing.type_check_only class EvaluationsResource(googleapiclient.discovery.Resource): @@ -359,6 +369,22 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class WorkloadProfileHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkloadProfile: ... + +@typing.type_check_only +class WorkloadProfileHealthHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> WorkloadProfileHealth: ... + @typing.type_check_only class WriteInsightResponseHttpRequest(googleapiclient.http.HttpRequest): def execute( diff --git a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi index 90f3bf95d..c78990c53 100644 --- a/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workloadmanager/v1/schemas.pyi @@ -113,6 +113,18 @@ class Command(typing_extensions.TypedDict, total=False): agentCommand: AgentCommand shellCommand: ShellCommand +@typing.type_check_only +class ComponentHealth(typing_extensions.TypedDict, total=False): + component: str + componentHealthChecks: _list[HealthCheck] + componentHealthType: typing_extensions.Literal[ + "TYPE_UNSPECIFIED", "TYPE_REQUIRED", "TYPE_OPTIONAL", "TYPE_SPECIAL" + ] + state: typing_extensions.Literal[ + "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "CRITICAL", "UNSUPPORTED" + ] + subComponentsHealth: _list[ComponentHealth] + @typing.type_check_only class DatabaseProperties(typing_extensions.TypedDict, total=False): backupProperties: BackupProperties @@ -188,6 +200,16 @@ class ExternalDataSources(typing_extensions.TypedDict, total=False): class GceInstanceFilter(typing_extensions.TypedDict, total=False): serviceAccounts: _list[str] +@typing.type_check_only +class HealthCheck(typing_extensions.TypedDict, total=False): + message: str + metric: str + resource: CloudResource + source: str + state: typing_extensions.Literal[ + "STATE_UNSPECIFIED", "PASSED", "FAILED", "DEGRADED", "SKIPPED", "UNSUPPORTED" + ] + @typing.type_check_only class IAMPermission(typing_extensions.TypedDict, total=False): granted: bool @@ -363,6 +385,11 @@ class RuleExecutionResult(typing_extensions.TypedDict, total=False): "STATE_UNSPECIFIED", "STATE_SUCCESS", "STATE_FAILURE", "STATE_SKIPPED" ] +@typing.type_check_only +class RuleOutput(typing_extensions.TypedDict, total=False): + details: dict[str, typing.Any] + message: str + @typing.type_check_only class RunEvaluationRequest(typing_extensions.TypedDict, total=False): execution: Execution @@ -689,6 +716,7 @@ class UpcomingMaintenanceEvent(typing_extensions.TypedDict, total=False): class ViolationDetails(typing_extensions.TypedDict, total=False): asset: str observed: dict[str, typing.Any] + ruleOutput: _list[RuleOutput] serviceAccount: str @typing.type_check_only @@ -699,6 +727,14 @@ class WorkloadProfile(typing_extensions.TypedDict, total=False): sapWorkload: SapWorkload workloadType: typing_extensions.Literal["WORKLOAD_TYPE_UNSPECIFIED", "S4_HANA"] +@typing.type_check_only +class WorkloadProfileHealth(typing_extensions.TypedDict, total=False): + checkTime: str + componentsHealth: _list[ComponentHealth] + state: typing_extensions.Literal[ + "HEALTH_STATE_UNSPECIFIED", "HEALTHY", "UNHEALTHY", "CRITICAL", "UNSUPPORTED" + ] + @typing.type_check_only class WriteInsightRequest(typing_extensions.TypedDict, total=False): agentVersion: str diff --git a/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi b/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi index 257b0e572..bb4322d28 100644 --- a/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi +++ b/googleapiclient-stubs/_apis/workspaceevents/v1/resources.pyi @@ -13,6 +13,12 @@ _list = list @typing.type_check_only class WorkspaceEventsResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class MessageResource(googleapiclient.discovery.Resource): + def stream( + self, *, body: SendMessageRequest = ..., **kwargs: typing.Any + ) -> StreamResponseHttpRequest: ... + @typing.type_check_only class OperationsResource(googleapiclient.discovery.Resource): def get(self, *, name: str, **kwargs: typing.Any) -> OperationHttpRequest: ... @@ -68,6 +74,56 @@ class WorkspaceEventsResource(googleapiclient.discovery.Resource): **kwargs: typing.Any, ) -> OperationHttpRequest: ... + @typing.type_check_only + class TasksResource(googleapiclient.discovery.Resource): + @typing.type_check_only + class PushNotificationConfigsResource(googleapiclient.discovery.Resource): + def create( + self, + *, + parent: str, + body: TaskPushNotificationConfig = ..., + configId: str = ..., + tenant: str = ..., + **kwargs: typing.Any, + ) -> TaskPushNotificationConfigHttpRequest: ... + def delete( + self, *, name: str, tenant: str = ..., **kwargs: typing.Any + ) -> EmptyHttpRequest: ... + def get( + self, *, name: str, tenant: str = ..., **kwargs: typing.Any + ) -> TaskPushNotificationConfigHttpRequest: ... + def list( + self, + *, + parent: str, + pageSize: int = ..., + pageToken: str = ..., + tenant: str = ..., + **kwargs: typing.Any, + ) -> ListTaskPushNotificationConfigResponseHttpRequest: ... + def list_next( + self, + previous_request: ListTaskPushNotificationConfigResponseHttpRequest, + previous_response: ListTaskPushNotificationConfigResponse, + ) -> ListTaskPushNotificationConfigResponseHttpRequest | None: ... + + def cancel( + self, *, name: str, body: CancelTaskRequest = ..., **kwargs: typing.Any + ) -> TaskHttpRequest: ... + def get( + self, + *, + name: str, + historyLength: int = ..., + tenant: str = ..., + **kwargs: typing.Any, + ) -> TaskHttpRequest: ... + def subscribe( + self, *, name: str, tenant: str = ..., **kwargs: typing.Any + ) -> StreamResponseHttpRequest: ... + def pushNotificationConfigs(self) -> PushNotificationConfigsResource: ... + def new_batch_http_request( self, callback: collections.abc.Callable[ @@ -80,8 +136,18 @@ class WorkspaceEventsResource(googleapiclient.discovery.Resource): ] | None = None, ) -> googleapiclient.http.BatchHttpRequest: ... + def message(self) -> MessageResource: ... def operations(self) -> OperationsResource: ... def subscriptions(self) -> SubscriptionsResource: ... + def tasks(self) -> TasksResource: ... + +@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 ListSubscriptionsResponseHttpRequest(googleapiclient.http.HttpRequest): @@ -91,6 +157,16 @@ class ListSubscriptionsResponseHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> ListSubscriptionsResponse: ... +@typing.type_check_only +class ListTaskPushNotificationConfigResponseHttpRequest( + googleapiclient.http.HttpRequest +): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> ListTaskPushNotificationConfigResponse: ... + @typing.type_check_only class OperationHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -99,6 +175,14 @@ class OperationHttpRequest(googleapiclient.http.HttpRequest): num_retries: int = 0, ) -> Operation: ... +@typing.type_check_only +class StreamResponseHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> StreamResponse: ... + @typing.type_check_only class SubscriptionHttpRequest(googleapiclient.http.HttpRequest): def execute( @@ -106,3 +190,19 @@ class SubscriptionHttpRequest(googleapiclient.http.HttpRequest): http: httplib2.Http | googleapiclient.http.HttpMock | None = None, num_retries: int = 0, ) -> Subscription: ... + +@typing.type_check_only +class TaskHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> Task: ... + +@typing.type_check_only +class TaskPushNotificationConfigHttpRequest(googleapiclient.http.HttpRequest): + def execute( + self, + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, + num_retries: int = 0, + ) -> TaskPushNotificationConfig: ... diff --git a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi index dd684f729..75e1231aa 100644 --- a/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workspaceevents/v1/schemas.pyi @@ -4,11 +4,58 @@ import typing_extensions _list = list +@typing.type_check_only +class Artifact(typing_extensions.TypedDict, total=False): + artifactId: str + description: str + extensions: _list[str] + metadata: dict[str, typing.Any] + name: str + parts: _list[Part] + +@typing.type_check_only +class AuthenticationInfo(typing_extensions.TypedDict, total=False): + credentials: str + schemes: _list[str] + +@typing.type_check_only +class CancelTaskRequest(typing_extensions.TypedDict, total=False): + tenant: str + +@typing.type_check_only +class DataPart(typing_extensions.TypedDict, total=False): + data: dict[str, typing.Any] + +@typing.type_check_only +class Empty(typing_extensions.TypedDict, total=False): ... + +@typing.type_check_only +class FilePart(typing_extensions.TypedDict, total=False): + fileWithBytes: str + fileWithUri: str + mimeType: str + name: str + @typing.type_check_only class ListSubscriptionsResponse(typing_extensions.TypedDict, total=False): nextPageToken: str subscriptions: _list[Subscription] +@typing.type_check_only +class ListTaskPushNotificationConfigResponse(typing_extensions.TypedDict, total=False): + configs: _list[TaskPushNotificationConfig] + nextPageToken: str + +@typing.type_check_only +class Message(typing_extensions.TypedDict, total=False): + content: _list[Part] + 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 NotificationEndpoint(typing_extensions.TypedDict, total=False): pubsubTopic: str @@ -21,20 +68,55 @@ class Operation(typing_extensions.TypedDict, total=False): name: str response: dict[str, typing.Any] +@typing.type_check_only +class Part(typing_extensions.TypedDict, total=False): + data: DataPart + file: FilePart + metadata: dict[str, typing.Any] + text: str + @typing.type_check_only class PayloadOptions(typing_extensions.TypedDict, total=False): fieldMask: str includeResource: bool +@typing.type_check_only +class PushNotificationConfig(typing_extensions.TypedDict, total=False): + authentication: AuthenticationInfo + id: str + token: str + url: str + @typing.type_check_only class ReactivateSubscriptionRequest(typing_extensions.TypedDict, total=False): ... +@typing.type_check_only +class SendMessageConfiguration(typing_extensions.TypedDict, total=False): + acceptedOutputModes: _list[str] + blocking: bool + historyLength: int + pushNotification: PushNotificationConfig + +@typing.type_check_only +class SendMessageRequest(typing_extensions.TypedDict, total=False): + configuration: SendMessageConfiguration + message: Message + metadata: dict[str, typing.Any] + tenant: 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 StreamResponse(typing_extensions.TypedDict, total=False): + artifactUpdate: TaskArtifactUpdateEvent + message: Message + statusUpdate: TaskStatusUpdateEvent + task: Task + @typing.type_check_only class Subscription(typing_extensions.TypedDict, total=False): authority: str @@ -63,3 +145,50 @@ class Subscription(typing_extensions.TypedDict, total=False): ttl: str uid: str updateTime: str + +@typing.type_check_only +class Task(typing_extensions.TypedDict, total=False): + artifacts: _list[Artifact] + contextId: str + history: _list[Message] + id: str + metadata: dict[str, typing.Any] + status: TaskStatus + +@typing.type_check_only +class TaskArtifactUpdateEvent(typing_extensions.TypedDict, total=False): + append: bool + artifact: Artifact + contextId: str + lastChunk: bool + metadata: dict[str, typing.Any] + taskId: str + +@typing.type_check_only +class TaskPushNotificationConfig(typing_extensions.TypedDict, total=False): + name: str + pushNotificationConfig: PushNotificationConfig + +@typing.type_check_only +class TaskStatus(typing_extensions.TypedDict, total=False): + message: Message + 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 TaskStatusUpdateEvent(typing_extensions.TypedDict, total=False): + contextId: str + final: bool + metadata: dict[str, typing.Any] + status: TaskStatus + taskId: str diff --git a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi index fabdc5969..373f29144 100644 --- a/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1/schemas.pyi @@ -77,6 +77,15 @@ class GatewayConfig(typing_extensions.TypedDict, total=False): class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): enableConfidentialCompute: bool +@typing.type_check_only +class GceHyperdiskBalancedHighAvailability(typing_extensions.TypedDict, total=False): + archiveTimeout: str + reclaimPolicy: typing_extensions.Literal[ + "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" + ] + sizeGb: int + sourceSnapshot: str + @typing.type_check_only class GceInstance(typing_extensions.TypedDict, total=False): accelerators: _list[Accelerator] @@ -86,12 +95,14 @@ class GceInstance(typing_extensions.TypedDict, total=False): disablePublicIpAddresses: bool disableSsh: bool enableNestedVirtualization: bool + instanceMetadata: dict[str, typing.Any] machineType: str poolSize: int pooledInstances: int serviceAccount: str serviceAccountScopes: _list[str] shieldedInstanceConfig: GceShieldedInstanceConfig + startupScriptUri: str tags: _list[str] vmTags: dict[str, typing.Any] @@ -211,6 +222,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class PersistentDirectory(typing_extensions.TypedDict, total=False): + gceHd: GceHyperdiskBalancedHighAvailability gcePd: GceRegionalPersistentDisk mountPath: str diff --git a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi index d05ae9723..64d224249 100644 --- a/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi +++ b/googleapiclient-stubs/_apis/workstations/v1beta/schemas.pyi @@ -78,6 +78,15 @@ class GatewayConfig(typing_extensions.TypedDict, total=False): class GceConfidentialInstanceConfig(typing_extensions.TypedDict, total=False): enableConfidentialCompute: bool +@typing.type_check_only +class GceHyperdiskBalancedHighAvailability(typing_extensions.TypedDict, total=False): + archiveTimeout: str + reclaimPolicy: typing_extensions.Literal[ + "RECLAIM_POLICY_UNSPECIFIED", "DELETE", "RETAIN" + ] + sizeGb: int + sourceSnapshot: str + @typing.type_check_only class GceInstance(typing_extensions.TypedDict, total=False): accelerators: _list[Accelerator] @@ -87,6 +96,7 @@ class GceInstance(typing_extensions.TypedDict, total=False): disablePublicIpAddresses: bool disableSsh: bool enableNestedVirtualization: bool + instanceMetadata: dict[str, typing.Any] machineType: str poolSize: int pooledInstances: int @@ -94,6 +104,7 @@ class GceInstance(typing_extensions.TypedDict, total=False): serviceAccount: str serviceAccountScopes: _list[str] shieldedInstanceConfig: GceShieldedInstanceConfig + startupScriptUri: str tags: _list[str] vmTags: dict[str, typing.Any] @@ -112,6 +123,7 @@ class GcePersistentDisk(typing_extensions.TypedDict, total=False): @typing.type_check_only class GceRegionalPersistentDisk(typing_extensions.TypedDict, total=False): + archiveTimeout: str diskType: str fsType: str reclaimPolicy: typing_extensions.Literal[ @@ -205,6 +217,7 @@ class OperationMetadata(typing_extensions.TypedDict, total=False): @typing.type_check_only class PersistentDirectory(typing_extensions.TypedDict, total=False): + gceHd: GceHyperdiskBalancedHighAvailability gcePd: GceRegionalPersistentDisk mountPath: str diff --git a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi index 983f5bb40..dfa2eff72 100644 --- a/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtube/v3/schemas.pyi @@ -1409,6 +1409,17 @@ class LiveChatFanFundingEventDetails(typing_extensions.TypedDict, total=False): currency: str userComment: str +@typing.type_check_only +class LiveChatGiftDetails(typing_extensions.TypedDict, total=False): + altText: str + comboCount: int + giftDuration: str + giftName: str + giftUrl: str + hasVisualEffect: bool + jewelsCount: int + language: str + @typing.type_check_only class LiveChatGiftMembershipReceivedDetails(typing_extensions.TypedDict, total=False): associatedMembershipGiftingMessageId: str @@ -1472,6 +1483,7 @@ class LiveChatMessageSnippet(typing_extensions.TypedDict, total=False): authorChannelId: str displayMessage: str fanFundingEventDetails: LiveChatFanFundingEventDetails + giftDetails: LiveChatGiftDetails giftMembershipReceivedDetails: LiveChatGiftMembershipReceivedDetails hasDisplayContent: bool liveChatId: str @@ -1503,6 +1515,7 @@ class LiveChatMessageSnippet(typing_extensions.TypedDict, total=False): "superChatEvent", "superStickerEvent", "pollEvent", + "giftEvent", ] userBannedDetails: LiveChatUserBannedMessageDetails diff --git a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi index 35b77c39e..7c6890cbe 100644 --- a/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi +++ b/googleapiclient-stubs/_apis/youtubereporting/v1/schemas.pyi @@ -11,8 +11,10 @@ class Empty(typing_extensions.TypedDict, total=False): ... class GdataBlobstore2Info(typing_extensions.TypedDict, total=False): blobGeneration: str blobId: str + downloadExternalReadToken: str downloadReadHandle: str readToken: str + uploadFragmentListCreationInfo: str uploadMetadataContainer: str @typing.type_check_only diff --git a/googleapiclient-stubs/discovery.pyi b/googleapiclient-stubs/discovery.pyi index 8154ecfc0..06fa6edd7 100644 --- a/googleapiclient-stubs/discovery.pyi +++ b/googleapiclient-stubs/discovery.pyi @@ -64,6 +64,7 @@ import googleapiclient._apis.appengine.v1beta4 import googleapiclient._apis.appengine.v1beta5 import googleapiclient._apis.apphub.v1 import googleapiclient._apis.apphub.v1alpha +import googleapiclient._apis.appsmarket.v2 import googleapiclient._apis.area120tables.v1alpha1 import googleapiclient._apis.areainsights.v1 import googleapiclient._apis.artifactregistry.v1 @@ -104,12 +105,15 @@ import googleapiclient._apis.books.v1 import googleapiclient._apis.businessprofileperformance.v1 import googleapiclient._apis.calendar.v3 import googleapiclient._apis.certificatemanager.v1 +import googleapiclient._apis.ces.v1 +import googleapiclient._apis.ces.v1beta import googleapiclient._apis.chat.v1 import googleapiclient._apis.checks.v1alpha import googleapiclient._apis.chromemanagement.v1 import googleapiclient._apis.chromepolicy.v1 import googleapiclient._apis.chromeuxreport.v1 import googleapiclient._apis.chromewebstore.v1_1 +import googleapiclient._apis.chromewebstore.v2 import googleapiclient._apis.civicinfo.v2 import googleapiclient._apis.classroom.v1 import googleapiclient._apis.cloudasset.v1 @@ -304,6 +308,7 @@ import googleapiclient._apis.groupssettings.v1 import googleapiclient._apis.healthcare.v1 import googleapiclient._apis.healthcare.v1beta1 import googleapiclient._apis.homegraph.v1 +import googleapiclient._apis.hypercomputecluster.v1 import googleapiclient._apis.iam.v1 import googleapiclient._apis.iam.v2 import googleapiclient._apis.iam.v2beta @@ -436,6 +441,8 @@ import googleapiclient._apis.policysimulator.v1beta import googleapiclient._apis.policysimulator.v1beta1 import googleapiclient._apis.policytroubleshooter.v1 import googleapiclient._apis.policytroubleshooter.v1beta +import googleapiclient._apis.policytroubleshooter.v3 +import googleapiclient._apis.policytroubleshooter.v3beta import googleapiclient._apis.pollen.v1 import googleapiclient._apis.poly.v1 import googleapiclient._apis.privateca.v1 @@ -522,6 +529,7 @@ import googleapiclient._apis.tasks.v1 import googleapiclient._apis.testing.v1 import googleapiclient._apis.texttospeech.v1 import googleapiclient._apis.texttospeech.v1beta1 +import googleapiclient._apis.threatintelligence.v1beta import googleapiclient._apis.toolresults.v1beta3 import googleapiclient._apis.tpu.v1 import googleapiclient._apis.tpu.v1alpha1 @@ -1742,6 +1750,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.apphub.v1alpha.AppHubResource: ... @overload +def build( + serviceName: Literal["appsmarket"], + 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.appsmarket.v2.GSuiteMarketplaceAPIResource: ... +@overload def build( serviceName: Literal["area120tables"], version: Literal["v1alpha1"], @@ -2544,6 +2572,46 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.certificatemanager.v1.CertificateManagerResource: ... @overload +def build( + serviceName: Literal["ces"], + version: Literal["v1"], + 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.ces.v1.CustomerEngagementSuiteResource: ... +@overload +def build( + serviceName: Literal["ces"], + version: Literal["v1beta"], + 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.ces.v1beta.CustomerEngagementSuiteResource: ... +@overload def build( serviceName: Literal["chat"], version: Literal["v1"], @@ -2664,6 +2732,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.chromewebstore.v1_1.ChromewebstoreResource: ... @overload +def build( + serviceName: Literal["chromewebstore"], + 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.chromewebstore.v2.ChromewebstoreResource: ... +@overload def build( serviceName: Literal["civicinfo"], version: Literal["v2"], @@ -6075,8 +6163,8 @@ def build( ): ... @overload def build( - serviceName: Literal["gameservices"], - version: Literal["v1"], + serviceName: Literal["gamesManagement"], + version: Literal["v1management"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6092,11 +6180,11 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gameservices.v1.GameServicesResource: ... +) -> googleapiclient._apis.gamesManagement.v1management.GamesManagementResource: ... @overload def build( serviceName: Literal["gameservices"], - version: Literal["v1beta"], + version: Literal["v1"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6112,11 +6200,11 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gameservices.v1beta.GameServicesResource: ... +) -> googleapiclient._apis.gameservices.v1.GameServicesResource: ... @overload def build( - serviceName: Literal["gamesManagement"], - version: Literal["v1management"], + serviceName: Literal["gameservices"], + version: Literal["v1beta"], http: httplib2.Http | HttpMock | None = None, discoveryServiceUrl: str | None = None, developerKey: str | None = None, @@ -6132,7 +6220,7 @@ def build( adc_key_path: str | None = None, num_retries: int = 1, static_discovery: bool | None = None, -) -> googleapiclient._apis.gamesManagement.v1management.GamesManagementResource: ... +) -> googleapiclient._apis.gameservices.v1beta.GameServicesResource: ... @overload def build( serviceName: Literal["genomics"], @@ -6554,6 +6642,26 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.homegraph.v1.HomeGraphServiceResource: ... @overload +def build( + serviceName: Literal["hypercomputecluster"], + version: Literal["v1"], + 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.hypercomputecluster.v1.HypercomputeClusterResource: ... +@overload def build( serviceName: Literal["iam"], version: Literal["v1"], @@ -9202,6 +9310,46 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.policytroubleshooter.v1beta.PolicyTroubleshooterResource: ... @overload +def build( + serviceName: Literal["policytroubleshooter"], + version: Literal["v3"], + 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.policytroubleshooter.v3.PolicyTroubleshooterResource: ... +@overload +def build( + serviceName: Literal["policytroubleshooter"], + version: Literal["v3beta"], + 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.policytroubleshooter.v3beta.PolicyTroubleshooterResource: ... +@overload def build( serviceName: Literal["pollen"], version: Literal["v1"], @@ -10928,6 +11076,28 @@ def build( static_discovery: bool | None = None, ) -> googleapiclient._apis.texttospeech.v1beta1.TexttospeechResource: ... @overload +def build( + serviceName: Literal["threatintelligence"], + version: Literal["v1beta"], + 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.threatintelligence.v1beta.ThreatIntelligenceServiceResource +): ... +@overload def build( serviceName: Literal["toolresults"], version: Literal["v1beta3"], diff --git a/pyproject.toml b/pyproject.toml index 1e8b1e850..ceae12785 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "google-api-python-client-stubs" -version = "1.31.0" +version = "1.32.0" description = "Type stubs for google-api-python-client" authors = [ { name = "Henrik Bruåsdal", email = "henrik.bruasdal@gmail.com" }, @@ -13,7 +13,7 @@ classifiers = [ "Typing :: Stubs Only", ] dependencies = [ - "google-api-python-client>=2.186.0", + "google-api-python-client>=2.190.0", "types-httplib2>=0.22.0.2", "typing-extensions>=3.10.0", ] diff --git a/uv.lock b/uv.lock index 935c0161b..0bb5bdf19 100644 --- a/uv.lock +++ b/uv.lock @@ -3,144 +3,169 @@ revision = 3 requires-python = ">=3.7" resolution-markers = [ "python_full_version < '3.8'", - "python_full_version >= '3.9'", + "python_full_version >= '3.13'", + "python_full_version >= '3.9' and python_full_version < '3.13'", "python_full_version == '3.8.*'", ] [[package]] name = "cachetools" -version = "5.5.0" +version = "5.5.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c3/38/a0f315319737ecf45b4319a8cd1f3a908e29d9277b46942263292115eee7/cachetools-5.5.0.tar.gz", hash = "sha256:2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a", size = 27661, upload-time = "2024-08-18T20:28:44.639Z" } +sdist = { url = "https://files.pythonhosted.org/packages/6c/81/3747dad6b14fa2cf53fcf10548cf5aea6913e96fab41a3c198676f8948a5/cachetools-5.5.2.tar.gz", hash = "sha256:1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4", size = 28380, upload-time = "2025-02-20T21:01:19.524Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a4/07/14f8ad37f2d12a5ce41206c21820d8cb6561b728e51fad4530dff0552a67/cachetools-5.5.0-py3-none-any.whl", hash = "sha256:02134e8439cdc2ffb62023ce1debca2944c3f289d66bb17ead3ab3dede74b292", size = 9524, upload-time = "2024-08-18T20:28:43.404Z" }, + { url = "https://files.pythonhosted.org/packages/72/76/20fa66124dbe6be5cafeb312ece67de6b61dd91a0247d1ea13db4ebb33c2/cachetools-5.5.2-py3-none-any.whl", hash = "sha256:d26a22bcc62eb95c3beabd9f1ee5e820d3d2704fe2967cbe350e20c8ffcd3f0a", size = 10080, upload-time = "2025-02-20T21:01:16.647Z" }, ] [[package]] name = "certifi" -version = "2024.8.30" +version = "2026.1.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/b0/ee/9b19140fe824b367c04c5e1b369942dd754c4c5462d5674002f75c4dedc1/certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9", size = 168507, upload-time = "2024-08-30T01:55:04.365Z" } +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" } wheels = [ - { url = "https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8", size = 167321, upload-time = "2024-08-30T01:55:02.591Z" }, + { 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" }, ] [[package]] name = "charset-normalizer" -version = "3.3.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809, upload-time = "2023-11-01T04:04:59.997Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2b/61/095a0aa1a84d1481998b534177c8566fdc50bb1233ea9a0478cd3cc075bd/charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3", size = 194219, upload-time = "2023-11-01T04:02:29.048Z" }, - { url = "https://files.pythonhosted.org/packages/cc/94/f7cf5e5134175de79ad2059edf2adce18e0685ebdb9227ff0139975d0e93/charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027", size = 122521, upload-time = "2023-11-01T04:02:32.452Z" }, - { url = "https://files.pythonhosted.org/packages/46/6a/d5c26c41c49b546860cc1acabdddf48b0b3fb2685f4f5617ac59261b44ae/charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03", size = 120383, upload-time = "2023-11-01T04:02:34.11Z" }, - { url = "https://files.pythonhosted.org/packages/b8/60/e2f67915a51be59d4539ed189eb0a2b0d292bf79270410746becb32bc2c3/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d", size = 138223, upload-time = "2023-11-01T04:02:36.213Z" }, - { url = "https://files.pythonhosted.org/packages/05/8c/eb854996d5fef5e4f33ad56927ad053d04dc820e4a3d39023f35cad72617/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e", size = 148101, upload-time = "2023-11-01T04:02:38.067Z" }, - { url = "https://files.pythonhosted.org/packages/f6/93/bb6cbeec3bf9da9b2eba458c15966658d1daa8b982c642f81c93ad9b40e1/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6", size = 140699, upload-time = "2023-11-01T04:02:39.436Z" }, - { url = "https://files.pythonhosted.org/packages/da/f1/3702ba2a7470666a62fd81c58a4c40be00670e5006a67f4d626e57f013ae/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5", size = 142065, upload-time = "2023-11-01T04:02:41.357Z" }, - { url = "https://files.pythonhosted.org/packages/3f/ba/3f5e7be00b215fa10e13d64b1f6237eb6ebea66676a41b2bcdd09fe74323/charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537", size = 144505, upload-time = "2023-11-01T04:02:43.108Z" }, - { url = "https://files.pythonhosted.org/packages/33/c3/3b96a435c5109dd5b6adc8a59ba1d678b302a97938f032e3770cc84cd354/charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c", size = 139425, upload-time = "2023-11-01T04:02:45.427Z" }, - { url = "https://files.pythonhosted.org/packages/43/05/3bf613e719efe68fb3a77f9c536a389f35b95d75424b96b426a47a45ef1d/charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12", size = 145287, upload-time = "2023-11-01T04:02:46.705Z" }, - { url = "https://files.pythonhosted.org/packages/58/78/a0bc646900994df12e07b4ae5c713f2b3e5998f58b9d3720cce2aa45652f/charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f", size = 149929, upload-time = "2023-11-01T04:02:48.098Z" }, - { url = "https://files.pythonhosted.org/packages/eb/5c/97d97248af4920bc68687d9c3b3c0f47c910e21a8ff80af4565a576bd2f0/charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269", size = 141605, upload-time = "2023-11-01T04:02:49.605Z" }, - { url = "https://files.pythonhosted.org/packages/a8/31/47d018ef89f95b8aded95c589a77c072c55e94b50a41aa99c0a2008a45a4/charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519", size = 142646, upload-time = "2023-11-01T04:02:51.35Z" }, - { url = "https://files.pythonhosted.org/packages/ae/d5/4fecf1d58bedb1340a50f165ba1c7ddc0400252d6832ff619c4568b36cc0/charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73", size = 92846, upload-time = "2023-11-01T04:02:52.679Z" }, - { url = "https://files.pythonhosted.org/packages/a2/a0/4af29e22cb5942488cf45630cbdd7cefd908768e69bdd90280842e4e8529/charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09", size = 100343, upload-time = "2023-11-01T04:02:53.915Z" }, - { url = "https://files.pythonhosted.org/packages/68/77/02839016f6fbbf808e8b38601df6e0e66c17bbab76dff4613f7511413597/charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db", size = 191647, upload-time = "2023-11-01T04:02:55.329Z" }, - { url = "https://files.pythonhosted.org/packages/3e/33/21a875a61057165e92227466e54ee076b73af1e21fe1b31f1e292251aa1e/charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96", size = 121434, upload-time = "2023-11-01T04:02:57.173Z" }, - { url = "https://files.pythonhosted.org/packages/dd/51/68b61b90b24ca35495956b718f35a9756ef7d3dd4b3c1508056fa98d1a1b/charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e", size = 118979, upload-time = "2023-11-01T04:02:58.442Z" }, - { url = "https://files.pythonhosted.org/packages/e4/a6/7ee57823d46331ddc37dd00749c95b0edec2c79b15fc0d6e6efb532e89ac/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f", size = 136582, upload-time = "2023-11-01T04:02:59.776Z" }, - { url = "https://files.pythonhosted.org/packages/74/f1/0d9fe69ac441467b737ba7f48c68241487df2f4522dd7246d9426e7c690e/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574", size = 146645, upload-time = "2023-11-01T04:03:02.186Z" }, - { url = "https://files.pythonhosted.org/packages/05/31/e1f51c76db7be1d4aef220d29fbfa5dbb4a99165d9833dcbf166753b6dc0/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4", size = 139398, upload-time = "2023-11-01T04:03:04.255Z" }, - { url = "https://files.pythonhosted.org/packages/40/26/f35951c45070edc957ba40a5b1db3cf60a9dbb1b350c2d5bef03e01e61de/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8", size = 140273, upload-time = "2023-11-01T04:03:05.983Z" }, - { url = "https://files.pythonhosted.org/packages/07/07/7e554f2bbce3295e191f7e653ff15d55309a9ca40d0362fcdab36f01063c/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc", size = 142577, upload-time = "2023-11-01T04:03:07.567Z" }, - { url = "https://files.pythonhosted.org/packages/d8/b5/eb705c313100defa57da79277d9207dc8d8e45931035862fa64b625bfead/charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae", size = 137747, upload-time = "2023-11-01T04:03:08.886Z" }, - { url = "https://files.pythonhosted.org/packages/19/28/573147271fd041d351b438a5665be8223f1dd92f273713cb882ddafe214c/charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887", size = 143375, upload-time = "2023-11-01T04:03:10.613Z" }, - { url = "https://files.pythonhosted.org/packages/cf/7c/f3b682fa053cc21373c9a839e6beba7705857075686a05c72e0f8c4980ca/charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae", size = 148474, upload-time = "2023-11-01T04:03:11.973Z" }, - { url = "https://files.pythonhosted.org/packages/1e/49/7ab74d4ac537ece3bc3334ee08645e231f39f7d6df6347b29a74b0537103/charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce", size = 140232, upload-time = "2023-11-01T04:03:13.505Z" }, - { url = "https://files.pythonhosted.org/packages/2d/dc/9dacba68c9ac0ae781d40e1a0c0058e26302ea0660e574ddf6797a0347f7/charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f", size = 140859, upload-time = "2023-11-01T04:03:17.362Z" }, - { url = "https://files.pythonhosted.org/packages/6c/c2/4a583f800c0708dd22096298e49f887b49d9746d0e78bfc1d7e29816614c/charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab", size = 92509, upload-time = "2023-11-01T04:03:21.453Z" }, - { url = "https://files.pythonhosted.org/packages/57/ec/80c8d48ac8b1741d5b963797b7c0c869335619e13d4744ca2f67fc11c6fc/charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77", size = 99870, upload-time = "2023-11-01T04:03:22.723Z" }, - { url = "https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", size = 192892, upload-time = "2023-11-01T04:03:24.135Z" }, - { url = "https://files.pythonhosted.org/packages/2e/7d/2259318c202f3d17f3fe6438149b3b9e706d1070fe3fcbb28049730bb25c/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", size = 122213, upload-time = "2023-11-01T04:03:25.66Z" }, - { url = "https://files.pythonhosted.org/packages/3a/52/9f9d17c3b54dc238de384c4cb5a2ef0e27985b42a0e5cc8e8a31d918d48d/charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", size = 119404, upload-time = "2023-11-01T04:03:27.04Z" }, - { url = "https://files.pythonhosted.org/packages/99/b0/9c365f6d79a9f0f3c379ddb40a256a67aa69c59609608fe7feb6235896e1/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", size = 137275, upload-time = "2023-11-01T04:03:28.466Z" }, - { url = "https://files.pythonhosted.org/packages/91/33/749df346e93d7a30cdcb90cbfdd41a06026317bfbfb62cd68307c1a3c543/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", size = 147518, upload-time = "2023-11-01T04:03:29.82Z" }, - { url = "https://files.pythonhosted.org/packages/72/1a/641d5c9f59e6af4c7b53da463d07600a695b9824e20849cb6eea8a627761/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", size = 140182, upload-time = "2023-11-01T04:03:31.511Z" }, - { url = "https://files.pythonhosted.org/packages/ee/fb/14d30eb4956408ee3ae09ad34299131fb383c47df355ddb428a7331cfa1e/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", size = 141869, upload-time = "2023-11-01T04:03:32.887Z" }, - { url = "https://files.pythonhosted.org/packages/df/3e/a06b18788ca2eb6695c9b22325b6fde7dde0f1d1838b1792a0076f58fe9d/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", size = 144042, upload-time = "2023-11-01T04:03:34.412Z" }, - { url = "https://files.pythonhosted.org/packages/45/59/3d27019d3b447a88fe7e7d004a1e04be220227760264cc41b405e863891b/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", size = 138275, upload-time = "2023-11-01T04:03:35.759Z" }, - { url = "https://files.pythonhosted.org/packages/7b/ef/5eb105530b4da8ae37d506ccfa25057961b7b63d581def6f99165ea89c7e/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", size = 144819, upload-time = "2023-11-01T04:03:37.216Z" }, - { url = "https://files.pythonhosted.org/packages/a2/51/e5023f937d7f307c948ed3e5c29c4b7a3e42ed2ee0b8cdf8f3a706089bf0/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", size = 149415, upload-time = "2023-11-01T04:03:38.694Z" }, - { url = "https://files.pythonhosted.org/packages/24/9d/2e3ef673dfd5be0154b20363c5cdcc5606f35666544381bee15af3778239/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", size = 141212, upload-time = "2023-11-01T04:03:40.07Z" }, - { url = "https://files.pythonhosted.org/packages/5b/ae/ce2c12fcac59cb3860b2e2d76dc405253a4475436b1861d95fe75bdea520/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", size = 142167, upload-time = "2023-11-01T04:03:41.491Z" }, - { url = "https://files.pythonhosted.org/packages/ed/3a/a448bf035dce5da359daf9ae8a16b8a39623cc395a2ffb1620aa1bce62b0/charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", size = 93041, upload-time = "2023-11-01T04:03:42.836Z" }, - { url = "https://files.pythonhosted.org/packages/b6/7c/8debebb4f90174074b827c63242c23851bdf00a532489fba57fef3416e40/charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", size = 100397, upload-time = "2023-11-01T04:03:44.467Z" }, - { url = "https://files.pythonhosted.org/packages/4f/d1/d547cc26acdb0cc458b152f79b2679d7422f29d41581e6fa907861e88af1/charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c", size = 118254, upload-time = "2023-11-01T04:03:45.757Z" }, - { url = "https://files.pythonhosted.org/packages/f6/d3/bfc699ab2c4f9245867060744e8136d359412ff1e5ad93be38a46d160f9d/charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5", size = 133657, upload-time = "2023-11-01T04:03:47.081Z" }, - { url = "https://files.pythonhosted.org/packages/58/a2/0c63d5d7ffac3104b86631b7f2690058c97bf72d3145c0a9cd4fb90c58c2/charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985", size = 142965, upload-time = "2023-11-01T04:03:48.345Z" }, - { url = "https://files.pythonhosted.org/packages/2e/37/9223632af0872c86d8b851787f0edd3fe66be4a5378f51242b25212f8374/charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6", size = 136078, upload-time = "2023-11-01T04:03:50.29Z" }, - { url = "https://files.pythonhosted.org/packages/c9/7a/6d8767fac16f2c80c7fa9f14e0f53d4638271635c306921844dc0b5fd8a6/charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714", size = 136822, upload-time = "2023-11-01T04:03:52.643Z" }, - { url = "https://files.pythonhosted.org/packages/b2/62/5a5dcb9a71390a9511a253bde19c9c89e0b20118e41080185ea69fb2c209/charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786", size = 139545, upload-time = "2023-11-01T04:03:54.324Z" }, - { url = "https://files.pythonhosted.org/packages/f2/0e/e06bc07ef4673e4d24dc461333c254586bb759fdd075031539bab6514d07/charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5", size = 134128, upload-time = "2023-11-01T04:03:55.841Z" }, - { url = "https://files.pythonhosted.org/packages/8d/b7/9e95102e9a8cce6654b85770794b582dda2921ec1fd924c10fbcf215ad31/charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c", size = 140017, upload-time = "2023-11-01T04:03:57.755Z" }, - { url = "https://files.pythonhosted.org/packages/13/f8/eefae0629fa9260f83b826ee3363e311bb03cfdd518dad1bd10d57cb2d84/charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8", size = 144367, upload-time = "2023-11-01T04:03:59.29Z" }, - { url = "https://files.pythonhosted.org/packages/91/95/e2cfa7ce962e6c4b59a44a6e19e541c3a0317e543f0e0923f844e8d7d21d/charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711", size = 136883, upload-time = "2023-11-01T04:04:01.107Z" }, - { url = "https://files.pythonhosted.org/packages/a0/b1/4e72ef73d68ebdd4748f2df97130e8428c4625785f2b6ece31f555590c2d/charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811", size = 136977, upload-time = "2023-11-01T04:04:02.729Z" }, - { url = "https://files.pythonhosted.org/packages/c8/ce/09d6845504246d95c7443b8c17d0d3911ec5fdc838c3213e16c5e47dee44/charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4", size = 91300, upload-time = "2023-11-01T04:04:04.394Z" }, - { url = "https://files.pythonhosted.org/packages/96/fc/0cae31c0f150cd1205a2a208079de865f69a8fd052a98856c40c99e36b3c/charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99", size = 98127, upload-time = "2023-11-01T04:04:05.916Z" }, - { url = "https://files.pythonhosted.org/packages/ef/d4/a1d72a8f6aa754fdebe91b848912025d30ab7dced61e9ed8aabbf791ed65/charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a", size = 191415, upload-time = "2023-11-01T04:04:07.592Z" }, - { url = "https://files.pythonhosted.org/packages/13/82/83c188028b6f38d39538442dd127dc794c602ae6d45d66c469f4063a4c30/charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac", size = 121051, upload-time = "2023-11-01T04:04:09.231Z" }, - { url = "https://files.pythonhosted.org/packages/16/ea/a9e284aa38cccea06b7056d4cbc7adf37670b1f8a668a312864abf1ff7c6/charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a", size = 119143, upload-time = "2023-11-01T04:04:10.897Z" }, - { url = "https://files.pythonhosted.org/packages/34/2a/f392457d45e24a0c9bfc012887ed4f3c54bf5d4d05a5deb970ffec4b7fc0/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33", size = 137506, upload-time = "2023-11-01T04:04:12.612Z" }, - { url = "https://files.pythonhosted.org/packages/be/4d/9e370f8281cec2fcc9452c4d1ac513324c32957c5f70c73dd2fa8442a21a/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238", size = 147272, upload-time = "2023-11-01T04:04:13.978Z" }, - { url = "https://files.pythonhosted.org/packages/33/95/ef68482e4a6adf781fae8d183fb48d6f2be8facb414f49c90ba6a5149cd1/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a", size = 139734, upload-time = "2023-11-01T04:04:15.626Z" }, - { url = "https://files.pythonhosted.org/packages/3d/09/d82fe4a34c5f0585f9ea1df090e2a71eb9bb1e469723053e1ee9f57c16f3/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2", size = 141094, upload-time = "2023-11-01T04:04:17.286Z" }, - { url = "https://files.pythonhosted.org/packages/81/b2/160893421adfa3c45554fb418e321ed342bb10c0a4549e855b2b2a3699cb/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8", size = 144113, upload-time = "2023-11-01T04:04:18.739Z" }, - { url = "https://files.pythonhosted.org/packages/9e/ef/cd47a63d3200b232792e361cd67530173a09eb011813478b1c0fb8aa7226/charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898", size = 138555, upload-time = "2023-11-01T04:04:20.482Z" }, - { url = "https://files.pythonhosted.org/packages/a8/6f/4ff299b97da2ed6358154b6eb3a2db67da2ae204e53d205aacb18a7e4f34/charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99", size = 144944, upload-time = "2023-11-01T04:04:21.973Z" }, - { url = "https://files.pythonhosted.org/packages/d1/2f/0d1efd07c74c52b6886c32a3b906fb8afd2fecf448650e73ecb90a5a27f1/charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d", size = 148925, upload-time = "2023-11-01T04:04:23.472Z" }, - { url = "https://files.pythonhosted.org/packages/bd/28/7ea29e73eea52c7e15b4b9108d0743fc9e4cc2cdb00d275af1df3d46d360/charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04", size = 140732, upload-time = "2023-11-01T04:04:25.156Z" }, - { url = "https://files.pythonhosted.org/packages/b3/c1/ebca8e87c714a6a561cfee063f0655f742e54b8ae6e78151f60ba8708b3a/charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087", size = 141288, upload-time = "2023-11-01T04:04:26.567Z" }, - { url = "https://files.pythonhosted.org/packages/74/20/8923a06f15eb3d7f6a306729360bd58f9ead1dc39bc7ea8831f4b407e4ae/charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25", size = 92373, upload-time = "2023-11-01T04:04:29.116Z" }, - { url = "https://files.pythonhosted.org/packages/db/fb/d29e343e7c57bbf1231275939f6e75eb740cd47a9d7cb2c52ffeb62ef869/charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b", size = 99577, upload-time = "2023-11-01T04:04:30.833Z" }, - { url = "https://files.pythonhosted.org/packages/f7/9d/bcf4a449a438ed6f19790eee543a86a740c77508fbc5ddab210ab3ba3a9a/charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4", size = 194198, upload-time = "2023-11-01T04:04:32.328Z" }, - { url = "https://files.pythonhosted.org/packages/66/fe/c7d3da40a66a6bf2920cce0f436fa1f62ee28aaf92f412f0bf3b84c8ad6c/charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d", size = 122494, upload-time = "2023-11-01T04:04:33.993Z" }, - { url = "https://files.pythonhosted.org/packages/2a/9d/a6d15bd1e3e2914af5955c8eb15f4071997e7078419328fee93dfd497eb7/charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0", size = 120393, upload-time = "2023-11-01T04:04:35.533Z" }, - { url = "https://files.pythonhosted.org/packages/3d/85/5b7416b349609d20611a64718bed383b9251b5a601044550f0c8983b8900/charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269", size = 138331, upload-time = "2023-11-01T04:04:37.199Z" }, - { url = "https://files.pythonhosted.org/packages/79/66/8946baa705c588521afe10b2d7967300e49380ded089a62d38537264aece/charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c", size = 148097, upload-time = "2023-11-01T04:04:39.217Z" }, - { url = "https://files.pythonhosted.org/packages/44/80/b339237b4ce635b4af1c73742459eee5f97201bd92b2371c53e11958392e/charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519", size = 140711, upload-time = "2023-11-01T04:04:40.964Z" }, - { url = "https://files.pythonhosted.org/packages/98/69/5d8751b4b670d623aa7a47bef061d69c279e9f922f6705147983aa76c3ce/charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796", size = 142251, upload-time = "2023-11-01T04:04:42.893Z" }, - { url = "https://files.pythonhosted.org/packages/1f/8d/33c860a7032da5b93382cbe2873261f81467e7b37f4ed91e25fed62fd49b/charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185", size = 144636, upload-time = "2023-11-01T04:04:44.693Z" }, - { url = "https://files.pythonhosted.org/packages/c2/65/52aaf47b3dd616c11a19b1052ce7fa6321250a7a0b975f48d8c366733b9f/charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c", size = 139514, upload-time = "2023-11-01T04:04:46.388Z" }, - { url = "https://files.pythonhosted.org/packages/51/fd/0ee5b1c2860bb3c60236d05b6e4ac240cf702b67471138571dad91bcfed8/charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458", size = 145528, upload-time = "2023-11-01T04:04:47.893Z" }, - { url = "https://files.pythonhosted.org/packages/e1/9c/60729bf15dc82e3aaf5f71e81686e42e50715a1399770bcde1a9e43d09db/charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2", size = 149804, upload-time = "2023-11-01T04:04:49.979Z" }, - { url = "https://files.pythonhosted.org/packages/53/cd/aa4b8a4d82eeceb872f83237b2d27e43e637cac9ffaef19a1321c3bafb67/charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8", size = 141708, upload-time = "2023-11-01T04:04:51.846Z" }, - { url = "https://files.pythonhosted.org/packages/54/7f/cad0b328759630814fcf9d804bfabaf47776816ad4ef2e9938b7e1123d04/charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561", size = 142708, upload-time = "2023-11-01T04:04:53.252Z" }, - { url = "https://files.pythonhosted.org/packages/c1/9d/254a2f1bcb0ce9acad838e94ed05ba71a7cb1e27affaa4d9e1ca3958cdb6/charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f", size = 92830, upload-time = "2023-11-01T04:04:54.827Z" }, - { url = "https://files.pythonhosted.org/packages/2f/0e/d7303ccae9735ff8ff01e36705ad6233ad2002962e8668a970fc000c5e1b/charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d", size = 100376, upload-time = "2023-11-01T04:04:56.588Z" }, - { url = "https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", size = 48543, upload-time = "2023-11-01T04:04:58.622Z" }, +version = "3.4.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz", hash = "sha256:94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a", size = 129418, upload-time = "2025-10-14T04:42:32.879Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1f/b8/6d51fc1d52cbd52cd4ccedd5b5b2f0f6a11bbf6765c782298b0f3e808541/charset_normalizer-3.4.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e824f1492727fa856dd6eda4f7cee25f8518a12f3c4a56a74e8095695089cf6d", size = 209709, upload-time = "2025-10-14T04:40:11.385Z" }, + { url = "https://files.pythonhosted.org/packages/5c/af/1f9d7f7faafe2ddfb6f72a2e07a548a629c61ad510fe60f9630309908fef/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bd5d4137d500351a30687c2d3971758aac9a19208fc110ccb9d7188fbe709e8", size = 148814, upload-time = "2025-10-14T04:40:13.135Z" }, + { url = "https://files.pythonhosted.org/packages/79/3d/f2e3ac2bbc056ca0c204298ea4e3d9db9b4afe437812638759db2c976b5f/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:027f6de494925c0ab2a55eab46ae5129951638a49a34d87f4c3eda90f696b4ad", size = 144467, upload-time = "2025-10-14T04:40:14.728Z" }, + { url = "https://files.pythonhosted.org/packages/ec/85/1bf997003815e60d57de7bd972c57dc6950446a3e4ccac43bc3070721856/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f820802628d2694cb7e56db99213f930856014862f3fd943d290ea8438d07ca8", size = 162280, upload-time = "2025-10-14T04:40:16.14Z" }, + { url = "https://files.pythonhosted.org/packages/3e/8e/6aa1952f56b192f54921c436b87f2aaf7c7a7c3d0d1a765547d64fd83c13/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:798d75d81754988d2565bff1b97ba5a44411867c0cf32b77a7e8f8d84796b10d", size = 159454, upload-time = "2025-10-14T04:40:17.567Z" }, + { url = "https://files.pythonhosted.org/packages/36/3b/60cbd1f8e93aa25d1c669c649b7a655b0b5fb4c571858910ea9332678558/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d1bb833febdff5c8927f922386db610b49db6e0d4f4ee29601d71e7c2694313", size = 153609, upload-time = "2025-10-14T04:40:19.08Z" }, + { url = "https://files.pythonhosted.org/packages/64/91/6a13396948b8fd3c4b4fd5bc74d045f5637d78c9675585e8e9fbe5636554/charset_normalizer-3.4.4-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cd98cdc06614a2f768d2b7286d66805f94c48cde050acdbbb7db2600ab3197e", size = 151849, upload-time = "2025-10-14T04:40:20.607Z" }, + { url = "https://files.pythonhosted.org/packages/b7/7a/59482e28b9981d105691e968c544cc0df3b7d6133152fb3dcdc8f135da7a/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:077fbb858e903c73f6c9db43374fd213b0b6a778106bc7032446a8e8b5b38b93", size = 151586, upload-time = "2025-10-14T04:40:21.719Z" }, + { url = "https://files.pythonhosted.org/packages/92/59/f64ef6a1c4bdd2baf892b04cd78792ed8684fbc48d4c2afe467d96b4df57/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:244bfb999c71b35de57821b8ea746b24e863398194a4014e4c76adc2bbdfeff0", size = 145290, upload-time = "2025-10-14T04:40:23.069Z" }, + { url = "https://files.pythonhosted.org/packages/6b/63/3bf9f279ddfa641ffa1962b0db6a57a9c294361cc2f5fcac997049a00e9c/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:64b55f9dce520635f018f907ff1b0df1fdc31f2795a922fb49dd14fbcdf48c84", size = 163663, upload-time = "2025-10-14T04:40:24.17Z" }, + { url = "https://files.pythonhosted.org/packages/ed/09/c9e38fc8fa9e0849b172b581fd9803bdf6e694041127933934184e19f8c3/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:faa3a41b2b66b6e50f84ae4a68c64fcd0c44355741c6374813a800cd6695db9e", size = 151964, upload-time = "2025-10-14T04:40:25.368Z" }, + { url = "https://files.pythonhosted.org/packages/d2/d1/d28b747e512d0da79d8b6a1ac18b7ab2ecfd81b2944c4c710e166d8dd09c/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:6515f3182dbe4ea06ced2d9e8666d97b46ef4c75e326b79bb624110f122551db", size = 161064, upload-time = "2025-10-14T04:40:26.806Z" }, + { url = "https://files.pythonhosted.org/packages/bb/9a/31d62b611d901c3b9e5500c36aab0ff5eb442043fb3a1c254200d3d397d9/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc00f04ed596e9dc0da42ed17ac5e596c6ccba999ba6bd92b0e0aef2f170f2d6", size = 155015, upload-time = "2025-10-14T04:40:28.284Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f3/107e008fa2bff0c8b9319584174418e5e5285fef32f79d8ee6a430d0039c/charset_normalizer-3.4.4-cp310-cp310-win32.whl", hash = "sha256:f34be2938726fc13801220747472850852fe6b1ea75869a048d6f896838c896f", size = 99792, upload-time = "2025-10-14T04:40:29.613Z" }, + { url = "https://files.pythonhosted.org/packages/eb/66/e396e8a408843337d7315bab30dbf106c38966f1819f123257f5520f8a96/charset_normalizer-3.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:a61900df84c667873b292c3de315a786dd8dac506704dea57bc957bd31e22c7d", size = 107198, upload-time = "2025-10-14T04:40:30.644Z" }, + { url = "https://files.pythonhosted.org/packages/b5/58/01b4f815bf0312704c267f2ccb6e5d42bcc7752340cd487bc9f8c3710597/charset_normalizer-3.4.4-cp310-cp310-win_arm64.whl", hash = "sha256:cead0978fc57397645f12578bfd2d5ea9138ea0fac82b2f63f7f7c6877986a69", size = 100262, upload-time = "2025-10-14T04:40:32.108Z" }, + { url = "https://files.pythonhosted.org/packages/ed/27/c6491ff4954e58a10f69ad90aca8a1b6fe9c5d3c6f380907af3c37435b59/charset_normalizer-3.4.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6e1fcf0720908f200cd21aa4e6750a48ff6ce4afe7ff5a79a90d5ed8a08296f8", size = 206988, upload-time = "2025-10-14T04:40:33.79Z" }, + { url = "https://files.pythonhosted.org/packages/94/59/2e87300fe67ab820b5428580a53cad894272dbb97f38a7a814a2a1ac1011/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f819d5fe9234f9f82d75bdfa9aef3a3d72c4d24a6e57aeaebba32a704553aa0", size = 147324, upload-time = "2025-10-14T04:40:34.961Z" }, + { url = "https://files.pythonhosted.org/packages/07/fb/0cf61dc84b2b088391830f6274cb57c82e4da8bbc2efeac8c025edb88772/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a59cb51917aa591b1c4e6a43c132f0cdc3c76dbad6155df4e28ee626cc77a0a3", size = 142742, upload-time = "2025-10-14T04:40:36.105Z" }, + { url = "https://files.pythonhosted.org/packages/62/8b/171935adf2312cd745d290ed93cf16cf0dfe320863ab7cbeeae1dcd6535f/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8ef3c867360f88ac904fd3f5e1f902f13307af9052646963ee08ff4f131adafc", size = 160863, upload-time = "2025-10-14T04:40:37.188Z" }, + { url = "https://files.pythonhosted.org/packages/09/73/ad875b192bda14f2173bfc1bc9a55e009808484a4b256748d931b6948442/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d9e45d7faa48ee908174d8fe84854479ef838fc6a705c9315372eacbc2f02897", size = 157837, upload-time = "2025-10-14T04:40:38.435Z" }, + { url = "https://files.pythonhosted.org/packages/6d/fc/de9cce525b2c5b94b47c70a4b4fb19f871b24995c728e957ee68ab1671ea/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:840c25fb618a231545cbab0564a799f101b63b9901f2569faecd6b222ac72381", size = 151550, upload-time = "2025-10-14T04:40:40.053Z" }, + { url = "https://files.pythonhosted.org/packages/55/c2/43edd615fdfba8c6f2dfbd459b25a6b3b551f24ea21981e23fb768503ce1/charset_normalizer-3.4.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ca5862d5b3928c4940729dacc329aa9102900382fea192fc5e52eb69d6093815", size = 149162, upload-time = "2025-10-14T04:40:41.163Z" }, + { url = "https://files.pythonhosted.org/packages/03/86/bde4ad8b4d0e9429a4e82c1e8f5c659993a9a863ad62c7df05cf7b678d75/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d9c7f57c3d666a53421049053eaacdd14bbd0a528e2186fcb2e672effd053bb0", size = 150019, upload-time = "2025-10-14T04:40:42.276Z" }, + { url = "https://files.pythonhosted.org/packages/1f/86/a151eb2af293a7e7bac3a739b81072585ce36ccfb4493039f49f1d3cae8c/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:277e970e750505ed74c832b4bf75dac7476262ee2a013f5574dd49075879e161", size = 143310, upload-time = "2025-10-14T04:40:43.439Z" }, + { url = "https://files.pythonhosted.org/packages/b5/fe/43dae6144a7e07b87478fdfc4dbe9efd5defb0e7ec29f5f58a55aeef7bf7/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:31fd66405eaf47bb62e8cd575dc621c56c668f27d46a61d975a249930dd5e2a4", size = 162022, upload-time = "2025-10-14T04:40:44.547Z" }, + { url = "https://files.pythonhosted.org/packages/80/e6/7aab83774f5d2bca81f42ac58d04caf44f0cc2b65fc6db2b3b2e8a05f3b3/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:0d3d8f15c07f86e9ff82319b3d9ef6f4bf907608f53fe9d92b28ea9ae3d1fd89", size = 149383, upload-time = "2025-10-14T04:40:46.018Z" }, + { url = "https://files.pythonhosted.org/packages/4f/e8/b289173b4edae05c0dde07f69f8db476a0b511eac556dfe0d6bda3c43384/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9f7fcd74d410a36883701fafa2482a6af2ff5ba96b9a620e9e0721e28ead5569", size = 159098, upload-time = "2025-10-14T04:40:47.081Z" }, + { url = "https://files.pythonhosted.org/packages/d8/df/fe699727754cae3f8478493c7f45f777b17c3ef0600e28abfec8619eb49c/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ebf3e58c7ec8a8bed6d66a75d7fb37b55e5015b03ceae72a8e7c74495551e224", size = 152991, upload-time = "2025-10-14T04:40:48.246Z" }, + { url = "https://files.pythonhosted.org/packages/1a/86/584869fe4ddb6ffa3bd9f491b87a01568797fb9bd8933f557dba9771beaf/charset_normalizer-3.4.4-cp311-cp311-win32.whl", hash = "sha256:eecbc200c7fd5ddb9a7f16c7decb07b566c29fa2161a16cf67b8d068bd21690a", size = 99456, upload-time = "2025-10-14T04:40:49.376Z" }, + { url = "https://files.pythonhosted.org/packages/65/f6/62fdd5feb60530f50f7e38b4f6a1d5203f4d16ff4f9f0952962c044e919a/charset_normalizer-3.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:5ae497466c7901d54b639cf42d5b8c1b6a4fead55215500d2f486d34db48d016", size = 106978, upload-time = "2025-10-14T04:40:50.844Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9d/0710916e6c82948b3be62d9d398cb4fcf4e97b56d6a6aeccd66c4b2f2bd5/charset_normalizer-3.4.4-cp311-cp311-win_arm64.whl", hash = "sha256:65e2befcd84bc6f37095f5961e68a6f077bf44946771354a28ad434c2cce0ae1", size = 99969, upload-time = "2025-10-14T04:40:52.272Z" }, + { url = "https://files.pythonhosted.org/packages/f3/85/1637cd4af66fa687396e757dec650f28025f2a2f5a5531a3208dc0ec43f2/charset_normalizer-3.4.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0a98e6759f854bd25a58a73fa88833fba3b7c491169f86ce1180c948ab3fd394", size = 208425, upload-time = "2025-10-14T04:40:53.353Z" }, + { url = "https://files.pythonhosted.org/packages/9d/6a/04130023fef2a0d9c62d0bae2649b69f7b7d8d24ea5536feef50551029df/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b5b290ccc2a263e8d185130284f8501e3e36c5e02750fc6b6bdeb2e9e96f1e25", size = 148162, upload-time = "2025-10-14T04:40:54.558Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/62328d79aa60da22c9e0b9a66539feae06ca0f5a4171ac4f7dc285b83688/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74bb723680f9f7a6234dcf67aea57e708ec1fbdf5699fb91dfd6f511b0a320ef", size = 144558, upload-time = "2025-10-14T04:40:55.677Z" }, + { url = "https://files.pythonhosted.org/packages/86/bb/b32194a4bf15b88403537c2e120b817c61cd4ecffa9b6876e941c3ee38fe/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f1e34719c6ed0b92f418c7c780480b26b5d9c50349e9a9af7d76bf757530350d", size = 161497, upload-time = "2025-10-14T04:40:57.217Z" }, + { url = "https://files.pythonhosted.org/packages/19/89/a54c82b253d5b9b111dc74aca196ba5ccfcca8242d0fb64146d4d3183ff1/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2437418e20515acec67d86e12bf70056a33abdacb5cb1655042f6538d6b085a8", size = 159240, upload-time = "2025-10-14T04:40:58.358Z" }, + { url = "https://files.pythonhosted.org/packages/c0/10/d20b513afe03acc89ec33948320a5544d31f21b05368436d580dec4e234d/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11d694519d7f29d6cd09f6ac70028dba10f92f6cdd059096db198c283794ac86", size = 153471, upload-time = "2025-10-14T04:40:59.468Z" }, + { url = "https://files.pythonhosted.org/packages/61/fa/fbf177b55bdd727010f9c0a3c49eefa1d10f960e5f09d1d887bf93c2e698/charset_normalizer-3.4.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ac1c4a689edcc530fc9d9aa11f5774b9e2f33f9a0c6a57864e90908f5208d30a", size = 150864, upload-time = "2025-10-14T04:41:00.623Z" }, + { url = "https://files.pythonhosted.org/packages/05/12/9fbc6a4d39c0198adeebbde20b619790e9236557ca59fc40e0e3cebe6f40/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:21d142cc6c0ec30d2efee5068ca36c128a30b0f2c53c1c07bd78cb6bc1d3be5f", size = 150647, upload-time = "2025-10-14T04:41:01.754Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/6a9a593d52e3e8c5d2b167daf8c6b968808efb57ef4c210acb907c365bc4/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:5dbe56a36425d26d6cfb40ce79c314a2e4dd6211d51d6d2191c00bed34f354cc", size = 145110, upload-time = "2025-10-14T04:41:03.231Z" }, + { url = "https://files.pythonhosted.org/packages/30/42/9a52c609e72471b0fc54386dc63c3781a387bb4fe61c20231a4ebcd58bdd/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:5bfbb1b9acf3334612667b61bd3002196fe2a1eb4dd74d247e0f2a4d50ec9bbf", size = 162839, upload-time = "2025-10-14T04:41:04.715Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5b/c0682bbf9f11597073052628ddd38344a3d673fda35a36773f7d19344b23/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d055ec1e26e441f6187acf818b73564e6e6282709e9bcb5b63f5b23068356a15", size = 150667, upload-time = "2025-10-14T04:41:05.827Z" }, + { url = "https://files.pythonhosted.org/packages/e4/24/a41afeab6f990cf2daf6cb8c67419b63b48cf518e4f56022230840c9bfb2/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:af2d8c67d8e573d6de5bc30cdb27e9b95e49115cd9baad5ddbd1a6207aaa82a9", size = 160535, upload-time = "2025-10-14T04:41:06.938Z" }, + { url = "https://files.pythonhosted.org/packages/2a/e5/6a4ce77ed243c4a50a1fecca6aaaab419628c818a49434be428fe24c9957/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:780236ac706e66881f3b7f2f32dfe90507a09e67d1d454c762cf642e6e1586e0", size = 154816, upload-time = "2025-10-14T04:41:08.101Z" }, + { url = "https://files.pythonhosted.org/packages/a8/ef/89297262b8092b312d29cdb2517cb1237e51db8ecef2e9af5edbe7b683b1/charset_normalizer-3.4.4-cp312-cp312-win32.whl", hash = "sha256:5833d2c39d8896e4e19b689ffc198f08ea58116bee26dea51e362ecc7cd3ed26", size = 99694, upload-time = "2025-10-14T04:41:09.23Z" }, + { url = "https://files.pythonhosted.org/packages/3d/2d/1e5ed9dd3b3803994c155cd9aacb60c82c331bad84daf75bcb9c91b3295e/charset_normalizer-3.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:a79cfe37875f822425b89a82333404539ae63dbdddf97f84dcbc3d339aae9525", size = 107131, upload-time = "2025-10-14T04:41:10.467Z" }, + { url = "https://files.pythonhosted.org/packages/d0/d9/0ed4c7098a861482a7b6a95603edce4c0d9db2311af23da1fb2b75ec26fc/charset_normalizer-3.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:376bec83a63b8021bb5c8ea75e21c4ccb86e7e45ca4eb81146091b56599b80c3", size = 100390, upload-time = "2025-10-14T04:41:11.915Z" }, + { url = "https://files.pythonhosted.org/packages/97/45/4b3a1239bbacd321068ea6e7ac28875b03ab8bc0aa0966452db17cd36714/charset_normalizer-3.4.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e1f185f86a6f3403aa2420e815904c67b2f9ebc443f045edd0de921108345794", size = 208091, upload-time = "2025-10-14T04:41:13.346Z" }, + { url = "https://files.pythonhosted.org/packages/7d/62/73a6d7450829655a35bb88a88fca7d736f9882a27eacdca2c6d505b57e2e/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b39f987ae8ccdf0d2642338faf2abb1862340facc796048b604ef14919e55ed", size = 147936, upload-time = "2025-10-14T04:41:14.461Z" }, + { url = "https://files.pythonhosted.org/packages/89/c5/adb8c8b3d6625bef6d88b251bbb0d95f8205831b987631ab0c8bb5d937c2/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3162d5d8ce1bb98dd51af660f2121c55d0fa541b46dff7bb9b9f86ea1d87de72", size = 144180, upload-time = "2025-10-14T04:41:15.588Z" }, + { url = "https://files.pythonhosted.org/packages/91/ed/9706e4070682d1cc219050b6048bfd293ccf67b3d4f5a4f39207453d4b99/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:81d5eb2a312700f4ecaa977a8235b634ce853200e828fbadf3a9c50bab278328", size = 161346, upload-time = "2025-10-14T04:41:16.738Z" }, + { url = "https://files.pythonhosted.org/packages/d5/0d/031f0d95e4972901a2f6f09ef055751805ff541511dc1252ba3ca1f80cf5/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5bd2293095d766545ec1a8f612559f6b40abc0eb18bb2f5d1171872d34036ede", size = 158874, upload-time = "2025-10-14T04:41:17.923Z" }, + { url = "https://files.pythonhosted.org/packages/f5/83/6ab5883f57c9c801ce5e5677242328aa45592be8a00644310a008d04f922/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8a8b89589086a25749f471e6a900d3f662d1d3b6e2e59dcecf787b1cc3a1894", size = 153076, upload-time = "2025-10-14T04:41:19.106Z" }, + { url = "https://files.pythonhosted.org/packages/75/1e/5ff781ddf5260e387d6419959ee89ef13878229732732ee73cdae01800f2/charset_normalizer-3.4.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc7637e2f80d8530ee4a78e878bce464f70087ce73cf7c1caf142416923b98f1", size = 150601, upload-time = "2025-10-14T04:41:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/d7/57/71be810965493d3510a6ca79b90c19e48696fb1ff964da319334b12677f0/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f8bf04158c6b607d747e93949aa60618b61312fe647a6369f88ce2ff16043490", size = 150376, upload-time = "2025-10-14T04:41:21.398Z" }, + { url = "https://files.pythonhosted.org/packages/e5/d5/c3d057a78c181d007014feb7e9f2e65905a6c4ef182c0ddf0de2924edd65/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:554af85e960429cf30784dd47447d5125aaa3b99a6f0683589dbd27e2f45da44", size = 144825, upload-time = "2025-10-14T04:41:22.583Z" }, + { url = "https://files.pythonhosted.org/packages/e6/8c/d0406294828d4976f275ffbe66f00266c4b3136b7506941d87c00cab5272/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:74018750915ee7ad843a774364e13a3db91682f26142baddf775342c3f5b1133", size = 162583, upload-time = "2025-10-14T04:41:23.754Z" }, + { url = "https://files.pythonhosted.org/packages/d7/24/e2aa1f18c8f15c4c0e932d9287b8609dd30ad56dbe41d926bd846e22fb8d/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c0463276121fdee9c49b98908b3a89c39be45d86d1dbaa22957e38f6321d4ce3", size = 150366, upload-time = "2025-10-14T04:41:25.27Z" }, + { url = "https://files.pythonhosted.org/packages/e4/5b/1e6160c7739aad1e2df054300cc618b06bf784a7a164b0f238360721ab86/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:362d61fd13843997c1c446760ef36f240cf81d3ebf74ac62652aebaf7838561e", size = 160300, upload-time = "2025-10-14T04:41:26.725Z" }, + { url = "https://files.pythonhosted.org/packages/7a/10/f882167cd207fbdd743e55534d5d9620e095089d176d55cb22d5322f2afd/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a26f18905b8dd5d685d6d07b0cdf98a79f3c7a918906af7cc143ea2e164c8bc", size = 154465, upload-time = "2025-10-14T04:41:28.322Z" }, + { url = "https://files.pythonhosted.org/packages/89/66/c7a9e1b7429be72123441bfdbaf2bc13faab3f90b933f664db506dea5915/charset_normalizer-3.4.4-cp313-cp313-win32.whl", hash = "sha256:9b35f4c90079ff2e2edc5b26c0c77925e5d2d255c42c74fdb70fb49b172726ac", size = 99404, upload-time = "2025-10-14T04:41:29.95Z" }, + { url = "https://files.pythonhosted.org/packages/c4/26/b9924fa27db384bdcd97ab83b4f0a8058d96ad9626ead570674d5e737d90/charset_normalizer-3.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:b435cba5f4f750aa6c0a0d92c541fb79f69a387c91e61f1795227e4ed9cece14", size = 107092, upload-time = "2025-10-14T04:41:31.188Z" }, + { url = "https://files.pythonhosted.org/packages/af/8f/3ed4bfa0c0c72a7ca17f0380cd9e4dd842b09f664e780c13cff1dcf2ef1b/charset_normalizer-3.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:542d2cee80be6f80247095cc36c418f7bddd14f4a6de45af91dfad36d817bba2", size = 100408, upload-time = "2025-10-14T04:41:32.624Z" }, + { url = "https://files.pythonhosted.org/packages/2a/35/7051599bd493e62411d6ede36fd5af83a38f37c4767b92884df7301db25d/charset_normalizer-3.4.4-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:da3326d9e65ef63a817ecbcc0df6e94463713b754fe293eaa03da99befb9a5bd", size = 207746, upload-time = "2025-10-14T04:41:33.773Z" }, + { url = "https://files.pythonhosted.org/packages/10/9a/97c8d48ef10d6cd4fcead2415523221624bf58bcf68a802721a6bc807c8f/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8af65f14dc14a79b924524b1e7fffe304517b2bff5a58bf64f30b98bbc5079eb", size = 147889, upload-time = "2025-10-14T04:41:34.897Z" }, + { url = "https://files.pythonhosted.org/packages/10/bf/979224a919a1b606c82bd2c5fa49b5c6d5727aa47b4312bb27b1734f53cd/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74664978bb272435107de04e36db5a9735e78232b85b77d45cfb38f758efd33e", size = 143641, upload-time = "2025-10-14T04:41:36.116Z" }, + { url = "https://files.pythonhosted.org/packages/ba/33/0ad65587441fc730dc7bd90e9716b30b4702dc7b617e6ba4997dc8651495/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:752944c7ffbfdd10c074dc58ec2d5a8a4cd9493b314d367c14d24c17684ddd14", size = 160779, upload-time = "2025-10-14T04:41:37.229Z" }, + { url = "https://files.pythonhosted.org/packages/67/ed/331d6b249259ee71ddea93f6f2f0a56cfebd46938bde6fcc6f7b9a3d0e09/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1f13550535ad8cff21b8d757a3257963e951d96e20ec82ab44bc64aeb62a191", size = 159035, upload-time = "2025-10-14T04:41:38.368Z" }, + { url = "https://files.pythonhosted.org/packages/67/ff/f6b948ca32e4f2a4576aa129d8bed61f2e0543bf9f5f2b7fc3758ed005c9/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ecaae4149d99b1c9e7b88bb03e3221956f68fd6d50be2ef061b2381b61d20838", size = 152542, upload-time = "2025-10-14T04:41:39.862Z" }, + { url = "https://files.pythonhosted.org/packages/16/85/276033dcbcc369eb176594de22728541a925b2632f9716428c851b149e83/charset_normalizer-3.4.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb6254dc36b47a990e59e1068afacdcd02958bdcce30bb50cc1700a8b9d624a6", size = 149524, upload-time = "2025-10-14T04:41:41.319Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f2/6a2a1f722b6aba37050e626530a46a68f74e63683947a8acff92569f979a/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c8ae8a0f02f57a6e61203a31428fa1d677cbe50c93622b4149d5c0f319c1d19e", size = 150395, upload-time = "2025-10-14T04:41:42.539Z" }, + { url = "https://files.pythonhosted.org/packages/60/bb/2186cb2f2bbaea6338cad15ce23a67f9b0672929744381e28b0592676824/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:47cc91b2f4dd2833fddaedd2893006b0106129d4b94fdb6af1f4ce5a9965577c", size = 143680, upload-time = "2025-10-14T04:41:43.661Z" }, + { url = "https://files.pythonhosted.org/packages/7d/a5/bf6f13b772fbb2a90360eb620d52ed8f796f3c5caee8398c3b2eb7b1c60d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:82004af6c302b5d3ab2cfc4cc5f29db16123b1a8417f2e25f9066f91d4411090", size = 162045, upload-time = "2025-10-14T04:41:44.821Z" }, + { url = "https://files.pythonhosted.org/packages/df/c5/d1be898bf0dc3ef9030c3825e5d3b83f2c528d207d246cbabe245966808d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b7d8f6c26245217bd2ad053761201e9f9680f8ce52f0fcd8d0755aeae5b2152", size = 149687, upload-time = "2025-10-14T04:41:46.442Z" }, + { url = "https://files.pythonhosted.org/packages/a5/42/90c1f7b9341eef50c8a1cb3f098ac43b0508413f33affd762855f67a410e/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:799a7a5e4fb2d5898c60b640fd4981d6a25f1c11790935a44ce38c54e985f828", size = 160014, upload-time = "2025-10-14T04:41:47.631Z" }, + { url = "https://files.pythonhosted.org/packages/76/be/4d3ee471e8145d12795ab655ece37baed0929462a86e72372fd25859047c/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:99ae2cffebb06e6c22bdc25801d7b30f503cc87dbd283479e7b606f70aff57ec", size = 154044, upload-time = "2025-10-14T04:41:48.81Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6f/8f7af07237c34a1defe7defc565a9bc1807762f672c0fde711a4b22bf9c0/charset_normalizer-3.4.4-cp314-cp314-win32.whl", hash = "sha256:f9d332f8c2a2fcbffe1378594431458ddbef721c1769d78e2cbc06280d8155f9", size = 99940, upload-time = "2025-10-14T04:41:49.946Z" }, + { url = "https://files.pythonhosted.org/packages/4b/51/8ade005e5ca5b0d80fb4aff72a3775b325bdc3d27408c8113811a7cbe640/charset_normalizer-3.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:8a6562c3700cce886c5be75ade4a5db4214fda19fede41d9792d100288d8f94c", size = 107104, upload-time = "2025-10-14T04:41:51.051Z" }, + { url = "https://files.pythonhosted.org/packages/da/5f/6b8f83a55bb8278772c5ae54a577f3099025f9ade59d0136ac24a0df4bde/charset_normalizer-3.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:de00632ca48df9daf77a2c65a484531649261ec9f25489917f09e455cb09ddb2", size = 100743, upload-time = "2025-10-14T04:41:52.122Z" }, + { url = "https://files.pythonhosted.org/packages/0a/4e/3926a1c11f0433791985727965263f788af00db3482d89a7545ca5ecc921/charset_normalizer-3.4.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:ce8a0633f41a967713a59c4139d29110c07e826d131a316b50ce11b1d79b4f84", size = 198599, upload-time = "2025-10-14T04:41:53.213Z" }, + { url = "https://files.pythonhosted.org/packages/ec/7c/b92d1d1dcffc34592e71ea19c882b6709e43d20fa498042dea8b815638d7/charset_normalizer-3.4.4-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eaabd426fe94daf8fd157c32e571c85cb12e66692f15516a83a03264b08d06c3", size = 143090, upload-time = "2025-10-14T04:41:54.385Z" }, + { url = "https://files.pythonhosted.org/packages/84/ce/61a28d3bb77281eb24107b937a497f3c43089326d27832a63dcedaab0478/charset_normalizer-3.4.4-cp38-cp38-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c4ef880e27901b6cc782f1b95f82da9313c0eb95c3af699103088fa0ac3ce9ac", size = 139490, upload-time = "2025-10-14T04:41:55.551Z" }, + { url = "https://files.pythonhosted.org/packages/c0/bd/c9e59a91b2061c6f8bb98a150670cb16d4cd7c4ba7d11ad0cdf789155f41/charset_normalizer-3.4.4-cp38-cp38-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2aaba3b0819274cc41757a1da876f810a3e4d7b6eb25699253a4effef9e8e4af", size = 155334, upload-time = "2025-10-14T04:41:56.724Z" }, + { url = "https://files.pythonhosted.org/packages/bf/37/f17ae176a80f22ff823456af91ba3bc59df308154ff53aef0d39eb3d3419/charset_normalizer-3.4.4-cp38-cp38-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:778d2e08eda00f4256d7f672ca9fef386071c9202f5e4607920b86d7803387f2", size = 152823, upload-time = "2025-10-14T04:41:58.236Z" }, + { url = "https://files.pythonhosted.org/packages/bf/fa/cf5bb2409a385f78750e78c8d2e24780964976acdaaed65dbd6083ae5b40/charset_normalizer-3.4.4-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f155a433c2ec037d4e8df17d18922c3a0d9b3232a396690f17175d2946f0218d", size = 147618, upload-time = "2025-10-14T04:41:59.409Z" }, + { url = "https://files.pythonhosted.org/packages/9b/63/579784a65bc7de2d4518d40bb8f1870900163e86f17f21fd1384318c459d/charset_normalizer-3.4.4-cp38-cp38-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a8bf8d0f749c5757af2142fe7903a9df1d2e8aa3841559b2bad34b08d0e2bcf3", size = 145516, upload-time = "2025-10-14T04:42:00.579Z" }, + { url = "https://files.pythonhosted.org/packages/a3/a9/94ec6266cd394e8f93a4d69cca651d61bf6ac58d2a0422163b30c698f2c7/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:194f08cbb32dc406d6e1aea671a68be0823673db2832b38405deba2fb0d88f63", size = 145266, upload-time = "2025-10-14T04:42:01.684Z" }, + { url = "https://files.pythonhosted.org/packages/09/14/d6626eb97764b58c2779fa7928fa7d1a49adb8ce687c2dbba4db003c1939/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_armv7l.whl", hash = "sha256:6aee717dcfead04c6eb1ce3bd29ac1e22663cdea57f943c87d1eab9a025438d7", size = 139559, upload-time = "2025-10-14T04:42:02.902Z" }, + { url = "https://files.pythonhosted.org/packages/09/01/ddbe6b01313ba191dbb0a43c7563bc770f2448c18127f9ea4b119c44dff0/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:cd4b7ca9984e5e7985c12bc60a6f173f3c958eae74f3ef6624bb6b26e2abbae4", size = 156653, upload-time = "2025-10-14T04:42:04.005Z" }, + { url = "https://files.pythonhosted.org/packages/95/c8/d05543378bea89296e9af4510b44c704626e191da447235c8fdedfc5b7b2/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_riscv64.whl", hash = "sha256:b7cf1017d601aa35e6bb650b6ad28652c9cd78ee6caff19f3c28d03e1c80acbf", size = 145644, upload-time = "2025-10-14T04:42:05.211Z" }, + { url = "https://files.pythonhosted.org/packages/72/01/2866c4377998ef8a1f6802f6431e774a4c8ebe75b0a6e569ceec55c9cbfb/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:e912091979546adf63357d7e2ccff9b44f026c075aeaf25a52d0e95ad2281074", size = 153964, upload-time = "2025-10-14T04:42:06.341Z" }, + { url = "https://files.pythonhosted.org/packages/4a/66/66c72468a737b4cbd7851ba2c522fe35c600575fbeac944460b4fd4a06fe/charset_normalizer-3.4.4-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:5cb4d72eea50c8868f5288b7f7f33ed276118325c1dfd3957089f6b519e1382a", size = 148777, upload-time = "2025-10-14T04:42:07.535Z" }, + { url = "https://files.pythonhosted.org/packages/50/94/d0d56677fdddbffa8ca00ec411f67bb8c947f9876374ddc9d160d4f2c4b3/charset_normalizer-3.4.4-cp38-cp38-win32.whl", hash = "sha256:837c2ce8c5a65a2035be9b3569c684358dfbf109fd3b6969630a87535495ceaa", size = 98687, upload-time = "2025-10-14T04:42:08.678Z" }, + { url = "https://files.pythonhosted.org/packages/00/64/c3bc303d1b586480b1c8e6e1e2191a6d6dd40255244e5cf16763dcec52e6/charset_normalizer-3.4.4-cp38-cp38-win_amd64.whl", hash = "sha256:44c2a8734b333e0578090c4cd6b16f275e07aa6614ca8715e6c038e865e70576", size = 106115, upload-time = "2025-10-14T04:42:09.793Z" }, + { url = "https://files.pythonhosted.org/packages/46/7c/0c4760bccf082737ca7ab84a4c2034fcc06b1f21cf3032ea98bd6feb1725/charset_normalizer-3.4.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a9768c477b9d7bd54bc0c86dbaebdec6f03306675526c9927c0e8a04e8f94af9", size = 209609, upload-time = "2025-10-14T04:42:10.922Z" }, + { url = "https://files.pythonhosted.org/packages/bb/a4/69719daef2f3d7f1819de60c9a6be981b8eeead7542d5ec4440f3c80e111/charset_normalizer-3.4.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1bee1e43c28aa63cb16e5c14e582580546b08e535299b8b6158a7c9c768a1f3d", size = 149029, upload-time = "2025-10-14T04:42:12.38Z" }, + { url = "https://files.pythonhosted.org/packages/e6/21/8d4e1d6c1e6070d3672908b8e4533a71b5b53e71d16828cc24d0efec564c/charset_normalizer-3.4.4-cp39-cp39-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:fd44c878ea55ba351104cb93cc85e74916eb8fa440ca7903e57575e97394f608", size = 144580, upload-time = "2025-10-14T04:42:13.549Z" }, + { url = "https://files.pythonhosted.org/packages/a7/0a/a616d001b3f25647a9068e0b9199f697ce507ec898cacb06a0d5a1617c99/charset_normalizer-3.4.4-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0f04b14ffe5fdc8c4933862d8306109a2c51e0704acfa35d51598eb45a1e89fc", size = 162340, upload-time = "2025-10-14T04:42:14.892Z" }, + { url = "https://files.pythonhosted.org/packages/85/93/060b52deb249a5450460e0585c88a904a83aec474ab8e7aba787f45e79f2/charset_normalizer-3.4.4-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:cd09d08005f958f370f539f186d10aec3377d55b9eeb0d796025d4886119d76e", size = 159619, upload-time = "2025-10-14T04:42:16.676Z" }, + { url = "https://files.pythonhosted.org/packages/dd/21/0274deb1cc0632cd587a9a0ec6b4674d9108e461cb4cd40d457adaeb0564/charset_normalizer-3.4.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4fe7859a4e3e8457458e2ff592f15ccb02f3da787fcd31e0183879c3ad4692a1", size = 153980, upload-time = "2025-10-14T04:42:17.917Z" }, + { url = "https://files.pythonhosted.org/packages/28/2b/e3d7d982858dccc11b31906976323d790dded2017a0572f093ff982d692f/charset_normalizer-3.4.4-cp39-cp39-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fa09f53c465e532f4d3db095e0c55b615f010ad81803d383195b6b5ca6cbf5f3", size = 152174, upload-time = "2025-10-14T04:42:19.018Z" }, + { url = "https://files.pythonhosted.org/packages/6e/ff/4a269f8e35f1e58b2df52c131a1fa019acb7ef3f8697b7d464b07e9b492d/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:7fa17817dc5625de8a027cb8b26d9fefa3ea28c8253929b8d6649e705d2835b6", size = 151666, upload-time = "2025-10-14T04:42:20.171Z" }, + { url = "https://files.pythonhosted.org/packages/da/c9/ec39870f0b330d58486001dd8e532c6b9a905f5765f58a6f8204926b4a93/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_armv7l.whl", hash = "sha256:5947809c8a2417be3267efc979c47d76a079758166f7d43ef5ae8e9f92751f88", size = 145550, upload-time = "2025-10-14T04:42:21.324Z" }, + { url = "https://files.pythonhosted.org/packages/75/8f/d186ab99e40e0ed9f82f033d6e49001701c81244d01905dd4a6924191a30/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:4902828217069c3c5c71094537a8e623f5d097858ac6ca8252f7b4d10b7560f1", size = 163721, upload-time = "2025-10-14T04:42:22.46Z" }, + { url = "https://files.pythonhosted.org/packages/96/b1/6047663b9744df26a7e479ac1e77af7134b1fcf9026243bb48ee2d18810f/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:7c308f7e26e4363d79df40ca5b2be1c6ba9f02bdbccfed5abddb7859a6ce72cf", size = 152127, upload-time = "2025-10-14T04:42:23.712Z" }, + { url = "https://files.pythonhosted.org/packages/59/78/e5a6eac9179f24f704d1be67d08704c3c6ab9f00963963524be27c18ed87/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:2c9d3c380143a1fedbff95a312aa798578371eb29da42106a29019368a475318", size = 161175, upload-time = "2025-10-14T04:42:24.87Z" }, + { url = "https://files.pythonhosted.org/packages/e5/43/0e626e42d54dd2f8dd6fc5e1c5ff00f05fbca17cb699bedead2cae69c62f/charset_normalizer-3.4.4-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:cb01158d8b88ee68f15949894ccc6712278243d95f344770fa7593fa2d94410c", size = 155375, upload-time = "2025-10-14T04:42:27.246Z" }, + { url = "https://files.pythonhosted.org/packages/e9/91/d9615bf2e06f35e4997616ff31248c3657ed649c5ab9d35ea12fce54e380/charset_normalizer-3.4.4-cp39-cp39-win32.whl", hash = "sha256:2677acec1a2f8ef614c6888b5b4ae4060cc184174a938ed4e8ef690e15d3e505", size = 99692, upload-time = "2025-10-14T04:42:28.425Z" }, + { url = "https://files.pythonhosted.org/packages/d1/a9/6c040053909d9d1ef4fcab45fddec083aedc9052c10078339b47c8573ea8/charset_normalizer-3.4.4-cp39-cp39-win_amd64.whl", hash = "sha256:f8e160feb2aed042cd657a72acc0b481212ed28b1b9a95c0cee1621b524e1966", size = 107192, upload-time = "2025-10-14T04:42:29.482Z" }, + { url = "https://files.pythonhosted.org/packages/f0/c6/4fa536b2c0cd3edfb7ccf8469fa0f363ea67b7213a842b90909ca33dd851/charset_normalizer-3.4.4-cp39-cp39-win_arm64.whl", hash = "sha256:b5d84d37db046c5ca74ee7bb47dd6cbc13f80665fdde3e8040bdd3fb015ecb50", size = 100220, upload-time = "2025-10-14T04:42:30.632Z" }, + { url = "https://files.pythonhosted.org/packages/0a/4c/925909008ed5a988ccbb72dcc897407e5d6d3bd72410d69e051fc0c14647/charset_normalizer-3.4.4-py3-none-any.whl", hash = "sha256:7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f", size = 53402, upload-time = "2025-10-14T04:42:31.76Z" }, ] [[package]] name = "google-api-core" -version = "2.20.0" +version = "2.29.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-auth" }, { name = "googleapis-common-protos" }, + { name = "importlib-metadata", marker = "python_full_version < '3.8'" }, { name = "proto-plus" }, { name = "protobuf" }, { name = "requests" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c8/5c/31c1742a53b79c8a0c4757b5fae2e8ab9c519cbd7b98c587d4294e1d2d16/google_api_core-2.20.0.tar.gz", hash = "sha256:f74dff1889ba291a4b76c5079df0711810e2d9da81abfdc99957bc961c1eb28f", size = 152583, upload-time = "2024-09-19T18:22:42.856Z" } +sdist = { url = "https://files.pythonhosted.org/packages/0d/10/05572d33273292bac49c2d1785925f7bc3ff2fe50e3044cf1062c1dde32e/google_api_core-2.29.0.tar.gz", hash = "sha256:84181be0f8e6b04006df75ddfe728f24489f0af57c96a529ff7cf45bc28797f7", size = 177828, upload-time = "2026-01-08T22:21:39.269Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c8/dc/6143f67acf5f30717c9e1b1c48fc04c0f59b869be046e6639d3f171640ae/google_api_core-2.20.0-py3-none-any.whl", hash = "sha256:ef0591ef03c30bb83f79b3d0575c3f31219001fc9c5cf37024d08310aeffed8a", size = 142162, upload-time = "2024-09-19T18:22:40.658Z" }, + { url = "https://files.pythonhosted.org/packages/77/b6/85c4d21067220b9a78cfb81f516f9725ea6befc1544ec9bd2c1acd97c324/google_api_core-2.29.0-py3-none-any.whl", hash = "sha256:d30bc60980daa36e314b5d5a3e5958b0200cb44ca8fa1be2b614e932b75a3ea9", size = 173906, upload-time = "2026-01-08T22:21:36.093Z" }, ] [[package]] name = "google-api-python-client" -version = "2.186.0" +version = "2.190.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-api-core" }, @@ -149,14 +174,14 @@ dependencies = [ { name = "httplib2" }, { name = "uritemplate" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/47/cf/d167fec8be9e65768133be83a8d182350195840e14d1c203565383834614/google_api_python_client-2.186.0.tar.gz", hash = "sha256:01b8ff446adbc10f495188400a9f7c3e88e5e75741663a25822f41e788475333", size = 13937230, upload-time = "2025-10-30T22:13:20.971Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e4/8d/4ab3e3516b93bb50ed7814738ea61d49cba3f72f4e331dc9518ae2731e92/google_api_python_client-2.190.0.tar.gz", hash = "sha256:5357f34552e3724d80d2604c8fa146766e0a9d6bb0afada886fafed9feafeef6", size = 14111143, upload-time = "2026-02-12T00:38:03.37Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/21/5a/b00b944eb9cd0f2e39daf3bcce006cb503a89532f507e87e038e04bbea8c/google_api_python_client-2.186.0-py3-none-any.whl", hash = "sha256:2ea4beba93e193d3a632c7bf865b6ccace42b0017269a964566e39b7e1f3cf79", size = 14507868, upload-time = "2025-10-30T22:13:18.426Z" }, + { url = "https://files.pythonhosted.org/packages/07/ad/223d5f4b0b987669ffeb3eadd7e9f85ece633aa7fd3246f1e2f6238e1e05/google_api_python_client-2.190.0-py3-none-any.whl", hash = "sha256:d9b5266758f96c39b8c21d9bbfeb4e58c14dbfba3c931f7c5a8d7fdcd292dd57", size = 14682070, upload-time = "2026-02-12T00:38:00.974Z" }, ] [[package]] name = "google-api-python-client-stubs" -version = "1.31.0" +version = "1.32.0" source = { editable = "." } dependencies = [ { name = "google-api-python-client" }, @@ -173,7 +198,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "google-api-python-client", specifier = ">=2.186.0" }, + { name = "google-api-python-client", specifier = ">=2.190.0" }, { name = "types-httplib2", specifier = ">=0.22.0.2" }, { name = "typing-extensions", specifier = ">=3.10.0" }, ] @@ -187,53 +212,53 @@ dev = [ [[package]] name = "google-auth" -version = "2.35.0" +version = "2.45.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cachetools" }, { name = "pyasn1-modules" }, { name = "rsa" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/a1/37/c854a8b1b1020cf042db3d67577c6f84cd1e8ff6515e4f5498ae9e444ea5/google_auth-2.35.0.tar.gz", hash = "sha256:f4c64ed4e01e8e8b646ef34c018f8bf3338df0c8e37d8b3bba40e7f574a3278a", size = 267223, upload-time = "2024-09-19T18:07:33.106Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e5/00/3c794502a8b892c404b2dea5b3650eb21bfc7069612fbfd15c7f17c1cb0d/google_auth-2.45.0.tar.gz", hash = "sha256:90d3f41b6b72ea72dd9811e765699ee491ab24139f34ebf1ca2b9cc0c38708f3", size = 320708, upload-time = "2025-12-15T22:58:42.889Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/27/1f/3a72917afcb0d5cd842cbccb81bf7a8a7b45b4c66d8dc4556ccb3b016bfc/google_auth-2.35.0-py2.py3-none-any.whl", hash = "sha256:25df55f327ef021de8be50bad0dfd4a916ad0de96da86cd05661c9297723ad3f", size = 208968, upload-time = "2024-09-19T18:07:31.412Z" }, + { url = "https://files.pythonhosted.org/packages/c6/97/451d55e05487a5cd6279a01a7e34921858b16f7dc8aa38a2c684743cd2b3/google_auth-2.45.0-py2.py3-none-any.whl", hash = "sha256:82344e86dc00410ef5382d99be677c6043d72e502b625aa4f4afa0bdacca0f36", size = 233312, upload-time = "2025-12-15T22:58:40.777Z" }, ] [[package]] name = "google-auth-httplib2" -version = "0.2.0" +version = "0.3.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "google-auth" }, { name = "httplib2" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/56/be/217a598a818567b28e859ff087f347475c807a5649296fb5a817c58dacef/google-auth-httplib2-0.2.0.tar.gz", hash = "sha256:38aa7badf48f974f1eb9861794e9c0cb2a0511a4ec0679b1f886d108f5640e05", size = 10842, upload-time = "2023-12-12T17:40:30.722Z" } +sdist = { url = "https://files.pythonhosted.org/packages/d5/ad/c1f2b1175096a8d04cf202ad5ea6065f108d26be6fc7215876bde4a7981d/google_auth_httplib2-0.3.0.tar.gz", hash = "sha256:177898a0175252480d5ed916aeea183c2df87c1f9c26705d74ae6b951c268b0b", size = 11134, upload-time = "2025-12-15T22:13:51.825Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/be/8a/fe34d2f3f9470a27b01c9e76226965863f153d5fbe276f83608562e49c04/google_auth_httplib2-0.2.0-py2.py3-none-any.whl", hash = "sha256:b65a0a2123300dd71281a7bf6e64d65a0759287df52729bdd1ae2e47dc311a3d", size = 9253, upload-time = "2023-12-12T17:40:13.055Z" }, + { url = "https://files.pythonhosted.org/packages/99/d5/3c97526c8796d3caf5f4b3bed2b05e8a7102326f00a334e7a438237f3b22/google_auth_httplib2-0.3.0-py3-none-any.whl", hash = "sha256:426167e5df066e3f5a0fc7ea18768c08e7296046594ce4c8c409c2457dd1f776", size = 9529, upload-time = "2025-12-15T22:13:51.048Z" }, ] [[package]] name = "googleapis-common-protos" -version = "1.65.0" +version = "1.72.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "protobuf" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/53/3b/1599ceafa875ffb951480c8c74f4b77646a6b80e80970698f2aa93c216ce/googleapis_common_protos-1.65.0.tar.gz", hash = "sha256:334a29d07cddc3aa01dee4988f9afd9b2916ee2ff49d6b757155dc0d197852c0", size = 113657, upload-time = "2024-08-27T16:16:54.012Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e5/7b/adfd75544c415c487b33061fe7ae526165241c1ea133f9a9125a56b39fd8/googleapis_common_protos-1.72.0.tar.gz", hash = "sha256:e55a601c1b32b52d7a3e65f43563e2aa61bcd737998ee672ac9b951cd49319f5", size = 147433, upload-time = "2025-11-06T18:29:24.087Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ec/08/49bfe7cf737952cc1a9c43e80cc258ed45dad7f183c5b8276fc94cb3862d/googleapis_common_protos-1.65.0-py2.py3-none-any.whl", hash = "sha256:2972e6c496f435b92590fd54045060867f3fe9be2c82ab148fc8885035479a63", size = 220890, upload-time = "2024-08-27T16:16:52.675Z" }, + { url = "https://files.pythonhosted.org/packages/c4/ab/09169d5a4612a5f92490806649ac8d41e3ec9129c636754575b3553f4ea4/googleapis_common_protos-1.72.0-py3-none-any.whl", hash = "sha256:4299c5a82d5ae1a9702ada957347726b167f9f8d1fc352477702a1e851ff4038", size = 297515, upload-time = "2025-11-06T18:29:13.14Z" }, ] [[package]] name = "httplib2" -version = "0.22.0" +version = "0.31.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pyparsing" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3d/ad/2371116b22d616c194aa25ec410c9c6c37f23599dcd590502b74db197584/httplib2-0.22.0.tar.gz", hash = "sha256:d7a10bc5ef5ab08322488bde8c726eeee5c8618723fdb399597ec58f3d82df81", size = 351116, upload-time = "2023-03-21T22:29:37.214Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c1/1f/e86365613582c027dda5ddb64e1010e57a3d53e99ab8a72093fa13d565ec/httplib2-0.31.2.tar.gz", hash = "sha256:385e0869d7397484f4eab426197a4c020b606edd43372492337c0b4010ae5d24", size = 250800, upload-time = "2026-01-23T11:04:44.165Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a8/6c/d2fbdaaa5959339d53ba38e94c123e4e84b8fbc4b84beb0e70d7c1608486/httplib2-0.22.0-py3-none-any.whl", hash = "sha256:14ae0a53c1ba8f3d37e9e27cf37eabb0fb9980f435ba405d546948b009dd64dc", size = 96854, upload-time = "2023-03-21T22:29:35.683Z" }, + { url = "https://files.pythonhosted.org/packages/2f/90/fd509079dfcab01102c0fdd87f3a9506894bc70afcf9e9785ef6b2b3aff6/httplib2-0.31.2-py3-none-any.whl", hash = "sha256:dbf0c2fa3862acf3c55c078ea9c0bc4481d7dc5117cae71be9514912cf9f8349", size = 91099, upload-time = "2026-01-23T11:04:42.78Z" }, ] [[package]] @@ -245,6 +270,19 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" }, ] +[[package]] +name = "importlib-metadata" +version = "6.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.8'" }, + { name = "zipp", marker = "python_full_version < '3.8'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a3/82/f6e29c8d5c098b6be61460371c2c5591f4a335923639edec43b3830650a4/importlib_metadata-6.7.0.tar.gz", hash = "sha256:1aaf550d4f73e5d6783e7acb77aec43d49da8017410afae93822cc9cca98c4d4", size = 53569, upload-time = "2023-06-18T21:44:35.024Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ff/94/64287b38c7de4c90683630338cf28f129decbba0a44f0c6db35a873c73c4/importlib_metadata-6.7.0-py3-none-any.whl", hash = "sha256:cb52082e659e97afc5dac71e79de97d8681de3aa07ff18578330904a9d18e5b5", size = 22934, upload-time = "2023-06-18T21:44:33.441Z" }, +] + [[package]] name = "importlib-resources" version = "5.12.0" @@ -364,14 +402,14 @@ wheels = [ [[package]] name = "proto-plus" -version = "1.24.0" +version = "1.27.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "protobuf" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3e/fc/e9a65cd52c1330d8d23af6013651a0bc50b6d76bcbdf91fae7cd19c68f29/proto-plus-1.24.0.tar.gz", hash = "sha256:30b72a5ecafe4406b0d339db35b56c4059064e69227b8c3bda7462397f966445", size = 55942, upload-time = "2024-06-19T15:02:44.501Z" } +sdist = { url = "https://files.pythonhosted.org/packages/3a/02/8832cde80e7380c600fbf55090b6ab7b62bd6825dbedde6d6657c15a1f8e/proto_plus-1.27.1.tar.gz", hash = "sha256:912a7460446625b792f6448bade9e55cd4e41e6ac10e27009ef71a7f317fa147", size = 56929, upload-time = "2026-02-02T17:34:49.035Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7c/6f/db31f0711c0402aa477257205ce7d29e86a75cb52cd19f7afb585f75cda0/proto_plus-1.24.0-py3-none-any.whl", hash = "sha256:402576830425e5f6ce4c2a6702400ac79897dab0b4343821aa5188b0fab81a12", size = 50080, upload-time = "2024-06-19T15:02:40.052Z" }, + { url = "https://files.pythonhosted.org/packages/5d/79/ac273cbbf744691821a9cca88957257f41afe271637794975ca090b9588b/proto_plus-1.27.1-py3-none-any.whl", hash = "sha256:e4643061f3a4d0de092d62aa4ad09fa4756b2cbb89d4627f3985018216f9fefc", size = 50480, upload-time = "2026-02-02T17:34:47.339Z" }, ] [[package]] @@ -493,14 +531,14 @@ wheels = [ [[package]] name = "rsa" -version = "4.9" +version = "4.9.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pyasn1" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/aa/65/7d973b89c4d2351d7fb232c2e452547ddfa243e93131e7cfa766da627b52/rsa-4.9.tar.gz", hash = "sha256:e38464a49c6c85d7f1351b0126661487a7e0a14a50f1675ec50eb34d4f20ef21", size = 29711, upload-time = "2022-07-20T10:28:36.115Z" } +sdist = { url = "https://files.pythonhosted.org/packages/da/8a/22b7beea3ee0d44b1916c0c1cb0ee3af23b700b6da9f04991899d0c555d4/rsa-4.9.1.tar.gz", hash = "sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75", size = 29034, upload-time = "2025-04-16T09:51:18.218Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/49/97/fa78e3d2f65c02c8e1268b9aba606569fe97f6c8f7c2d74394553347c145/rsa-4.9-py3-none-any.whl", hash = "sha256:90260d9058e514786967344d0ef75fa8727eed8a7d2e43ce9f4bcf1b536174f7", size = 34315, upload-time = "2022-07-20T10:28:34.978Z" }, + { url = "https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl", hash = "sha256:68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762", size = 34696, upload-time = "2025-04-16T09:51:17.142Z" }, ] [[package]]